Auto Submit

dev_aliyun_xibeigongye
autosubmit 3 years ago
parent c62e3cdfab
commit 9a78f91cbf

@ -1,6 +1,113 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[20139],{
/***/ 37863:
/*!***********************************************!*\
!*** ./src/components/Editor/NullMDEditor.js ***!
\***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "Z": function() { return /* binding */ NullMDEditor; }
/* harmony export */ });
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/classCallCheck.js */ 56690);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createClass.js */ 89728);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/assertThisInitialized.js */ 66115);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/inherits.js */ 61655);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createSuper.js */ 26389);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/defineProperty.js */ 38416);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _markdown_editor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../markdown-editor */ 55373);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
var NULL_CH = '▁';
var NullMDEditor = /*#__PURE__*/function (_Component) {
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default()(NullMDEditor, _Component);
var _super = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default()(NullMDEditor);
function NullMDEditor() {
var _this;
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default()(this, NullMDEditor);
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
_this = _super.call.apply(_super, [this].concat(args));
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "getChCountBeforeCursor", function (cm, cursor) {
var currentLine = cursor.line;
var placeholderCountBefore = 0;
for (var _line = 0; _line < currentLine; _line++) {
placeholderCountBefore += cm.getLine(_line).split(NULL_CH).length - 1;
}
var currentLineStringBeforeCursor = cm.getLine(currentLine).substring(0, cursor.ch);
placeholderCountBefore += currentLineStringBeforeCursor.split(NULL_CH).length - 1;
return placeholderCountBefore;
});
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "onCMBeforeChange", function (cm, change) {
var rangeText = cm.getRange(change.from, change.to);
var totalPlaceholderCount = 0;
change.text.forEach(function (item) {
totalPlaceholderCount += item.split(NULL_CH).length - 1;
});
if (rangeText && rangeText.indexOf(NULL_CH) != -1) {
var placeholderCountInRange = rangeText.split(NULL_CH).length - 1;
var placeholderCountBefore = _this.getChCountBeforeCursor(cm, change.from);
console.log("\u5220\u9664".concat(placeholderCountInRange, "\u4E2A\uFF0C \u4E4B\u524D\u6709").concat(placeholderCountBefore, "\u4E2A\uFF0C\u65B0\u589E").concat(totalPlaceholderCount, "\u4E2A"));
if (_this.props.deleteEmptyDisabled) {
// 删除空格不检测
change.cancel();
} else {
// const ret = window.confirm(
// `确认要删除第${
// placeholderCountInRange == 1
// ? placeholderCountBefore + 1
// : `${placeholderCountBefore + 1}-${placeholderCountBefore +
// placeholderCountInRange}`
// }个空吗?`,
// );
// if (ret) {
_this.props.onPlaceholderChange && _this.props.onPlaceholderChange(placeholderCountBefore, placeholderCountInRange, totalPlaceholderCount);
// } else {
// change.cancel();
// }
}
} else if (totalPlaceholderCount) {
var _placeholderCountBefore = _this.getChCountBeforeCursor(cm, change.from);
console.log("\u65B0\u589E".concat(totalPlaceholderCount, "\u4E2A\uFF0C\u4E4B\u524D\u6709").concat(_placeholderCountBefore, "\u4E2A"));
_this.props.onPlaceholderChange && _this.props.onPlaceholderChange(_placeholderCountBefore, 0, totalPlaceholderCount);
}
});
return _this;
}
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default()(NullMDEditor, [{
key: "render",
value: function render() {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_markdown_editor__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, this.props), {}, {
onCMBeforeChange: this.onCMBeforeChange
}));
}
}]);
return NullMDEditor;
}(react__WEBPACK_IMPORTED_MODULE_7__.Component);
/***/ }),
/***/ 48559:
/*!**********************************************!*\
!*** ./src/components/AsyncButton/index.tsx ***!
@ -76,6 +183,205 @@ var AsyncButton = function AsyncButton(_ref) {
/***/ }),
/***/ 2977:
/*!*********************************************************************!*\
!*** ./src/components/Editor/NullChildEditor/index.jsx + 1 modules ***!
\*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ Editor_NullChildEditor; }
});
// EXTERNAL MODULE: ./node_modules/antd/es/message/style/index.js + 1 modules
var style = __webpack_require__(14934);
// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules
var message = __webpack_require__(12461);
// EXTERNAL MODULE: ./node_modules/antd/es/tag/style/index.js + 1 modules
var tag_style = __webpack_require__(71114);
// EXTERNAL MODULE: ./node_modules/antd/es/tag/index.js + 1 modules
var es_tag = __webpack_require__(20550);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/classCallCheck.js
var classCallCheck = __webpack_require__(56690);
var classCallCheck_default = /*#__PURE__*/__webpack_require__.n(classCallCheck);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createClass.js
var createClass = __webpack_require__(89728);
var createClass_default = /*#__PURE__*/__webpack_require__.n(createClass);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/inherits.js
var inherits = __webpack_require__(61655);
var inherits_default = /*#__PURE__*/__webpack_require__.n(inherits);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createSuper.js
var createSuper = __webpack_require__(26389);
var createSuper_default = /*#__PURE__*/__webpack_require__.n(createSuper);
// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js + 1 modules
var input_style = __webpack_require__(69463);
// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules
var input = __webpack_require__(75008);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./src/components/Editor/NullChildEditor/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var NullChildEditormodules = ({"flex":"flex___eLcnP","flex1":"flex1___yUTT7","color666":"color666___TiUhG","error":"error___gTTtv","deleteIcon":"deleteIcon___mnZW1","addIcon":"addIcon___JC5NS"});
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/PlusOutlined.js
var PlusOutlined = __webpack_require__(51042);
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(85893);
;// CONCATENATED MODULE: ./src/components/Editor/NullChildEditor/index.jsx
var TextArea = input/* default.TextArea */.Z.TextArea;
var NullChildEditor = /*#__PURE__*/function (_Component) {
inherits_default()(NullChildEditor, _Component);
var _super = createSuper_default()(NullChildEditor);
function NullChildEditor(props) {
var _this;
classCallCheck_default()(this, NullChildEditor);
_this = _super.call(this, props);
_this.state = {
inputVisible: false,
EditInputIndex: -1
};
return _this;
}
// componentDidMount() {
// // console.log(`${this.props.index}----`,this.props,e);
// if (this.props.answers[0].length <= 0) {
// this.setState({
// EditInputIndex: 0,
// });
// }
// }
createClass_default()(NullChildEditor, [{
key: "render",
value: function render() {
var _this2 = this;
var _this$props = this.props,
index = _this$props.index,
onAnswerChange = _this$props.onAnswerChange,
addChildAnswer = _this$props.addChildAnswer,
exerciseIsPublish = _this$props.exerciseIsPublish,
answers = _this$props.answers,
activeOptionErrorIndex = _this$props.activeOptionErrorIndex,
_this$props$flex = _this$props.flex,
flex = _this$props$flex === void 0 ? '0 0 1000px' : _this$props$flex;
console.log('----', answers);
var _this$state = this.state,
inputVisible = _this$state.inputVisible,
EditInputIndex = _this$state.EditInputIndex;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: NullChildEditormodules.flex,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "".concat(NullChildEditormodules.color666, " mb5 mt6"),
style: {
flex: '0 0 90px'
},
children: ["\u7B54\u6848(\u586B\u7A7A", index + 1, "):"]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
border: '1px solid #f6f6f6',
flex: 1,
padding: 10
},
children: [answers.map(function (tag, itemIndex) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
children: EditInputIndex !== itemIndex ? tag.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_tag/* default */.Z, {
className: "edit-tag",
closable: true,
onClose: function onClose(e) {
e.preventDefault();
if ((answers === null || answers === void 0 ? void 0 : answers.length) === 1 && itemIndex === 0) {
_this2.props.deleteChildAnswermain(index, itemIndex);
} else {
_this2.props.deleteChildAnswer(index, itemIndex);
}
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
onDoubleClick: function onDoubleClick(e) {
_this2.setState({
EditInputIndex: itemIndex
});
e.preventDefault();
},
children: tag
})
}, tag) : /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
defaultValue: tag,
style: {
width: 78,
marginRight: 8,
height: 24,
verticalAlign: 'top'
},
onBlur: function onBlur(e) {
if (e.target.value.replaceAll(' ', '').length <= 0) {
message/* default.info */.ZP.info('内容不能为纯空格');
return;
}
onAnswerChange(index, itemIndex, e.target.value);
_this2.setState({
EditInputIndex: -1,
inputVisible: false
});
}
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
defaultValue: tag,
style: {
width: 78,
marginRight: 8,
height: 24,
verticalAlign: 'top'
},
onBlur: function onBlur(e) {
if (e.target.value.replaceAll(' ', '').length <= 0) {
message/* default.info */.ZP.info('内容不能为纯空格');
return;
}
onAnswerChange(index, itemIndex, e.target.value);
_this2.setState({
EditInputIndex: -1,
inputVisible: false
});
}
})
});
}), !inputVisible && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_tag/* default */.Z, {
className: "site-tag-plus",
onClick: function onClick() {
addChildAnswer(index);
// console.log(this.props.index);
_this2.setState({
inputVisible: true
});
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(PlusOutlined/* default */.Z, {}), " \u65B0\u589E\u7B54\u6848"]
})]
})]
});
}
}]);
return NullChildEditor;
}(react.Component);
/* harmony default export */ var Editor_NullChildEditor = (NullChildEditor);
/***/ }),
/***/ 59992:
/*!************************************************************************************************!*\
!*** ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.tsx + 10 modules ***!

File diff suppressed because it is too large Load Diff

@ -0,0 +1,786 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[33172],{
/***/ 77171:
/*!**********************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js + 1 modules ***!
\**********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_ArrowDownOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ArrowDownOutlined.js
// This icon file is generated automatically.
var ArrowDownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z" } }] }, "name": "arrow-down", "theme": "outlined" };
/* harmony default export */ var asn_ArrowDownOutlined = (ArrowDownOutlined);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules
var AntdIcon = __webpack_require__(7918);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var ArrowDownOutlined_ArrowDownOutlined = function ArrowDownOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_ArrowDownOutlined
}));
};
ArrowDownOutlined_ArrowDownOutlined.displayName = 'ArrowDownOutlined';
/* harmony default export */ var icons_ArrowDownOutlined = (/*#__PURE__*/react.forwardRef(ArrowDownOutlined_ArrowDownOutlined));
/***/ }),
/***/ 5467:
/*!**********************************************************!*\
!*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; }
/* harmony export */ });
function getDataOrAriaProps(props) {
return Object.keys(props).reduce(function (prev, key) {
if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) {
prev[key] = props[key];
}
return prev;
}, {});
}
/***/ }),
/***/ 29924:
/*!*********************************************************!*\
!*** ./node_modules/antd/es/radio/index.js + 4 modules ***!
\*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"ZP": function() { return /* binding */ es_radio; }
});
// UNUSED EXPORTS: Button, Group
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(97685);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js
var useMergedState = __webpack_require__(21770);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js
var SizeContext = __webpack_require__(97647);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js
var getDataOrAriaProps = __webpack_require__(5467);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js
var RadioGroupContext = /*#__PURE__*/react.createContext(null);
var RadioGroupContextProvider = RadioGroupContext.Provider;
/* harmony default export */ var radio_context = (RadioGroupContext);
var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null);
var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider;
// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js
var es = __webpack_require__(50132);
// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js
var es_ref = __webpack_require__(42550);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js
var DisabledContext = __webpack_require__(98866);
// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js
var form_context = __webpack_require__(65223);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js
var __rest = undefined && undefined.__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 InternalRadio = function InternalRadio(props, ref) {
var _classNames;
var groupContext = react.useContext(radio_context);
var radioOptionTypeContext = react.useContext(RadioOptionTypeContext);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var innerRef = react.useRef();
var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef);
var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM),
isFormItemInput = _useContext.isFormItemInput;
false ? 0 : void 0;
var onChange = function onChange(e) {
var _a, _b;
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e);
(_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e);
};
var customizePrefixCls = props.prefixCls,
className = props.className,
children = props.children,
style = props.style,
customDisabled = props.disabled,
restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]);
var radioPrefixCls = getPrefixCls('radio', customizePrefixCls);
var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls;
var radioProps = (0,esm_extends/* default */.Z)({}, restProps);
// ===================== Disabled =====================
var disabled = react.useContext(DisabledContext/* default */.Z);
radioProps.disabled = customDisabled || disabled;
if (groupContext) {
radioProps.name = groupContext.name;
radioProps.onChange = onChange;
radioProps.checked = props.value === groupContext.value;
radioProps.disabled = radioProps.disabled || groupContext.disabled;
}
var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className);
return (
/*#__PURE__*/
// eslint-disable-next-line jsx-a11y/label-has-associated-control
react.createElement("label", {
className: wrapperClassString,
style: style,
onMouseEnter: props.onMouseEnter,
onMouseLeave: props.onMouseLeave
}, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, {
type: "radio",
prefixCls: prefixCls,
ref: mergedRef
})), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null)
);
};
var Radio = /*#__PURE__*/react.forwardRef(InternalRadio);
if (false) {}
/* harmony default export */ var radio_radio = (Radio);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js
var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) {
var _classNames;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var size = react.useContext(SizeContext/* default */.Z);
var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, {
value: props.value
}),
_useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
value = _useMergedState2[0],
setValue = _useMergedState2[1];
var onRadioChange = function onRadioChange(ev) {
var lastValue = value;
var val = ev.target.value;
if (!('value' in props)) {
setValue(val);
}
var onChange = props.onChange;
if (onChange && val !== lastValue) {
onChange(ev);
}
};
var customizePrefixCls = props.prefixCls,
_props$className = props.className,
className = _props$className === void 0 ? '' : _props$className,
options = props.options,
_props$buttonStyle = props.buttonStyle,
buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle,
disabled = props.disabled,
children = props.children,
customizeSize = props.size,
style = props.style,
id = props.id,
onMouseEnter = props.onMouseEnter,
onMouseLeave = props.onMouseLeave,
onFocus = props.onFocus,
onBlur = props.onBlur;
var prefixCls = getPrefixCls('radio', customizePrefixCls);
var groupPrefixCls = "".concat(prefixCls, "-group");
var childrenToRender = children;
// 如果存在 options, 优先使用
if (options && options.length > 0) {
childrenToRender = options.map(function (option) {
if (typeof option === 'string' || typeof option === 'number') {
// 此处类型自动推导为 string
return /*#__PURE__*/react.createElement(radio_radio, {
key: option.toString(),
prefixCls: prefixCls,
disabled: disabled,
value: option,
checked: value === option
}, option);
}
// 此处类型自动推导为 { label: string value: string }
return /*#__PURE__*/react.createElement(radio_radio, {
key: "radio-group-value-options-".concat(option.value),
prefixCls: prefixCls,
disabled: option.disabled || disabled,
value: option.value,
checked: value === option.value,
style: option.style
}, option.label);
});
}
var mergedSize = customizeSize || size;
var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), {
className: classString,
style: style,
onMouseEnter: onMouseEnter,
onMouseLeave: onMouseLeave,
onFocus: onFocus,
onBlur: onBlur,
id: id,
ref: ref
}), /*#__PURE__*/react.createElement(RadioGroupContextProvider, {
value: {
onChange: onRadioChange,
value: value,
disabled: props.disabled,
name: props.name,
optionType: props.optionType
}
}, childrenToRender));
});
/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup));
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js
var radioButton_rest = undefined && undefined.__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 RadioButton = function RadioButton(props, ref) {
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var customizePrefixCls = props.prefixCls,
radioProps = radioButton_rest(props, ["prefixCls"]);
var prefixCls = getPrefixCls('radio', customizePrefixCls);
return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, {
value: "button"
}, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({
prefixCls: prefixCls
}, radioProps, {
type: "radio",
ref: ref
})));
};
/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton));
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js
var radio_Radio = radio_radio;
radio_Radio.Button = radioButton;
radio_Radio.Group = group;
radio_Radio.__ANT_RADIO = true;
/* harmony default export */ var es_radio = (radio_Radio);
/***/ }),
/***/ 83822:
/*!***************************************************************!*\
!*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***!
\***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js
// deps-lint-skip: form
/***/ }),
/***/ 73481:
/*!*************************************************************!*\
!*** ./node_modules/antd/es/skeleton/index.js + 11 modules ***!
\*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ skeleton; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
var esm_typeof = __webpack_require__(71002);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js
var omit = __webpack_require__(98423);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Element.js
var Element = function Element(props) {
var _classNames, _classNames2;
var prefixCls = props.prefixCls,
className = props.className,
style = props.style,
size = props.size,
shape = props.shape;
var sizeCls = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), _classNames));
var shapeCls = classnames_default()((_classNames2 = {}, (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-circle"), shape === 'circle'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-square"), shape === 'square'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-round"), shape === 'round'), _classNames2));
var sizeStyle = react.useMemo(function () {
return typeof size === 'number' ? {
width: size,
height: size,
lineHeight: "".concat(size, "px")
} : {};
}, [size]);
return /*#__PURE__*/react.createElement("span", {
className: classnames_default()(prefixCls, sizeCls, shapeCls, className),
style: (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, sizeStyle), style)
});
};
/* harmony default export */ var skeleton_Element = (Element);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Avatar.js
var SkeletonAvatar = function SkeletonAvatar(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
_props$shape = props.shape,
shape = _props$shape === void 0 ? 'circle' : _props$shape,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls', 'className']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-avatar"),
shape: shape,
size: size
}, otherProps)));
};
/* harmony default export */ var Avatar = (SkeletonAvatar);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Button.js
var SkeletonButton = function SkeletonButton(props) {
var _classNames;
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
_props$block = props.block,
block = _props$block === void 0 ? false : _props$block,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-button"),
size: size
}, otherProps)));
};
/* harmony default export */ var Button = (SkeletonButton);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js
// This icon file is generated automatically.
var DotChartOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "dot-chart", "theme": "outlined" };
/* harmony default export */ var asn_DotChartOutlined = (DotChartOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(93771);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DotChartOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var DotChartOutlined_DotChartOutlined = function DotChartOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_DotChartOutlined
}));
};
DotChartOutlined_DotChartOutlined.displayName = 'DotChartOutlined';
/* harmony default export */ var icons_DotChartOutlined = (/*#__PURE__*/react.forwardRef(DotChartOutlined_DotChartOutlined));
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Node.js
var SkeletonNode = function SkeletonNode(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
style = props.style,
active = props.active,
children = props.children;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
var content = children !== null && children !== void 0 ? children : /*#__PURE__*/react.createElement(icons_DotChartOutlined, null);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement("div", {
className: classnames_default()("".concat(prefixCls, "-image"), className),
style: style
}, content));
};
/* harmony default export */ var Node = (SkeletonNode);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Image.js
var path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';
var SkeletonImage = function SkeletonImage(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
style = props.style,
active = props.active;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement("div", {
className: classnames_default()("".concat(prefixCls, "-image"), className),
style: style
}, /*#__PURE__*/react.createElement("svg", {
viewBox: "0 0 1098 1024",
xmlns: "http://www.w3.org/2000/svg",
className: "".concat(prefixCls, "-image-svg")
}, /*#__PURE__*/react.createElement("path", {
d: path,
className: "".concat(prefixCls, "-image-path")
}))));
};
/* harmony default export */ var Image = (SkeletonImage);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Input.js
var SkeletonInput = function SkeletonInput(props) {
var _classNames;
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
block = props.block,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-input"),
size: size
}, otherProps)));
};
/* harmony default export */ var Input = (SkeletonInput);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(74902);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Paragraph.js
var Paragraph = function Paragraph(props) {
var getWidth = function getWidth(index) {
var width = props.width,
_props$rows = props.rows,
rows = _props$rows === void 0 ? 2 : _props$rows;
if (Array.isArray(width)) {
return width[index];
}
// last paragraph
if (rows - 1 === index) {
return width;
}
return undefined;
};
var prefixCls = props.prefixCls,
className = props.className,
style = props.style,
rows = props.rows;
var rowList = (0,toConsumableArray/* default */.Z)(Array(rows)).map(function (_, index) {
return (
/*#__PURE__*/
// eslint-disable-next-line react/no-array-index-key
react.createElement("li", {
key: index,
style: {
width: getWidth(index)
}
})
);
});
return /*#__PURE__*/react.createElement("ul", {
className: classnames_default()(prefixCls, className),
style: style
}, rowList);
};
/* harmony default export */ var skeleton_Paragraph = (Paragraph);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Title.js
/* eslint-disable jsx-a11y/heading-has-content */
var Title = function Title(_ref) {
var prefixCls = _ref.prefixCls,
className = _ref.className,
width = _ref.width,
style = _ref.style;
return /*#__PURE__*/react.createElement("h3", {
className: classnames_default()(prefixCls, className),
style: (0,esm_extends/* default */.Z)({
width: width
}, style)
});
};
/* harmony default export */ var skeleton_Title = (Title);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Skeleton.js
function getComponentProps(prop) {
if (prop && (0,esm_typeof/* default */.Z)(prop) === 'object') {
return prop;
}
return {};
}
function getAvatarBasicProps(hasTitle, hasParagraph) {
if (hasTitle && !hasParagraph) {
// Square avatar
return {
size: 'large',
shape: 'square'
};
}
return {
size: 'large',
shape: 'circle'
};
}
function getTitleBasicProps(hasAvatar, hasParagraph) {
if (!hasAvatar && hasParagraph) {
return {
width: '38%'
};
}
if (hasAvatar && hasParagraph) {
return {
width: '50%'
};
}
return {};
}
function getParagraphBasicProps(hasAvatar, hasTitle) {
var basicProps = {};
// Width
if (!hasAvatar || !hasTitle) {
basicProps.width = '61%';
}
// Rows
if (!hasAvatar && hasTitle) {
basicProps.rows = 3;
} else {
basicProps.rows = 2;
}
return basicProps;
}
var Skeleton = function Skeleton(props) {
var customizePrefixCls = props.prefixCls,
loading = props.loading,
className = props.className,
style = props.style,
children = props.children,
_props$avatar = props.avatar,
avatar = _props$avatar === void 0 ? false : _props$avatar,
_props$title = props.title,
title = _props$title === void 0 ? true : _props$title,
_props$paragraph = props.paragraph,
paragraph = _props$paragraph === void 0 ? true : _props$paragraph,
active = props.active,
round = props.round;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
if (loading || !('loading' in props)) {
var _classNames;
var hasAvatar = !!avatar;
var hasTitle = !!title;
var hasParagraph = !!paragraph;
// Avatar
var avatarNode;
if (hasAvatar) {
var avatarProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-avatar")
}, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar));
// We direct use SkeletonElement as avatar in skeleton internal.
avatarNode = /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-header")
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({}, avatarProps)));
}
var contentNode;
if (hasTitle || hasParagraph) {
// Title
var $title;
if (hasTitle) {
var titleProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-title")
}, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title));
$title = /*#__PURE__*/react.createElement(skeleton_Title, (0,esm_extends/* default */.Z)({}, titleProps));
}
// Paragraph
var paragraphNode;
if (hasParagraph) {
var paragraphProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-paragraph")
}, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph));
paragraphNode = /*#__PURE__*/react.createElement(skeleton_Paragraph, (0,esm_extends/* default */.Z)({}, paragraphProps));
}
contentNode = /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-content")
}, $title, paragraphNode);
}
var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-avatar"), hasAvatar), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-round"), round), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls,
style: style
}, avatarNode, contentNode);
}
return typeof children !== 'undefined' ? children : null;
};
Skeleton.Button = Button;
Skeleton.Avatar = Avatar;
Skeleton.Input = Input;
Skeleton.Image = Image;
Skeleton.Node = Node;
/* harmony default export */ var skeleton_Skeleton = (Skeleton);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/index.js
/* harmony default export */ var skeleton = (skeleton_Skeleton);
/***/ }),
/***/ 61099:
/*!******************************************************************!*\
!*** ./node_modules/antd/es/skeleton/style/index.js + 1 modules ***!
\******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.js
/***/ })
}]);

@ -255,6 +255,8 @@ var ImageDimensions = function ImageDimensions(_ref) {
/* harmony default export */ var components_ImageDimensions = (ImageDimensions);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(59758);
// EXTERNAL MODULE: ./src/utils/authority.ts
var utils_authority = __webpack_require__(7);
;// CONCATENATED MODULE: ./src/components/FileDownloadList/index.tsx
@ -269,6 +271,7 @@ var env = __webpack_require__(59758);
var FileDownloadList = function FileDownloadList(_ref) {
var className = _ref.className,
style = _ref.style,
@ -290,15 +293,19 @@ var FileDownloadList = function FileDownloadList(_ref) {
_useState4 = slicedToArray_default()(_useState3, 2),
openData = _useState4[0],
setOpenData = _useState4[1];
var _useState5 = (0,react.useState)({
var _useState5 = (0,react.useState)(false),
_useState6 = slicedToArray_default()(_useState5, 2),
isedit = _useState6[0],
setisedit = _useState6[1];
var _useState7 = (0,react.useState)({
title: '',
visible: false,
src: '',
snapshotData: {}
}),
_useState6 = slicedToArray_default()(_useState5, 2),
dimensions = _useState6[0],
setDimensions = _useState6[1];
_useState8 = slicedToArray_default()(_useState7, 2),
dimensions = _useState8[0],
setDimensions = _useState8[1];
var monacoValueRef = (0,react.useRef)();
var handleClick = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(item) {
@ -430,7 +437,25 @@ var FileDownloadList = function FileDownloadList(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-chakanlaoshipizhu1"
}), "\u67E5\u770B\u8001\u5E08\u6279\u6CE8"]
}))]
})), ['office'].includes(item === null || item === void 0 ? void 0 : item.file_type) && (0,utils_authority/* isAdmins */.eB)() && ["xlsx", "docx", "pptx"].includes(item === null || item === void 0 ? void 0 : item.file_sub) && showDimensions && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: FileDownloadListmodules.annotation,
onClick: function onClick() {
setisedit(true);
handleClick(item);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-pizhu"
}), item.is_edit ? '修改批注' : '批注']
}), item.is_edit && (0,utils_authority/* isStudent */.dE)() && showDimensions && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: FileDownloadListmodules.annotation,
onClick: function onClick() {
// setisedit(true)
handleClick(item);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-sousuo7"
}), '查看老师批注']
})]
}, index);
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(PreviewAll/* default */.Z, {
@ -438,6 +463,7 @@ var FileDownloadList = function FileDownloadList(_ref) {
data: data === null || data === void 0 ? void 0 : data.content,
type: data === null || data === void 0 ? void 0 : data.type,
hasMask: true,
editOffice: isedit ? 'edit' : 'view',
monacoEditor: {
value: monacoValueRef.current,
language: "txt",
@ -454,7 +480,9 @@ var FileDownloadList = function FileDownloadList(_ref) {
return handleAnnotation(openData);
} : null,
onClose: function onClose() {
return setData({
callback();
setisedit(false);
setData({
content: "",
type: ""
});

@ -1,887 +0,0 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[57549],{
/***/ 42110:
/*!*******************************************************************!*\
!*** ./node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.js ***!
\*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
// This icon file is generated automatically.
var PlusOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
/* harmony default export */ __webpack_exports__["Z"] = (PlusOutlined);
/***/ }),
/***/ 87588:
/*!******************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js ***!
\******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/ExclamationCircleOutlined */ 61144);
/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918);
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) {
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, {
ref: ref,
icon: _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z
}));
};
ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined';
/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ExclamationCircleOutlined));
/***/ }),
/***/ 3089:
/*!************************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.js + 1 modules ***!
\************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_MinusCircleOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/MinusCircleOutlined.js
// This icon file is generated automatically.
var MinusCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }, { "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "minus-circle", "theme": "outlined" };
/* harmony default export */ var asn_MinusCircleOutlined = (MinusCircleOutlined);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules
var AntdIcon = __webpack_require__(7918);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var MinusCircleOutlined_MinusCircleOutlined = function MinusCircleOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_MinusCircleOutlined
}));
};
MinusCircleOutlined_MinusCircleOutlined.displayName = 'MinusCircleOutlined';
/* harmony default export */ var icons_MinusCircleOutlined = (/*#__PURE__*/react.forwardRef(MinusCircleOutlined_MinusCircleOutlined));
/***/ }),
/***/ 64789:
/*!***********************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/PlusCircleOutlined.js + 1 modules ***!
\***********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_PlusCircleOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/PlusCircleOutlined.js
// This icon file is generated automatically.
var PlusCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }, { "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "plus-circle", "theme": "outlined" };
/* harmony default export */ var asn_PlusCircleOutlined = (PlusCircleOutlined);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules
var AntdIcon = __webpack_require__(7918);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/PlusCircleOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var PlusCircleOutlined_PlusCircleOutlined = function PlusCircleOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_PlusCircleOutlined
}));
};
PlusCircleOutlined_PlusCircleOutlined.displayName = 'PlusCircleOutlined';
/* harmony default export */ var icons_PlusCircleOutlined = (/*#__PURE__*/react.forwardRef(PlusCircleOutlined_PlusCircleOutlined));
/***/ }),
/***/ 51042:
/*!*****************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/PlusOutlined.js ***!
\*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _ant_design_icons_svg_es_asn_PlusOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/PlusOutlined */ 42110);
/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918);
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var PlusOutlined = function PlusOutlined(props, ref) {
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, {
ref: ref,
icon: _ant_design_icons_svg_es_asn_PlusOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z
}));
};
PlusOutlined.displayName = 'PlusOutlined';
/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(PlusOutlined));
/***/ }),
/***/ 58492:
/*!**************************************************************!*\
!*** ./node_modules/antd/es/breadcrumb/index.js + 3 modules ***!
\**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ breadcrumb; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(74902);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js
var toArray = __webpack_require__(50344);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 5 modules
var menu = __webpack_require__(66516);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js
var reactNode = __webpack_require__(96159);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js
var DownOutlined = __webpack_require__(13622);
// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 1 modules
var dropdown = __webpack_require__(18562);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js
var __rest = undefined && undefined.__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 BreadcrumbItem = function BreadcrumbItem(props) {
var customizePrefixCls = props.prefixCls,
_props$separator = props.separator,
separator = _props$separator === void 0 ? '/' : _props$separator,
children = props.children,
menu = props.menu,
overlay = props.overlay,
dropdownProps = props.dropdownProps,
restProps = __rest(props, ["prefixCls", "separator", "children", "menu", "overlay", "dropdownProps"]);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);
// Warning for deprecated usage
if (false) {}
/** If overlay is have Wrap a Dropdown */
var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) {
if (menu || overlay) {
return /*#__PURE__*/react.createElement(dropdown/* default */.Z, (0,esm_extends/* default */.Z)({
menu: menu,
overlay: overlay,
placement: "bottom"
}, dropdownProps), /*#__PURE__*/react.createElement("span", {
className: "".concat(prefixCls, "-overlay-link")
}, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null)));
}
return breadcrumbItem;
};
var link;
if ('href' in restProps) {
link = /*#__PURE__*/react.createElement("a", (0,esm_extends/* default */.Z)({
className: "".concat(prefixCls, "-link")
}, restProps), children);
} else {
link = /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({
className: "".concat(prefixCls, "-link")
}, restProps), children);
}
// wrap to dropDown
link = renderBreadcrumbNode(link);
if (children !== undefined && children !== null) {
return /*#__PURE__*/react.createElement("li", null, link, separator && /*#__PURE__*/react.createElement("span", {
className: "".concat(prefixCls, "-separator")
}, separator));
}
return null;
};
BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true;
/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js
var BreadcrumbSeparator = function BreadcrumbSeparator(_ref) {
var children = _ref.children;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('breadcrumb');
return /*#__PURE__*/react.createElement("span", {
className: "".concat(prefixCls, "-separator")
}, children || '/');
};
BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true;
/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js
var Breadcrumb_rest = undefined && undefined.__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;
};
function getBreadcrumbName(route, params) {
if (!route.breadcrumbName) {
return null;
}
var paramsKeys = Object.keys(params).join('|');
var name = route.breadcrumbName.replace(new RegExp(":(".concat(paramsKeys, ")"), 'g'), function (replacement, key) {
return params[key] || replacement;
});
return name;
}
function defaultItemRender(route, params, routes, paths) {
var isLastItem = routes.indexOf(route) === routes.length - 1;
var name = getBreadcrumbName(route, params);
return isLastItem ? /*#__PURE__*/react.createElement("span", null, name) : /*#__PURE__*/react.createElement("a", {
href: "#/".concat(paths.join('/'))
}, name);
}
var getPath = function getPath(path, params) {
path = (path || '').replace(/^\//, '');
Object.keys(params).forEach(function (key) {
path = path.replace(":".concat(key), params[key]);
});
return path;
};
var addChildPath = function addChildPath(paths, childPath, params) {
var originalPaths = (0,toConsumableArray/* default */.Z)(paths);
var path = getPath(childPath || '', params);
if (path) {
originalPaths.push(path);
}
return originalPaths;
};
var Breadcrumb = function Breadcrumb(_a) {
var customizePrefixCls = _a.prefixCls,
_a$separator = _a.separator,
separator = _a$separator === void 0 ? '/' : _a$separator,
style = _a.style,
className = _a.className,
routes = _a.routes,
children = _a.children,
_a$itemRender = _a.itemRender,
itemRender = _a$itemRender === void 0 ? defaultItemRender : _a$itemRender,
_a$params = _a.params,
params = _a$params === void 0 ? {} : _a$params,
restProps = Breadcrumb_rest(_a, ["prefixCls", "separator", "style", "className", "routes", "children", "itemRender", "params"]);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var crumbs;
var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);
if (routes && routes.length > 0) {
// generated by route
var paths = [];
crumbs = routes.map(function (route) {
var path = getPath(route.path, params);
if (path) {
paths.push(path);
}
// generated overlay by route.children
var overlay;
if (route.children && route.children.length) {
overlay = /*#__PURE__*/react.createElement(menu/* default */.Z, {
items: route.children.map(function (child) {
return {
key: child.path || child.breadcrumbName,
label: itemRender(child, params, routes, addChildPath(paths, child.path, params))
};
})
});
}
var itemProps = {
separator: separator
};
if (overlay) {
itemProps.overlay = overlay;
}
return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbItem, (0,esm_extends/* default */.Z)({}, itemProps, {
key: path || route.breadcrumbName
}), itemRender(route, params, routes, paths));
});
} else if (children) {
crumbs = (0,toArray/* default */.Z)(children).map(function (element, index) {
if (!element) {
return element;
}
false ? 0 : void 0;
return (0,reactNode/* cloneElement */.Tm)(element, {
separator: separator,
key: index
});
});
}
var breadcrumbClassName = classnames_default()(prefixCls, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-rtl"), direction === 'rtl'), className);
return /*#__PURE__*/react.createElement("nav", (0,esm_extends/* default */.Z)({
className: breadcrumbClassName,
style: style
}, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs));
};
Breadcrumb.Item = breadcrumb_BreadcrumbItem;
Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator;
/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js
/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb);
/***/ }),
/***/ 63102:
/*!********************************************************************!*\
!*** ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules ***!
\********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.less
// extracted by mini-css-extract-plugin
// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules
var style = __webpack_require__(68018);
// EXTERNAL MODULE: ./node_modules/antd/es/menu/style/index.js + 1 modules
var menu_style = __webpack_require__(83736);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js
// style dependencies
/***/ }),
/***/ 27049:
/*!***********************************************!*\
!*** ./node_modules/antd/es/divider/index.js ***!
\***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462);
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider */ 53124);
var __rest = undefined && undefined.__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 Divider = function Divider(props) {
var _classNames;
var _React$useContext = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_2__/* .ConfigContext */ .E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var customizePrefixCls = props.prefixCls,
_props$type = props.type,
type = _props$type === void 0 ? 'horizontal' : _props$type,
_props$orientation = props.orientation,
orientation = _props$orientation === void 0 ? 'center' : _props$orientation,
orientationMargin = props.orientationMargin,
className = props.className,
children = props.children,
dashed = props.dashed,
plain = props.plain,
restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "children", "dashed", "plain"]);
var prefixCls = getPrefixCls('divider', customizePrefixCls);
var orientationPrefix = orientation.length > 0 ? "-".concat(orientation) : orientation;
var hasChildren = !!children;
var hasCustomMarginLeft = orientation === 'left' && orientationMargin != null;
var hasCustomMarginRight = orientation === 'right' && orientationMargin != null;
var classString = classnames__WEBPACK_IMPORTED_MODULE_0___default()(prefixCls, "".concat(prefixCls, "-").concat(type), (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text"), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text").concat(orientationPrefix), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-dashed"), !!dashed), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-plain"), !!plain), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-left"), hasCustomMarginLeft), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-right"), hasCustomMarginRight), _classNames), className);
var innerStyle = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, hasCustomMarginLeft && {
marginLeft: orientationMargin
}), hasCustomMarginRight && {
marginRight: orientationMargin
});
// Warning children not work in vertical mode
if (false) {}
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({
className: classString
}, restProps, {
role: "separator"
}), children && type !== 'vertical' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", {
className: "".concat(prefixCls, "-inner-text"),
style: innerStyle
}, children));
};
/* harmony default export */ __webpack_exports__["Z"] = (Divider);
/***/ }),
/***/ 98541:
/*!*****************************************************************!*\
!*** ./node_modules/antd/es/divider/style/index.js + 1 modules ***!
\*****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js
/***/ }),
/***/ 94594:
/*!**********************************************************!*\
!*** ./node_modules/antd/es/switch/index.js + 1 modules ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ es_switch; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js
var LoadingOutlined = __webpack_require__(19267);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(97685);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(45987);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js
var useMergedState = __webpack_require__(21770);
// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js
var KeyCode = __webpack_require__(15105);
;// CONCATENATED MODULE: ./node_modules/rc-switch/es/index.js
var Switch = react.forwardRef(function (_ref, ref) {
var _classNames;
var _ref$prefixCls = _ref.prefixCls,
prefixCls = _ref$prefixCls === void 0 ? 'rc-switch' : _ref$prefixCls,
className = _ref.className,
checked = _ref.checked,
defaultChecked = _ref.defaultChecked,
disabled = _ref.disabled,
loadingIcon = _ref.loadingIcon,
checkedChildren = _ref.checkedChildren,
unCheckedChildren = _ref.unCheckedChildren,
onClick = _ref.onClick,
onChange = _ref.onChange,
onKeyDown = _ref.onKeyDown,
restProps = (0,objectWithoutProperties/* default */.Z)(_ref, ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"]);
var _useMergedState = (0,useMergedState/* default */.Z)(false, {
value: checked,
defaultValue: defaultChecked
}),
_useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
innerChecked = _useMergedState2[0],
setInnerChecked = _useMergedState2[1];
function triggerChange(newChecked, event) {
var mergedChecked = innerChecked;
if (!disabled) {
mergedChecked = newChecked;
setInnerChecked(mergedChecked);
onChange === null || onChange === void 0 ? void 0 : onChange(mergedChecked, event);
}
return mergedChecked;
}
function onInternalKeyDown(e) {
if (e.which === KeyCode/* default.LEFT */.Z.LEFT) {
triggerChange(false, e);
} else if (e.which === KeyCode/* default.RIGHT */.Z.RIGHT) {
triggerChange(true, e);
}
onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
}
function onInternalClick(e) {
var ret = triggerChange(!innerChecked, e); // [Legacy] trigger onClick with value
onClick === null || onClick === void 0 ? void 0 : onClick(ret, e);
}
var switchClassName = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-checked"), innerChecked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames));
return react.createElement("button", Object.assign({}, restProps, {
type: "button",
role: "switch",
"aria-checked": innerChecked,
disabled: disabled,
className: switchClassName,
ref: ref,
onKeyDown: onInternalKeyDown,
onClick: onInternalClick
}), loadingIcon, react.createElement("span", {
className: "".concat(prefixCls, "-inner")
}, innerChecked ? checkedChildren : unCheckedChildren));
});
Switch.displayName = 'Switch';
/* harmony default export */ var es = (Switch);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js
var DisabledContext = __webpack_require__(98866);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js
var SizeContext = __webpack_require__(97647);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/wave.js + 1 modules
var wave = __webpack_require__(68349);
;// CONCATENATED MODULE: ./node_modules/antd/es/switch/index.js
var __rest = undefined && undefined.__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 switch_Switch = /*#__PURE__*/react.forwardRef(function (_a, ref) {
var _classNames;
var customizePrefixCls = _a.prefixCls,
customizeSize = _a.size,
customDisabled = _a.disabled,
loading = _a.loading,
_a$className = _a.className,
className = _a$className === void 0 ? '' : _a$className,
props = __rest(_a, ["prefixCls", "size", "disabled", "loading", "className"]);
false ? 0 : void 0;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var size = react.useContext(SizeContext/* default */.Z);
// ===================== Disabled =====================
var disabled = react.useContext(DisabledContext/* default */.Z);
var mergedDisabled = (customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled) || loading;
var prefixCls = getPrefixCls('switch', customizePrefixCls);
var loadingIcon = /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-handle")
}, loading && /*#__PURE__*/react.createElement(LoadingOutlined/* default */.Z, {
className: "".concat(prefixCls, "-loading-icon")
}));
var classes = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-small"), (customizeSize || size) === 'small'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-loading"), loading), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
return /*#__PURE__*/react.createElement(wave/* default */.Z, {
insertExtraNode: true
}, /*#__PURE__*/react.createElement(es, (0,esm_extends/* default */.Z)({}, props, {
prefixCls: prefixCls,
className: classes,
disabled: mergedDisabled,
ref: ref,
loadingIcon: loadingIcon
})));
});
switch_Switch.__ANT_SWITCH = true;
if (false) {}
/* harmony default export */ var es_switch = (switch_Switch);
/***/ }),
/***/ 5812:
/*!****************************************************************!*\
!*** ./node_modules/antd/es/switch/style/index.js + 1 modules ***!
\****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/switch/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/switch/style/index.js
/***/ }),
/***/ 20550:
/*!*******************************************************!*\
!*** ./node_modules/antd/es/tag/index.js + 1 modules ***!
\*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ tag; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(97685);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CloseOutlined.js
var CloseOutlined = __webpack_require__(62208);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js
var omit = __webpack_require__(98423);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/colors.js
var colors = __webpack_require__(98787);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/wave.js + 1 modules
var wave = __webpack_require__(68349);
;// CONCATENATED MODULE: ./node_modules/antd/es/tag/CheckableTag.js
var __rest = undefined && undefined.__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 CheckableTag = function CheckableTag(_a) {
var _classNames;
var customizePrefixCls = _a.prefixCls,
className = _a.className,
checked = _a.checked,
onChange = _a.onChange,
onClick = _a.onClick,
restProps = __rest(_a, ["prefixCls", "className", "checked", "onChange", "onClick"]);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var handleClick = function handleClick(e) {
onChange === null || onChange === void 0 ? void 0 : onChange(!checked);
onClick === null || onClick === void 0 ? void 0 : onClick(e);
};
var prefixCls = getPrefixCls('tag', customizePrefixCls);
var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-checkable"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-checkable-checked"), checked), _classNames), className);
return /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({}, restProps, {
className: cls,
onClick: handleClick
}));
};
/* harmony default export */ var tag_CheckableTag = (CheckableTag);
;// CONCATENATED MODULE: ./node_modules/antd/es/tag/index.js
var tag_rest = undefined && undefined.__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 PresetColorRegex = new RegExp("^(".concat(colors/* PresetColorTypes.join */.Y.join('|'), ")(-inverse)?$"));
var PresetStatusColorRegex = new RegExp("^(".concat(colors/* PresetStatusColorTypes.join */.E.join('|'), ")$"));
var InternalTag = function InternalTag(_a, ref) {
var _classNames;
var customizePrefixCls = _a.prefixCls,
className = _a.className,
style = _a.style,
children = _a.children,
icon = _a.icon,
color = _a.color,
onClose = _a.onClose,
closeIcon = _a.closeIcon,
_a$closable = _a.closable,
closable = _a$closable === void 0 ? false : _a$closable,
props = tag_rest(_a, ["prefixCls", "className", "style", "children", "icon", "color", "onClose", "closeIcon", "closable"]);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var _React$useState = react.useState(true),
_React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2),
visible = _React$useState2[0],
setVisible = _React$useState2[1];
// Warning for deprecated usage
if (false) {}
react.useEffect(function () {
if ('visible' in props) {
setVisible(props.visible);
}
}, [props.visible]);
var isPresetColor = function isPresetColor() {
if (!color) {
return false;
}
return PresetColorRegex.test(color) || PresetStatusColorRegex.test(color);
};
var tagStyle = (0,esm_extends/* default */.Z)({
backgroundColor: color && !isPresetColor() ? color : undefined
}, style);
var presetColor = isPresetColor();
var prefixCls = getPrefixCls('tag', customizePrefixCls);
var tagClassName = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(color), presetColor), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-has-color"), color && !presetColor), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-hidden"), !visible), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
var handleCloseClick = function handleCloseClick(e) {
e.stopPropagation();
onClose === null || onClose === void 0 ? void 0 : onClose(e);
if (e.defaultPrevented) {
return;
}
if (!('visible' in props)) {
setVisible(false);
}
};
var renderCloseIcon = function renderCloseIcon() {
if (closable) {
return closeIcon ? /*#__PURE__*/react.createElement("span", {
className: "".concat(prefixCls, "-close-icon"),
onClick: handleCloseClick
}, closeIcon) : /*#__PURE__*/react.createElement(CloseOutlined/* default */.Z, {
className: "".concat(prefixCls, "-close-icon"),
onClick: handleCloseClick
});
}
return null;
};
var isNeedWave = 'onClick' in props || children && children.type === 'a';
var tagProps = (0,omit/* default */.Z)(props, ['visible']);
var iconNode = icon || null;
var kids = iconNode ? /*#__PURE__*/react.createElement(react.Fragment, null, iconNode, /*#__PURE__*/react.createElement("span", null, children)) : children;
var tagNode = /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({}, tagProps, {
ref: ref,
className: tagClassName,
style: tagStyle
}), kids, renderCloseIcon());
return isNeedWave ? /*#__PURE__*/react.createElement(wave/* default */.Z, null, tagNode) : tagNode;
};
var Tag = /*#__PURE__*/react.forwardRef(InternalTag);
if (false) {}
Tag.CheckableTag = tag_CheckableTag;
/* harmony default export */ var tag = (Tag);
/***/ }),
/***/ 71114:
/*!*************************************************************!*\
!*** ./node_modules/antd/es/tag/style/index.js + 1 modules ***!
\*************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/tag/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/tag/style/index.js
/***/ })
}]);

File diff suppressed because it is too large Load Diff

@ -82,17 +82,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/index.less ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -405,6 +405,7 @@ var Option = antd_es_select__WEBPACK_IMPORTED_MODULE_5__/* ["default"].Option */
onCodeModeChange = _ref.onCodeModeChange,
onTabToSpace = _ref.onTabToSpace,
onAutoFormat = _ref.onAutoFormat,
formatDocument = _ref.formatDocument,
_ref$className = _ref.className,
className = _ref$className === void 0 ? '' : _ref$className,
tabToSpace = _ref.tabToSpace,
@ -468,14 +469,15 @@ var Option = antd_es_select__WEBPACK_IMPORTED_MODULE_5__/* ["default"].Option */
checked: tabToSpace,
onChange: onTabToSpace
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", {
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div", {
className: "file-item",
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("b", {
children: "\u4EE3\u7801\u81EA\u52A8\u683C\u5F0F\u5316"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(antd_es_switch__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
checked: autoFormat,
onChange: onAutoFormat
})]
onClick: formatDocument,
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("b", {
style: {
cursor: "pointer"
},
children: "\u683C\u5F0F\u5316\u4EE3\u7801"
})
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("h3", {
children: "\u5FEB\u6377\u952E"

@ -1,958 +0,0 @@
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/drawer/style/index.less ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-drawer {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
pointer-events: none;
}
.ant-drawer-inline {
position: absolute;
}
.ant-drawer-mask {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
background: rgba(0, 0, 0, 0.45);
pointer-events: auto;
}
.ant-drawer-content-wrapper {
position: absolute;
z-index: 1000;
transition: all 0.3s;
}
.ant-drawer-content-wrapper-hidden {
display: none;
}
.ant-drawer-left > .ant-drawer-content-wrapper {
top: 0;
bottom: 0;
left: 0;
box-shadow: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03);
}
.ant-drawer-right > .ant-drawer-content-wrapper {
top: 0;
right: 0;
bottom: 0;
box-shadow: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03);
}
.ant-drawer-top > .ant-drawer-content-wrapper {
top: 0;
right: 0;
left: 0;
box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
}
.ant-drawer-bottom > .ant-drawer-content-wrapper {
right: 0;
bottom: 0;
left: 0;
box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03);
}
.ant-drawer-content {
width: 100%;
height: 100%;
overflow: auto;
background: #fff;
pointer-events: auto;
}
.ant-drawer-wrapper-body {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
}
.ant-drawer-header {
display: flex;
flex: 0 1;
align-items: center;
padding: 11px 16px;
font-size: 14px;
line-height: 22px;
border-bottom: 1px solid #f0f0f0;
}
.ant-drawer-header-title {
display: flex;
flex: 1 1;
align-items: center;
min-width: 0;
min-height: 0;
}
.ant-drawer-extra {
flex: none;
}
.ant-drawer-close {
display: inline-block;
margin-right: 12px;
color: rgba(0, 0, 0, 0.45);
font-weight: 700;
font-size: 14px;
font-style: normal;
line-height: 1;
text-align: center;
text-transform: none;
text-decoration: none;
background: transparent;
border: 0;
outline: 0;
cursor: pointer;
transition: color 0.3s;
text-rendering: auto;
}
.ant-drawer-close:focus,
.ant-drawer-close:hover {
color: rgba(0, 0, 0, 0.75);
text-decoration: none;
}
.ant-drawer-title {
flex: 1 1;
margin: 0;
color: rgba(0, 0, 0, 0.85);
font-weight: 500;
font-size: 14px;
line-height: 22px;
}
.ant-drawer-body {
flex: 1 1;
min-width: 0;
min-height: 0;
padding: 16px;
overflow: auto;
}
.ant-drawer-footer {
flex-shrink: 0;
padding: 8px 8px;
border-top: 1px solid #f0f0f0;
}
.panel-motion-enter-start,
.panel-motion-appear-start,
.panel-motion-leave-start {
transition: none;
}
.panel-motion-enter-active,
.panel-motion-appear-active,
.panel-motion-leave-active {
transition: all 0.3s;
}
.ant-drawer-mask-motion-enter-active,
.ant-drawer-mask-motion-appear-active,
.ant-drawer-mask-motion-leave-active {
transition: all 0.3s;
}
.ant-drawer-mask-motion-enter,
.ant-drawer-mask-motion-appear {
opacity: 0;
}
.ant-drawer-mask-motion-enter-active,
.ant-drawer-mask-motion-appear-active {
opacity: 1;
}
.ant-drawer-mask-motion-leave {
opacity: 1;
}
.ant-drawer-mask-motion-leave-active {
opacity: 0;
}
.ant-drawer-panel-motion-left-enter-start,
.ant-drawer-panel-motion-left-appear-start,
.ant-drawer-panel-motion-left-leave-start {
transition: none;
}
.ant-drawer-panel-motion-left-enter-active,
.ant-drawer-panel-motion-left-appear-active,
.ant-drawer-panel-motion-left-leave-active {
transition: all 0.3s;
}
.ant-drawer-panel-motion-left-enter-start,
.ant-drawer-panel-motion-left-appear-start {
transform: translateX(-100%) !important;
}
.ant-drawer-panel-motion-left-enter-active,
.ant-drawer-panel-motion-left-appear-active {
transform: translateX(0);
}
.ant-drawer-panel-motion-left-leave {
transform: translateX(0);
}
.ant-drawer-panel-motion-left-leave-active {
transform: translateX(-100%);
}
.ant-drawer-panel-motion-right-enter-start,
.ant-drawer-panel-motion-right-appear-start,
.ant-drawer-panel-motion-right-leave-start {
transition: none;
}
.ant-drawer-panel-motion-right-enter-active,
.ant-drawer-panel-motion-right-appear-active,
.ant-drawer-panel-motion-right-leave-active {
transition: all 0.3s;
}
.ant-drawer-panel-motion-right-enter-start,
.ant-drawer-panel-motion-right-appear-start {
transform: translateX(100%) !important;
}
.ant-drawer-panel-motion-right-enter-active,
.ant-drawer-panel-motion-right-appear-active {
transform: translateX(0);
}
.ant-drawer-panel-motion-right-leave {
transform: translateX(0);
}
.ant-drawer-panel-motion-right-leave-active {
transform: translateX(100%);
}
.ant-drawer-panel-motion-top-enter-start,
.ant-drawer-panel-motion-top-appear-start,
.ant-drawer-panel-motion-top-leave-start {
transition: none;
}
.ant-drawer-panel-motion-top-enter-active,
.ant-drawer-panel-motion-top-appear-active,
.ant-drawer-panel-motion-top-leave-active {
transition: all 0.3s;
}
.ant-drawer-panel-motion-top-enter-start,
.ant-drawer-panel-motion-top-appear-start {
transform: translateY(-100%) !important;
}
.ant-drawer-panel-motion-top-enter-active,
.ant-drawer-panel-motion-top-appear-active {
transform: translateY(0);
}
.ant-drawer-panel-motion-top-leave {
transform: translateY(0);
}
.ant-drawer-panel-motion-top-leave-active {
transform: translateY(-100%);
}
.ant-drawer-panel-motion-bottom-enter-start,
.ant-drawer-panel-motion-bottom-appear-start,
.ant-drawer-panel-motion-bottom-leave-start {
transition: none;
}
.ant-drawer-panel-motion-bottom-enter-active,
.ant-drawer-panel-motion-bottom-appear-active,
.ant-drawer-panel-motion-bottom-leave-active {
transition: all 0.3s;
}
.ant-drawer-panel-motion-bottom-enter-start,
.ant-drawer-panel-motion-bottom-appear-start {
transform: translateY(100%) !important;
}
.ant-drawer-panel-motion-bottom-enter-active,
.ant-drawer-panel-motion-bottom-appear-active {
transform: translateY(0);
}
.ant-drawer-panel-motion-bottom-leave {
transform: translateY(0);
}
.ant-drawer-panel-motion-bottom-leave-active {
transform: translateY(100%);
}
.ant-drawer-rtl {
direction: rtl;
}
.ant-drawer-rtl .ant-drawer-close {
margin-right: 0;
margin-left: 12px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/divider/style/index.less ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-divider {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-size: 12px;
font-variant: tabular-nums;
line-height: 1.66667;
list-style: none;
font-feature-settings: tnum, "tnum";
border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.ant-divider-vertical {
position: relative;
top: -0.06em;
display: inline-block;
height: 0.9em;
margin: 0 8px;
vertical-align: middle;
border-top: 0;
border-left: 1px solid rgba(0, 0, 0, 0.06);
}
.ant-divider-horizontal {
display: flex;
clear: both;
width: 100%;
min-width: 100%;
margin: 24px 0;
}
.ant-divider-horizontal.ant-divider-with-text {
display: flex;
align-items: center;
margin: 16px 0;
color: rgba(0, 0, 0, 0.85);
font-weight: 500;
font-size: 14px;
white-space: nowrap;
text-align: center;
border-top: 0;
border-top-color: rgba(0, 0, 0, 0.06);
}
.ant-divider-horizontal.ant-divider-with-text::before,
.ant-divider-horizontal.ant-divider-with-text::after {
position: relative;
width: 50%;
border-top: 1px solid transparent;
border-top-color: inherit;
border-bottom: 0;
transform: translateY(50%);
content: '';
}
.ant-divider-horizontal.ant-divider-with-text-left::before {
width: 5%;
}
.ant-divider-horizontal.ant-divider-with-text-left::after {
width: 95%;
}
.ant-divider-horizontal.ant-divider-with-text-right::before {
width: 95%;
}
.ant-divider-horizontal.ant-divider-with-text-right::after {
width: 5%;
}
.ant-divider-inner-text {
display: inline-block;
padding: 0 1em;
}
.ant-divider-dashed {
background: none;
border-color: rgba(0, 0, 0, 0.06);
border-style: dashed;
border-width: 1px 0 0;
}
.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::before,
.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::after {
border-style: dashed none none;
}
.ant-divider-vertical.ant-divider-dashed {
border-width: 0 0 0 1px;
}
.ant-divider-plain.ant-divider-with-text {
color: rgba(0, 0, 0, 0.85);
font-weight: normal;
font-size: 12px;
}
.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::before {
width: 0;
}
.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::after {
width: 100%;
}
.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left .ant-divider-inner-text {
padding-left: 0;
}
.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::before {
width: 100%;
}
.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::after {
width: 0;
}
.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right .ant-divider-inner-text {
padding-right: 0;
}
.ant-divider-rtl {
direction: rtl;
}
.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::before {
width: 95%;
}
.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::after {
width: 5%;
}
.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::before {
width: 5%;
}
.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::after {
width: 95%;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/tag/style/index.less ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-tag {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-variant: tabular-nums;
line-height: 1.66667;
list-style: none;
font-feature-settings: tnum, "tnum";
display: inline-block;
height: auto;
margin-right: 8px;
padding: 0 7px;
font-size: 12px;
line-height: 18px;
white-space: nowrap;
background: #fafafa;
border: 1px solid #d9d9d9;
border-radius: 2px;
opacity: 1;
transition: all 0.3s;
}
.ant-tag,
.ant-tag a,
.ant-tag a:hover {
color: rgba(0, 0, 0, 0.85);
}
.ant-tag > a:first-child:last-child {
display: inline-block;
margin: 0 -8px;
padding: 0 8px;
}
.ant-tag-close-icon {
margin-left: 3px;
color: rgba(0, 0, 0, 0.45);
font-size: 10px;
cursor: pointer;
transition: all 0.3s;
}
.ant-tag-close-icon:hover {
color: rgba(0, 0, 0, 0.85);
}
.ant-tag-has-color {
border-color: transparent;
}
.ant-tag-has-color,
.ant-tag-has-color a,
.ant-tag-has-color a:hover,
.ant-tag-has-color .anticon-close,
.ant-tag-has-color .anticon-close:hover {
color: #fff;
}
.ant-tag-checkable {
background-color: transparent;
border-color: transparent;
cursor: pointer;
}
.ant-tag-checkable:not(.ant-tag-checkable-checked):hover {
color: #1890ff;
}
.ant-tag-checkable:active,
.ant-tag-checkable-checked {
color: #fff;
}
.ant-tag-checkable-checked {
background-color: #1890ff;
}
.ant-tag-checkable:active {
background-color: #096dd9;
}
.ant-tag-hidden {
display: none;
}
.ant-tag-pink {
color: #c41d7f;
background: #fff0f6;
border-color: #ffadd2;
}
.ant-tag-pink-inverse {
color: #fff;
background: #eb2f96;
border-color: #eb2f96;
}
.ant-tag-magenta {
color: #c41d7f;
background: #fff0f6;
border-color: #ffadd2;
}
.ant-tag-magenta-inverse {
color: #fff;
background: #eb2f96;
border-color: #eb2f96;
}
.ant-tag-red {
color: #cf1322;
background: #fff1f0;
border-color: #ffa39e;
}
.ant-tag-red-inverse {
color: #fff;
background: #f5222d;
border-color: #f5222d;
}
.ant-tag-volcano {
color: #d4380d;
background: #fff2e8;
border-color: #ffbb96;
}
.ant-tag-volcano-inverse {
color: #fff;
background: #fa541c;
border-color: #fa541c;
}
.ant-tag-orange {
color: #d46b08;
background: #fff7e6;
border-color: #ffd591;
}
.ant-tag-orange-inverse {
color: #fff;
background: #fa8c16;
border-color: #fa8c16;
}
.ant-tag-yellow {
color: #d4b106;
background: #feffe6;
border-color: #fffb8f;
}
.ant-tag-yellow-inverse {
color: #fff;
background: #fadb14;
border-color: #fadb14;
}
.ant-tag-gold {
color: #d48806;
background: #fffbe6;
border-color: #ffe58f;
}
.ant-tag-gold-inverse {
color: #fff;
background: #faad14;
border-color: #faad14;
}
.ant-tag-cyan {
color: #08979c;
background: #e6fffb;
border-color: #87e8de;
}
.ant-tag-cyan-inverse {
color: #fff;
background: #13c2c2;
border-color: #13c2c2;
}
.ant-tag-lime {
color: #7cb305;
background: #fcffe6;
border-color: #eaff8f;
}
.ant-tag-lime-inverse {
color: #fff;
background: #a0d911;
border-color: #a0d911;
}
.ant-tag-green {
color: #389e0d;
background: #f6ffed;
border-color: #b7eb8f;
}
.ant-tag-green-inverse {
color: #fff;
background: #52c41a;
border-color: #52c41a;
}
.ant-tag-blue {
color: #096dd9;
background: #e6f7ff;
border-color: #91d5ff;
}
.ant-tag-blue-inverse {
color: #fff;
background: #1890ff;
border-color: #1890ff;
}
.ant-tag-geekblue {
color: #1d39c4;
background: #f0f5ff;
border-color: #adc6ff;
}
.ant-tag-geekblue-inverse {
color: #fff;
background: #2f54eb;
border-color: #2f54eb;
}
.ant-tag-purple {
color: #531dab;
background: #f9f0ff;
border-color: #d3adf7;
}
.ant-tag-purple-inverse {
color: #fff;
background: #722ed1;
border-color: #722ed1;
}
.ant-tag-success {
color: #52c41a;
background: #f6ffed;
border-color: #b7eb8f;
}
.ant-tag-processing {
color: #1890ff;
background: #e6f7ff;
border-color: #91d5ff;
}
.ant-tag-error {
color: #ff4d4f;
background: #fff2f0;
border-color: #ffccc7;
}
.ant-tag-warning {
color: #faad14;
background: #fffbe6;
border-color: #ffe58f;
}
.ant-tag > .anticon + span,
.ant-tag > span + .anticon {
margin-left: 7px;
}
.ant-tag.ant-tag-rtl {
margin-right: 0;
margin-left: 8px;
direction: rtl;
text-align: right;
}
.ant-tag-rtl .ant-tag-close-icon {
margin-right: 3px;
margin-left: 0;
}
.ant-tag-rtl.ant-tag > .anticon + span,
.ant-tag-rtl.ant-tag > span + .anticon {
margin-right: 7px;
margin-left: 0;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/affix/style/index.less ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-affix {
position: fixed;
z-index: 10;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/skeleton/style/index.less ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-skeleton {
display: table;
width: 100%;
}
.ant-skeleton-header {
display: table-cell;
padding-right: 8px;
vertical-align: top;
}
.ant-skeleton-header .ant-skeleton-avatar {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 28px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-header .ant-skeleton-avatar-lg {
width: 32px;
height: 32px;
line-height: 32px;
}
.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-header .ant-skeleton-avatar-sm {
width: 22px;
height: 22px;
line-height: 22px;
}
.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-content {
display: table-cell;
width: 100%;
vertical-align: top;
}
.ant-skeleton-content .ant-skeleton-title {
width: 100%;
height: 14px;
background: rgba(190, 190, 190, 0.2);
border-radius: 2px;
}
.ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph {
margin-top: 20px;
}
.ant-skeleton-content .ant-skeleton-paragraph {
padding: 0;
}
.ant-skeleton-content .ant-skeleton-paragraph > li {
width: 100%;
height: 14px;
list-style: none;
background: rgba(190, 190, 190, 0.2);
border-radius: 2px;
}
.ant-skeleton-content .ant-skeleton-paragraph > li:last-child:not(:first-child):not(:nth-child(2)) {
width: 61%;
}
.ant-skeleton-content .ant-skeleton-paragraph > li + li {
margin-top: 12px;
}
.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title {
margin-top: 8px;
}
.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph {
margin-top: 20px;
}
.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title,
.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph > li {
border-radius: 100px;
}
.ant-skeleton-active .ant-skeleton-title,
.ant-skeleton-active .ant-skeleton-paragraph > li,
.ant-skeleton-active .ant-skeleton-avatar,
.ant-skeleton-active .ant-skeleton-button,
.ant-skeleton-active .ant-skeleton-input,
.ant-skeleton-active .ant-skeleton-image {
position: relative;
/* stylelint-disable-next-line property-no-vendor-prefix,value-no-vendor-prefix */
z-index: 0;
overflow: hidden;
background: transparent;
}
.ant-skeleton-active .ant-skeleton-title::after,
.ant-skeleton-active .ant-skeleton-paragraph > li::after,
.ant-skeleton-active .ant-skeleton-avatar::after,
.ant-skeleton-active .ant-skeleton-button::after,
.ant-skeleton-active .ant-skeleton-input::after,
.ant-skeleton-active .ant-skeleton-image::after {
position: absolute;
top: 0;
right: -150%;
bottom: 0;
left: -150%;
background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);
animation: ant-skeleton-loading 1.4s ease infinite;
content: '';
}
.ant-skeleton.ant-skeleton-block {
width: 100%;
}
.ant-skeleton.ant-skeleton-block .ant-skeleton-button {
width: 100%;
}
.ant-skeleton.ant-skeleton-block .ant-skeleton-input {
width: 100%;
}
.ant-skeleton-element {
display: inline-block;
width: auto;
}
.ant-skeleton-element .ant-skeleton-button {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
border-radius: 2px;
width: 56px;
min-width: 56px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-square {
width: 28px;
min-width: 28px;
}
.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle {
width: 28px;
min-width: 28px;
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round {
border-radius: 28px;
}
.ant-skeleton-element .ant-skeleton-button-lg {
width: 64px;
min-width: 64px;
height: 32px;
line-height: 32px;
}
.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-square {
width: 32px;
min-width: 32px;
}
.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle {
width: 32px;
min-width: 32px;
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round {
border-radius: 32px;
}
.ant-skeleton-element .ant-skeleton-button-sm {
width: 44px;
min-width: 44px;
height: 22px;
line-height: 22px;
}
.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-square {
width: 22px;
min-width: 22px;
}
.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle {
width: 22px;
min-width: 22px;
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round {
border-radius: 22px;
}
.ant-skeleton-element .ant-skeleton-avatar {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 28px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-avatar-lg {
width: 32px;
height: 32px;
line-height: 32px;
}
.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-avatar-sm {
width: 22px;
height: 22px;
line-height: 22px;
}
.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-input {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 140px;
min-width: 140px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-element .ant-skeleton-input-lg {
width: 160px;
min-width: 160px;
height: 32px;
line-height: 32px;
}
.ant-skeleton-element .ant-skeleton-input-sm {
width: 110px;
min-width: 110px;
height: 22px;
line-height: 22px;
}
.ant-skeleton-element .ant-skeleton-image {
display: flex;
align-items: center;
justify-content: center;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 96px;
height: 96px;
line-height: 96px;
}
.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-image-path {
fill: #bfbfbf;
}
.ant-skeleton-element .ant-skeleton-image-svg {
width: 48px;
height: 48px;
line-height: 48px;
max-width: 192px;
max-height: 192px;
}
.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle {
border-radius: 50%;
}
@keyframes ant-skeleton-loading {
0% {
transform: translateX(-37.5%);
}
100% {
transform: translateX(37.5%);
}
}
.ant-skeleton-rtl {
direction: rtl;
}
.ant-skeleton-rtl .ant-skeleton-header {
padding-right: 0;
padding-left: 16px;
}
.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,
.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph > li {
animation-name: ant-skeleton-loading-rtl;
}
.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar {
animation-name: ant-skeleton-loading-rtl;
}
@keyframes ant-skeleton-loading-rtl {
0% {
background-position: 0% 50%;
}
100% {
background-position: 100% 50%;
}
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -459,9 +459,6 @@ var TextArea = input/* default.TextArea */.Z.TextArea;
});
// EXTERNAL MODULE: ./src/utils/fullscreen.ts
var fullscreen = __webpack_require__(15994);
// EXTERNAL MODULE: ./node_modules/moment/moment.js
var moment = __webpack_require__(30381);
var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
// EXTERNAL MODULE: ./src/pages/tasks/service/index.js
var service = __webpack_require__(66446);
// EXTERNAL MODULE: ./node_modules/@novnc/novnc/lib/rfb.js
@ -494,7 +491,6 @@ var fetch = __webpack_require__(84519);
function unicodeUnEscape(str) {
@ -600,11 +596,9 @@ function reducer(state, action) {
var timeout = (0,react.useRef)();
var params = (0,_umi_production_exports.useParams)();
(0,react.useEffect)(function () {
window.addEventListener("visibilitychange", handleFocus);
return function () {
var _guacaRef$current, _guacaRef$current$dis;
(_guacaRef$current = guacaRef.current) === null || _guacaRef$current === void 0 ? void 0 : (_guacaRef$current$dis = _guacaRef$current.disconnect) === null || _guacaRef$current$dis === void 0 ? void 0 : _guacaRef$current$dis.call(_guacaRef$current);
window.removeEventListener("visibilitychange", handleFocus);
clearTimeout(reConnectRef.current);
};
}, []);
@ -625,22 +619,11 @@ function reducer(state, action) {
}
};
(0,react.useEffect)(function () {
window.addEventListener("visibilitychange", handleFocus);
document.addEventListener((0,fullscreen/* fullscreenChange */.gH)(), fullChange);
return function () {
document.removeEventListener((0,fullscreen/* fullscreenChange */.gH)(), fullChange);
window.removeEventListener("visibilitychange", handleFocus);
};
}, []);
var handleFocus = function handleFocus(e) {
if (document.visibilityState === 'visible') {
var time = sessionStorage.vncPageLeaveTime;
if (moment_default()(new Date()).diff(moment_default()(time), "minutes") > 2) setLinkNum(new Date().getTime());
sessionStorage.removeItem("vncPageLeaveTime");
} else {
sessionStorage.vncPageLeaveTime = new Date();
}
};
function onCancelClipboardBox() {
dispatch({
type: Types.SHOW_CLIPBOARD_BOX,

File diff suppressed because it is too large Load Diff

@ -22,6 +22,12 @@ var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js
var toConsumableArray = __webpack_require__(861);
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(17061);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(17156);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/antd/es/message/style/index.js + 1 modules
var style = __webpack_require__(14934);
// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules
@ -39,12 +45,6 @@ var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectW
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js
var ResizeObserver_es = __webpack_require__(91033);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(17061);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(17156);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
;// CONCATENATED MODULE: ./src/components/monaco-editor/keywords.tsx
var cLangage = {
keywords: ['print', 'auto', 'break', 'case', 'char', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extern', 'float', 'for', 'goto', 'if', 'int', 'long', 'register', 'return', 'short', 'signed', 'sizeof', 'static', 'struct', 'switch', 'typedef', 'union', 'unsigned', 'void', 'volatile', 'while']
@ -447,6 +447,8 @@ var tipTxt = '该任务关卡设置了禁止复制粘贴,请手动输入代码
var actions = __webpack_require__(84144);
// EXTERNAL MODULE: ./node_modules/lodash/lodash.js
var lodash = __webpack_require__(96486);
// EXTERNAL MODULE: ./src/components/mediator.js
var mediator = __webpack_require__(91562);
;// CONCATENATED MODULE: ./src/components/monaco-editor/index.css
// extracted by mini-css-extract-plugin
@ -460,7 +462,10 @@ var jsx_runtime = __webpack_require__(85893);
var _excluded = ["width", "height", "value", "language", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"];
var _excluded = ["width", "height", "value", "language", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "onBreakPoint", "breakPointValue", "filename", "errorLine", "errorContent", "highlightLine", "openBreakPoint"];
@ -571,16 +576,24 @@ var monaco = null;
editorDidMount = _ref$editorDidMount === void 0 ? noop : _ref$editorDidMount,
_ref$onFocus = _ref.onFocus,
onFocus = _ref$onFocus === void 0 ? noop : _ref$onFocus,
_ref$onBreakPoint = _ref.onBreakPoint,
onBreakPoint = _ref$onBreakPoint === void 0 ? noop : _ref$onBreakPoint,
_ref$breakPointValue = _ref.breakPointValue,
breakPointValue = _ref$breakPointValue === void 0 ? [] : _ref$breakPointValue,
_ref$filename = _ref.filename,
filename = _ref$filename === void 0 ? 'educoder.txt' : _ref$filename,
errorLine = _ref.errorLine,
_ref$errorContent = _ref.errorContent,
errorContent = _ref$errorContent === void 0 ? '' : _ref$errorContent,
highlightLine = _ref.highlightLine,
_ref$openBreakPoint = _ref.openBreakPoint,
openBreakPoint = _ref$openBreakPoint === void 0 ? false : _ref$openBreakPoint,
props = objectWithoutProperties_default()(_ref, _excluded);
var editorEl = (0,react.useRef)();
var editor = (0,react.useRef)({});
var optionsRef = (0,react.useRef)();
var timeRef = (0,react.useRef)();
var breakpointsFake = (0,react.useRef)([]);
var inputLock = (0,react.useRef)(false);
var inputLockTime = (0,react.useRef)();
var _useState = (0,react.useState)(false),
@ -628,6 +641,14 @@ var monaco = null;
}
}
};
(0,react.useEffect)(function () {
var unSub = mediator/* default.subscribe */.Z.subscribe('formatDocument', function (status) {
var _instance$getAction;
var instance = editor.current.instance;
instance === null || instance === void 0 ? void 0 : (_instance$getAction = instance.getAction) === null || _instance$getAction === void 0 ? void 0 : _instance$getAction.call(instance, 'editor.action.formatDocument').run();
});
return unSub;
}, []);
(0,react.useEffect)(function () {
var _instance$updateOptio;
var instance = editor.current.instance;
@ -684,6 +705,271 @@ var monaco = null;
});
}
}, [errorLine, editor.current, init]);
(0,react.useEffect)(function () {
var _editor$current;
if ((_editor$current = editor.current) !== null && _editor$current !== void 0 && _editor$current.instance && init && openBreakPoint) {
var instance = editor.current.instance;
var model = instance.getModel();
if (!model) return;
// 高亮指定的行数
var dealHighlightLine = function dealHighlightLine() {
var lines = [];
var ids = [];
var decorations = model.getAllDecorations();
var _iterator2 = createForOfIteratorHelper_default()(decorations),
_step2;
try {
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
var decoration = _step2.value;
if (decoration.options.className === 'highlighted-line') {
var _decoration$range;
lines.push(decoration === null || decoration === void 0 ? void 0 : (_decoration$range = decoration.range) === null || _decoration$range === void 0 ? void 0 : _decoration$range.startLineNumber);
ids.push(decoration === null || decoration === void 0 ? void 0 : decoration.id);
}
}
} catch (err) {
_iterator2.e(err);
} finally {
_iterator2.f();
}
model.deltaDecorations(ids, []);
var lineCount = model.getLineCount();
if (!!highlightLine && highlightLine <= lineCount) {
instance.deltaDecorations([], [{
range: new monaco.Range(highlightLine, 1, highlightLine, model.getLineMaxColumn(highlightLine)),
options: {
isWholeLine: true,
className: 'highlighted-line'
}
}]);
instance.revealLineInCenter(highlightLine);
}
};
dealHighlightLine();
//处理断点集合
var dealBreakPoint = function dealBreakPoint() {
var isReturn = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
var lines = [];
var ids = [];
var decorations = model.getAllDecorations();
var _iterator3 = createForOfIteratorHelper_default()(decorations),
_step3;
try {
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
var decoration = _step3.value;
if (decoration.options.linesDecorationsClassName === 'breakpoints-select') {
var _decoration$range2;
lines.push(decoration === null || decoration === void 0 ? void 0 : (_decoration$range2 = decoration.range) === null || _decoration$range2 === void 0 ? void 0 : _decoration$range2.startLineNumber);
ids.push(decoration === null || decoration === void 0 ? void 0 : decoration.id);
}
}
} catch (err) {
_iterator3.e(err);
} finally {
_iterator3.f();
}
if (isReturn) return {
lines: lines,
ids: ids
};
onBreakPoint(lines);
};
//添加断点
var addBreakPoint = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(line) {
var value;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
value = {
range: new monaco.Range(line, 1, line, 1),
options: {
isWholeLine: false,
linesDecorationsClassName: 'breakpoints-select'
}
};
_context.next = 3;
return model.deltaDecorations([], [value]);
case 3:
dealBreakPoint();
case 4:
case "end":
return _context.stop();
}
}, _callee);
}));
return function addBreakPoint(_x) {
return _ref2.apply(this, arguments);
};
}();
//删除断点如果指定了line删除指定行的断点否则删除当前model里面的所有断点
var removeBreakPoint = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(line) {
var ids, decorations, _iterator4, _step4, decoration;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
ids = [];
decorations = instance.getLineDecorations(line);
_iterator4 = createForOfIteratorHelper_default()(decorations);
try {
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
decoration = _step4.value;
if (decoration.options.linesDecorationsClassName === 'breakpoints-select') {
ids.push(decoration.id);
}
}
} catch (err) {
_iterator4.e(err);
} finally {
_iterator4.f();
}
_context2.next = 6;
return model.deltaDecorations(ids, []);
case 6:
dealBreakPoint();
case 7:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return function removeBreakPoint(_x2) {
return _ref3.apply(this, arguments);
};
}();
//判断该行是否存在断点
var hasBreakPoint = function hasBreakPoint(line) {
var decorations = instance.getLineDecorations(line);
var _iterator5 = createForOfIteratorHelper_default()(decorations),
_step5;
try {
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
var decoration = _step5.value;
if (decoration.options.linesDecorationsClassName === 'breakpoints-select') {
return true;
}
}
} catch (err) {
_iterator5.e(err);
} finally {
_iterator5.f();
}
return false;
};
// breakPointValue改变时赋予新的断点
if (!(0,lodash.isEqual)(breakPointValue, dealBreakPoint(true).lines)) {
model.deltaDecorations(dealBreakPoint(true).ids, []);
var values = breakPointValue.map(function (line) {
return {
range: new monaco.Range(line, 1, line, 1),
options: {
isWholeLine: false,
linesDecorationsClassName: 'breakpoints-select'
}
};
});
model.deltaDecorations([], values);
}
// let lastPosition
var elModelContent = instance.onDidChangeModelContent(function (e) {
//获取当前的鼠标位置
var pos = instance.getPosition();
if (pos) {
//获取当前的行
var line = pos.lineNumber;
//如果当前行的内容为空,删除断点(空行不允许设置断点,我自己规定的,,,)
if (model.getLineContent(line).trim() === '') {
removeBreakPoint(line);
} else {
//如果当前行存在断点,删除多余的断点只保留一个
if (hasBreakPoint(line)) {
removeBreakPoint(line);
addBreakPoint(line);
}
}
}
});
var elMouseDown = instance.onMouseDown(function (e) {
var _e$target, _e$target$element, _e$target$element$cla;
//这里限制了一下点击的位置只有点击breakpoint应该出现的位置才会创建其他位置没反应
if (e.target.detail && (_e$target = e.target) !== null && _e$target !== void 0 && (_e$target$element = _e$target.element) !== null && _e$target$element !== void 0 && (_e$target$element$cla = _e$target$element.className) !== null && _e$target$element$cla !== void 0 && _e$target$element$cla.includes('line-numbers')) {
var line = e.target.position.lineNumber;
//空行不创建
if (model.getLineContent(line).trim() === '') {
return;
}
//如果点击的位置没有的话创建breakpoint有的话删除
if (!hasBreakPoint(line)) {
addBreakPoint(line);
} else {
removeBreakPoint(line);
}
//如果存在上个位置将鼠标移到上个位置否则使editor失去焦点
// if (lastPosition) {
// instance.setPosition(lastPosition)
// } else {
// document.activeElement.blur()
// }
}
//更新lastPosition为当前鼠标的位置只有点击编辑器里面的内容的时候
// if (e.target.type === 6 || e.target.type === 7) {
// lastPosition = instance.getPosition()
// }
});
//添加一个伪breakpoint
var addFakeBreakPoint = function addFakeBreakPoint(line) {
var value = {
range: new monaco.Range(line, 1, line, 1),
options: {
isWholeLine: false,
linesDecorationsClassName: 'breakpoints-fake'
}
};
breakpointsFake.current = instance.deltaDecorations(breakpointsFake.current, [value]);
};
//删除所有的伪breakpoint
var removeFakeBreakPoint = function removeFakeBreakPoint() {
breakpointsFake.current = instance.deltaDecorations(breakpointsFake.current, []);
};
var elMouseMove = instance.onMouseMove(function (e) {
var _e$target2, _e$target2$element, _e$target2$element$cl;
removeFakeBreakPoint();
if (e.target.detail && (_e$target2 = e.target) !== null && _e$target2 !== void 0 && (_e$target2$element = _e$target2.element) !== null && _e$target2$element !== void 0 && (_e$target2$element$cl = _e$target2$element.className) !== null && _e$target2$element$cl !== void 0 && _e$target2$element$cl.includes('line-numbers')) {
var line = e.target.position.lineNumber;
if (model.getLineContent(line).trim() === '') {
return;
}
addFakeBreakPoint(line);
}
});
var elMouseLeave = instance.onMouseLeave(function () {
removeFakeBreakPoint();
});
// const elKeyDown = instance.onKeyDown(e => {
// if (e.code === 'Enter') {
// removeFakeBreakPoint()
// }
// })
return function () {
elModelContent.dispose();
elMouseDown.dispose();
elMouseMove.dispose();
elMouseLeave.dispose();
// elKeyDown.dispose();
};
}
}, [editor.current, init, breakPointValue, highlightLine, openBreakPoint]);
function onPaste() {
var instance = editor.current.instance;
if (instance) {
@ -921,16 +1207,16 @@ var monaco = null;
style: mergeStyle
});
});
function DiffEditor(_ref2) {
var _ref2$width = _ref2.width,
width = _ref2$width === void 0 ? '100%' : _ref2$width,
_ref2$height = _ref2.height,
height = _ref2$height === void 0 ? '100%' : _ref2$height,
original = _ref2.original,
modified = _ref2.modified,
language = _ref2.language,
_ref2$options = _ref2.options,
options = _ref2$options === void 0 ? {} : _ref2$options;
function DiffEditor(_ref4) {
var _ref4$width = _ref4.width,
width = _ref4$width === void 0 ? '100%' : _ref4$width,
_ref4$height = _ref4.height,
height = _ref4$height === void 0 ? '100%' : _ref4$height,
original = _ref4.original,
modified = _ref4.modified,
language = _ref4.language,
_ref4$options = _ref4.options,
options = _ref4$options === void 0 ? {} : _ref4$options;
var editorEl = (0,react.useRef)();
var _useState7 = (0,react.useState)(null),
_useState8 = slicedToArray_default()(_useState7, 2),
@ -940,19 +1226,19 @@ function DiffEditor(_ref2) {
var ro;
if (editorEl.current) {
ro = new ResizeObserver_es/* default */.Z(function (entries) {
var _iterator2 = createForOfIteratorHelper_default()(entries),
_step2;
var _iterator6 = createForOfIteratorHelper_default()(entries),
_step6;
try {
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
var entry = _step2.value;
for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
var entry = _step6.value;
if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) {
instance.layout();
}
}
} catch (err) {
_iterator2.e(err);
_iterator6.e(err);
} finally {
_iterator2.f();
_iterator6.f();
}
});
ro.observe(editorEl.current);

File diff suppressed because it is too large Load Diff

@ -1,87 +1,3 @@
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-breadcrumb {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-variant: tabular-nums;
line-height: 1.66667;
list-style: none;
font-feature-settings: tnum, "tnum";
color: rgba(0, 0, 0, 0.45);
font-size: 12px;
}
.ant-breadcrumb .anticon {
font-size: 12px;
}
.ant-breadcrumb ol {
display: flex;
flex-wrap: wrap;
margin: 0;
padding: 0;
list-style: none;
}
.ant-breadcrumb a {
color: rgba(0, 0, 0, 0.45);
transition: color 0.3s;
}
.ant-breadcrumb a:hover {
color: rgba(0, 0, 0, 0.85);
}
.ant-breadcrumb li:last-child {
color: rgba(0, 0, 0, 0.85);
}
.ant-breadcrumb li:last-child a {
color: rgba(0, 0, 0, 0.85);
}
li:last-child > .ant-breadcrumb-separator {
display: none;
}
.ant-breadcrumb-separator {
margin: 0 4px;
color: rgba(0, 0, 0, 0.45);
}
.ant-breadcrumb-link > .anticon + span,
.ant-breadcrumb-link > .anticon + a {
margin-left: 4px;
}
.ant-breadcrumb-overlay-link > .anticon {
margin-left: 4px;
}
.ant-breadcrumb-rtl {
direction: rtl;
}
.ant-breadcrumb-rtl::before {
display: table;
content: '';
}
.ant-breadcrumb-rtl::after {
display: table;
clear: both;
content: '';
}
.ant-breadcrumb-rtl > span {
float: right;
}
.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + span,
.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + a {
margin-right: 4px;
margin-left: 0;
}
.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link > .anticon {
margin-right: 4px;
margin-left: 0;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/cascader/style/index.less ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@ -421,6 +337,90 @@ li:last-child > .ant-breadcrumb-separator {
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-breadcrumb {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-variant: tabular-nums;
line-height: 1.66667;
list-style: none;
font-feature-settings: tnum, "tnum";
color: rgba(0, 0, 0, 0.45);
font-size: 12px;
}
.ant-breadcrumb .anticon {
font-size: 12px;
}
.ant-breadcrumb ol {
display: flex;
flex-wrap: wrap;
margin: 0;
padding: 0;
list-style: none;
}
.ant-breadcrumb a {
color: rgba(0, 0, 0, 0.45);
transition: color 0.3s;
}
.ant-breadcrumb a:hover {
color: rgba(0, 0, 0, 0.85);
}
.ant-breadcrumb li:last-child {
color: rgba(0, 0, 0, 0.85);
}
.ant-breadcrumb li:last-child a {
color: rgba(0, 0, 0, 0.85);
}
li:last-child > .ant-breadcrumb-separator {
display: none;
}
.ant-breadcrumb-separator {
margin: 0 4px;
color: rgba(0, 0, 0, 0.45);
}
.ant-breadcrumb-link > .anticon + span,
.ant-breadcrumb-link > .anticon + a {
margin-left: 4px;
}
.ant-breadcrumb-overlay-link > .anticon {
margin-left: 4px;
}
.ant-breadcrumb-rtl {
direction: rtl;
}
.ant-breadcrumb-rtl::before {
display: table;
content: '';
}
.ant-breadcrumb-rtl::after {
display: table;
clear: both;
content: '';
}
.ant-breadcrumb-rtl > span {
float: right;
}
.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + span,
.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + a {
margin-right: 4px;
margin-left: 0;
}
.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link > .anticon {
margin-right: 4px;
margin-left: 0;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/switch/style/index.less ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -563,10 +563,10 @@ a.ant-btn-disabled:active > a:only-child::after {background: transparent;}
.ant-comment-actions > li > span {color: @text-color-secondary;}
.ant-comment-actions > li > span:hover {color: #595959;}
.ant-picker-status-error.ant-picker, .ant-picker-status-error.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @error-color;}
.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(138, 139, 168, 0.2);border-right-width: 1px;}
.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(247, 165, 218, 0.2);border-right-width: 1px;}
.ant-picker-status-error.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{error-color}", 5)`);}
.ant-picker-status-warning.ant-picker, .ant-picker-status-warning.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @warning-color;}
.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(95, 137, 182, 0.2);border-right-width: 1px;}
.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(158, 186, 21, 0.2);border-right-width: 1px;}
.ant-picker-status-warning.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{warning-color}", 5)`);}
.ant-picker {color: @text-color;background: #fff;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-picker:hover, .ant-picker-focused {border-color: color(~`colorPalette("@{primary-color}", 5)`);border-right-width: 1px;}
@ -788,16 +788,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.anticon.ant-input-clear-icon:hover, .ant-input-clear-icon:hover {color: @text-color-secondary;}
.anticon.ant-input-clear-icon:active, .ant-input-clear-icon:active {color: @text-color;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @error-color;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(138, 139, 168, 0.2);border-right-width: 1px;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(247, 165, 218, 0.2);border-right-width: 1px;}
.ant-input-status-error .ant-input-prefix {color: @error-color;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @warning-color;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(95, 137, 182, 0.2);border-right-width: 1px;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(158, 186, 21, 0.2);border-right-width: 1px;}
.ant-input-status-warning .ant-input-prefix {color: @warning-color;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @error-color;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(138, 139, 168, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(247, 165, 218, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-error .ant-input-prefix {color: @error-color;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @warning-color;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(95, 137, 182, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(158, 186, 21, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-warning .ant-input-prefix {color: @warning-color;}
.ant-input-group-wrapper-status-error .ant-input-group-addon {color: @error-color;border-color: @error-color;}
.ant-input-group-wrapper-status-warning .ant-input-group-addon {color: @warning-color;border-color: @warning-color;}
@ -894,16 +894,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-input-number-affix-wrapper > div.ant-input-number {border: none;}
.ant-input-number-affix-wrapper > div.ant-input-number.ant-input-number-focused {box-shadow: none !important;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @error-color;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(138, 139, 168, 0.2);border-right-width: 1px;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(247, 165, 218, 0.2);border-right-width: 1px;}
.ant-input-number-status-error .ant-input-number-prefix {color: @error-color;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @warning-color;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(95, 137, 182, 0.2);border-right-width: 1px;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(158, 186, 21, 0.2);border-right-width: 1px;}
.ant-input-number-status-warning .ant-input-number-prefix {color: @warning-color;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @error-color;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(138, 139, 168, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(247, 165, 218, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-error .ant-input-number-prefix {color: @error-color;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @warning-color;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(95, 137, 182, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(158, 186, 21, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-warning .ant-input-number-prefix {color: @warning-color;}
.ant-input-number-group-wrapper-status-error .ant-input-number-group-addon {color: @error-color;border-color: @error-color;}
.ant-input-number-group-wrapper-status-warning .ant-input-number-group-addon {color: @warning-color;border-color: @warning-color;}
@ -1024,10 +1024,10 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-list-grid .ant-col > .ant-list-item {border-bottom: none;}
.ant-list-bordered {border: 1px solid @border-color-base;border-radius: 2px;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @error-color;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(138, 139, 168, 0.2);border-right-width: 1px;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(247, 165, 218, 0.2);border-right-width: 1px;}
.ant-mentions-status-error .ant-input-prefix {color: @error-color;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @warning-color;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(95, 137, 182, 0.2);border-right-width: 1px;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(158, 186, 21, 0.2);border-right-width: 1px;}
.ant-mentions-status-warning .ant-input-prefix {color: @warning-color;}
.ant-mentions {color: @text-color;background-color: #fff;background-image: none;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-mentions::placeholder {color: #bfbfbf;}
@ -1360,9 +1360,9 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-select-multiple .ant-select-selection-item-remove {color: inherit;color: @text-color-secondary;}
.ant-select-multiple .ant-select-selection-item-remove:hover {color: rgba(0, 0, 0, 0.75);}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @error-color !important;}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(138, 139, 168, 0.2);border-right-width: 1px;}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(247, 165, 218, 0.2);border-right-width: 1px;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @warning-color !important;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(95, 137, 182, 0.2);border-right-width: 1px;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(158, 186, 21, 0.2);border-right-width: 1px;}
.ant-select {color: @text-color;}
.ant-select:not(.ant-select-customize-input) .ant-select-selector {background-color: #fff;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {border-color: color(~`colorPalette("@{primary-color}", 5)`);box-shadow: 0 0 0 2px fade(@primary-color, 20%);border-right-width: 1px;}

@ -5667,7 +5667,7 @@ var ShixunDetail_ShixunsListPage = function ShixunsListPage(_ref) {
children: "\u8BFE\u5802\u7BA1\u7406"
}), ((0,authority/* isTeacher */.IR)() || (0,authority/* isAssistant */.Rm)()) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [!(detailTopBanner !== null && detailTopBanner !== void 0 && detailTopBanner.excellent) && '复制/', "\u8BFE\u5802\u7BA1\u7406"]
}), (0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
}), (0,authority/* isStudent */.dE)() && !(detailTopBanner !== null && detailTopBanner !== void 0 && detailTopBanner.excellent) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u9000\u51FA\u8BFE\u5802"
})]
})

@ -1843,14 +1843,48 @@ span.ant-radio + * {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

@ -1,47 +1,6 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[6758],{
/***/ 77171:
/*!**********************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js + 1 modules ***!
\**********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_ArrowDownOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ArrowDownOutlined.js
// This icon file is generated automatically.
var ArrowDownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z" } }] }, "name": "arrow-down", "theme": "outlined" };
/* harmony default export */ var asn_ArrowDownOutlined = (ArrowDownOutlined);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules
var AntdIcon = __webpack_require__(7918);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var ArrowDownOutlined_ArrowDownOutlined = function ArrowDownOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_ArrowDownOutlined
}));
};
ArrowDownOutlined_ArrowDownOutlined.displayName = 'ArrowDownOutlined';
/* harmony default export */ var icons_ArrowDownOutlined = (/*#__PURE__*/react.forwardRef(ArrowDownOutlined_ArrowDownOutlined));
/***/ }),
/***/ 82982:
/*!*****************************************!*\
!*** ./src/components/NoData/index.tsx ***!
@ -4450,747 +4409,6 @@ var TabMenu = function TabMenu(_ref) {
};
/* harmony default export */ var components_TabMenu = (TabMenu);
/***/ }),
/***/ 5467:
/*!**********************************************************!*\
!*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; }
/* harmony export */ });
function getDataOrAriaProps(props) {
return Object.keys(props).reduce(function (prev, key) {
if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) {
prev[key] = props[key];
}
return prev;
}, {});
}
/***/ }),
/***/ 29924:
/*!*********************************************************!*\
!*** ./node_modules/antd/es/radio/index.js + 4 modules ***!
\*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"ZP": function() { return /* binding */ es_radio; }
});
// UNUSED EXPORTS: Button, Group
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(97685);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js
var useMergedState = __webpack_require__(21770);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js
var SizeContext = __webpack_require__(97647);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js
var getDataOrAriaProps = __webpack_require__(5467);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js
var RadioGroupContext = /*#__PURE__*/react.createContext(null);
var RadioGroupContextProvider = RadioGroupContext.Provider;
/* harmony default export */ var radio_context = (RadioGroupContext);
var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null);
var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider;
// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js
var es = __webpack_require__(50132);
// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js
var es_ref = __webpack_require__(42550);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js
var DisabledContext = __webpack_require__(98866);
// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js
var form_context = __webpack_require__(65223);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js
var __rest = undefined && undefined.__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 InternalRadio = function InternalRadio(props, ref) {
var _classNames;
var groupContext = react.useContext(radio_context);
var radioOptionTypeContext = react.useContext(RadioOptionTypeContext);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var innerRef = react.useRef();
var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef);
var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM),
isFormItemInput = _useContext.isFormItemInput;
false ? 0 : void 0;
var onChange = function onChange(e) {
var _a, _b;
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e);
(_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e);
};
var customizePrefixCls = props.prefixCls,
className = props.className,
children = props.children,
style = props.style,
customDisabled = props.disabled,
restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]);
var radioPrefixCls = getPrefixCls('radio', customizePrefixCls);
var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls;
var radioProps = (0,esm_extends/* default */.Z)({}, restProps);
// ===================== Disabled =====================
var disabled = react.useContext(DisabledContext/* default */.Z);
radioProps.disabled = customDisabled || disabled;
if (groupContext) {
radioProps.name = groupContext.name;
radioProps.onChange = onChange;
radioProps.checked = props.value === groupContext.value;
radioProps.disabled = radioProps.disabled || groupContext.disabled;
}
var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className);
return (
/*#__PURE__*/
// eslint-disable-next-line jsx-a11y/label-has-associated-control
react.createElement("label", {
className: wrapperClassString,
style: style,
onMouseEnter: props.onMouseEnter,
onMouseLeave: props.onMouseLeave
}, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, {
type: "radio",
prefixCls: prefixCls,
ref: mergedRef
})), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null)
);
};
var Radio = /*#__PURE__*/react.forwardRef(InternalRadio);
if (false) {}
/* harmony default export */ var radio_radio = (Radio);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js
var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) {
var _classNames;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var size = react.useContext(SizeContext/* default */.Z);
var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, {
value: props.value
}),
_useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
value = _useMergedState2[0],
setValue = _useMergedState2[1];
var onRadioChange = function onRadioChange(ev) {
var lastValue = value;
var val = ev.target.value;
if (!('value' in props)) {
setValue(val);
}
var onChange = props.onChange;
if (onChange && val !== lastValue) {
onChange(ev);
}
};
var customizePrefixCls = props.prefixCls,
_props$className = props.className,
className = _props$className === void 0 ? '' : _props$className,
options = props.options,
_props$buttonStyle = props.buttonStyle,
buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle,
disabled = props.disabled,
children = props.children,
customizeSize = props.size,
style = props.style,
id = props.id,
onMouseEnter = props.onMouseEnter,
onMouseLeave = props.onMouseLeave,
onFocus = props.onFocus,
onBlur = props.onBlur;
var prefixCls = getPrefixCls('radio', customizePrefixCls);
var groupPrefixCls = "".concat(prefixCls, "-group");
var childrenToRender = children;
// 如果存在 options, 优先使用
if (options && options.length > 0) {
childrenToRender = options.map(function (option) {
if (typeof option === 'string' || typeof option === 'number') {
// 此处类型自动推导为 string
return /*#__PURE__*/react.createElement(radio_radio, {
key: option.toString(),
prefixCls: prefixCls,
disabled: disabled,
value: option,
checked: value === option
}, option);
}
// 此处类型自动推导为 { label: string value: string }
return /*#__PURE__*/react.createElement(radio_radio, {
key: "radio-group-value-options-".concat(option.value),
prefixCls: prefixCls,
disabled: option.disabled || disabled,
value: option.value,
checked: value === option.value,
style: option.style
}, option.label);
});
}
var mergedSize = customizeSize || size;
var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), {
className: classString,
style: style,
onMouseEnter: onMouseEnter,
onMouseLeave: onMouseLeave,
onFocus: onFocus,
onBlur: onBlur,
id: id,
ref: ref
}), /*#__PURE__*/react.createElement(RadioGroupContextProvider, {
value: {
onChange: onRadioChange,
value: value,
disabled: props.disabled,
name: props.name,
optionType: props.optionType
}
}, childrenToRender));
});
/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup));
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js
var radioButton_rest = undefined && undefined.__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 RadioButton = function RadioButton(props, ref) {
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var customizePrefixCls = props.prefixCls,
radioProps = radioButton_rest(props, ["prefixCls"]);
var prefixCls = getPrefixCls('radio', customizePrefixCls);
return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, {
value: "button"
}, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({
prefixCls: prefixCls
}, radioProps, {
type: "radio",
ref: ref
})));
};
/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton));
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js
var radio_Radio = radio_radio;
radio_Radio.Button = radioButton;
radio_Radio.Group = group;
radio_Radio.__ANT_RADIO = true;
/* harmony default export */ var es_radio = (radio_Radio);
/***/ }),
/***/ 83822:
/*!***************************************************************!*\
!*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***!
\***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js
// deps-lint-skip: form
/***/ }),
/***/ 73481:
/*!*************************************************************!*\
!*** ./node_modules/antd/es/skeleton/index.js + 11 modules ***!
\*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ skeleton; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
var esm_typeof = __webpack_require__(71002);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js
var omit = __webpack_require__(98423);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Element.js
var Element = function Element(props) {
var _classNames, _classNames2;
var prefixCls = props.prefixCls,
className = props.className,
style = props.style,
size = props.size,
shape = props.shape;
var sizeCls = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), _classNames));
var shapeCls = classnames_default()((_classNames2 = {}, (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-circle"), shape === 'circle'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-square"), shape === 'square'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-round"), shape === 'round'), _classNames2));
var sizeStyle = react.useMemo(function () {
return typeof size === 'number' ? {
width: size,
height: size,
lineHeight: "".concat(size, "px")
} : {};
}, [size]);
return /*#__PURE__*/react.createElement("span", {
className: classnames_default()(prefixCls, sizeCls, shapeCls, className),
style: (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, sizeStyle), style)
});
};
/* harmony default export */ var skeleton_Element = (Element);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Avatar.js
var SkeletonAvatar = function SkeletonAvatar(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
_props$shape = props.shape,
shape = _props$shape === void 0 ? 'circle' : _props$shape,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls', 'className']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-avatar"),
shape: shape,
size: size
}, otherProps)));
};
/* harmony default export */ var Avatar = (SkeletonAvatar);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Button.js
var SkeletonButton = function SkeletonButton(props) {
var _classNames;
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
_props$block = props.block,
block = _props$block === void 0 ? false : _props$block,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-button"),
size: size
}, otherProps)));
};
/* harmony default export */ var Button = (SkeletonButton);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js
// This icon file is generated automatically.
var DotChartOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "dot-chart", "theme": "outlined" };
/* harmony default export */ var asn_DotChartOutlined = (DotChartOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(93771);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DotChartOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var DotChartOutlined_DotChartOutlined = function DotChartOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_DotChartOutlined
}));
};
DotChartOutlined_DotChartOutlined.displayName = 'DotChartOutlined';
/* harmony default export */ var icons_DotChartOutlined = (/*#__PURE__*/react.forwardRef(DotChartOutlined_DotChartOutlined));
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Node.js
var SkeletonNode = function SkeletonNode(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
style = props.style,
active = props.active,
children = props.children;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
var content = children !== null && children !== void 0 ? children : /*#__PURE__*/react.createElement(icons_DotChartOutlined, null);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement("div", {
className: classnames_default()("".concat(prefixCls, "-image"), className),
style: style
}, content));
};
/* harmony default export */ var Node = (SkeletonNode);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Image.js
var path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';
var SkeletonImage = function SkeletonImage(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
style = props.style,
active = props.active;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement("div", {
className: classnames_default()("".concat(prefixCls, "-image"), className),
style: style
}, /*#__PURE__*/react.createElement("svg", {
viewBox: "0 0 1098 1024",
xmlns: "http://www.w3.org/2000/svg",
className: "".concat(prefixCls, "-image-svg")
}, /*#__PURE__*/react.createElement("path", {
d: path,
className: "".concat(prefixCls, "-image-path")
}))));
};
/* harmony default export */ var Image = (SkeletonImage);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Input.js
var SkeletonInput = function SkeletonInput(props) {
var _classNames;
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
block = props.block,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-input"),
size: size
}, otherProps)));
};
/* harmony default export */ var Input = (SkeletonInput);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(74902);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Paragraph.js
var Paragraph = function Paragraph(props) {
var getWidth = function getWidth(index) {
var width = props.width,
_props$rows = props.rows,
rows = _props$rows === void 0 ? 2 : _props$rows;
if (Array.isArray(width)) {
return width[index];
}
// last paragraph
if (rows - 1 === index) {
return width;
}
return undefined;
};
var prefixCls = props.prefixCls,
className = props.className,
style = props.style,
rows = props.rows;
var rowList = (0,toConsumableArray/* default */.Z)(Array(rows)).map(function (_, index) {
return (
/*#__PURE__*/
// eslint-disable-next-line react/no-array-index-key
react.createElement("li", {
key: index,
style: {
width: getWidth(index)
}
})
);
});
return /*#__PURE__*/react.createElement("ul", {
className: classnames_default()(prefixCls, className),
style: style
}, rowList);
};
/* harmony default export */ var skeleton_Paragraph = (Paragraph);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Title.js
/* eslint-disable jsx-a11y/heading-has-content */
var Title = function Title(_ref) {
var prefixCls = _ref.prefixCls,
className = _ref.className,
width = _ref.width,
style = _ref.style;
return /*#__PURE__*/react.createElement("h3", {
className: classnames_default()(prefixCls, className),
style: (0,esm_extends/* default */.Z)({
width: width
}, style)
});
};
/* harmony default export */ var skeleton_Title = (Title);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Skeleton.js
function getComponentProps(prop) {
if (prop && (0,esm_typeof/* default */.Z)(prop) === 'object') {
return prop;
}
return {};
}
function getAvatarBasicProps(hasTitle, hasParagraph) {
if (hasTitle && !hasParagraph) {
// Square avatar
return {
size: 'large',
shape: 'square'
};
}
return {
size: 'large',
shape: 'circle'
};
}
function getTitleBasicProps(hasAvatar, hasParagraph) {
if (!hasAvatar && hasParagraph) {
return {
width: '38%'
};
}
if (hasAvatar && hasParagraph) {
return {
width: '50%'
};
}
return {};
}
function getParagraphBasicProps(hasAvatar, hasTitle) {
var basicProps = {};
// Width
if (!hasAvatar || !hasTitle) {
basicProps.width = '61%';
}
// Rows
if (!hasAvatar && hasTitle) {
basicProps.rows = 3;
} else {
basicProps.rows = 2;
}
return basicProps;
}
var Skeleton = function Skeleton(props) {
var customizePrefixCls = props.prefixCls,
loading = props.loading,
className = props.className,
style = props.style,
children = props.children,
_props$avatar = props.avatar,
avatar = _props$avatar === void 0 ? false : _props$avatar,
_props$title = props.title,
title = _props$title === void 0 ? true : _props$title,
_props$paragraph = props.paragraph,
paragraph = _props$paragraph === void 0 ? true : _props$paragraph,
active = props.active,
round = props.round;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
if (loading || !('loading' in props)) {
var _classNames;
var hasAvatar = !!avatar;
var hasTitle = !!title;
var hasParagraph = !!paragraph;
// Avatar
var avatarNode;
if (hasAvatar) {
var avatarProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-avatar")
}, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar));
// We direct use SkeletonElement as avatar in skeleton internal.
avatarNode = /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-header")
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({}, avatarProps)));
}
var contentNode;
if (hasTitle || hasParagraph) {
// Title
var $title;
if (hasTitle) {
var titleProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-title")
}, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title));
$title = /*#__PURE__*/react.createElement(skeleton_Title, (0,esm_extends/* default */.Z)({}, titleProps));
}
// Paragraph
var paragraphNode;
if (hasParagraph) {
var paragraphProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-paragraph")
}, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph));
paragraphNode = /*#__PURE__*/react.createElement(skeleton_Paragraph, (0,esm_extends/* default */.Z)({}, paragraphProps));
}
contentNode = /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-content")
}, $title, paragraphNode);
}
var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-avatar"), hasAvatar), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-round"), round), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls,
style: style
}, avatarNode, contentNode);
}
return typeof children !== 'undefined' ? children : null;
};
Skeleton.Button = Button;
Skeleton.Avatar = Avatar;
Skeleton.Input = Input;
Skeleton.Image = Image;
Skeleton.Node = Node;
/* harmony default export */ var skeleton_Skeleton = (Skeleton);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/index.js
/* harmony default export */ var skeleton = (skeleton_Skeleton);
/***/ }),
/***/ 61099:
/*!******************************************************************!*\
!*** ./node_modules/antd/es/skeleton/style/index.js + 1 modules ***!
\******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.js
/***/ })
}]);

@ -541,17 +541,51 @@ span.ant-radio + * {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Attachment/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -1034,17 +1034,51 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/CommonHomework/Detail/components/CodeReview/Detail/index.less?modules ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -611,6 +611,8 @@ var ImageDimensions = function ImageDimensions(_ref) {
/* harmony default export */ var components_ImageDimensions = (ImageDimensions);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(59758);
// EXTERNAL MODULE: ./src/utils/authority.ts
var utils_authority = __webpack_require__(7);
;// CONCATENATED MODULE: ./src/components/FileDownloadList/index.tsx
@ -625,6 +627,7 @@ var env = __webpack_require__(59758);
var FileDownloadList = function FileDownloadList(_ref) {
var className = _ref.className,
style = _ref.style,
@ -646,15 +649,19 @@ var FileDownloadList = function FileDownloadList(_ref) {
_useState4 = slicedToArray_default()(_useState3, 2),
openData = _useState4[0],
setOpenData = _useState4[1];
var _useState5 = (0,react.useState)({
var _useState5 = (0,react.useState)(false),
_useState6 = slicedToArray_default()(_useState5, 2),
isedit = _useState6[0],
setisedit = _useState6[1];
var _useState7 = (0,react.useState)({
title: '',
visible: false,
src: '',
snapshotData: {}
}),
_useState6 = slicedToArray_default()(_useState5, 2),
dimensions = _useState6[0],
setDimensions = _useState6[1];
_useState8 = slicedToArray_default()(_useState7, 2),
dimensions = _useState8[0],
setDimensions = _useState8[1];
var monacoValueRef = (0,react.useRef)();
var handleClick = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(item) {
@ -786,7 +793,25 @@ var FileDownloadList = function FileDownloadList(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-chakanlaoshipizhu1"
}), "\u67E5\u770B\u8001\u5E08\u6279\u6CE8"]
}))]
})), ['office'].includes(item === null || item === void 0 ? void 0 : item.file_type) && (0,utils_authority/* isAdmins */.eB)() && ["xlsx", "docx", "pptx"].includes(item === null || item === void 0 ? void 0 : item.file_sub) && showDimensions && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: FileDownloadListmodules.annotation,
onClick: function onClick() {
setisedit(true);
handleClick(item);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-pizhu"
}), item.is_edit ? '修改批注' : '批注']
}), item.is_edit && (0,utils_authority/* isStudent */.dE)() && showDimensions && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: FileDownloadListmodules.annotation,
onClick: function onClick() {
// setisedit(true)
handleClick(item);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-sousuo7"
}), '查看老师批注']
})]
}, index);
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(PreviewAll/* default */.Z, {
@ -794,6 +819,7 @@ var FileDownloadList = function FileDownloadList(_ref) {
data: data === null || data === void 0 ? void 0 : data.content,
type: data === null || data === void 0 ? void 0 : data.type,
hasMask: true,
editOffice: isedit ? 'edit' : 'view',
monacoEditor: {
value: monacoValueRef.current,
language: "txt",
@ -810,7 +836,9 @@ var FileDownloadList = function FileDownloadList(_ref) {
return handleAnnotation(openData);
} : null,
onClose: function onClose() {
return setData({
callback();
setisedit(false);
setData({
content: "",
type: ""
});

@ -748,17 +748,51 @@ span.CodeMirror-selectedtext {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/toolbar/index.less ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

File diff suppressed because it is too large Load Diff

@ -166,18 +166,20 @@
.selectdiv___gkuBG {
color: #3061D0;
font-size: 16px;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
}
.divitem___vNm0q {
color: #464F66;
font-size: 16px;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
}
.bottmodiv___assW5 {
height: 64px;
background: #464F66;
background: #fff;
box-shadow: 0px -2px 4px 0px #E0DFE1;
width: 100%;
left: 0px;
@ -189,19 +191,19 @@
display: flex;
}
.bottmodiv___assW5 .cancelBtn___Nl6Pi {
border: 1px solid #DCDCDC;
border: 1px solid #BACFFE;
height: 38px;
width: 60px;
font-weight: 600;
color: #3061D0;
background-color: transparent;
text-shadow: none;
}
.bottmodiv___assW5 .confirmBtn___BNoFU {
height: 38px;
width: 160px;
background: #F8F9FC;
width: 126px;
background: #3061D0;
border-radius: 2px;
font-weight: 600;
color: #3061D0;
color: #fff;
border: none;
text-shadow: none;
}
@ -547,11 +549,12 @@
color: #000000;
line-height: 18px;
}
.bottmodiv___k_U6H {
.bottomdiv___rPfwr {
height: 64px;
background: #464F66;
background: #fff;
box-shadow: 0px -2px 4px 0px #E0DFE1;
width: 100%;
min-width: 1200px;
left: 0px;
bottom: 0px;
z-index: 10;
@ -559,25 +562,51 @@
align-items: center;
justify-content: center;
display: flex;
color: #fff;
color: #343636;
}
.bottomdiv___rPfwr .spanBtn___eJxID {
cursor: pointer;
}
.bottomdiv___rPfwr .spanBtn___eJxID:hover {
color: #165DFF;
}
.bottmodiv___k_U6H .addQuestionBtn___RPRiP {
.bottomdiv___rPfwr .addQuestionBtn___RPRiP {
background: #F8F9FC;
border-radius: 2px;
box-shadow: 0px 2px 4px 0px #E0DFE1;
border-radius: 4px;
color: #3061D0;
border: none;
border: 1px solid #BACFFE;
text-shadow: none;
height: 32px;
width: 88px;
}
.bottmodiv___k_U6H .addQuestionBtn___RPRiP i {
.bottomdiv___rPfwr .addQuestionBtn___RPRiP i {
color: #3061D0;
font-size: 14px;
font-weight: 600;
}
.bottmodiv___k_U6H .addQuestionBtn___RPRiP:hover {
.bottomdiv___rPfwr .addQuestionBtn___RPRiP:hover {
background: #3061D0;
color: #fff;
border-color: transparent;
}
.bottmodiv___k_U6H .addQuestionBtn___RPRiP:hover i {
.bottomdiv___rPfwr .addQuestionBtn___RPRiP:hover i {
color: #fff;
}
.bottomdiv___rPfwr .saveBtn___y9nNf {
height: 32px;
width: 94px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 2px;
border: 1px solid #EEEEEE;
cursor: pointer;
}
.bottomdiv___rPfwr .saveBtn___y9nNf:hover {
border: 1px solid #165DFF;
color: #165DFF;
}
.left___Q3Qf4 {
padding: 15px 0px;
background: #F6F7F9;
@ -587,7 +616,15 @@
}
.left___Q3Qf4 .scrollWrapper___a3Wdq {
max-height: 500px;
overflow: auto;
}
.left___Q3Qf4 .scrollWrapper___a3Wdq::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.05) !important;
border-radius: 3px;
}
.left___Q3Qf4 .scrollWrapper___a3Wdq::-webkit-scrollbar-track {
background-color: #f6f7f9 !important;
box-shadow: none !important;
box-shadow: initial !important;
}
.left___Q3Qf4 .Button___r00OP {
width: 92px;
@ -603,50 +640,62 @@
margin-bottom: 9px;
}
.left___Q3Qf4 .title___xV4Rt {
height: 28px;
padding: 0px 15px;
height: 32px;
border-radius: 2px;
padding-left: 15px;
display: flex;
align-items: center;
}
.left___Q3Qf4 .title___xV4Rt .titleleft___WZ83K {
width: 85%;
-webkit-box-orient: vertical;
display: -webkit-box;
-webkit-line-clamp: 1;
overflow: hidden;
}
.left___Q3Qf4 .title___xV4Rt .up___a9RQm {
display: none;
}
.left___Q3Qf4 .title___xV4Rt .down___x6RAl {
display: none;
margin-bottom: 10px;
}
.left___Q3Qf4 .title___xV4Rt:hover {
margin: 0px 10px;
padding: 0px 5px;
background: #E1E2E4;
box-shadow: 0px 2px 4px 0px #EAEEF4;
border-radius: 2px;
}
.left___Q3Qf4 .title___xV4Rt:hover .iconWrapper___wofW_ {
background-color: #fff;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
width: 28px;
border-radius: 2px;
}
.left___Q3Qf4 .title___xV4Rt:hover .up___a9RQm {
.left___Q3Qf4 .title___xV4Rt:hover .iconWrapper___wofW_ .up___a9RQm {
display: inline-block;
color: #3061D0;
cursor: pointer;
font-size: 13px;
}
.left___Q3Qf4 .title___xV4Rt:hover .down___x6RAl {
.left___Q3Qf4 .title___xV4Rt:hover .iconWrapper___wofW_ .down___x6RAl {
display: inline-block;
color: #3061D0;
cursor: pointer;
font-size: 13px;
}
.left___Q3Qf4 .title___xV4Rt:hover .iconWrapper___wofW_ .disabled___mkEME {
cursor: not-allowed;
}
.left___Q3Qf4 .title___xV4Rt:hover .iconWrapper___wofW_ .disabled___mkEME.up___a9RQm,
.left___Q3Qf4 .title___xV4Rt:hover .iconWrapper___wofW_ .disabled___mkEME.down___x6RAl {
opacity: 0.2;
}
.left___Q3Qf4 .title___xV4Rt .titleleft___WZ83K {
width: 85%;
-webkit-box-orient: vertical;
display: -webkit-box;
-webkit-line-clamp: 1;
overflow: hidden;
}
.left___Q3Qf4 .title___xV4Rt .iconWrapper___wofW_ {
display: none;
}
.left___Q3Qf4 .qcount___o6F1k {
font-size: 12px;
display: flex;
height: 28px;
align-items: start;
margin-bottom: 10px;
padding: 0px 15px;
align-items: center;
margin: 0px 10px 12px 10px;
padding: 0px 5px;
font-size: 12px;
}
.left___Q3Qf4 .qcount___o6F1k .score___Gy6jr {
min-width: 50px;
@ -667,47 +716,16 @@
color: #000000;
}
.left___Q3Qf4 .qcount___o6F1k:hover {
margin: 0px 10px;
padding: 0px 5px;
background: #fff;
color: #3061D0;
height: 28px;
display: flex;
align-items: center;
margin-bottom: 10px;
}
.left___Q3Qf4 .qcount___o6F1k:hover .qtitle___KF7pa {
color: #3061D0;
word-break: break-all;
}
.left___Q3Qf4 .qcountclick___kvoyc {
font-size: 12px;
margin: 0px 10px;
padding: 0px 5px;
.left___Q3Qf4 .qcount___o6F1k.qcountclick___kvoyc {
background: #fff;
color: #3061D0;
height: 28px;
display: flex;
align-items: center;
margin-bottom: 10px;
}
.left___Q3Qf4 .qcountclick___kvoyc .score___Gy6jr {
min-width: 50px;
height: 20px;
background: rgba(236, 236, 236, 0.6);
border-radius: 0px 0px 2px 0px;
text-align: center;
color: #464F66;
margin-right: 5px;
}
.left___Q3Qf4 .qcountclick___kvoyc .qtitle___KF7pa {
-webkit-box-orient: vertical;
display: -webkit-box;
-webkit-line-clamp: 1;
overflow: hidden;
width: 70%;
word-break: break-all;
color: #3061D0;
}
.right___Nfa70 {
padding: 40px;
@ -749,7 +767,7 @@
}
.right___Nfa70 .qcount___o6F1k {
display: flex;
align-items: center;
align-items: flex-start;
margin-top: 20px;
}
.right___Nfa70 .qcount___o6F1k .score___Gy6jr {
@ -1806,17 +1824,51 @@ span.CodeMirror-selectedtext {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/toolbar/index.less ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@ -2084,18 +2136,17 @@ span.CodeMirror-selectedtext {
flex-direction: column;
box-orient: block-axis;
}
.warp___UlRJc {
padding: 30px 38px;
.warp___UlRJc .normalWrap___Qm4zY {
padding: 32px 0 0 38px;
}
.warp___UlRJc .redio___VW3yr {
display: flex;
align-items: flex-start;
align-items: center;
margin-bottom: 25px;
}
.warp___UlRJc .redio___VW3yr .redioitem___jAPlJ {
width: 14px;
min-width: 14px;
margin-top: 6px;
height: 14px;
background: #F5F5F5;
border-radius: 7px;
@ -2105,7 +2156,6 @@ span.CodeMirror-selectedtext {
.warp___UlRJc .redio___VW3yr .redioitemyes___VoiQ1 {
font-size: 14px;
color: #37AD83;
margin-top: 6px;
margin-right: 10px;
}
.warp___UlRJc .redio___VW3yr .title___Dt2dl {
@ -2124,20 +2174,18 @@ span.CodeMirror-selectedtext {
text-align: center;
margin-left: 16px;
line-height: 20px;
margin-top: 6px;
font-size: 12px;
background: #EBF6F2;
}
.warp___UlRJc .checkbox___CgMU_ {
display: flex;
align-items: flex-start;
align-items: center;
margin-bottom: 25px;
}
.warp___UlRJc .checkbox___CgMU_ .checkboxitem___PpJ9n {
width: 14px;
height: 14px;
min-width: 14px;
margin-top: 6px;
background: #F5F5F5;
border-radius: 2px;
margin-right: 10px;
@ -2147,7 +2195,6 @@ span.CodeMirror-selectedtext {
font-size: 14px;
color: #37AD83;
margin-right: 10px;
margin-top: 6px;
}
.warp___UlRJc .checkbox___CgMU_ .title___Dt2dl {
color: #000000;
@ -2166,14 +2213,14 @@ span.CodeMirror-selectedtext {
margin-left: 16px;
line-height: 20px;
font-size: 12px;
margin-top: 6px;
background: #EBF6F2;
}
.warp___UlRJc .bottom___BqrmJ {
margin-top: 55px;
margin-top: 40px;
background: #F6F7F9;
padding: 20px;
}
.warp___UlRJc .bottom___BqrmJ .bottomitem___Qk2rG {
margin-bottom: 25px;
font-size: 16px;
display: flex;
align-items: center;
@ -2188,63 +2235,59 @@ span.CodeMirror-selectedtext {
color: #000000;
margin-left: 10px;
}
.warp___UlRJc .completion___y1m7L {
padding-top: 32px;
}
.warp___UlRJc .completion___y1m7L .title___Dt2dl {
width: 70px;
height: 46px;
min-width: 70px;
display: flex;
align-items: center;
justify-content: center;
}
.warp___UlRJc .completion___y1m7L .content___AmQy4 {
display: flex;
align-items: center;
justify-content: flex-start;
flex-wrap: wrap;
color: #666666;
}
.warp___UlRJc .completion___y1m7L .content___AmQy4 .items___lIt8e {
padding: 14px 16px;
border: 1px solid #dcdcdc;
height: 46px;
border-radius: 2px;
margin-left: 20px;
color: #37AD83;
min-width: 102px;
display: inline-block;
display: flex;
justify-content: center;
align-items: center;
font-size: 14px;
text-align: center;
margin-bottom: 20px;
}
.warp___UlRJc .simple___zxJLH {
display: flex;
align-items: flex-start;
margin-top: 22px;
}
.warp___UlRJc .simple___zxJLH .title___Dt2dl {
color: #37AD83;
font-size: 14px;
margin-top: 2px;
min-width: 56px;
white-space: nowrap;
}
.warp___UlRJc .simple___zxJLH .content___AmQy4 {
margin-left: 10px;
font-size: 16px;
}
.warp___UlRJc .shixun___UE6xS {
.warp___UlRJc .shixunWrapper___kAYdL {
margin-top: 22px;
padding: 20px 20px 0 20px;
border: 1px solid #DCDCDC;
}
.warp___UlRJc .shixunWrapper___kAYdL .shixun___UE6xS {
display: flex;
align-items: center;
margin-top: 20px;
}
.warp___UlRJc .shixun___UE6xS .score___Px5Fq {
width: 44px;
height: 25px;
background: rgba(236, 236, 236, 0.6);
border-radius: 0px 0px 2px 0px;
text-align: center;
line-height: 25px;
color: #464F66;
.warp___UlRJc .shixunWrapper___kAYdL .shixun___UE6xS .score___Px5Fq {
font-size: 16px;
color: #666666;
margin-right: 10px;
}
.warp___UlRJc .shixun___UE6xS .qtitle___wG7Nn {
.warp___UlRJc .shixunWrapper___kAYdL .shixun___UE6xS .qtitle___wG7Nn {
-webkit-box-orient: vertical;
display: -webkit-box;
-webkit-line-clamp: 1;
@ -2254,11 +2297,21 @@ span.CodeMirror-selectedtext {
font-weight: 400;
font-size: 16px;
}
.warp___UlRJc .program___gzKdL {
margin-top: 22px;
padding: 20px;
border: 1px solid #DCDCDC;
}
.warp___UlRJc .combination___R0ysn {
display: flex;
align-items: center;
margin-top: 20px;
}
.warp___UlRJc .combination___R0ysn .qtype___U0Suy {
font-size: 16px;
color: #434D6C;
margin-right: 6px;
}
.warp___UlRJc .combination___R0ysn .score___Px5Fq {
min-width: 50px;
height: 25px;
@ -2778,3 +2831,303 @@ span.CodeMirror-selectedtext {
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ReuseShixunModal/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.brief___LOzpE {
font-size: 14px;
font-weight: 400;
margin-bottom: 30px;
}
.contentTitle___xkdcN {
display: flex;
align-items: center;
font-size: 14px;
font-weight: 400;
color: #000000;
}
.content___Vtri0 {
font-size: 14px;
font-weight: 400;
}
.tips___tuAtH {
font-size: 12px;
font-weight: 400;
color: #6b758b;
padding-left: 14px;
}
.antdTable___s8T2N {
margin-top: 10px;
margin-bottom: 20px;
}
.antdTable___s8T2N thead[class~='ant-table-thead'] > tr > th {
background: #F2F2F2;
color: #5F6367;
}
.antdTable___s8T2N .tableCell___kN9Fw {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.antdModal___WVBk3 div[class~='ant-modal-header'] {
padding-top: 30px;
padding-left: 40px;
}
.antdModal___WVBk3 button[class~='ant-modal-close'] {
top: 18px;
right: 10px;
}
.antdModal___WVBk3 button[class~='ant-modal-close'] span[class~='ant-modal-close-x'] {
font-size: 18px;
}
.antdModal___WVBk3 div[class~='ant-modal-body'] {
padding-left: 40px;
padding-right: 40px;
max-height: 620px;
overflow: auto;
}
.antdModal___WVBk3 div[class~='ant-modal-footer'] {
border-top: none;
padding-bottom: 30px;
padding-right: 40px;
}
.orangeColor___ryB2u {
color: #FE6300;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/DigitalLabel/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.digitalLabel___tImKs {
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
background: #F6F7F9;
box-shadow: inset 0px 1px 3px 0px #D7D8D9;
border-radius: 50%;
font-size: 12px;
font-weight: 600;
color: #464F66;
}
.digitalLabel___tImKs.active___Ck70Q {
background: #3061D0;
color: #fff;
box-shadow: 0px 2px 4px 0px #E0DFE1;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Paperlibrary/Add/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___ycN2f {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___LcS9e {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___uwjPm {
align-items: center;
box-align: center;
}
.flex_box_center_end___Pc903 {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___AXEdv {
flex-direction: column;
box-orient: block-axis;
}
.bg___fm2Cw {
background: #fff;
box-shadow: 0px 2px 4px 0px #EAEEF4;
}
.title___J3MCU {
display: box;
display: flex;
align-items: center;
box-align: center;
justify-content: center;
font-weight: 600;
font-size: 16px;
color: #000000;
line-height: 18px;
margin-top: 20px;
margin-bottom: 20px;
}
.title___J3MCU strong {
color: #333;
}
.title___J3MCU .editIcon___i4Zll {
cursor: pointer;
font-size: 20px;
color: #7AAC9A;
margin-left: 10px;
}
.title___J3MCU .editIcon___i4Zll:hover {
color: #3061D0;
}
.titleLeft___da61c {
flex: 1 1;
}
.titleRight___EsdL6 a {
margin-right: 20px;
font-weight: bold;
}
.formWrap___YTxC3 div[class~='ant-form-item'] {
margin-bottom: 30px;
}
.formWrap___YTxC3 div[class~='ant-form-item-label'] label {
font-size: 14px;
font-weight: 400;
color: #666666;
}
.formWrap___YTxC3 .baseLineHeight___TprCB div[class~='ant-form-item-label'] {
line-height: 46px;
}
.formWrap___YTxC3 .radioBtnWrapper___Mt_XG div[class~='ant-form-item-label'] {
line-height: 38px;
}
.formWrap___YTxC3 .radioBtnWrapper___Mt_XG .radiogroup___EvkWh label[class~='ant-radio-button-wrapper'] {
width: 60px;
height: 38px;
background: #F6F7F9;
box-shadow: inset 0px 1px 3px 0px #D7D8D9;
border-radius: 23px;
border: none;
display: inline-flex;
align-items: center;
justify-content: center;
margin-right: 20px;
}
.formWrap___YTxC3 .radioBtnWrapper___Mt_XG .radiogroup___EvkWh label[class~='ant-radio-button-wrapper']::before {
background-color: transparent;
}
.formWrap___YTxC3 .radioBtnWrapper___Mt_XG .radiogroup___EvkWh label[class~='ant-radio-button-wrapper'] span {
color: #464F66;
}
.formWrap___YTxC3 .radioBtnWrapper___Mt_XG .radiogroup___EvkWh label[class~='ant-radio-button-wrapper-checked'] {
background-color: #fff;
box-shadow: 0px 2px 4px 0px #E0DFE1;
}
.formWrap___YTxC3 .radioBtnWrapper___Mt_XG .radiogroup___EvkWh label[class~='ant-radio-button-wrapper-checked']:first-child {
border-right-color: transparent;
}
.formWrap___YTxC3 .radioBtnWrapper___Mt_XG .radiogroup___EvkWh label[class~='ant-radio-button-wrapper-checked']:focus-within {
box-shadow: 0px 2px 4px 0px #E0DFE1;
}
.formWrap___YTxC3 .radioBtnWrapper___Mt_XG .radiogroup___EvkWh label[class~='ant-radio-button-wrapper-checked'].easy___mSxtg {
border: 1px solid #C1E7CB;
background: linear-gradient(180deg, #FFFFFF 0%, #F9FFF4 100%);
}
.formWrap___YTxC3 .radioBtnWrapper___Mt_XG .radiogroup___EvkWh label[class~='ant-radio-button-wrapper-checked'].easy___mSxtg span {
color: #46B70E;
}
.formWrap___YTxC3 .radioBtnWrapper___Mt_XG .radiogroup___EvkWh label[class~='ant-radio-button-wrapper-checked'].medium___NIaWN {
border: 1px solid #BACFFE;
background: #D3E0FD linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
}
.formWrap___YTxC3 .radioBtnWrapper___Mt_XG .radiogroup___EvkWh label[class~='ant-radio-button-wrapper-checked'].medium___NIaWN span {
color: #165DFF;
}
.formWrap___YTxC3 .radioBtnWrapper___Mt_XG .radiogroup___EvkWh label[class~='ant-radio-button-wrapper-checked'].hard___mddnD {
border: 1px solid #F8C8A8;
background: linear-gradient(180deg, #FFFFFF 0%, #FFF7F3 100%);
}
.formWrap___YTxC3 .radioBtnWrapper___Mt_XG .radiogroup___EvkWh label[class~='ant-radio-button-wrapper-checked'].hard___mddnD span {
color: #EE6F1A;
}
.formWrap___YTxC3 .baseFormItem___csbyb {
font-size: 14px;
}
.formWrap___YTxC3 .baseFormItem___csbyb input[class~='ant-input'] {
height: 38px;
}
.formWrap___YTxC3 .baseFormItem___csbyb input[class~='ant-input-number-input'] {
height: 46px;
}
.formWrap___YTxC3 .baseFormItem___csbyb div[class~='ant-select-selector'] {
height: 46px;
}
.formWrap___YTxC3 .baseFormItem___csbyb div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] {
line-height: 46px;
}
.formWrap___YTxC3 .baseFormItem___csbyb div[class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'] {
line-height: 46px;
}
.formWrap___YTxC3 .baseFormItem___csbyb span[class~='ant-select-arrow'] {
right: 12px;
}
.formWrap___YTxC3 .cascaderPopup___BttnF div[class~='ant-cascader-menus'] ul[class~='ant-cascader-menu'] li[class~='ant-cascader-menu-item'] {
color: #464F66;
font-weight: 400;
}
.formWrap___YTxC3 .cascaderPopup___BttnF div[class~='ant-cascader-menus'] ul[class~='ant-cascader-menu'] li[class~='ant-cascader-menu-item-active'] {
background-color: #E7F3FF;
color: #3061D0;
font-weight: 400;
}
.selectdiv___TAr4i {
color: #3061D0;
font-size: 16px;
cursor: pointer;
display: flex;
align-items: center;
}
.divitem___iaXB2 {
color: #464F66;
font-size: 16px;
cursor: pointer;
display: flex;
align-items: center;
}
.bottmodiv___bmp6p {
height: 64px;
background: #fff;
box-shadow: 0px -2px 4px 0px #E0DFE1;
width: 100%;
left: 0px;
z-index: 10;
bottom: 0px;
position: fixed;
align-items: center;
justify-content: center;
display: flex;
}
.bottmodiv___bmp6p .cancelBtn___Q4ZcL {
border: 1px solid #BACFFE;
height: 38px;
width: 60px;
color: #3061D0;
background-color: transparent;
text-shadow: none;
}
.bottmodiv___bmp6p .confirmBtn___nRiCD {
height: 38px;
width: 126px;
background: #3061D0;
border-radius: 2px;
color: #fff;
border: none;
text-shadow: none;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -770,17 +770,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/index.less ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -378,17 +378,51 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/CodeDetails/index.less?modules ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -89,17 +89,51 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/CheckDetail/index.less?modules ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

File diff suppressed because it is too large Load Diff

@ -1662,17 +1662,51 @@ span.CodeMirror-selectedtext {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/toolbar/index.less ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@ -2236,197 +2270,6 @@ span.CodeMirror-selectedtext {
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Paperlibrary/EditPaper/Questions/editor.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center____wjva {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___F2_sO {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___pCTvi {
align-items: center;
box-align: center;
}
.flex_box_center_end___ChHrd {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___HeDXp {
flex-direction: column;
box-orient: block-axis;
}
.wrap____e4M2 {
padding: 20px 30px;
box-sizing: border-box;
}
.modal___UjGgD div[class~='ant-modal-confirm-content'] {
font-size: 16px;
text-align: center;
}
.modal___UjGgD span[class~='ant-modal-title'] {
font-size: 16px;
}
.titleWrap___PWC_1 {
margin: 10px 0px;
}
.required___OmL0I {
margin-right: 4px;
color: #e04040;
font-size: 16px;
}
.title___iJ1Qg {
font-size: 14px;
color: #333333;
}
.colorGray___xdJix {
color: #888888;
}
.choiceWrap___XT6nM {
display: flex;
margin-top: 15px;
}
.answer___pHl5v {
color: #888;
display: block;
width: 38px;
height: 38px;
text-align: center;
line-height: 38px;
border-radius: 4px;
cursor: pointer;
border: 1px solid #e2e2e2;
margin-right: 10px;
}
.activeAnswer___XjpeG {
background: #ff7500;
color: #ffffff;
border: 1px solid #ff7500;
}
.deleteIcon___O5cN4 {
cursor: pointer;
color: #ccc;
margin-left: 15px;
font-size: 18px;
}
.addIcon___a2AM2 {
cursor: pointer;
color: #29bd8b;
margin-left: 6px;
font-size: 16px;
padding-top: 1px;
}
.editorWrap___FKOOz {
flex: 1 1;
}
.htmlWrap___ogueB {
display: flex;
margin-top: 0px;
min-height: 38px;
border-radius: 2px;
max-width: 1056px;
word-break: break-all;
border: 1px solid #dddddd;
padding-left: 10px;
padding-top: 6px;
}
.htmlWrap___ogueB p {
margin: 7px 10px;
}
.radio___W1kjJ {
width: 60px;
height: 32px;
line-height: 32px;
text-align: center;
}
.color333____LRzT {
color: #333;
}
.color999___KrWiG {
color: #999;
}
.questionType___natt6 {
display: box;
display: flex;
}
.questionType___natt6 > div {
flex: 1 1;
}
.questionChoices___NluQh {
margin-top: 15px;
}
.questionChoices___NluQh > div {
margin: 8px 0;
}
.action___zhdyr {
display: flex;
justify-content: flex-end;
align-items: center;
}
.difficult___gAQyf label[class~='ant-radio-button-wrapper'] {
width: 106px;
height: 33px;
line-height: 33px;
background: #eeeeee;
border-radius: 17px;
color: #333333;
text-align: center;
border: 0px;
margin-right: 27px;
margin-top: 6px;
}
.difficult___gAQyf label[class~='ant-radio-button-wrapper']:not(:first-child)::before {
width: 0px;
}
.difficult___gAQyf label[class~='ant-radio-button-wrapper-checked'] {
width: 106px;
height: 33px;
background: #0152d9;
border-radius: 17px;
text-align: center;
border: 0px;
color: #ffffff !important;
margin-right: 27px;
margin-top: 6px;
}
.fold___aZJDt .head___WgTkC {
height: 46px;
background: #f2f2f2;
display: flex;
align-items: center;
padding-left: 10px;
padding-right: 20px;
margin-bottom: 10px;
cursor: pointer;
}
.fold___aZJDt .head___WgTkC span {
font-size: 12px;
color: #333333;
margin-left: 5px;
}
.fold___aZJDt .head___WgTkC i {
display: inline-block;
}
.fold___aZJDt .head___WgTkC b {
color: #165dff;
cursor: pointer;
margin-left: auto;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Export/components/Head/index.less?modules ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -477,17 +477,51 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Review/component/index.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -417,17 +417,51 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/ReviewGroup/index.less?modules ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -458,17 +458,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Review/component/index.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -677,7 +677,7 @@ var CuttOffNowShixun = function CuttOffNowShixun(_ref) {
width: 60,
align: 'center'
}, {
title: "预览",
title: "操作",
dataIndex: "is_random",
width: 60,
align: 'center',

@ -1074,6 +1074,8 @@ var ImageDimensions = function ImageDimensions(_ref) {
/* harmony default export */ var components_ImageDimensions = (ImageDimensions);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(59758);
// EXTERNAL MODULE: ./src/utils/authority.ts
var utils_authority = __webpack_require__(7);
;// CONCATENATED MODULE: ./src/components/FileDownloadList/index.tsx
@ -1088,6 +1090,7 @@ var env = __webpack_require__(59758);
var FileDownloadList = function FileDownloadList(_ref) {
var className = _ref.className,
style = _ref.style,
@ -1109,15 +1112,19 @@ var FileDownloadList = function FileDownloadList(_ref) {
_useState4 = slicedToArray_default()(_useState3, 2),
openData = _useState4[0],
setOpenData = _useState4[1];
var _useState5 = (0,react.useState)({
var _useState5 = (0,react.useState)(false),
_useState6 = slicedToArray_default()(_useState5, 2),
isedit = _useState6[0],
setisedit = _useState6[1];
var _useState7 = (0,react.useState)({
title: '',
visible: false,
src: '',
snapshotData: {}
}),
_useState6 = slicedToArray_default()(_useState5, 2),
dimensions = _useState6[0],
setDimensions = _useState6[1];
_useState8 = slicedToArray_default()(_useState7, 2),
dimensions = _useState8[0],
setDimensions = _useState8[1];
var monacoValueRef = (0,react.useRef)();
var handleClick = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(item) {
@ -1249,7 +1256,25 @@ var FileDownloadList = function FileDownloadList(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-chakanlaoshipizhu1"
}), "\u67E5\u770B\u8001\u5E08\u6279\u6CE8"]
}))]
})), ['office'].includes(item === null || item === void 0 ? void 0 : item.file_type) && (0,utils_authority/* isAdmins */.eB)() && ["xlsx", "docx", "pptx"].includes(item === null || item === void 0 ? void 0 : item.file_sub) && showDimensions && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: FileDownloadListmodules.annotation,
onClick: function onClick() {
setisedit(true);
handleClick(item);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-pizhu"
}), item.is_edit ? '修改批注' : '批注']
}), item.is_edit && (0,utils_authority/* isStudent */.dE)() && showDimensions && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: FileDownloadListmodules.annotation,
onClick: function onClick() {
// setisedit(true)
handleClick(item);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-sousuo7"
}), '查看老师批注']
})]
}, index);
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(PreviewAll/* default */.Z, {
@ -1257,6 +1282,7 @@ var FileDownloadList = function FileDownloadList(_ref) {
data: data === null || data === void 0 ? void 0 : data.content,
type: data === null || data === void 0 ? void 0 : data.type,
hasMask: true,
editOffice: isedit ? 'edit' : 'view',
monacoEditor: {
value: monacoValueRef.current,
language: "txt",
@ -1273,7 +1299,9 @@ var FileDownloadList = function FileDownloadList(_ref) {
return handleAnnotation(openData);
} : null,
onClose: function onClose() {
return setData({
callback();
setisedit(false);
setData({
content: "",
type: ""
});

@ -594,17 +594,51 @@ span.CodeMirror-selectedtext {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/toolbar/index.less ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -1142,17 +1142,51 @@ span.CodeMirror-selectedtext {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/toolbar/index.less ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -1043,14 +1043,48 @@ span.ant-radio + * {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

@ -567,17 +567,51 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Polls/Detail/components/PreviewPolls/components/editor.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -696,17 +696,51 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/ProgramHomework/Comment/components/ShixunStaticItem.less?modules ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -244,17 +244,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/ProgramHomework/Comment/components/ShixunStaticItem.less?modules ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -920,14 +920,48 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

@ -678,17 +678,51 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/ProgramHomework/Detail/components/CodeReview/Detail/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -678,17 +678,51 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/ShixunHomeworks/Detail/components/CodeReview/Detail/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -2642,12 +2642,13 @@ var Statistics_ShixunsListPage = function ShixunsListPage(_ref) {
xAxis: [{
type: 'category',
data: detailCourseActscore.course_members.map(function (v) {
if (v.user_name.length > 5) {
return v.user_name.substr(0, 5) + '...';
} else {
return v.user_name;
}
// if (v.user_name.length > 5) {
// return v.user_name.substr(0, 5) + '...';
// } else {
return v.user_name;
// }
}),
axisLabel: {
interval: 0
}

@ -606,14 +606,48 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

@ -456,17 +456,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/index.less ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -1483,14 +1483,48 @@ ul.menu___sjQxY [class~='ant-dropdown-menu-item-active'] {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

@ -1313,14 +1313,48 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

@ -1310,14 +1310,48 @@ span.ant-radio + * {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

@ -578,14 +578,48 @@ span.ant-radio + * {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

@ -496,14 +496,48 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

@ -960,17 +960,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Help/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -784,17 +784,51 @@ ul.menu___UMSQf [class~='ant-dropdown-menu-item-active'] {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Innovation/Tasks/Collaborate/components/ChangeManagerModal/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -1169,14 +1169,48 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

@ -1879,17 +1879,51 @@ textarea.ant-pagination-options-quick-jumper input {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Messages/component/LeftNav.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -431,17 +431,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/pages/MoopCases/InfoPanel/index.less ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -414,14 +414,48 @@ ul.s-navs a.active {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -1,312 +1,6 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[22257],{
/***/ 37863:
/*!***********************************************!*\
!*** ./src/components/Editor/NullMDEditor.js ***!
\***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "Z": function() { return /* binding */ NullMDEditor; }
/* harmony export */ });
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/classCallCheck.js */ 56690);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createClass.js */ 89728);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/assertThisInitialized.js */ 66115);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/inherits.js */ 61655);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createSuper.js */ 26389);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/defineProperty.js */ 38416);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _markdown_editor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../markdown-editor */ 55373);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
var NULL_CH = '▁';
var NullMDEditor = /*#__PURE__*/function (_Component) {
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default()(NullMDEditor, _Component);
var _super = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default()(NullMDEditor);
function NullMDEditor() {
var _this;
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default()(this, NullMDEditor);
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
_this = _super.call.apply(_super, [this].concat(args));
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "getChCountBeforeCursor", function (cm, cursor) {
var currentLine = cursor.line;
var placeholderCountBefore = 0;
for (var _line = 0; _line < currentLine; _line++) {
placeholderCountBefore += cm.getLine(_line).split(NULL_CH).length - 1;
}
var currentLineStringBeforeCursor = cm.getLine(currentLine).substring(0, cursor.ch);
placeholderCountBefore += currentLineStringBeforeCursor.split(NULL_CH).length - 1;
return placeholderCountBefore;
});
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "onCMBeforeChange", function (cm, change) {
var rangeText = cm.getRange(change.from, change.to);
var totalPlaceholderCount = 0;
change.text.forEach(function (item) {
totalPlaceholderCount += item.split(NULL_CH).length - 1;
});
if (rangeText && rangeText.indexOf(NULL_CH) != -1) {
var placeholderCountInRange = rangeText.split(NULL_CH).length - 1;
var placeholderCountBefore = _this.getChCountBeforeCursor(cm, change.from);
console.log("\u5220\u9664".concat(placeholderCountInRange, "\u4E2A\uFF0C \u4E4B\u524D\u6709").concat(placeholderCountBefore, "\u4E2A\uFF0C\u65B0\u589E").concat(totalPlaceholderCount, "\u4E2A"));
if (_this.props.deleteEmptyDisabled) {
// 删除空格不检测
change.cancel();
} else {
// const ret = window.confirm(
// `确认要删除第${
// placeholderCountInRange == 1
// ? placeholderCountBefore + 1
// : `${placeholderCountBefore + 1}-${placeholderCountBefore +
// placeholderCountInRange}`
// }个空吗?`,
// );
// if (ret) {
_this.props.onPlaceholderChange && _this.props.onPlaceholderChange(placeholderCountBefore, placeholderCountInRange, totalPlaceholderCount);
// } else {
// change.cancel();
// }
}
} else if (totalPlaceholderCount) {
var _placeholderCountBefore = _this.getChCountBeforeCursor(cm, change.from);
console.log("\u65B0\u589E".concat(totalPlaceholderCount, "\u4E2A\uFF0C\u4E4B\u524D\u6709").concat(_placeholderCountBefore, "\u4E2A"));
_this.props.onPlaceholderChange && _this.props.onPlaceholderChange(_placeholderCountBefore, 0, totalPlaceholderCount);
}
});
return _this;
}
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default()(NullMDEditor, [{
key: "render",
value: function render() {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_markdown_editor__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, this.props), {}, {
onCMBeforeChange: this.onCMBeforeChange
}));
}
}]);
return NullMDEditor;
}(react__WEBPACK_IMPORTED_MODULE_7__.Component);
/***/ }),
/***/ 2977:
/*!*********************************************************************!*\
!*** ./src/components/Editor/NullChildEditor/index.jsx + 1 modules ***!
\*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ Editor_NullChildEditor; }
});
// EXTERNAL MODULE: ./node_modules/antd/es/message/style/index.js + 1 modules
var style = __webpack_require__(14934);
// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules
var message = __webpack_require__(12461);
// EXTERNAL MODULE: ./node_modules/antd/es/tag/style/index.js + 1 modules
var tag_style = __webpack_require__(71114);
// EXTERNAL MODULE: ./node_modules/antd/es/tag/index.js + 1 modules
var es_tag = __webpack_require__(20550);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/classCallCheck.js
var classCallCheck = __webpack_require__(56690);
var classCallCheck_default = /*#__PURE__*/__webpack_require__.n(classCallCheck);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createClass.js
var createClass = __webpack_require__(89728);
var createClass_default = /*#__PURE__*/__webpack_require__.n(createClass);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/inherits.js
var inherits = __webpack_require__(61655);
var inherits_default = /*#__PURE__*/__webpack_require__.n(inherits);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createSuper.js
var createSuper = __webpack_require__(26389);
var createSuper_default = /*#__PURE__*/__webpack_require__.n(createSuper);
// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js + 1 modules
var input_style = __webpack_require__(69463);
// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules
var input = __webpack_require__(75008);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./src/components/Editor/NullChildEditor/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var NullChildEditormodules = ({"flex":"flex___eLcnP","flex1":"flex1___yUTT7","color666":"color666___TiUhG","error":"error___gTTtv","deleteIcon":"deleteIcon___mnZW1","addIcon":"addIcon___JC5NS"});
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/PlusOutlined.js
var PlusOutlined = __webpack_require__(51042);
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(85893);
;// CONCATENATED MODULE: ./src/components/Editor/NullChildEditor/index.jsx
var TextArea = input/* default.TextArea */.Z.TextArea;
var NullChildEditor = /*#__PURE__*/function (_Component) {
inherits_default()(NullChildEditor, _Component);
var _super = createSuper_default()(NullChildEditor);
function NullChildEditor(props) {
var _this;
classCallCheck_default()(this, NullChildEditor);
_this = _super.call(this, props);
_this.state = {
inputVisible: false,
EditInputIndex: -1
};
return _this;
}
// componentDidMount() {
// // console.log(`${this.props.index}----`,this.props,e);
// if (this.props.answers[0].length <= 0) {
// this.setState({
// EditInputIndex: 0,
// });
// }
// }
createClass_default()(NullChildEditor, [{
key: "render",
value: function render() {
var _this2 = this;
var _this$props = this.props,
index = _this$props.index,
onAnswerChange = _this$props.onAnswerChange,
addChildAnswer = _this$props.addChildAnswer,
exerciseIsPublish = _this$props.exerciseIsPublish,
answers = _this$props.answers,
activeOptionErrorIndex = _this$props.activeOptionErrorIndex,
_this$props$flex = _this$props.flex,
flex = _this$props$flex === void 0 ? '0 0 1000px' : _this$props$flex;
console.log('----', answers);
var _this$state = this.state,
inputVisible = _this$state.inputVisible,
EditInputIndex = _this$state.EditInputIndex;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: NullChildEditormodules.flex,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "".concat(NullChildEditormodules.color666, " mb5 mt6"),
style: {
flex: '0 0 90px'
},
children: ["\u7B54\u6848(\u586B\u7A7A", index + 1, "):"]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
border: '1px solid #f6f6f6',
flex: 1,
padding: 10
},
children: [answers.map(function (tag, itemIndex) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
children: EditInputIndex !== itemIndex ? tag.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_tag/* default */.Z, {
className: "edit-tag",
closable: true,
onClose: function onClose(e) {
e.preventDefault();
if ((answers === null || answers === void 0 ? void 0 : answers.length) === 1 && itemIndex === 0) {
_this2.props.deleteChildAnswermain(index, itemIndex);
} else {
_this2.props.deleteChildAnswer(index, itemIndex);
}
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
onDoubleClick: function onDoubleClick(e) {
_this2.setState({
EditInputIndex: itemIndex
});
e.preventDefault();
},
children: tag
})
}, tag) : /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
defaultValue: tag,
style: {
width: 78,
marginRight: 8,
height: 24,
verticalAlign: 'top'
},
onBlur: function onBlur(e) {
if (e.target.value.replaceAll(' ', '').length <= 0) {
message/* default.info */.ZP.info('内容不能为纯空格');
return;
}
onAnswerChange(index, itemIndex, e.target.value);
_this2.setState({
EditInputIndex: -1,
inputVisible: false
});
}
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
defaultValue: tag,
style: {
width: 78,
marginRight: 8,
height: 24,
verticalAlign: 'top'
},
onBlur: function onBlur(e) {
if (e.target.value.replaceAll(' ', '').length <= 0) {
message/* default.info */.ZP.info('内容不能为纯空格');
return;
}
onAnswerChange(index, itemIndex, e.target.value);
_this2.setState({
EditInputIndex: -1,
inputVisible: false
});
}
})
});
}), !inputVisible && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_tag/* default */.Z, {
className: "site-tag-plus",
onClick: function onClick() {
addChildAnswer(index);
// console.log(this.props.index);
_this2.setState({
inputVisible: true
});
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(PlusOutlined/* default */.Z, {}), " \u65B0\u589E\u7B54\u6848"]
})]
})]
});
}
}]);
return NullChildEditor;
}(react.Component);
/* harmony default export */ var Editor_NullChildEditor = (NullChildEditor);
/***/ }),
/***/ 1931:
/*!*************************************************************************!*\
!*** ./src/pages/Paperlibrary/Random/AddAndEdit/index.tsx + 15 modules ***!

@ -916,6 +916,9 @@ var spin = __webpack_require__(11382);
var button_style = __webpack_require__(29913);
// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
var es_button = __webpack_require__(71577);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js
var toConsumableArray = __webpack_require__(861);
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js
var objectSpread2 = __webpack_require__(42122);
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
@ -990,6 +993,7 @@ var jsx_runtime = __webpack_require__(85893);
var _excluded = ["classroomList", "problemset", "user", "globalSetting", "loading", "dispatch", "match", "shixunHomeworks"];
@ -1209,7 +1213,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
return _ref2.apply(this, arguments);
};
}();
var rootDataRef = (0,react.useRef)();
// const getItemBanks = async (query: any) => {
// query.item_type = query.item_type;
// setFolderLoading(true);
@ -1255,9 +1259,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
setNavigation((res === null || res === void 0 ? void 0 : res.navigation) || []); // ----根目录面包屑展示
}
if (isprogram_homework) {} else {
setSelectIds([]);
}
setSelectIds([]);
setFolderLoading(false);
case 9:
case "end":
@ -1285,7 +1287,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
case 4:
res = _context3.sent;
if (!(res && res.status !== 403 && res.status !== 401 && res.status !== 500)) {
_context3.next = 14;
_context3.next = 13;
break;
}
setProblemsetCount(res.items_count || 0);
@ -1294,10 +1296,9 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
// setUseShixunIds(res.used_shixun_ids || []);
handleData(res.items || []);
setSelectIds([]);
setNavigation((res === null || res === void 0 ? void 0 : res.navigation) || []);
setFolderLoading(false);
return _context3.abrupt("return", res);
case 14:
case 13:
case "end":
return _context3.stop();
}
@ -1384,12 +1385,6 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
} else {
params.group_id = null;
}
// if (activeKey === '3' && isprogram_homework) {
// params.only_published = true;
// } else {
// params.only_published = null;
// }
if (activeKey === '3') {
setShowTeachGroup(true);
} else {
@ -1443,9 +1438,16 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
};
var handleOpen = /*#__PURE__*/function () {
var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(id) {
var isShare,
isBack,
newnavigation,
_findParentIds,
_args4 = arguments;
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
isShare = _args4.length > 1 && _args4[1] !== undefined ? _args4[1] : false;
isBack = _args4.length > 2 && _args4[2] !== undefined ? _args4[2] : false;
dispatch({
type: 'problemset/getDisciplines',
payload: {
@ -1457,10 +1459,25 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
params.page = 1;
params.per_page = 20;
params.group_id = Math.abs(id);
if (isBack) {
newnavigation = JSON.parse(JSON.stringify(navigation));
newnavigation.splice(newnavigation.length - 2, 2);
params.parents = newnavigation;
} else {
params.parents = [].concat(toConsumableArray_default()(navigation || [{
id: 0,
name: "根目录"
}]), toConsumableArray_default()(((_findParentIds = (0,NewFolder/* findParentIds */.b)(rootDataRef.current, id)) === null || _findParentIds === void 0 ? void 0 : _findParentIds.map(function (i) {
return {
id: i.id,
name: i.name
};
})) || []));
}
setParams(params);
// getItemBanks(params).then(res => setTreeData(res?.item_banks_group));//要修改
getGroups(params);
case 6:
getGroups(objectSpread2_default()({}, params));
getItemBanks(params);
case 10:
case "end":
return _context4.stop();
}
@ -1647,7 +1664,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(TabPane, {
tab: "\u516C\u5171"
}, "1"), ((_problemset$teachGrou = problemset.teachGroupData) === null || _problemset$teachGrou === void 0 ? void 0 : (_problemset$teachGrou2 = _problemset$teachGrou.groups) === null || _problemset$teachGrou2 === void 0 ? void 0 : _problemset$teachGrou2.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(TabPane, {
tab: "\u6211\u7684\u7FA4\u7EC4"
tab: "\u56E2\u961F\u5171\u4EAB"
}, "3"), !(0,authority/* isCommonSuperAdminOrOperation */.ag)() && !(0,authority/* isCommonStudent */.JA)() && /*#__PURE__*/(0,jsx_runtime.jsx)(TabPane, {
tab: "\u6536\u85CF\u5939"
}, "2"), /*#__PURE__*/(0,jsx_runtime.jsx)(TabPane, {
@ -1690,7 +1707,8 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
className: ExchangeFromProblemSetmodules.treeHeader,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Crumbs/* default */.Z, {
data: navigation,
onClick: handleOpen
onClick: handleOpen,
activeTabsKey: activeTabsKey
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, {
type: "link",
onClick: handleNewGroup,
@ -1705,13 +1723,23 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
spinning: folderLoading,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
ref: treeDataWarp,
className: ExchangeFromProblemSetmodules.treeContent,
className: treeData.length ? ExchangeFromProblemSetmodules.treeContent : "",
style: {
maxHeight: "220px",
overflow: "auto"
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(NewFolder/* default */.Z, {
setRootData: function setRootData(d) {
rootDataRef.current = d;
},
isProblemset: false,
reloadData: handleReloadData,
reloadData: function reloadData() {},
data: treeData,
onShare: function onShare() {},
onOpen: handleOpen
onOpen: handleOpen,
params: params,
navigation: navigation,
activeTabsKey: activeTabsKey
})
})
})]

@ -417,6 +417,9 @@ span[class~='ant-checkbox-checked'] span[class~='ant-checkbox-inner']::after {
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
}
.searchWrap___Bgson .search___xhreb {
display: flex;
align-items: center;
overflow: hidden;
border-radius: 19px;
height: 38px;
width: 369px;
@ -424,7 +427,16 @@ span[class~='ant-checkbox-checked'] span[class~='ant-checkbox-inner']::after {
background-color: #f6f7f9;
border: none;
}
.searchWrap___Bgson .search___xhreb span[class~='ant-input-search-icon'] {
.searchWrap___Bgson .search___xhreb [class~='ant-input-affix-wrapper'] {
background-color: #f6f7f9;
border: none;
}
.searchWrap___Bgson .search___xhreb [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.searchWrap___Bgson .search___xhreb span[class~='ant-input-group-addon'] {
display: none;
}
.searchWrap___Bgson .search___xhreb .searchIcon___kKxKj {

@ -67,312 +67,6 @@ PlusOutlined.displayName = 'PlusOutlined';
/***/ }),
/***/ 37863:
/*!***********************************************!*\
!*** ./src/components/Editor/NullMDEditor.js ***!
\***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "Z": function() { return /* binding */ NullMDEditor; }
/* harmony export */ });
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/classCallCheck.js */ 56690);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createClass.js */ 89728);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/assertThisInitialized.js */ 66115);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/inherits.js */ 61655);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createSuper.js */ 26389);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/defineProperty.js */ 38416);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _markdown_editor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../markdown-editor */ 55373);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
var NULL_CH = '▁';
var NullMDEditor = /*#__PURE__*/function (_Component) {
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default()(NullMDEditor, _Component);
var _super = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default()(NullMDEditor);
function NullMDEditor() {
var _this;
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default()(this, NullMDEditor);
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
_this = _super.call.apply(_super, [this].concat(args));
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "getChCountBeforeCursor", function (cm, cursor) {
var currentLine = cursor.line;
var placeholderCountBefore = 0;
for (var _line = 0; _line < currentLine; _line++) {
placeholderCountBefore += cm.getLine(_line).split(NULL_CH).length - 1;
}
var currentLineStringBeforeCursor = cm.getLine(currentLine).substring(0, cursor.ch);
placeholderCountBefore += currentLineStringBeforeCursor.split(NULL_CH).length - 1;
return placeholderCountBefore;
});
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "onCMBeforeChange", function (cm, change) {
var rangeText = cm.getRange(change.from, change.to);
var totalPlaceholderCount = 0;
change.text.forEach(function (item) {
totalPlaceholderCount += item.split(NULL_CH).length - 1;
});
if (rangeText && rangeText.indexOf(NULL_CH) != -1) {
var placeholderCountInRange = rangeText.split(NULL_CH).length - 1;
var placeholderCountBefore = _this.getChCountBeforeCursor(cm, change.from);
console.log("\u5220\u9664".concat(placeholderCountInRange, "\u4E2A\uFF0C \u4E4B\u524D\u6709").concat(placeholderCountBefore, "\u4E2A\uFF0C\u65B0\u589E").concat(totalPlaceholderCount, "\u4E2A"));
if (_this.props.deleteEmptyDisabled) {
// 删除空格不检测
change.cancel();
} else {
// const ret = window.confirm(
// `确认要删除第${
// placeholderCountInRange == 1
// ? placeholderCountBefore + 1
// : `${placeholderCountBefore + 1}-${placeholderCountBefore +
// placeholderCountInRange}`
// }个空吗?`,
// );
// if (ret) {
_this.props.onPlaceholderChange && _this.props.onPlaceholderChange(placeholderCountBefore, placeholderCountInRange, totalPlaceholderCount);
// } else {
// change.cancel();
// }
}
} else if (totalPlaceholderCount) {
var _placeholderCountBefore = _this.getChCountBeforeCursor(cm, change.from);
console.log("\u65B0\u589E".concat(totalPlaceholderCount, "\u4E2A\uFF0C\u4E4B\u524D\u6709").concat(_placeholderCountBefore, "\u4E2A"));
_this.props.onPlaceholderChange && _this.props.onPlaceholderChange(_placeholderCountBefore, 0, totalPlaceholderCount);
}
});
return _this;
}
_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default()(NullMDEditor, [{
key: "render",
value: function render() {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_markdown_editor__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, this.props), {}, {
onCMBeforeChange: this.onCMBeforeChange
}));
}
}]);
return NullMDEditor;
}(react__WEBPACK_IMPORTED_MODULE_7__.Component);
/***/ }),
/***/ 2977:
/*!*********************************************************************!*\
!*** ./src/components/Editor/NullChildEditor/index.jsx + 1 modules ***!
\*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ Editor_NullChildEditor; }
});
// EXTERNAL MODULE: ./node_modules/antd/es/message/style/index.js + 1 modules
var style = __webpack_require__(14934);
// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules
var message = __webpack_require__(12461);
// EXTERNAL MODULE: ./node_modules/antd/es/tag/style/index.js + 1 modules
var tag_style = __webpack_require__(71114);
// EXTERNAL MODULE: ./node_modules/antd/es/tag/index.js + 1 modules
var es_tag = __webpack_require__(20550);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/classCallCheck.js
var classCallCheck = __webpack_require__(56690);
var classCallCheck_default = /*#__PURE__*/__webpack_require__.n(classCallCheck);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createClass.js
var createClass = __webpack_require__(89728);
var createClass_default = /*#__PURE__*/__webpack_require__.n(createClass);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/inherits.js
var inherits = __webpack_require__(61655);
var inherits_default = /*#__PURE__*/__webpack_require__.n(inherits);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createSuper.js
var createSuper = __webpack_require__(26389);
var createSuper_default = /*#__PURE__*/__webpack_require__.n(createSuper);
// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js + 1 modules
var input_style = __webpack_require__(69463);
// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules
var input = __webpack_require__(75008);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./src/components/Editor/NullChildEditor/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var NullChildEditormodules = ({"flex":"flex___eLcnP","flex1":"flex1___yUTT7","color666":"color666___TiUhG","error":"error___gTTtv","deleteIcon":"deleteIcon___mnZW1","addIcon":"addIcon___JC5NS"});
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/PlusOutlined.js
var PlusOutlined = __webpack_require__(51042);
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(85893);
;// CONCATENATED MODULE: ./src/components/Editor/NullChildEditor/index.jsx
var TextArea = input/* default.TextArea */.Z.TextArea;
var NullChildEditor = /*#__PURE__*/function (_Component) {
inherits_default()(NullChildEditor, _Component);
var _super = createSuper_default()(NullChildEditor);
function NullChildEditor(props) {
var _this;
classCallCheck_default()(this, NullChildEditor);
_this = _super.call(this, props);
_this.state = {
inputVisible: false,
EditInputIndex: -1
};
return _this;
}
// componentDidMount() {
// // console.log(`${this.props.index}----`,this.props,e);
// if (this.props.answers[0].length <= 0) {
// this.setState({
// EditInputIndex: 0,
// });
// }
// }
createClass_default()(NullChildEditor, [{
key: "render",
value: function render() {
var _this2 = this;
var _this$props = this.props,
index = _this$props.index,
onAnswerChange = _this$props.onAnswerChange,
addChildAnswer = _this$props.addChildAnswer,
exerciseIsPublish = _this$props.exerciseIsPublish,
answers = _this$props.answers,
activeOptionErrorIndex = _this$props.activeOptionErrorIndex,
_this$props$flex = _this$props.flex,
flex = _this$props$flex === void 0 ? '0 0 1000px' : _this$props$flex;
console.log('----', answers);
var _this$state = this.state,
inputVisible = _this$state.inputVisible,
EditInputIndex = _this$state.EditInputIndex;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: NullChildEditormodules.flex,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "".concat(NullChildEditormodules.color666, " mb5 mt6"),
style: {
flex: '0 0 90px'
},
children: ["\u7B54\u6848(\u586B\u7A7A", index + 1, "):"]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
border: '1px solid #f6f6f6',
flex: 1,
padding: 10
},
children: [answers.map(function (tag, itemIndex) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
children: EditInputIndex !== itemIndex ? tag.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_tag/* default */.Z, {
className: "edit-tag",
closable: true,
onClose: function onClose(e) {
e.preventDefault();
if ((answers === null || answers === void 0 ? void 0 : answers.length) === 1 && itemIndex === 0) {
_this2.props.deleteChildAnswermain(index, itemIndex);
} else {
_this2.props.deleteChildAnswer(index, itemIndex);
}
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
onDoubleClick: function onDoubleClick(e) {
_this2.setState({
EditInputIndex: itemIndex
});
e.preventDefault();
},
children: tag
})
}, tag) : /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
defaultValue: tag,
style: {
width: 78,
marginRight: 8,
height: 24,
verticalAlign: 'top'
},
onBlur: function onBlur(e) {
if (e.target.value.replaceAll(' ', '').length <= 0) {
message/* default.info */.ZP.info('内容不能为纯空格');
return;
}
onAnswerChange(index, itemIndex, e.target.value);
_this2.setState({
EditInputIndex: -1,
inputVisible: false
});
}
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
defaultValue: tag,
style: {
width: 78,
marginRight: 8,
height: 24,
verticalAlign: 'top'
},
onBlur: function onBlur(e) {
if (e.target.value.replaceAll(' ', '').length <= 0) {
message/* default.info */.ZP.info('内容不能为纯空格');
return;
}
onAnswerChange(index, itemIndex, e.target.value);
_this2.setState({
EditInputIndex: -1,
inputVisible: false
});
}
})
});
}), !inputVisible && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_tag/* default */.Z, {
className: "site-tag-plus",
onClick: function onClick() {
addChildAnswer(index);
// console.log(this.props.index);
_this2.setState({
inputVisible: true
});
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(PlusOutlined/* default */.Z, {}), " \u65B0\u589E\u7B54\u6848"]
})]
})]
});
}
}]);
return NullChildEditor;
}(react.Component);
/* harmony default export */ var Editor_NullChildEditor = (NullChildEditor);
/***/ }),
/***/ 96382:
/*!*************************************************************************!*\
!*** ./src/pages/Paperlibrary/Random/PreviewEdit/index.tsx + 1 modules ***!

@ -166,17 +166,51 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/EcListItems/Problemset/Card/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -101,7 +101,7 @@ var react = __webpack_require__(67294);
var _umi_production_exports = __webpack_require__(89214);
;// CONCATENATED MODULE: ./src/pages/Paths/Detail/Statistics/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Statisticsmodules = ({"bg":"bg____jkAB","header":"header___PPltR","title":"title___qTNRH","info":"info___qGW_V","boxWrap":"boxWrap___n5Uc1","icon":"icon___BdgVN","bigTabs":"bigTabs___wqKPl","active":"active___rYKNJ","main":"main___MUCpu","titleItem":"titleItem___qDOI5","countcenter":"countcenter___rEj8o","tabdiv":"tabdiv___ShIOl","radiusdiv":"radiusdiv___GU9SO"});
/* harmony default export */ var Statisticsmodules = ({"bg":"bg____jkAB","header":"header___PPltR","titleWrap":"titleWrap___pTIp8","title":"title___qTNRH","name":"name___dLrvE","info":"info___qGW_V","boxWrap":"boxWrap___n5Uc1","icon":"icon___BdgVN","bigTabs":"bigTabs___wqKPl","active":"active___rYKNJ","main":"main___MUCpu","titleItem":"titleItem___qDOI5","countcenter":"countcenter___rEj8o","tabdiv":"tabdiv___ShIOl","radiusdiv":"radiusdiv___GU9SO"});
// EXTERNAL MODULE: ./node_modules/antd/es/spin/style/index.js + 1 modules
var spin_style = __webpack_require__(22536);
// EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js
@ -2198,6 +2198,7 @@ var PathStatisticsStatus;
PathStatisticsStatus["ShiXunUsetow"] = "shixunusetow";
})(PathStatisticsStatus || (PathStatisticsStatus = {}));
var Statistics = function Statistics(_ref) {
var _data$subject_info;
var user = _ref.user,
pathsDetail = _ref.pathsDetail,
globalSetting = _ref.globalSetting,
@ -2267,18 +2268,22 @@ var Statistics = function Statistics(_ref) {
className: Statisticsmodules.bg,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("header", {
className: Statisticsmodules.header,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Statisticsmodules.titleWrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-fanhui2 font16",
onClick: function onClick() {
return _umi_production_exports.history.push("/paths/".concat(pathId));
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
}), !!(statisticsData !== null && statisticsData !== void 0 && statisticsData.report_date) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: Statisticsmodules.title,
children: "\u5B66\u4E60\u7EDF\u8BA1"
children: ["\u5B66\u4E60\u7EDF\u8BA1-", (data === null || data === void 0 ? void 0 : (_data$subject_info = data.subject_info) === null || _data$subject_info === void 0 ? void 0 : _data$subject_info.name) || '']
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
style: {
flexShrink: 0,
marginTop: 3
},
children: [(0,authority/* isSuperAdmins */.Ny)() && /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
href: env/* default.API_SERVER */.Z.API_SERVER + "/api/paths/".concat(urlParams.pathId, "/").concat(bigTab === 'spoc' ? 'statistics_basic_info' : 'autonomic_statistics', ".xlsx"),
download: "\u7EDF\u8BA1\u6570\u636E.xlsx",

@ -8,13 +8,26 @@
.bg____jkAB .header___PPltR {
padding: 23px 20px 23px 0;
display: flex;
align-items: center;
justify-content: space-between;
align-items: flex-start;
}
.bg____jkAB .header___PPltR .titleWrap___pTIp8 {
flex: 1 1;
display: flex;
align-items: flex-start;
}
.bg____jkAB .header___PPltR .titleWrap___pTIp8 i {
flex-shrink: 0;
margin-top: 4px;
}
.bg____jkAB .header___PPltR .title___qTNRH {
.bg____jkAB .header___PPltR .titleWrap___pTIp8 .title___qTNRH {
font-size: 16px;
font-weight: 600;
margin-left: 10px;
padding-right: 10px;
flex: 1 1;
}
.bg____jkAB .header___PPltR .titleWrap___pTIp8 .title___qTNRH .name___dLrvE {
padding-right: 10px;
}
.bg____jkAB .header___PPltR a {
color: #165dff;

File diff suppressed because it is too large Load Diff

@ -1310,17 +1310,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Paths/Detail/components/Right/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -480,6 +480,7 @@ var Option = antd_es_select__WEBPACK_IMPORTED_MODULE_5__/* ["default"].Option */
onCodeModeChange = _ref.onCodeModeChange,
onTabToSpace = _ref.onTabToSpace,
onAutoFormat = _ref.onAutoFormat,
formatDocument = _ref.formatDocument,
_ref$className = _ref.className,
className = _ref$className === void 0 ? '' : _ref$className,
tabToSpace = _ref.tabToSpace,
@ -543,14 +544,15 @@ var Option = antd_es_select__WEBPACK_IMPORTED_MODULE_5__/* ["default"].Option */
checked: tabToSpace,
onChange: onTabToSpace
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", {
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div", {
className: "file-item",
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("b", {
children: "\u4EE3\u7801\u81EA\u52A8\u683C\u5F0F\u5316"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(antd_es_switch__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
checked: autoFormat,
onChange: onAutoFormat
})]
onClick: formatDocument,
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("b", {
style: {
cursor: "pointer"
},
children: "\u683C\u5F0F\u5316\u4EE3\u7801"
})
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("h3", {
children: "\u5FEB\u6377\u952E"

@ -87,7 +87,7 @@
bottom: 0;
width: 100%;
height: 64px;
background: #464F66;
background: #fff;
box-shadow: 0px -2px 4px 0px #E0DFE1;
display: flex;
justify-content: center;
@ -98,12 +98,12 @@
height: 38px;
width: 60px;
border-radius: 2px;
border: 1px solid #DCDCDC;
border: 1px solid #BACFFE;
background-color: transparent;
cursor: pointer;
font-size: 14px;
font-weight: 400;
color: #FFFFFF;
color: #3061D0;
display: flex;
align-items: center;
justify-content: center;
@ -111,9 +111,9 @@
.buttonFixed___jzejH .saveBtn___UhxvN {
height: 38px;
width: 126px;
background: #F8F9FC;
background: #3061D0;
border-radius: 2px;
color: #3061D0;
color: #fff;
border: none;
text-shadow: none;
}
@ -160,6 +160,7 @@
justify-content: center;
border-radius: 16px;
background-color: #3061D0;
border: none;
}
.baseInfoWrapper___jei0F .uploadBtnWrapper___ICJS3 button[class~='ant-btn']:hover {
background-color: #2572e6;

@ -633,6 +633,7 @@ var Option = antd_es_select__WEBPACK_IMPORTED_MODULE_5__/* ["default"].Option */
onCodeModeChange = _ref.onCodeModeChange,
onTabToSpace = _ref.onTabToSpace,
onAutoFormat = _ref.onAutoFormat,
formatDocument = _ref.formatDocument,
_ref$className = _ref.className,
className = _ref$className === void 0 ? '' : _ref$className,
tabToSpace = _ref.tabToSpace,
@ -696,14 +697,15 @@ var Option = antd_es_select__WEBPACK_IMPORTED_MODULE_5__/* ["default"].Option */
checked: tabToSpace,
onChange: onTabToSpace
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", {
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div", {
className: "file-item",
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("b", {
children: "\u4EE3\u7801\u81EA\u52A8\u683C\u5F0F\u5316"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(antd_es_switch__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
checked: autoFormat,
onChange: onAutoFormat
})]
onClick: formatDocument,
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("b", {
style: {
cursor: "pointer"
},
children: "\u683C\u5F0F\u5316\u4EE3\u7801"
})
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("h3", {
children: "\u5FEB\u6377\u952E"

@ -2430,7 +2430,7 @@ var NewItem = function NewItem(_ref2) {
message/* default.error */.ZP.error(errInfo.errorFields[0].errors[0]);
form.scrollToField(errInfo === null || errInfo === void 0 ? void 0 : (_errInfo$errorFields = errInfo.errorFields) === null || _errInfo$errorFields === void 0 ? void 0 : (_errInfo$errorFields$ = _errInfo$errorFields[0]) === null || _errInfo$errorFields$ === void 0 ? void 0 : _errInfo$errorFields$.name, {
behavior: 'smooth',
block: 'start'
block: 'center'
});
case 2:
case "end":

@ -166,17 +166,51 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/EcListItems/Problemset/Card/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -2421,6 +2421,7 @@ var Option = antd_es_select__WEBPACK_IMPORTED_MODULE_5__/* ["default"].Option */
onCodeModeChange = _ref.onCodeModeChange,
onTabToSpace = _ref.onTabToSpace,
onAutoFormat = _ref.onAutoFormat,
formatDocument = _ref.formatDocument,
_ref$className = _ref.className,
className = _ref$className === void 0 ? '' : _ref$className,
tabToSpace = _ref.tabToSpace,
@ -2484,14 +2485,15 @@ var Option = antd_es_select__WEBPACK_IMPORTED_MODULE_5__/* ["default"].Option */
checked: tabToSpace,
onChange: onTabToSpace
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", {
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div", {
className: "file-item",
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("b", {
children: "\u4EE3\u7801\u81EA\u52A8\u683C\u5F0F\u5316"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(antd_es_switch__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
checked: autoFormat,
onChange: onAutoFormat
})]
onClick: formatDocument,
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("b", {
style: {
cursor: "pointer"
},
children: "\u683C\u5F0F\u5316\u4EE3\u7801"
})
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("h3", {
children: "\u5FEB\u6377\u952E"

@ -885,17 +885,51 @@ span.CodeMirror-selectedtext {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/toolbar/index.less ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -731,17 +731,51 @@ span.ant-radio + * {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Question/Index/index.less?modules ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -413,14 +413,48 @@ ul.s-navs a.active {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

@ -53,17 +53,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/tpi-code-setting/index.less ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -166,17 +166,51 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/RestFul/index.less?modules ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -876,17 +876,51 @@ div.ant-typography-edit-content.ant-typography-rtl {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/image-preview/index.less ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -989,17 +989,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Shixuns/Detail/Repository/components/Edit/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -1628,17 +1628,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Shixuns/Edit/body/Level/Challenges/components/Loading/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -1565,14 +1565,48 @@ ul.menu___E01hA [class~='ant-dropdown-menu-item-active'] {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

File diff suppressed because it is too large Load Diff

@ -866,17 +866,51 @@ span.CodeMirror-selectedtext {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/toolbar/index.less ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -82,17 +82,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Shixuns/Exports/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -208,14 +208,48 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

@ -131,17 +131,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/ExperImentImg/components/AuditModal/index.less?modules ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -137,6 +137,7 @@ var Pay = function Pay() {
params: {
num: searchParams.get("order_num"),
pay: 'weixin_qr'
// timestamp: Date.now()
}
});
case 4:

@ -82,17 +82,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Topics/Detail/components/WorkDescription/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -82,17 +82,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Topics/Poll/Detail/components/editor.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -884,17 +884,51 @@ li:last-child > .ant-breadcrumb-separator {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Topics/Poll/Edit/components/editor.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -655,17 +655,51 @@ input[type='range'].volume___OTmpP::-moz-range-thumb {
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Video/Detail/components/Content/index.less?modules ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -1378,7 +1378,7 @@ var difficultyDesc = {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-quanping"
}), "\u5F00\u542F / \u9000\u51FA\u5168\u5C4F"]
}), (tab_type === 2 || tab_type === 3 || tab_type === 4 || is_jupyter_notebook || is_jupyter_lab) && isLoadData && /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
}), (tab_type === 2 || tab_type === 3 || tab_type === 4 || is_jupyter_notebook || is_jupyter_lab) && /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
onClick: function onClick() {
return onVncAction('reset-task');
},

@ -1099,17 +1099,51 @@
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/tasks/Jupyter/components/DataSet/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save