diff --git a/20139.async.js b/20139.async.js index 6ded8123bf..81c37ada06 100644 --- a/20139.async.js +++ b/20139.async.js @@ -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 ***! diff --git a/32030.chunk.css b/32030.chunk.css deleted file mode 100644 index 65db24f1f8..0000000000 --- a/32030.chunk.css +++ /dev/null @@ -1,2480 +0,0 @@ -/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** 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; -} -.title___J3MCU strong { - color: #333; -} -.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; - font-weight: 600; - cursor: pointer; -} -.divitem___iaXB2 { - color: #464F66; - font-size: 16px; - font-weight: 600; - cursor: pointer; -} -.bottmodiv___bmp6p { - height: 64px; - background: #464F66; - 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 #DCDCDC; - height: 38px; - width: 60px; - font-weight: 600; - background-color: transparent; -} -.bottmodiv___bmp6p .confirmBtn___nRiCD { - height: 38px; - width: 160px; - background: #F8F9FC; - border-radius: 2px; - font-weight: 600; - color: #3061D0; - border: none; - text-shadow: none; -} -/* 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/EditPotin/index.less?modules ***! - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___gi93l { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___mWMLA { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___rk4nc { - align-items: center; - box-align: center; -} -.flex_box_center_end___B8XxF { - 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___AX3Vm { - flex-direction: column; - box-orient: block-axis; -} -.bg___Ya739 { - background: white; - box-shadow: 0px 2px 4px 0px #EAEEF4; - min-height: 600px; -} -.bg___Ya739 .title___BC46y { - font-weight: 600; - font-size: 16px; - color: #000000; - line-height: 18px; -} -.bottmodiv___L7YJC { - height: 64px; - background: #464F66; - box-shadow: 0px -2px 4px 0px #E0DFE1; - width: 100%; - left: 0px; - bottom: 0px; - z-index: 10; - position: fixed; - align-items: center; - justify-content: center; - display: flex; - color: #fff; -} -.bottmodiv___L7YJC .addQuestionBtn___qOlYW { - background: #F8F9FC; - border-radius: 2px; - color: #3061D0; - border: none; - text-shadow: none; -} -.bottmodiv___L7YJC .addQuestionBtn___qOlYW i { - color: #3061D0; -} -.bottmodiv___L7YJC .addQuestionBtn___qOlYW:hover { - background: #3061D0; - color: #fff; -} -.bottmodiv___L7YJC .addQuestionBtn___qOlYW:hover i { - color: #fff; -} -.left___i8aTX { - padding: 15px 0px; - background-color: #F6F7F9; - width: 260px; - min-height: 600px; - text-align: left; -} -.left___i8aTX .scrollWrapper___Jk80T { - max-height: 500px; - overflow: auto; -} -.left___i8aTX .Button___auxWm { - width: 92px; - height: 32px; - margin-left: 15px; - background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); - box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); - border-radius: 4px; - color: #3061D0; - font-size: 12px; - text-align: center; - border: 1px solid #BACFFE; - margin-bottom: 15px; -} -.left___i8aTX .title___BC46y { - height: 28px; - padding: 0px 15px; - display: flex; - align-items: center; -} -.left___i8aTX .title___BC46y .titleleft___xZGbq { - width: 85%; - -webkit-box-orient: vertical; - display: -webkit-box; - -webkit-line-clamp: 1; - overflow: hidden; -} -.left___i8aTX .title___BC46y .up___tLyCX { - display: none; -} -.left___i8aTX .title___BC46y .down___T5_aj { - display: none; -} -.left___i8aTX .title___BC46y:hover { - margin: 0px 10px; - padding: 0px 5px; - background: #E1E2E4; - box-shadow: 0px 2px 4px 0px #EAEEF4; - border-radius: 2px; - display: flex; - align-items: center; -} -.left___i8aTX .title___BC46y:hover .up___tLyCX { - display: inline-block; - color: #3061D0; - cursor: pointer; -} -.left___i8aTX .title___BC46y:hover .down___T5_aj { - display: inline-block; - color: #3061D0; - cursor: pointer; -} -.left___i8aTX .qcount___ID7OA { - display: flex; - height: 28px; - align-items: start; - margin-bottom: 10px; - padding: 0px 15px; - font-size: 12px; -} -.left___i8aTX .qcount___ID7OA .score___T7dbm { - 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___i8aTX .qcount___ID7OA .qtitle___qJBFd { - -webkit-box-orient: vertical; - display: -webkit-box; - -webkit-line-clamp: 1; - overflow: hidden; - width: 70%; - word-break: break-all; - color: #000000; -} -.left___i8aTX .qcount___ID7OA:hover { - margin: 0px 10px; - padding: 0px 5px; - background: #fff; - color: #3061D0; - height: 28px; - display: flex; - align-items: center; - margin-bottom: 10px; -} -.left___i8aTX .qcount___ID7OA:hover .qtitle___qJBFd { - color: #3061D0; - word-break: break-all; -} -.left___i8aTX .qcountclick___m_VKG { - font-size: 12px; - margin: 0px 10px; - padding: 0px 5px; - background: #fff; - color: #3061D0; - height: 28px; - display: flex; - align-items: center; - margin-bottom: 10px; -} -.left___i8aTX .qcountclick___m_VKG .score___T7dbm { - 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___i8aTX .qcountclick___m_VKG .qtitle___qJBFd { - -webkit-box-orient: vertical; - display: -webkit-box; - -webkit-line-clamp: 1; - overflow: hidden; - width: 70%; - word-break: break-all; - color: #3061D0; -} -.right___CBabI { - padding: 40px; - width: 940px; - text-align: left; -} -.right___CBabI .title___BC46y { - display: flex; - align-items: center; -} -.right___CBabI .title___BC46y .edit___WHuql { - cursor: pointer; - font-size: 20px; - color: #7AAC9A; - margin-left: 20px; -} -.right___CBabI .title___BC46y .edit___WHuql:hover { - cursor: pointer; - font-size: 20px; - color: #3061D0; - margin-left: 20px; -} -.right___CBabI .title___BC46y .delete___Pa6db { - cursor: pointer; - color: #9096A3; - font-size: 20px; -} -.right___CBabI .title___BC46y .delete___Pa6db:hover { - color: #EE5D5D; -} -.right___CBabI .title___BC46y .shixun___oObBe { - font-size: 14px; - color: #3061D0; - margin-right: 20px; - font-weight: 400; -} -.right___CBabI .title___BC46y .shixun___oObBe i { - font-size: 12px; -} -.right___CBabI .qcount___ID7OA { - display: flex; - align-items: flex-start; - margin-top: 20px; -} -.right___CBabI .qcount___ID7OA .score___T7dbm { - min-width: 50px; - height: 25px; - background: rgba(236, 236, 236, 0.6); - border-radius: 0px 0px 2px 0px; - text-align: center; - line-height: 25px; - color: #464F66; - margin-right: 10px; -} -.right___CBabI .qcount___ID7OA .qtitle___qJBFd { - color: #000000; - font-weight: 600; - font-size: 16px; -} -.right___CBabI .qcount___ID7OA .qtitle___qJBFd p { - word-break: break-all; -} -.right___CBabI .scoreByBlankRadio___r4AWn { - background: #F6F7F9; - box-shadow: inset 0px 1px 3px 0px #D7D8D9; - border-radius: 16px; - margin-right: 20px; -} -.right___CBabI .scoreByBlankRadio___r4AWn span { - font-size: 14px; -} -.right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper'] { - background-color: transparent; - border: none; - padding: 0 20px; - display: inline-flex; - align-items: center; - height: 32px; - color: #9096A3; -} -.right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper']::before { - background-color: transparent; -} -.right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper-checked'] { - background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); - box-shadow: inset 0px 1px 3px 0px #D7D8D9; - border: 1px solid #C8D2EA; - border-radius: 16px; - padding: 0 20px; - display: inline-flex; - align-items: center; - color: #3061D0; -} -.right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper-checked']:first-child { - border-right-color: #C8D2EA; -} -.right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper-checked']:focus-within { - box-shadow: none; -} -.right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper-checked']::before { - background-color: transparent; -} -.right___CBabI .scoreinput___O8EhL { - margin-bottom: 0px; -} -.right___CBabI .scoreinput___O8EhL [class~='ant-form-item-row'] { - height: 46px; -} -.right___CBabI .scoreinput___O8EhL [class~='ant-input-number-input-wrap'] input { - height: 46px !important; -} -.right___CBabI .scoreinput___O8EhL [class~='ant-form-item-label'] { - height: 100%; - line-height: 46px; -} -.modalconfirm___Ru9B_ div[class~='ant-modal-body'] { - padding: 16px 24px; -} -.scoremodal___BdW7P [class~='ant-modal-body'] { - padding: 30px 40px; -} -.scoremodal___BdW7P .title___BC46y { - color: #000000; - font-size: 16px; - font-weight: 500; - display: flex; - width: 100%; -} -.scoremodal___BdW7P .score___T7dbm { - margin-left: 305px; - color: #3061D0; - text-align: end; -} -.scoremodal___BdW7P .close___blHYk { - font-size: 15px; - cursor: pointer; - color: #979797; -} -.scoremodal___BdW7P .content___jlm9o { - display: flex; - justify-content: space-between; - margin-top: 40px; - height: 40px; - padding: 0px 20px; - color: #5F6368; - background: #F6F7F9; - line-height: 40px; - font-size: 14px; -} -.scoremodal___BdW7P .content___jlm9o span { - display: flex; - flex: 1 1; -} -.scoremodal___BdW7P .content___jlm9o span:nth-child(4) { - display: flex; - min-width: 160px; - align-items: center; -} -.scoremodal___BdW7P .items___i3TrH { - display: flex; - justify-content: space-between; - align-items: center; - color: #5F6368; - font-size: 14px; - padding: 8px 20px; - border-bottom: 1px solid #F6F7F9; -} -.scoremodal___BdW7P .items___i3TrH span { - display: flex; - flex: 1 1; - color: #000000; - font-weight: 400; -} -.scoremodal___BdW7P .items___i3TrH span:nth-child(4) { - display: flex; - min-width: 160px; - align-items: center; - color: #9096A3; -} -.scoremodal___BdW7P .bottom___zMQZ6 { - width: 100%; - text-align: end; - margin-top: 12px; -} -.scoremodal___BdW7P .bottom___zMQZ6 .yes___lOPY6 { - width: 60px; - height: 32px; - background: #3061D0; - box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); - border-radius: 2px; - font-weight: 400; - color: #FFFFFF; - border: 0px; -} -.scoremodal___BdW7P .bottom___zMQZ6 .no___gtzKI { - margin-right: 20px; - width: 60px; - height: 32px; - background: #F8F9FC; - border-radius: 2px; - opacity: 0.5; - border: 1px solid #C3CFE0; - font-weight: 400; - color: #464F66; - line-height: 14px; -} -.formcenter___fCxkm div[class~='ant-form-item-row'] { - align-items: center; - margin-bottom: 30px !important; -} -.formcenter___fCxkm .radiogroup___oXWHc 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; -} -.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper']::before { - background-color: transparent; -} -.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper'] span { - color: #464F66; -} -.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'] { - background-color: #fff; - box-shadow: 0px 2px 4px 0px #E0DFE1; -} -.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked']:first-child { - border-right-color: #BACFFE; -} -.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked']:focus-within { - box-shadow: 0px 2px 4px 0px #E0DFE1; -} -.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'].easy___ANNVD { - border: 1px solid #C1E7CB; - background: linear-gradient(180deg, #FFFFFF 0%, #F9FFF4 100%); -} -.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'].easy___ANNVD span { - color: #46B70E; -} -.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'].medium___ov7N3 { - border: 1px solid #BACFFE; - background: #D3E0FD linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); -} -.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'].medium___ov7N3 span { - color: #165DFF; -} -.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'].hard___n4afW { - border: 1px solid #F8C8A8; - background: linear-gradient(180deg, #FFFFFF 0%, #FFF7F3 100%); -} -.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'].hard___n4afW span { - color: #EE6F1A; -} -.formcenterselect___lYa4f div[class~='ant-form-item-label'] { - max-height: 46px; - line-height: 46px; -} -.selectitems___c9Pt5 { - height: 46px; - width: 480px !important; - display: flex; -} -.selectitems___c9Pt5 div[class~='ant-select-selector'] { - height: 46px !important; -} -.selectitems___c9Pt5 div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] { - height: 46px; - line-height: 46px; -} -.selectitems___c9Pt5 div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] div { - height: 46px; - align-items: center; -} -.selectitems___c9Pt5 div[class~='ant-select-selector'] span[class~='ant-select-selection-search'] input { - height: 46px !important; -} -.morebottom____I_ev { - width: 100%; - text-align: center; - margin-top: 50px; -} -.morebottom____I_ev .yes___lOPY6 { - width: 126px; - height: 38px; - background: #3061D0; - border-radius: 2px; - font-weight: 400; - color: #FFFFFF; -} -.morebottom____I_ev .no___gtzKI { - margin-right: 20px; - width: 60px; - height: 38px; - border-radius: 2px; - opacity: 0.9; - border: 1px solid #BACFFE; - font-weight: 400; - color: #3061D0; - line-height: 14px; -} -.titleTooltip___CAyYg div[class~='ant-tooltip-inner'] { - max-height: 400px; - overflow: 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/components/QuestionEditor/index.less?modules ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.wrap___ilWvf div[class~='ant-form-item'] { - margin-bottom: 0; -} -.wrap___ilWvf div[class~='ant-form-item-explain-error'] { - display: none; -} -.wrap___ilWvf .deleteIcon___JBDG8 { - color: #E30000; - font-size: 14px; -} -.wrap___ilWvf .keywordTag___iieCb { - padding: 10px 10px 10px 8px; - font-size: 14px; - font-weight: 400; - color: #000000; -} -.questionTitleEditorWrap___MHB5s { - margin-bottom: 18px; -} -.choiceWrap___QFkTc { - margin-bottom: 20px; -} -.choiceWrap___QFkTc .choiceIndex___Mr2YO { - display: flex; - flex: 0 0 auto; - justify-content: center; - align-items: center; - width: 46px; - height: 46px; - border-radius: 23px; - border: 1px solid #DCDCDC; - font-size: 16px; - font-weight: 400; - color: #464F66; - cursor: pointer; -} -.choiceWrap___QFkTc .choiceIndex___Mr2YO.judgementIndex___fUVWK { - border-radius: 2px; -} -.choiceWrap___QFkTc .setAnswerBtn___Whox5 { - border-radius: 2px; - border: 1px solid #DCDCDC; - font-size: 14px; - font-weight: 400; - color: #9096A3; - height: 46px; - display: flex; - align-items: center; - padding: 0 16px; - cursor: pointer; -} -.choiceWrap___QFkTc .activeAnswer___fGU6Y { - background-color: #37AD83; - border-color: #37AD83; - color: #fff; -} -.choiceWrap___QFkTc .activeJudgementAnswer___wJv8P { - background-color: #ebf6f2; - border-color: #37AD83; - color: #37AD83; -} -.choiceWrap___QFkTc .actionWrapper___ERQ7k { - display: flex; - align-items: center; - justify-content: flex-end; - margin: auto 0 auto 20px; -} -.choiceWrap___QFkTc .actionWrapper___ERQ7k .addIcon___L9TE0 { - color: #2FA34F; - font-size: 14px; -} -.choiceWrap___QFkTc .actionWrapper___ERQ7k .deleteIcon___JBDG8 { - color: #E30000; - font-size: 14px; - margin-left: 20px; -} -.inputBorder___Q5tRE { - border-radius: 2px; - border: 1px solid #DCDCDC; - padding: 8px 12px; - font-size: 14px; - min-height: 46px; - display: flex; - align-items: center; -} -.placeholder___p9sFY { - font-size: 14px; - font-weight: 400; - color: #9096A3; -} -.blankWrapper___nC45e { - display: flex; - align-items: center; -} -.blankWrapper___nC45e .blankInput___pEHsx { - border-radius: 2px; - border: 1px solid #DCDCDC; - height: 46px; - font-size: 14px; -} -.blankInputNumberWrapper___uEHb0 div[class~='ant-form-item-label'] { - line-height: 46px; -} -.blankInputNumberWrapper___uEHb0 input[class~='ant-input-number-input'] { - font-size: 14px; - height: 46px; -} -.addBtn___WR5ZI { - display: flex; - justify-content: center; - align-items: center; - width: 80px; - height: 32px; - background: #3061D0; - box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px -1px 3px 0px rgba(255, 255, 255, 0.5); - border-radius: 16px; - cursor: pointer; - font-weight: 400; - color: #FFFFFF; - font-size: 12px; -} -.blankIndex___x9Pny { - font-size: 14px; - font-weight: 400; - color: #666666; -} -.baseInputWrapper___eVsG7 div[class~='ant-form-item-label'] { - line-height: 56px; -} -.baseInputWrapper___eVsG7 input[class~='ant-input-number-input'] { - font-size: 14px; -} -div[class~='ant-collapse-borderless'] { - background-color: #fff; -} -.collapseWrapper___ZTysU { - margin-bottom: 30px; -} -.collapseWrapper___ZTysU div[class~='ant-collapse-item'] { - margin-bottom: 20px; - border: none; - box-shadow: 0px 2px 4px 0px #EAEEF4; -} -.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-header'] { - padding: 0 20px; - height: 64px; - background-color: #F6F7F8; - align-items: center; -} -.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-content'] { - background-color: #fff; -} -.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-content'] div[class~='ant-collapse-content-box'] { - padding: 20px 40px; -} -.collapseWrapper___ZTysU div[class~='ant-collapse-item-active'] div[class~='ant-collapse-header'] { - background-color: #eaeffa; -} -.collapseWrapper___ZTysU .panelHeader___QSN9g { - font-size: 14px; - font-weight: 400; - color: #000000; -} -.collapseWrapper___ZTysU .panelHeader___QSN9g span { - color: #666666; -} -.collapseWrapper___ZTysU .open___B6FU9 { - color: #165DFF; - transform: rotateZ(90deg); -} -.collapseWrapper___ZTysU .close___QX19r { - color: #82A8FF; -} -.hide___mn25n { - display: none; -} -/* 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]!./src/components/markdown-editor/index.less ***! - \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.markdown-editor-wrapper { - position: relative; -} -.markdown-editor-body { - display: flex; - flex-flow: row nowrap; - width: 100%; - height: calc(100% - 38px); - align-items: center; -} -.markdown-editor-body .codemirror-container { - flex: 1 0; - height: 100%; - width: 100%; - overflow: hidden; -} -.markdown-editor-body .CodeMirror-wrap { - padding-bottom: 15px; -} -.markdown-editor-body .preview-container { - flex: 1 0; - height: 100%; - margin: 10px 0px; - padding: 8px 8px 50px 8px; - background: #fff; - overflow-y: auto; - box-sizing: border-box; - border-left: 1px solid #ccc; - word-wrap: break-word; - word-break: break-word; - white-space: normal; - font-size: 16px; -} -.markdown-editor-container { - border: 1px solid #ccc; - overflow: hidden; - border-radius: 4px; - margin-bottom: 12px; - font-size: 16px; -} -.markdown-editor-container.full-screen { - position: fixed; - left: 0; - right: 0; - top: 0; - bottom: 0; - height: 100vh !important; - z-index: 100; -} -.markdown-editor-container.full-screen .preview-container > div { - padding-bottom: 180px !important; -} -.markdown-editor-container.full-screen .CodeMirror-sizer > div { - margin-bottom: 90px; -} -.markdown-editor-container.on-preview .codemirror-container, -.markdown-editor-container.on-preview .preview-container { - width: 50%; -} -.mini .markdown-editor-body { - height: calc(100% - 28px); -} -.flex-end { - justify-content: flex-end; -} -.my-codemirror-container { - border: 1px solid #ccc; - width: 100%; - margin-bottom: 24px; -} -.markdown-tip { - color: #cdcdcd; - font-size: 12px; - position: absolute; - right: 0; - bottom: -28px; - margin-bottom: 7px; -} -/* PADDING */ -.CodeMirror-lines { - padding: 4px 0; - /* Vertical padding around content */ -} -.CodeMirror pre.CodeMirror-line, -.CodeMirror pre.CodeMirror-line-like { - padding: 0 4px; - /* Horizontal padding of content */ -} -.CodeMirror-scrollbar-filler, -.CodeMirror-gutter-filler { - background-color: white; - /* The little square between H and V scrollbars */ -} -/* GUTTER */ -.CodeMirror-gutters { - border-right: 1px solid #ddd; - background-color: #f7f7f7; - white-space: nowrap; -} -.CodeMirror-linenumber { - padding: 0 3px 0 5px; - min-width: 20px; - text-align: right; - color: #999; - white-space: nowrap; -} -.CodeMirror-guttermarker { - color: black; -} -.CodeMirror-guttermarker-subtle { - color: #999; -} -/* CURSOR */ -.CodeMirror-cursor { - border-left: 1px solid black; - border-right: none; - width: 0; -} -/* Shown when moving in bi-directional text */ -.CodeMirror div.CodeMirror-secondarycursor { - border-left: 1px solid silver; -} -.cm-fat-cursor .CodeMirror-cursor { - width: auto; - border: 0 !important; - background: #7e7; -} -.cm-fat-cursor div.CodeMirror-cursors { - z-index: 1; -} -.cm-fat-cursor-mark { - background-color: rgba(20, 255, 20, 0.5); - animation: blink 1.06s steps(1) infinite; -} -.cm-animate-fat-cursor { - width: auto; - border: 0; - animation: blink 1.06s steps(1) infinite; - background-color: #7e7; -} -@keyframes blink { - 50% { - background-color: transparent; - } -} -.cm-tab { - display: inline-block; - text-decoration: inherit; -} -.CodeMirror-rulers { - position: absolute; - left: 0; - right: 0; - top: -50px; - bottom: 0; - overflow: hidden; -} -.CodeMirror-ruler { - border-left: 1px solid #ccc; - top: 0; - bottom: 0; - position: absolute; -} -/* DEFAULT THEME */ -.cm-s-default .cm-header { - color: blue; -} -.cm-s-default .cm-quote { - color: #090; -} -.cm-negative { - color: #d44; -} -.cm-positive { - color: #292; -} -.cm-header, -.cm-strong { - font-weight: bold; -} -.cm-em { - font-style: italic; -} -.cm-link { - text-decoration: underline; -} -.cm-strikethrough { - text-decoration: line-through; -} -.cm-s-default .cm-keyword { - color: #708; -} -.cm-s-default .cm-atom { - color: #219; -} -.cm-s-default .cm-number { - color: #164; -} -.cm-s-default .cm-def { - color: #00f; -} -.cm-s-default .cm-variable-2 { - color: #05a; -} -.cm-s-default .cm-variable-3, -.cm-s-default .cm-type { - color: #085; -} -.cm-s-default .cm-comment { - color: #a50; -} -.cm-s-default .cm-string { - color: #a11; -} -.cm-s-default .cm-string-2 { - color: #f50; -} -.cm-s-default .cm-meta { - color: #555; -} -.cm-s-default .cm-qualifier { - color: #555; -} -.cm-s-default .cm-builtin { - color: #30a; -} -.cm-s-default .cm-bracket { - color: #997; -} -.cm-s-default .cm-tag { - color: #170; -} -.cm-s-default .cm-attribute { - color: #00c; -} -.cm-s-default .cm-hr { - color: #999; -} -.cm-s-default .cm-link { - color: #00c; -} -.cm-s-default .cm-error { - color: #f00; -} -.cm-invalidchar { - color: #f00; -} -.CodeMirror-composing { - border-bottom: 2px solid; -} -/* Default styles for common addons */ -div.CodeMirror span.CodeMirror-matchingbracket { - color: #0b0; -} -div.CodeMirror span.CodeMirror-nonmatchingbracket { - color: #a22; -} -.CodeMirror-matchingtag { - background: rgba(255, 150, 0, 0.3); -} -.CodeMirror-activeline-background { - background: #e8f2ff; -} -/* STOP */ -/* The rest of this file contains styles related to the mechanics of - the editor. You probably shouldn't touch them. */ -.CodeMirror { - position: relative; - overflow: hidden; - background: white; -} -.CodeMirror-scroll { - overflow: scroll !important; - /* Things will break if this is overridden */ - /* 50px is the magic margin used to hide the element's real scrollbars */ - /* See overflow: hidden in .CodeMirror */ - margin-bottom: -50px; - margin-right: -50px; - padding-bottom: 50px; - height: 100%; - outline: none; - /* Prevent dragging from highlighting the element */ - position: relative; -} -.CodeMirror-sizer { - position: relative; - border-right: 50px solid transparent; -} -/* The fake, visible scrollbars. Used to force redraw during scrolling - before actual scrolling happens, thus preventing shaking and - flickering artifacts. */ -.CodeMirror-vscrollbar, -.CodeMirror-hscrollbar, -.CodeMirror-scrollbar-filler, -.CodeMirror-gutter-filler { - position: absolute; - z-index: 6; - display: none; -} -.CodeMirror-vscrollbar { - right: 0; - top: 0; - overflow-x: hidden; - overflow-y: scroll; -} -.CodeMirror-hscrollbar { - bottom: 0; - left: 0; - overflow-y: hidden; - overflow-x: scroll; -} -.CodeMirror-scrollbar-filler { - right: 0; - bottom: 0; -} -.CodeMirror-gutter-filler { - left: 0; - bottom: 0; -} -.CodeMirror-gutters { - position: absolute; - left: 0; - top: 0; - min-height: 100%; - z-index: 3; -} -.CodeMirror-gutter { - white-space: normal; - height: 100%; - display: inline-block; - vertical-align: top; - margin-bottom: -50px; -} -.CodeMirror-gutter-wrapper { - position: absolute; - z-index: 4; - background: none !important; - border: none !important; -} -.CodeMirror-gutter-background { - position: absolute; - top: 0; - bottom: 0; - z-index: 4; -} -.CodeMirror-gutter-elt { - position: absolute; - cursor: default; - z-index: 4; -} -.CodeMirror-gutter-wrapper ::selection { - background-color: transparent; -} -.CodeMirror-gutter-wrapper ::-moz-selection { - background-color: transparent; -} -.CodeMirror-lines { - cursor: text; - min-height: 1px; - /* prevents collapsing before first draw */ -} -.CodeMirror pre.CodeMirror-line, -.CodeMirror pre.CodeMirror-line-like { - /* Reset some styles that the rest of the page might have set */ - border-radius: 0; - border-width: 0; - background: transparent; - font-family: inherit; - font-size: inherit; - margin: 0; - white-space: pre; - word-wrap: normal; - line-height: inherit; - color: inherit; - z-index: 2; - position: relative; - overflow: visible; - -webkit-tap-highlight-color: transparent; - -webkit-font-variant-ligatures: contextual; - font-feature-settings: "calt"; - font-variant-ligatures: contextual; -} -.CodeMirror-wrap pre.CodeMirror-line, -.CodeMirror-wrap pre.CodeMirror-line-like { - word-wrap: break-word; - white-space: pre-wrap; - word-break: normal; -} -.CodeMirror-linebackground { - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - z-index: 0; -} -.CodeMirror-linewidget { - position: relative; - z-index: 2; - padding: 0.1px; - /* Force widget margins to stay inside of the container */ -} -.CodeMirror-rtl pre { - direction: rtl; -} -.CodeMirror-code { - outline: none; -} -/* Force content-box sizing for the elements where we expect it */ -.CodeMirror-scroll, -.CodeMirror-sizer, -.CodeMirror-gutter, -.CodeMirror-gutters, -.CodeMirror-linenumber { - box-sizing: content-box; -} -.CodeMirror-measure { - position: absolute; - width: 100%; - height: 0; - overflow: hidden; - visibility: hidden; -} -.CodeMirror-cursor { - position: absolute; - pointer-events: none; -} -.CodeMirror-measure pre { - position: static; -} -div.CodeMirror-cursors { - visibility: hidden; - position: relative; - z-index: 3; -} -div.CodeMirror-dragcursors { - visibility: visible; -} -.CodeMirror-focused div.CodeMirror-cursors { - visibility: visible; -} -.CodeMirror-selected { - background: #d9d9d9; -} -.CodeMirror-focused .CodeMirror-selected { - background: #d7d4f0; -} -.CodeMirror-crosshair { - cursor: crosshair; -} -.CodeMirror-line::selection, -.CodeMirror-line > span::selection, -.CodeMirror-line > span > span::selection { - background: #d7d4f0; -} -.CodeMirror-line::-moz-selection, -.CodeMirror-line > span::-moz-selection, -.CodeMirror-line > span > span::-moz-selection { - background: #d7d4f0; -} -.cm-searching { - background-color: #ffa; - background-color: rgba(255, 255, 0, 0.4); -} -/* Used to force a border model for a node */ -.cm-force-border { - padding-right: 0.1px; -} -@media print { - /* Hide the cursor when printing */ - .CodeMirror div.CodeMirror-cursors { - visibility: hidden; - } -} -/* See issue #2901 */ -.cm-tab-wrap-hack:after { - content: ''; -} -/* Help users use markselection to safely style text background */ -span.CodeMirror-selectedtext { - background: none; -} -.CodeMirror-sizer { - padding-top: 10px; - padding-bottom: 10px !important; -} -.CodeMirror-empty.CodeMirror-focused { - outline: none; -} -.CodeMirror pre.CodeMirror-placeholder { - color: #999; -} -.CodeMirror { - position: relative; - overflow: hidden; - background: white; - word-break: break-word; -} -.CodeMirror pre.CodeMirror-line, -.CodeMirror pre.CodeMirror-line-like { - word-wrap: break-word; - word-break: break-word; - white-space: pre-wrap; - line-height: 1.6; -} -/* 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/PreviewAll/index.less?modules ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.wrp___dq7YK { - display: flex; - justify-content: center; - align-items: center; - position: fixed; - width: 100%; - height: 100%; - left: 0; - top: 0; - z-index: 108; -} -.wrp___dq7YK.bgBlack___ARIUV { - background: rgba(0, 0, 0, 0.5); -} -.wrp___dq7YK img, -.wrp___dq7YK video { - max-width: 100%; - max-height: 80%; - text-align: center; -} -.wrp___dq7YK iframe { - width: 100%; - height: 100%; - position: absolute; - left: 0; - top: 0; - background: #fff; - border: none; -} -.monaco___VnZC3 { - position: absolute; - height: 100%; - width: 100%; -} -.darkBlue___UprA9 * { - font-size: 14px; -} -.darkBlue___UprA9 [class~='margin'], -.darkBlue___UprA9 [class~='monaco-editor-background'] { - background: #0a0e2d !important; -} -.darkBlue___UprA9 [class~='line-numbers'] { - color: white !important; -} -.close___LKoWu { - position: absolute; - right: 40px; - top: 40px; - z-index: 10; - display: flex; -} -.close___LKoWu > span { - background: #4a4a4a; - color: #fff; - width: 40px; - height: 40px; - border-radius: 4px; - display: flex; - justify-content: center; - align-items: center; - cursor: pointer; - margin-left: 10px; -} -.embed___hvpEJ { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; -} -/* 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[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/components/monaco-editor/index.css ***! - \*******************************************************************************************************************************************************************************************************************************************/ -.my-monaco-editor div, -.my-diff-editor div { - font-size: inherit; -} -.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{ - display: none !important; -} -/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** 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 ***! - \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.markdown-toolbar-container { - display: flex; - flex-flow: row wrap; - align-items: center; - padding: 0 5px; - margin: 0; - position: relative; - list-style: none; - background: #fff; - border-bottom: 1px solid #ccc; - box-sizing: border-box; - line-height: 20px; - width: 100%; - min-height: 30px; -} -.markdown-toolbar-container .fill-tip { - cursor: pointer; - font-size: 12px; - display: inline-block; - padding: 5px; - border: 1px solid #E99237; - border-radius: 5px; - box-sizing: border-box; - line-height: 16px; - height: auto; - color: #A65500; - background-color: #FFF1E2; - position: relative; - margin-left: 10px; -} -.markdown-toolbar-container .fill-tip::before { - content: ' '; - width: 0; - height: 0; - border-top: 6px solid transparent; - border-bottom: 6px solid transparent; - border-right: 6px solid #FFF1E2; - position: absolute; - left: -6px; - top: 6px; - z-index: 10; -} -.markdown-toolbar-container .fill-tip::after { - content: ' '; - width: 0; - height: 0; - border-top: 6px solid transparent; - border-bottom: 6px solid transparent; - border-right: 6px solid #E99237; - position: absolute; - left: -7px; - top: 6px; -} -.markdown-toolbar-container li { - color: #666; - padding: 0 1px; - height: 100%; - display: flex; - height: 38px; - flex-flow: column nowrap; - justify-content: center; -} -.markdown-toolbar-container a, -.markdown-toolbar-container span { - display: block; -} -.markdown-toolbar-container a { - width: 28px; - color: #666; - cursor: pointer; - text-align: center; - font-size: 18px; -} -.markdown-toolbar-container .btn-null { - width: auto; - display: flex; - flex-flow: row nowrap; - align-items: center; -} -.markdown-toolbar-container .insert-blank { - color: #E99237; - font-size: 18px; -} -.markdown-toolbar-container span.v-line { - margin: 0 5px; - height: 65%; - border-right: 1px solid #ccc; -} -.mini .markdown-toolbar-container li { - height: 28px; -} -.editor-resize { - display: block; - width: 120px; - height: 4px; - left: 54%; - margin-top: 2px; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; - cursor: row-resize; - white-space: nowrap; - overflow: hidden; - text-transform: capitalize; - box-sizing: border-box; - margin: 0 auto; -} -.btn-full-screen { - position: absolute; - right: 5px; -} -/* 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[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/components/markdown-editor/css/iconfont.css ***! - \****************************************************************************************************************************************************************************************************************************************************/ -@font-face { - font-family: "md-iconfont"; - src: url(./static/iconfont.498a2e20.eot); - /* IE9 */ - src: url(./static/iconfont.498a2e20.eot#iefix) format('embedded-opentype'), - /* IE6-IE8 */ - url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAArkAAsAAAAAFGQAAAqUAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCFTgqYEJMCATYCJANMCygABCAFhG0HgUwb5hCjooZyUthkf4mpyEh3pV0O3eNzjDeMPcxWAACWBR8hkIIUVSIBAABgBAAACrx/wAkAfPHw39iv+2bmqzZUIt1PJ5FJeCMRibbSgsVNdRP+A23z391RKZiNY99ZzVmNklbCKpCtz0WxCnCVhUtkySLj37772YjcCVNhPk1OHZFC37UprJD/0ozsDfr3lrQ9Ja2fjpzpmcEJypq3QpVe3mEqOf/v+doc8Dx9AQTUAMH8r7l6h4jEycc0pD1SorTNT/f4+MQxO0wsRBKPkEy8VKiUQkiNRAgFe/ZbMVsJqPuMwq6/O48n0DSrO+To+fNnsFBwIlDuxls5WHgSlBjXUJdXFduW9T9hiXp6QK0GftDXx6ftOkkl4yc6PnvSg9sX5F9YZK7lf7DLU+CyExnbQCFelKr/MLbwbSKbKubEL8C8+KkUXjBVS7qLlkVFb9ncJpntxd2Xna/ekiQvSGwMutYjdpgXxBuyGejDtFUlNc1R+S9PV0tPERo6BpxAVHGyfbR8yxuCF0QLoQ9eUCDzArVfFA0EogJBSEd1B1QDFQ2oCSoLUAWUClAdlA5QF5QeUAvUMoTQ49UNKkRJAAUoG6AGqLsIocNbZwgD8P5WaYiTI2ObVWDfIP8FUH4B6GfCk1BkoQkNRVUCH5pC4eygwLuuu+XmIXB2jvFmcAXLmYJqni3c1sPfw8QoEHgwJsKwODyKoOr8CI/D4QnXuLpRnSqZzvUuVSLdXrMmWVlh7pdqFWyeZ6zbaj5Ea9VLbFFqJyuBbiHz/aXdwxv1o+qp6jZLs1AoqRHINuoHKJHgGlMq1FfO6n7nwbByXhAmPX0mB8QGO11d2a6eq73I/Or36dQNtU+OwzR+ZOhIvG9PavecX/p9136p84XxwOvWiBPqlOFByvvvoYHx+0JjX16+64EsGBw0NqsGsL2dB1a3LWieWdtgu+WlDNp1MF9ltnZPtbPEY8rCiCkoSnZWNZgOJAAl+ocR4Jr4TUSwy+pyq13sImw2Fj1QBDqoHIWVps9Oe6/70Jfl40V7rnnTFmeGL+2vXqcfP4VVab9hukZcxUCnDA32Jtjd74Pq5fqv/DUTv8a31K6dFFOXnYveQGKctVFs8p4EALG+V11C2k2eplEv6t7hrB6No5sL92F7AoDl8P79bJMbOAhN9S6f7YaoS6zTe9h2X22CMIMRuZ79KYSPUz0yAEJ8rmdkLSCsDbKUZm/XaCgZ/3VkwnSMp/9a/65inE4Uu2wpyvFCFYvarGxSdRFKJeNT4ujk1MPfe6Bfa1ePW1WWCVy3bmr1ko7JRynl544qLhwru3hEfhUBCxEIWwnsFpJobe+0dMS615o7jFByxzl6MRW7yD3AFsV0zZqSm1WJkK0FPjJifKsACpFsbVi3qVmD1bvqe9PTYcIIhActzTk/QMnRVdY0Pb7j2XG36f9tN8ut1oJNWexSlW9qSnbtoj2Ard40hheK/stt/Ut2NZuOWH0LFR+pyhrW/Vxd1qxBZumxWhaUbCWixxf57PaZp/zogTpeVQvYYzYAIWZjZfY6MnRB4WtX8Aed+pB7/b920mRPncmHsN1D1a0tBKlHMLW3enfGi7YkG8vfl/elLiUsZCidC5YNWzGlcQO4+sZRlCD0gOaxhQuu5niOdslx9TOub171Par2oocFG4Lp6Efmzzdh8x4Fmt4mtuL9IqxYM+Ww9DDlA5vzL9RB+0Cnf5QfkjxvFh0Ku4SFzC9xSN7TGR9dDnc77NLX2BcsxR5+++YIORTi+PXrvnhD6AZxIVtIpBJbJBafL5XKCMLFsbeeYvQwsW3yr18PRB2SDrRQvBH+Gz0sYA7hLhRtkTDn2PMl/Hr3WF2tQ427l4pUI6p77tAqMvhyjeI2X55BNI96ULb6taXwatu97E+KgDtTZr3ZmPRlSMDqgBUpYRjf7nxyxUYLPcLf8/goevBIapk4t6AXcyBfkRW7zEmZM4DBml3Hd+uXLkxnC0og1FvPgqhH9w7Gx2ZVG8NnzHROmMuTfZTxxiU6r9tenVmYoC7PjMYMbn3ciwIq5X7d0luk6eUBmmkpD2OVcT2khWWhUf48X6daKAACJ1QMnKGijbLmjgGJxOJh0etlsihEQZaLWeHhcZ6Qpy0BYgwnlkfHRS83RuUx2vVrddavPzeL2UjMzhXIDzlv4wpngWYETXAQTxzbwZMJtotbI/6nGtXvUt3DfgUhXHdJfxXbgTlYk5iXtCboggWuk4QGQUuap1DGQ/jL3SjM/aGRVn4x+57YwSaYl5hUwYGyXTNRJMgLqHcRVSEtRXJrUenECVrthIm6Jp2hybBzZ2Aqn3sjR1ahzc4WBlZBr5CqspB5g+tCFuVky4pKrUXy50ylRVZ5UbYD6mIPbNY0aXJyIC5QevaqkXue2+Zznuqd5U7qWmd1OOQ8+RUaLa7V4JoKxtQYP37AP8Rq6O/2GaPk0/XjPIKEsI4FkYN50bGZeSPH5cUkxF6MrBzA8OErS+uGfeN0hu/al9DB82E3DBQkDkyExEAkSDxZtF88KSIowojtR4cW2h9YHkRrg4URLh63c1sgZtDws9MLKG2UcSnTz+OlSxDDszwVkDJP0QvX6GjwSWYVeVOG9O6N6FjZWYBGzmKp8rw8KlFR4XTdw8Ko2tvAmLrB6NJ5rIHXVsx509enr2J52LGDiBwKRLrSeRWD721sVqUYVNuXzAvODPp3at2cYY3DJeb8udMPDz4sqDhlkW94SGlunIZ/WOLLCpszsK7GPypJL5XLpfokwCEtvfpI0RGZ7G7RXZJkVY8dOzjgPMvBkh/W9cPNQuGEic+XLYO4jMPr1ik7mxf//sz0Vl+z2QNLwPGr2MaIq/iQZ3iiyFLysoJUx7hBvXVEhWRhQai0ksJtOOvSxyixBtNubwhcuzfC9qpSrsxhzHqYBeeFYRT5EADZ7n9sNLGWuoapWKMrCDaWYcjB6BPgRuweJZFFgSKxcBGMACAn+o0NB8ueN2FS1vKAnbLu5AIskPURO4ahfGPhPAwn/wJKQY+T/5dtjuLHy0DTIUFI9i7LQeme1K11/JRvDPZ/nIy7ezlLKI38Sxry5QADiqsRsC+BVIhB/sre0mOiiPIUaT1TnSEkGd8MBOVpgfzfKyqZI+rKVDg7oSkGsR/RDd2vn56kFu/G6IkDkpoZkNUto8VyG1S07ICqul3QtCV355aRQcaiNLBpAgOhbxtIuv7hWWXZiRdYOkDF1DusCscZNJ3EzT5bVl+uHggkgxb7q/AKs5HJvDLLf4E9RkkH6Wm1P6DiMYuubr8FL5CBytignOyW2QhDmMQzWwdiRNETHkBx7ZDf75rG3DasFabByiECJDYCa0Kja/SeFJSZ6dkq8PlfgHUUSRTT7Cv6H0AKP3chUriIFOgLmVM125aqg51YW0MOCkNo2QQli845KkAUuUgYoF7qACisps+R3dvpceiuNS1Z10+n5U9afC3yrUdT5ChRiWrUoh6Nv2UXakcnutGL/sHh0THarSOfwxzy5D2yhYlCDTPPMno12WPU894rPhJMk8/HskLSQFX0hScxi8EgpWmfvDlm5UFAe56y3EcYl2MawxWWGrMqURY3m3qsoNjS+AhVRfGDAQAAAA==) format('woff2'), - url(./static/iconfont.09806494.woff) format('woff'), - url(./static/iconfont.f5a4e17c.ttf) format('truetype'), - /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ - url(./static/iconfont.c0c6fa27.svg#iconfont) format('svg'); - /* iOS 4.1- */ -} - -.md-iconfont { - font-family: "md-iconfont" !important; - font-size: 16px; - font-style: normal; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.icon-shrink:before { - content: "\e728"; -} - -.icon-enlarge:before { - content: "\e623"; -} - -.icon-code:before { - content: "\e602"; -} - -.icon-italic:before { - content: "\e718"; -} - -.icon-bold:before { - content: "\e644"; -} - -.icon-picture:before { - content: "\e606"; -} - -.icon-minus:before { - content: "\e62c"; -} - -.icon-order-list:before { - content: "\e655"; -} - -.icon-link:before { - content: "\e7d4"; -} - -.icon-formula:before { - content: "\e633"; -} - -.icon-unorder-list:before { - content: "\e668"; -} - -.icon-edit:before { - content: "\e603"; -} - -.icon-table:before { - content: "\e7db"; -} - -.icon-sum:before { - content: "\e667"; -} - -.icon-eye:before { - content: "\e69f"; -} - -.icon-eye-slash:before { - content: "\e601"; -} - -.icon-eraser:before { - content: "\e8cd"; -} - -.icon-file-code:before { - content: "\e9ec"; -} -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** 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/upload-image/index.less ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.upload-button { - width: 120px; - height: 32px; - display: block; - position: relative; - color: #0152d9; -} -.upload-button input { - opacity: 0; - width: 160px; - height: 32px; - position: absolute; - top: 0; - left: 0; - z-index: 1; -} -/* 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/EditPotin/components/Saveitem.less?modules ***! - \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___ljmk3 { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___Fy45C { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___SoC1C { - align-items: center; - box-align: center; -} -.flex_box_center_end___MumBX { - 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___cutpt { - flex-direction: column; - box-orient: block-axis; -} -.warp___w1JUC { - padding: 30px 38px; -} -.warp___w1JUC .redio___I6tXM { - display: flex; - align-items: flex-start; - margin-bottom: 25px; -} -.warp___w1JUC .redio___I6tXM .redioitem___cS4Gp { - width: 14px; - min-width: 14px; - height: 14px; - background: #F5F5F5; - border-radius: 7px; - border: 1px solid #D9D9D9; - margin-right: 10px; - margin-top: 6px; -} -.warp___w1JUC .redio___I6tXM .redioitemyes___JBDmk { - font-size: 14px; - color: #37AD83; - margin-top: 6px; - margin-right: 10px; -} -.warp___w1JUC .redio___I6tXM .title___XAohQ { - color: #000000; - font-size: 16px; -} -.warp___w1JUC .redio___I6tXM .titleyes____bNQk { - color: #37AD83; - font-size: 16px; -} -.warp___w1JUC .redio___I6tXM .yestag___zQnb1 { - width: 60px; - height: 20px; - color: #37AD83; - text-align: center; - margin-left: 16px; - line-height: 20px; - min-width: 60px; - font-size: 12px; - margin-top: 6px; - background: #EBF6F2; -} -.warp___w1JUC .checkbox___MHadU { - display: flex; - align-items: flex-start; - margin-bottom: 25px; -} -.warp___w1JUC .checkbox___MHadU .checkboxitem___KX7mB { - width: 14px; - height: 14px; - min-width: 14px; - margin-top: 6px; - background: #F5F5F5; - border-radius: 2px; - margin-right: 10px; - border: 1px solid #D9D9D9; -} -.warp___w1JUC .checkbox___MHadU .checkboxitemyes___MpOWf { - font-size: 14px; - color: #37AD83; - margin-right: 10px; - margin-top: 6px; -} -.warp___w1JUC .checkbox___MHadU .title___XAohQ { - color: #000000; - font-size: 16px; -} -.warp___w1JUC .checkbox___MHadU .titleyes____bNQk { - color: #37AD83; - font-size: 16px; -} -.warp___w1JUC .checkbox___MHadU .yestag___zQnb1 { - width: 60px; - min-width: 60px; - height: 20px; - color: #37AD83; - text-align: center; - margin-left: 16px; - line-height: 20px; - font-size: 12px; - margin-top: 6px; - background: #EBF6F2; -} -.warp___w1JUC .bottom___FkHfO { - margin-top: 55px; -} -.warp___w1JUC .bottom___FkHfO .bottomitem___AS0Qp { - margin-bottom: 25px; - font-size: 16px; - display: flex; - align-items: center; -} -.warp___w1JUC .bottom___FkHfO .bottomitem___AS0Qp .left___U23z1 { - color: #666666; - text-align: end; - width: 56px; - min-width: 48px; -} -.warp___w1JUC .bottom___FkHfO .bottomitem___AS0Qp .right___yJVEk { - color: #000000; - margin-left: 10px; -} -.warp___w1JUC .completion___Bu5G6 .title___XAohQ { - width: 70px; - height: 46px; - min-width: 70px; - display: flex; - align-items: center; - justify-content: center; -} -.warp___w1JUC .completion___Bu5G6 .content___LySPW { - display: flex; - align-items: center; - justify-content: flex-start; - flex-wrap: wrap; -} -.warp___w1JUC .completion___Bu5G6 .content___LySPW .items___ETMq9 { - padding: 14px 16px; - border: 1px solid #dcdcdc; - height: 46px; - border-radius: 2px; - margin-left: 20px; - color: #37AD83; - min-width: 102px; - display: inline-block; - font-size: 14px; - text-align: center; - margin-bottom: 20px; -} -.warp___w1JUC .simple___XX5t0 { - display: flex; - align-items: flex-start; -} -.warp___w1JUC .simple___XX5t0 .title___XAohQ { - color: #37AD83; - font-size: 14px; - margin-top: 2px; - min-width: 56px; -} -.warp___w1JUC .simple___XX5t0 .content___LySPW { - margin-left: 10px; - font-size: 16px; -} -.warp___w1JUC .shixun___ePWKn { - display: flex; - align-items: center; - margin-top: 20px; -} -.warp___w1JUC .shixun___ePWKn .score___nGh9k { - 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; - margin-right: 10px; -} -.warp___w1JUC .shixun___ePWKn .qtitle___DAMW1 { - -webkit-box-orient: vertical; - display: -webkit-box; - -webkit-line-clamp: 1; - overflow: hidden; - width: 80%; - color: #000000; - font-weight: 400; - font-size: 16px; -} -.warp___w1JUC .combination___Sw7S6 { - display: flex; - align-items: center; - margin-top: 20px; -} -.warp___w1JUC .combination___Sw7S6 .score___nGh9k { - min-width: 50px; - height: 25px; - background: rgba(236, 236, 236, 0.6); - border-radius: 0px 0px 2px 0px; - text-align: center; - line-height: 25px; - color: #464F66; - margin-right: 10px; -} -.warp___w1JUC .combination___Sw7S6 .qtitle___DAMW1 { - -webkit-box-orient: vertical; - display: -webkit-box; - -webkit-line-clamp: 1; - overflow: hidden; - width: 80%; - color: #000000; - font-weight: 400; - font-size: 16px; -} -/* 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/Edit/components/UploadQuestions/index.less?modules ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.customModal___bVzUV .ant-modal-close-x { - width: 86px; - height: 66px; - line-height: 66px; -} -.customModal___bVzUV .ant-modal-content { - border-radius: 4px; - overflow: hidden; -} -.customModal___bVzUV .ant-modal-header { - padding: 22px 40px; -} -.customModal___bVzUV .ant-modal-header .ant-modal-title { - font-size: 16px; - font-weight: 500; -} -.customModal___bVzUV .ant-modal-footer { - padding: 30px 40px; - border: 0; -} -.customModal___bVzUV .ant-modal-footer button { - width: 60px; - height: 32px; - border-radius: 2px; -} -.customModal___bVzUV .ant-modal-footer button:first-child { - margin-right: 12px; - background: #fcfcfe; -} -.customModal___bVzUV .ant-modal-body { - max-height: 500px; - overflow: auto; - padding: 18px 40px 30px 40px; -} -.customModal___bVzUV .content___oKhZq aside { - display: flex; -} -.customModal___bVzUV .content___oKhZq .upload___nPxEL { - margin-top: 20px; - width: 108px; - height: 32px; - border-radius: 2px; - border: none; - background: #3061D0; - box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); - font-size: 14px; - font-weight: 400; - color: #FFFFFF; -} -.customModal___bVzUV ul { - padding-left: 18px; -} -.customModal___bVzUV .infoText___gZEJF { - color: #464F66; - font-size: 12px; - margin-bottom: 8px; -} -.customModal___bVzUV .okBtn___CVo2A { - background-color: #3061D0; - box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); -} -.customModal___bVzUV .fileList___tauGN { - display: flex; - align-items: center; - justify-content: space-between; - margin-top: 14px; -} -.customModal___bVzUV .fileList___tauGN .fileName___T_8JX { - font-size: 14px; - font-weight: 400; - color: #3061D0; -} -/* 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/EditPotin/components/AddQuestionsModal/index.less?modules ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___kuaVT { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___exKHH { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___BzvkN { - align-items: center; - box-align: center; -} -.flex_box_center_end___Ss2DJ { - 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___p1LEr { - flex-direction: column; - box-orient: block-axis; -} -.scoremodal___upTFR [class~='ant-modal-body'] { - padding: 30px 40px; -} -.scoremodal___upTFR .title___hFasb { - color: #000000; - font-size: 16px; - font-weight: 500; - display: flex; - width: 100%; -} -.scoremodal___upTFR .score___DXG3o { - margin-left: 305px; - color: #3061D0; - text-align: end; -} -.scoremodal___upTFR .close___kEIiB { - font-size: 15px; - cursor: pointer; - color: #979797; -} -.scoremodal___upTFR .content___Mco8L { - display: flex; - justify-content: space-between; - margin-top: 40px; - color: #5F6368; - font-size: 14px; - margin-bottom: 24px; -} -.scoremodal___upTFR .content___Mco8L span { - display: flex; - flex: 1 1; -} -.scoremodal___upTFR .content___Mco8L span:nth-child(4) { - display: flex; - min-width: 160px; - align-items: center; -} -.scoremodal___upTFR .items___j98jk { - display: flex; - justify-content: space-between; - align-items: center; - color: #5F6368; - font-size: 14px; - margin-bottom: 12px; -} -.scoremodal___upTFR .items___j98jk span { - display: flex; - flex: 1 1; - color: #000000; - font-weight: 400; -} -.scoremodal___upTFR .items___j98jk span:nth-child(4) { - display: flex; - min-width: 160px; - align-items: center; - color: #9096A3; -} -.scoremodal___upTFR .bottom___A1n1C { - width: 100%; - text-align: end; -} -.scoremodal___upTFR .bottom___A1n1C .yes___P1zzb { - width: 60px; - height: 32px; - background: #3061D0; - box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); - border-radius: 2px; - font-weight: 400; - color: #FFFFFF; -} -.scoremodal___upTFR .bottom___A1n1C .no___xZqXd { - margin-right: 20px; - width: 60px; - height: 32px; - background: #F8F9FC; - border-radius: 2px; - opacity: 0.5; - border: 1px solid #C3CFE0; - font-weight: 400; - color: #464F66; - line-height: 14px; -} -.scoremodal___upTFR .titlecount___fqA9P { - width: 41px; - height: 22px; - background: #FA6400; - border-radius: 15px; - margin-left: 5px; - color: #FFFFFF; - display: inline-flex; - justify-content: center; -} -.scoremodal___upTFR .add___MqV0R { - font-weight: 400; - color: #FA6400; - line-height: 14px; - font-size: 14px; - position: absolute; - top: 2px; -} -.previewModal___uSiGS div[class~='ant-modal-header'] { - padding-top: 30px; - padding-left: 40px; - padding-bottom: 0; -} -.previewModal___uSiGS div[class~='ant-modal-body'] { - padding: 30px 40px; -} -.previewModal___uSiGS button[class~='ant-modal-close'] { - top: 17px; - right: 16px; - transform: scale(1.2); -} -/* 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/EditPotin/components/AddQuestionsModal/Saveitem.less?modules ***! - \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___nnwwA { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___cRir9 { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___FqTZ8 { - align-items: center; - box-align: center; -} -.flex_box_center_end___WU5_v { - 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___QZFa1 { - flex-direction: column; - box-orient: block-axis; -} -.warp___aLZwN { - max-height: 552px; - overflow: auto; -} -.warp___aLZwN .mainPart___OdEo7 { - padding-left: 38px; -} -.warp___aLZwN .shixunbutton___Eoa1i { - font-size: 14px; - color: #3061D0; - margin-right: 20px; - font-weight: 400; - background: #3061D0; - width: 108px; - height: 32px; - color: #FFFFFF; - display: flex; - align-items: center; - justify-content: center; - line-height: 32px; - box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); - border-radius: 16px; -} -.warp___aLZwN .shixunbutton___Eoa1i i { - font-size: 12px; -} -.warp___aLZwN .redio___LJ4js { - display: flex; - flex-wrap: nowrap; - align-items: center; - margin-bottom: 25px; -} -.warp___aLZwN .redio___LJ4js .redioitem___YicCC { - width: 14px; - height: 14px; - min-width: 14px; - background: #F5F5F5; - border-radius: 7px; - border: 1px solid #D9D9D9; - margin-right: 10px; -} -.warp___aLZwN .redio___LJ4js .redioitemyes___lX4Nr { - font-size: 14px; - color: #37AD83; - margin-right: 10px; -} -.warp___aLZwN .redio___LJ4js .title___pi1jH { - color: #000000; - font-size: 16px; -} -.warp___aLZwN .redio___LJ4js .titleyes___jiEh7 { - color: #37AD83; - font-size: 16px; -} -.warp___aLZwN .redio___LJ4js .yestag___DLWoP { - width: 60px; - min-width: 60px; - height: 20px; - color: #37AD83; - text-align: center; - margin-left: 16px; - line-height: 20px; - font-size: 12px; - background: #EBF6F2; -} -.warp___aLZwN .qcount___U9kkL { - display: flex; - align-items: center; - margin-bottom: 10px; -} -.warp___aLZwN .qcount___U9kkL .score___vLK4B { - width: 44px; - height: 20px; - background: rgba(236, 236, 236, 0.6); - border-radius: 0px 0px 2px 0px; - text-align: center; - color: #464F66; - margin-right: 5px; -} -.warp___aLZwN .qcount___U9kkL .qtitle___kyg0t { - width: 100%; - color: #000000; -} -.warp___aLZwN .checkbox___vjiBw { - display: flex; - align-items: flex-start; - margin-bottom: 25px; -} -.warp___aLZwN .checkbox___vjiBw .checkboxitem___HW3CP { - width: 14px; - height: 14px; - min-width: 14px; - margin-top: 6px; - background: #F5F5F5; - border-radius: 2px; - margin-right: 10px; - border: 1px solid #D9D9D9; -} -.warp___aLZwN .checkbox___vjiBw .checkboxitemyes___kpjek { - font-size: 14px; - color: #37AD83; - margin-right: 10px; - margin-top: 6px; -} -.warp___aLZwN .checkbox___vjiBw .title___pi1jH { - color: #000000; - font-size: 16px; -} -.warp___aLZwN .checkbox___vjiBw .titleyes___jiEh7 { - color: #37AD83; - font-size: 16px; -} -.warp___aLZwN .checkbox___vjiBw .yestag___DLWoP { - width: 60px; - height: 20px; - min-width: 60px; - color: #37AD83; - text-align: center; - margin-left: 16px; - line-height: 20px; - font-size: 12px; - background: #EBF6F2; -} -.warp___aLZwN .bottom___uG8Zq { - margin-top: 55px; - background-color: #F6F7F9; - padding: 20px 38px; -} -.warp___aLZwN .bottom___uG8Zq .bottomitem___TnJQQ { - margin-bottom: 25px; - display: flex; - align-items: flex-start; -} -.warp___aLZwN .bottom___uG8Zq .bottomitem___TnJQQ .left___M8WXX { - color: #666666; - text-align: end; - width: 56px; - min-width: 48px; - font-size: 14px; -} -.warp___aLZwN .bottom___uG8Zq .bottomitem___TnJQQ .right____dkCI { - color: #000000; - margin-left: 10px; - font-size: 14px; -} -.warp___aLZwN .completion___H6RmA .title___pi1jH { - width: 70px; - height: 46px; - min-width: 70px; - display: flex; - align-items: center; - justify-content: center; -} -.warp___aLZwN .completion___H6RmA .content___a2hGC { - display: flex; - align-items: center; - justify-content: flex-start; - flex-wrap: wrap; -} -.warp___aLZwN .completion___H6RmA .content___a2hGC .items___D8mLd { - padding: 14px 16px; - border: 1px solid #dcdcdc; - height: 46px; - border-radius: 2px; - margin-left: 20px; - color: #37AD83; - min-width: 102px; - display: inline-block; - font-size: 14px; - text-align: center; - margin-bottom: 20px; -} -.warp___aLZwN .simple___fQ0OS { - display: flex; - align-items: flex-start; -} -.warp___aLZwN .simple___fQ0OS .title___pi1jH { - color: #37AD83; - font-size: 14px; - margin-top: 2px; - min-width: 56px; -} -.warp___aLZwN .simple___fQ0OS .content___a2hGC { - margin-left: 10px; - font-size: 16px; -} -.warp___aLZwN .shixun___nB6Jk { - display: flex; - align-items: center; - margin-top: 20px; -} -.warp___aLZwN .shixun___nB6Jk .score___vLK4B { - 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; - margin-right: 10px; -} -.warp___aLZwN .shixun___nB6Jk .qtitle___kyg0t { - -webkit-box-orient: vertical; - display: -webkit-box; - -webkit-line-clamp: 1; - overflow: hidden; - width: 80%; - color: #000000; - font-weight: 400; - font-size: 16px; -} -.warp___aLZwN .combination___YrOdz { - display: flex; - align-items: center; - margin-top: 20px; -} -.warp___aLZwN .combination___YrOdz .score___vLK4B { - 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; - margin-right: 10px; -} -.warp___aLZwN .combination___YrOdz .qtitle___kyg0t { - -webkit-box-orient: vertical; - display: -webkit-box; - -webkit-line-clamp: 1; - overflow: hidden; - width: 80%; - color: #000000; - font-weight: 600; - font-size: 16px; -} -.warp___aLZwN .program___lG0JA { - display: flex; - align-items: flex-start; -} -.warp___aLZwN .program___lG0JA .title___pi1jH { - color: #37AD83; - font-size: 14px; - margin-top: 2px; - min-width: 56px; -} -.warp___aLZwN .program___lG0JA .content___a2hGC { - font-size: 16px; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - diff --git a/33172.async.js b/33172.async.js new file mode 100644 index 0000000000..ed3a7c2c23 --- /dev/null +++ b/33172.async.js @@ -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 + + + +/***/ }) + +}]); \ No newline at end of file diff --git a/41297.async.js b/41297.async.js index 6d4834031d..c84cf797e5 100644 --- a/41297.async.js +++ b/41297.async.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: "" }); diff --git a/57549.async.js b/57549.async.js deleted file mode 100644 index e0654fddb9..0000000000 --- a/57549.async.js +++ /dev/null @@ -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 - - - -/***/ }) - -}]); \ No newline at end of file diff --git a/57549.chunk.css b/57549.chunk.css deleted file mode 100644 index 3c55398f15..0000000000 --- a/57549.chunk.css +++ /dev/null @@ -1,1237 +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/cascader/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 */ -@keyframes antCheckboxEffect { - 0% { - transform: scale(1); - opacity: 0.5; - } - 100% { - transform: scale(1.6); - opacity: 0; - } -} -.ant-cascader-checkbox { - 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"; - position: relative; - top: 0.2em; - line-height: 1; - white-space: nowrap; - outline: none; - cursor: pointer; -} -.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner, -.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner, -.ant-cascader-checkbox-input:focus + .ant-cascader-checkbox-inner { - border-color: #1890ff; -} -.ant-cascader-checkbox-checked::after { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - border: 1px solid #1890ff; - border-radius: 2px; - visibility: hidden; - animation: antCheckboxEffect 0.36s ease-in-out; - animation-fill-mode: backwards; - content: ''; -} -.ant-cascader-checkbox:hover::after, -.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox::after { - visibility: visible; -} -.ant-cascader-checkbox-inner { - position: relative; - top: 0; - left: 0; - display: block; - width: 14px; - height: 14px; - direction: ltr; - background-color: #fff; - border: 1px solid #d9d9d9; - border-radius: 2px; - border-collapse: separate; - transition: all 0.3s; -} -.ant-cascader-checkbox-inner::after { - position: absolute; - top: 50%; - left: 21.5%; - display: table; - width: 5px; - height: 8px; - border: 2px solid #fff; - border-top: 0; - border-left: 0; - transform: rotate(45deg) scale(0) translate(-50%, -50%); - opacity: 0; - transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; - content: ' '; -} -.ant-cascader-checkbox-input { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1; - width: 100%; - height: 100%; - cursor: pointer; - opacity: 0; -} -.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner::after { - position: absolute; - display: table; - border: 2px solid #fff; - border-top: 0; - border-left: 0; - transform: rotate(45deg) scale(1) translate(-50%, -50%); - opacity: 1; - transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; - content: ' '; -} -.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner { - background-color: #1890ff; - border-color: #1890ff; -} -.ant-cascader-checkbox-disabled { - cursor: not-allowed; -} -.ant-cascader-checkbox-disabled.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner::after { - border-color: rgba(0, 0, 0, 0.25); - animation-name: none; -} -.ant-cascader-checkbox-disabled .ant-cascader-checkbox-input { - cursor: not-allowed; - pointer-events: none; -} -.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner { - background-color: #f5f5f5; - border-color: #d9d9d9 !important; -} -.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner::after { - border-color: #f5f5f5; - border-collapse: separate; - animation-name: none; -} -.ant-cascader-checkbox-disabled + span { - color: rgba(0, 0, 0, 0.25); - cursor: not-allowed; -} -.ant-cascader-checkbox-disabled:hover::after, -.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-disabled::after { - visibility: hidden; -} -.ant-cascader-checkbox-wrapper { - 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"; - display: inline-flex; - align-items: baseline; - line-height: inherit; - cursor: pointer; -} -.ant-cascader-checkbox-wrapper::after { - display: inline-block; - width: 0; - overflow: hidden; - content: '\a0'; -} -.ant-cascader-checkbox-wrapper.ant-cascader-checkbox-wrapper-disabled { - cursor: not-allowed; -} -.ant-cascader-checkbox-wrapper + .ant-cascader-checkbox-wrapper { - margin-left: 8px; -} -.ant-cascader-checkbox-wrapper.ant-cascader-checkbox-wrapper-in-form-item input[type='checkbox'] { - width: 14px; - height: 14px; -} -.ant-cascader-checkbox + span { - padding-right: 8px; - padding-left: 8px; -} -.ant-cascader-checkbox-group { - 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"; - display: inline-block; -} -.ant-cascader-checkbox-group-item { - margin-right: 6px; -} -.ant-cascader-checkbox-group-item:last-child { - margin-right: 0; -} -.ant-cascader-checkbox-group-item + .ant-cascader-checkbox-group-item { - margin-left: 0; -} -.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner { - background-color: #fff; - border-color: #d9d9d9; -} -.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner::after { - top: 50%; - left: 50%; - width: 6px; - height: 6px; - background-color: #1890ff; - border: 0; - transform: translate(-50%, -50%) scale(1); - opacity: 1; - content: ' '; -} -.ant-cascader-checkbox-indeterminate.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner::after { - background-color: rgba(0, 0, 0, 0.25); - border-color: rgba(0, 0, 0, 0.25); -} -.ant-cascader { - width: 184px; -} -.ant-cascader-checkbox { - top: 0; - margin-right: 4px; -} -.ant-cascader-menus { - display: flex; - flex-wrap: nowrap; - align-items: flex-start; -} -.ant-cascader-menus.ant-cascader-menu-empty .ant-cascader-menu { - width: 100%; - height: auto; -} -.ant-cascader-menu { - flex-grow: 1; - min-width: 111px; - height: 180px; - margin: 0; - margin: -4px 0; - padding: 4px 0; - overflow: auto; - vertical-align: top; - list-style: none; - border-right: 1px solid #f0f0f0; - -ms-overflow-style: -ms-autohiding-scrollbar; -} -.ant-cascader-menu-item { - display: flex; - flex-wrap: nowrap; - align-items: center; - padding: 5px 8px; - overflow: hidden; - line-height: 18px; - white-space: nowrap; - text-overflow: ellipsis; - cursor: pointer; - transition: all 0.3s; -} -.ant-cascader-menu-item:hover { - background: #f5f5f5; -} -.ant-cascader-menu-item-disabled { - color: rgba(0, 0, 0, 0.25); - cursor: not-allowed; -} -.ant-cascader-menu-item-disabled:hover { - background: transparent; -} -.ant-cascader-menu-empty .ant-cascader-menu-item { - color: rgba(0, 0, 0, 0.25); - cursor: default; - pointer-events: none; -} -.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled), -.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover { - font-weight: 600; - background-color: #e6f7ff; -} -.ant-cascader-menu-item-content { - flex: auto; -} -.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon, -.ant-cascader-menu-item-loading-icon { - margin-left: 0px; - color: rgba(0, 0, 0, 0.45); - font-size: 10px; -} -.ant-cascader-menu-item-disabled.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon, -.ant-cascader-menu-item-disabled.ant-cascader-menu-item-loading-icon { - color: rgba(0, 0, 0, 0.25); -} -.ant-cascader-menu-item-keyword { - color: #ff4d4f; -} -.ant-cascader-compact-item:not(.ant-cascader-compact-last-item):not(.ant-cascader-compact-item-rtl) { - margin-right: -1px; -} -.ant-cascader-compact-item:not(.ant-cascader-compact-last-item).ant-cascader-compact-item-rtl { - margin-left: -1px; -} -.ant-cascader-compact-item:hover, -.ant-cascader-compact-item:focus, -.ant-cascader-compact-item:active { - z-index: 2; -} -.ant-cascader-compact-item[disabled] { - z-index: 0; -} -.ant-cascader-compact-item:not(.ant-cascader-compact-first-item):not(.ant-cascader-compact-last-item).ant-cascader { - border-radius: 0; -} -.ant-cascader-compact-item.ant-cascader.ant-cascader-compact-first-item:not(.ant-cascader-compact-last-item):not(.ant-cascader-compact-item-rtl) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.ant-cascader-compact-item.ant-cascader.ant-cascader-compact-last-item:not(.ant-cascader-compact-first-item):not(.ant-cascader-compact-item-rtl) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.ant-cascader-compact-item.ant-cascader.ant-cascader-compact-item-rtl.ant-cascader-compact-first-item:not(.ant-cascader-compact-last-item) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.ant-cascader-compact-item.ant-cascader.ant-cascader-compact-item-rtl.ant-cascader-compact-last-item:not(.ant-cascader-compact-first-item) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.ant-cascader-rtl .ant-cascader-menu-item-expand-icon, -.ant-cascader-rtl .ant-cascader-menu-item-loading-icon { - margin-right: 0px; - margin-left: 0; -} -.ant-cascader-rtl .ant-cascader-checkbox { - top: 0; - margin-right: 0; - margin-left: 4px; -} -/* 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/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/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/switch/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-switch { - 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"; - position: relative; - display: inline-block; - box-sizing: border-box; - min-width: 40px; - height: 20px; - line-height: 20px; - vertical-align: middle; - background-color: rgba(0, 0, 0, 0.25); - border: 0; - border-radius: 100px; - cursor: pointer; - transition: all 0.2s; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.ant-switch:focus { - outline: 0; - box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1); -} -.ant-switch-checked:focus { - box-shadow: 0 0 0 2px #e6f7ff; -} -.ant-switch:focus:hover { - box-shadow: none; -} -.ant-switch-checked { - background-color: #1890ff; -} -.ant-switch-loading, -.ant-switch-disabled { - cursor: not-allowed; - opacity: 0.4; -} -.ant-switch-loading *, -.ant-switch-disabled * { - box-shadow: none; - cursor: not-allowed; -} -.ant-switch-inner { - display: block; - margin: 0 4px 0 22px; - color: #fff; - font-size: 12px; - transition: margin 0.2s; -} -.ant-switch-checked .ant-switch-inner { - margin: 0 22px 0 4px; -} -.ant-switch-handle { - position: absolute; - top: 2px; - left: 2px; - width: 16px; - height: 16px; - transition: all 0.2s ease-in-out; -} -.ant-switch-handle::before { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - background-color: #fff; - border-radius: 8px; - box-shadow: 0 2px 4px 0 rgba(0, 35, 11, 0.2); - transition: all 0.2s ease-in-out; - content: ''; -} -.ant-switch-checked .ant-switch-handle { - left: calc(100% - 16px - 2px); -} -.ant-switch:not(.ant-switch-disabled):active .ant-switch-handle::before { - right: -30%; - left: 0; -} -.ant-switch:not(.ant-switch-disabled):active.ant-switch-checked .ant-switch-handle::before { - right: 0; - left: -30%; -} -.ant-switch-loading-icon.anticon { - position: relative; - top: 2px; - color: rgba(0, 0, 0, 0.65); - vertical-align: top; -} -.ant-switch-checked .ant-switch-loading-icon { - color: #1890ff; -} -.ant-switch-small { - min-width: 24px; - height: 14px; - line-height: 14px; -} -.ant-switch-small .ant-switch-inner { - margin: 0 5px 0 16px; - font-size: 12px; -} -.ant-switch-small .ant-switch-handle { - width: 10px; - height: 10px; -} -.ant-switch-small .ant-switch-loading-icon { - top: 0.5px; - font-size: 9px; -} -.ant-switch-small.ant-switch-checked .ant-switch-inner { - margin: 0 16px 0 5px; -} -.ant-switch-small.ant-switch-checked .ant-switch-handle { - left: calc(100% - 10px - 2px); -} -.ant-switch-rtl { - direction: rtl; -} -.ant-switch-rtl .ant-switch-inner { - margin: 0 22px 0 4px; -} -.ant-switch-rtl .ant-switch-handle { - right: 2px; - left: auto; -} -.ant-switch-rtl:not(.ant-switch-rtl-disabled):active .ant-switch-handle::before { - right: 0; - left: -30%; -} -.ant-switch-rtl:not(.ant-switch-rtl-disabled):active.ant-switch-checked .ant-switch-handle::before { - right: -30%; - left: 0; -} -.ant-switch-rtl.ant-switch-checked .ant-switch-inner { - margin: 0 4px 0 22px; -} -.ant-switch-rtl.ant-switch-checked .ant-switch-handle { - right: calc(100% - 16px - 2px); -} -.ant-switch-rtl.ant-switch-small.ant-switch-checked .ant-switch-handle { - right: calc(100% - 10px - 2px); -} -/* 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 */ - diff --git a/67570.chunk.css b/67570.chunk.css index 422cef5be0..edebf404a3 100644 --- a/67570.chunk.css +++ b/67570.chunk.css @@ -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 ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/69060.async.js b/69060.async.js index eef85ec66f..3862c17e7e 100644 --- a/69060.async.js +++ b/69060.async.js @@ -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" diff --git a/69269.chunk.css b/69269.chunk.css deleted file mode 100644 index 570b817148..0000000000 --- a/69269.chunk.css +++ /dev/null @@ -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 */ - diff --git a/73718.async.js b/73718.async.js index 298495456c..1b95abeb71 100644 --- a/73718.async.js +++ b/73718.async.js @@ -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, diff --git a/78218.async.js b/78218.async.js deleted file mode 100644 index dfd4fc3c88..0000000000 --- a/78218.async.js +++ /dev/null @@ -1,11740 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[78218],{ - -/***/ 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); - - -/***/ }), - -/***/ 78218: -/*!***********************************************************!*\ - !*** ./src/components/DragSubject/index.tsx + 20 modules ***! - \***********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ components_DragSubject; } -}); - -// 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/input-number/style/index.js + 1 modules -var style = __webpack_require__(25359); -// EXTERNAL MODULE: ./node_modules/antd/es/input-number/index.js + 9 modules -var input_number = __webpack_require__(87799); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/style/index.js + 1 modules -var modal_style = __webpack_require__(35611); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules -var modal = __webpack_require__(85402); -// EXTERNAL MODULE: ./node_modules/antd/es/divider/style/index.js + 1 modules -var divider_style = __webpack_require__(98541); -// EXTERNAL MODULE: ./node_modules/antd/es/divider/index.js -var divider = __webpack_require__(27049); -// EXTERNAL MODULE: ./node_modules/antd/es/row/style/index.js -var row_style = __webpack_require__(13062); -// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js -var row = __webpack_require__(71230); -// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules -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/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules -var tooltip_style = __webpack_require__(38390); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules -var tooltip = __webpack_require__(84908); -// 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/antd/es/col/style/index.js -var col_style = __webpack_require__(89032); -// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js -var col = __webpack_require__(15746); -// EXTERNAL MODULE: ./node_modules/antd/es/switch/style/index.js + 1 modules -var switch_style = __webpack_require__(5812); -// EXTERNAL MODULE: ./node_modules/antd/es/switch/index.js + 1 modules -var es_switch = __webpack_require__(94594); -// EXTERNAL MODULE: ./node_modules/antd/es/radio/style/index.js + 1 modules -var radio_style = __webpack_require__(83822); -// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules -var es_radio = __webpack_require__(29924); -// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js + 1 modules -var checkbox_style = __webpack_require__(82000); -// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 2 modules -var es_checkbox = __webpack_require__(32808); -// EXTERNAL MODULE: ./node_modules/antd/es/message/style/index.js + 1 modules -var message_style = __webpack_require__(14934); -// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules -var message = __webpack_require__(12461); -// 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/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(70215); -var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); -// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules -var _umi_production_exports = __webpack_require__(89214); -// EXTERNAL MODULE: ./src/service/exercise.ts -var service_exercise = __webpack_require__(51412); -// EXTERNAL MODULE: ./src/components/markdown-editor/index.tsx + 10 modules -var markdown_editor = __webpack_require__(55373); -// EXTERNAL MODULE: ./src/components/Editor/NullMDEditor.js -var NullMDEditor = __webpack_require__(37863); -// EXTERNAL MODULE: ./src/components/Editor/NullChildEditor/index.jsx + 1 modules -var NullChildEditor = __webpack_require__(2977); -// EXTERNAL MODULE: ./src/utils/util.tsx -var util = __webpack_require__(29427); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/editor.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var editormodules = ({"flex_box_center":"flex_box_center___epJYP","flex_space_between":"flex_space_between___SU6BD","flex_box_vertical_center":"flex_box_vertical_center___Qes2t","flex_box_center_end":"flex_box_center_end___hGppz","flex_box_column":"flex_box_column___uzhhO","wrap":"wrap___rEjJ0","modal":"modal___gRDV9","titleWrap":"titleWrap___MK_OO","required":"required___Hja3H","title":"title___vMFKz","colorGray":"colorGray___hNhIL","choiceWrap":"choiceWrap___Xx5du","answer":"answer___cbuNE","activeAnswer":"activeAnswer___LwFG7","deleteIcon":"deleteIcon____HG4s","addIcon":"addIcon___r_Vhy","editorWrap":"editorWrap___OYwur","htmlWrap":"htmlWrap___qXHYn","radio":"radio___urtyZ","color333":"color333___Lah7k","color999":"color999___TmkZt","questionType":"questionType___r_bKw","questionChoices":"questionChoices___LA7VM","action":"action___fTTDM","difficult":"difficult___Mg7lT","fold":"fold___oVjRI","head":"head___fpwmn"}); -// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 1 modules -var RenderHtml = __webpack_require__(12768); -// EXTERNAL MODULE: ./src/components/Knowledge/index.tsx + 1 modules -var Knowledge = __webpack_require__(73221); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/CompletionEditor/index.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var _excluded = ["problemset", "globalSetting", "exercise", "loading", "dispatch", "editData", "editKey", "setEditKey", "cancelAdd", "addCallback", "reload", "setIsClaer"]; - - - - - - - - - - - - - -var tagList = (/* unused pure expression or super */ null && (['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])); -var NULL_CH = '▁'; -var CompletionEditor = function CompletionEditor(_ref, ref) { - var problemset = _ref.problemset, - globalSetting = _ref.globalSetting, - exercise = _ref.exercise, - loading = _ref.loading, - dispatch = _ref.dispatch, - editData = _ref.editData, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload, - _ref$setIsClaer = _ref.setIsClaer, - setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, - props = objectWithoutProperties_default()(_ref, _excluded); - var _useState = (0,react.useState)(''), - _useState2 = slicedToArray_default()(_useState, 2), - title = _useState2[0], - setTitle = _useState2[1]; - var _useState3 = (0,react.useState)(''), - _useState4 = slicedToArray_default()(_useState3, 2), - analysis = _useState4[0], - setAnalysis = _useState4[1]; - var _useState5 = (0,react.useState)([]), - _useState6 = slicedToArray_default()(_useState5, 2), - answerList = _useState6[0], - setAnswerList = _useState6[1]; - var _useState7 = (0,react.useState)(''), - _useState8 = slicedToArray_default()(_useState7, 2), - activeOptionErrorIndex = _useState8[0], - setActiveOptionErrorIndex = _useState8[1]; - var _useState9 = (0,react.useState)(), - _useState10 = slicedToArray_default()(_useState9, 2), - checked = _useState10[0], - setChecked = _useState10[1]; - var _useState11 = (0,react.useState)(false), - _useState12 = slicedToArray_default()(_useState11, 2), - firstSetAnswerFlag = _useState12[0], - setFirstSetAnswerFlag = _useState12[1]; - var _useState13 = (0,react.useState)(), - _useState14 = slicedToArray_default()(_useState13, 2), - score = _useState14[0], - setScore = _useState14[1]; - var _useState15 = (0,react.useState)(0), - _useState16 = slicedToArray_default()(_useState15, 2), - totalBlanks = _useState16[0], - setTotalBlanks = _useState16[1]; - var _useState17 = (0,react.useState)(false), - _useState18 = slicedToArray_default()(_useState17, 2), - isEdit = _useState18[0], - setIsEdit = _useState18[1]; - var _useState19 = (0,react.useState)(false), - _useState20 = slicedToArray_default()(_useState19, 2), - btnSave = _useState20[0], - setBtnSave = _useState20[1]; - var _useState21 = (0,react.useState)([]), - _useState22 = slicedToArray_default()(_useState21, 2), - knowledge = _useState22[0], - setKnowledge = _useState22[1]; - var _useState23 = (0,react.useState)(1), - _useState24 = slicedToArray_default()(_useState23, 2), - difficulty = _useState24[0], - setdifficult = _useState24[1]; - var _useState25 = (0,react.useState)(false), - _useState26 = slicedToArray_default()(_useState25, 2), - repeat_answer = _useState26[0], - setrepeat_answer = _useState26[1]; - var freeze = (0,react.useRef)(false); - var params = (0,_umi_production_exports.useParams)(); - var _useState27 = (0,react.useState)([]), - _useState28 = slicedToArray_default()(_useState27, 2), - knowledgeOptions = _useState28[0], - setKnowledgeOptions = _useState28[1]; - var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { - setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); - }; - (0,react.useEffect)(function () { - if (freeze.current) return; - if (!(editData !== null && editData !== void 0 && editData.question_title)) { - setIsEdit(true); - setTitle(''); - setChecked(false); - setScore(2); - setAnswerList([]); - setActiveOptionErrorIndex(''); - setFirstSetAnswerFlag(false); - return; - } - setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); - setChecked(editData === null || editData === void 0 ? void 0 : editData.is_ordered); - setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); - setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); - setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); - var answer = editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item) { - return item.answer_text; - }); - setAnswerList(toConsumableArray_default()(answer)); - setKnowledge(editData.tag_discipline_ids); - setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); - }, [editData, isEdit]); - (0,react.useEffect)(function () { - setFirstSetAnswerFlag(false); - if (isEdit) { - init(); - } - function init() { - return _init.apply(this, arguments); - } - function _init() { - _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _exercise$editData, _exercise$editData$ex; - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,service_exercise/* getTagDiscipline */.YY)({ - sub_discipline_id: (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.sub_discipline_id - }); - case 2: - res = _context.sent; - setKnowledgeOptions(res.tag_disciplines); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _init.apply(this, arguments); - } - }, [isEdit]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - (0,react.useEffect)(function () { - var _exercise$tagDiscipli; - var data = exercise !== null && exercise !== void 0 && (_exercise$tagDiscipli = exercise.tagDisciplineData) !== null && _exercise$tagDiscipli !== void 0 && _exercise$tagDiscipli.tag_disciplines && Array.isArray(exercise.tagDisciplineData.tag_disciplines) ? exercise.tagDisciplineData.tag_disciplines : []; - setKnowledgeOptions(data); - }, [exercise.tagDisciplineData]); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { - var answerArray, isEmpty, res, _exercise$editData4, _exercise$editData4$e, _exercise$editData5, _exercise$editData5$e; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - answerArray = []; - isEmpty = false; - setBtnSave(true); //保存的时候不弹出删除框 - answerList.forEach(function (answers, index) { - answerArray.push({ - choice_id: index + 1, - answer_text: [] - }); - answers.forEach(function (item, itemIndex) { - answerArray[index].answer_text.push(item); - if (!item || !(0,util/* validateLength */.eR)(item, 10000)) { - setActiveOptionErrorIndex("".concat(index, "-").concat(itemIndex)); - message/* default.info */.ZP.info(!item ? "\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A" : "答案不能超过10000字符"); - isEmpty = true; - } - }); - }); - if (!isEmpty) { - _context4.next = 7; - break; - } - setBtnSave(false); - return _context4.abrupt("return", false); - case 7: - // if (knowledge.length < 1) { - // message.info("请选择知识点"); - // return false; - // } - freeze.current = true; - if (!editData.question_id) { - _context4.next = 19; - break; - } - if (!((editData === null || editData === void 0 ? void 0 : editData.is_my) === 1)) { - _context4.next = 13; - break; - } - modal/* default.confirm */.Z.confirm({ - title: '提示', - content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', - okText: '覆盖原题', - cancelText: '不覆盖', - keyboard: false, - onOk: function () { - var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var _exercise$editData2, _exercise$editData2$e; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 3, - "question_score": score, - "is_ordered": checked, - "standard_answers": answerArray, - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.sub_discipline_id, - "difficulty": difficulty, - 'is_cover': 1, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 2: - res = _context2.sent; - repeal(res); - case 4: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - function onOk() { - return _onOk.apply(this, arguments); - } - return onOk; - }(), - onCancel: function () { - var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var _exercise$editData3, _exercise$editData3$e; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 3, - "question_score": score, - "is_ordered": checked, - "standard_answers": answerArray, - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 2: - res = _context3.sent; - repeal(res); - case 4: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - function onCancel() { - return _onCancel.apply(this, arguments); - } - return onCancel; - }() - }); - _context4.next = 17; - break; - case 13: - _context4.next = 15; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 3, - "question_score": score, - "is_ordered": checked, - "standard_answers": answerArray, - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 15: - res = _context4.sent; - repeal(res); - case 17: - _context4.next = 23; - break; - case 19: - _context4.next = 21; - return dispatch({ - type: "exercise/addExerciseQuestion", - payload: { - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - "categoryId": params.categoryId, - "question_title": title, - "question_type": 3, - "question_score": score, - "is_ordered": checked, - "standard_answers": answerArray, - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 21: - res = _context4.sent; - repeal(res); - case 23: - setBtnSave(false); - return _context4.abrupt("return", { - name: title, - analysis: analysis, - standard_answers: answerArray, - is_ordered: checked - }); - case 25: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var handlePlaceholderChange = function handlePlaceholderChange(placeholderCountBefore, placeholderCountInRange, totalPlaceholderCount) { - var newStandardAnswers = answerList.slice(); - if (placeholderCountInRange) { - newStandardAnswers.splice(placeholderCountBefore, placeholderCountInRange); - } - if (totalPlaceholderCount && firstSetAnswerFlag || !editData.question_id) { - for (var i = 0; i < totalPlaceholderCount; i++) { - newStandardAnswers.splice(placeholderCountBefore + i, 0, [""]); - } - } - setTotalBlanks(newStandardAnswers === null || newStandardAnswers === void 0 ? void 0 : newStandardAnswers.length); - setFirstSetAnswerFlag(true); - console.log(newStandardAnswers, 'newStandardAnswers'); - setAnswerList(newStandardAnswers); - }; - var handleAnswerChange = function handleAnswerChange(index, itemIndex, val) { - setActiveOptionErrorIndex(''); - var newStandardAnswers = answerList.slice(); - newStandardAnswers[index][itemIndex] = val; - setAnswerList(newStandardAnswers); - }; - var handleAddChildAnswer = function handleAddChildAnswer(index) { - var newStandardAnswers = answerList.slice(); - newStandardAnswers[index] = [].concat(toConsumableArray_default()(newStandardAnswers[index]), ['']); - setAnswerList(newStandardAnswers); - }; - var handleDeleteChildAnswer = function handleDeleteChildAnswer(index, childIndex) { - var newStandardAnswers = answerList.slice(); - if (!newStandardAnswers[index][childIndex]) { - newStandardAnswers[index] = newStandardAnswers[index].filter(function (_, key) { - return key !== childIndex; - }); - setAnswerList(newStandardAnswers); - return; - } - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '提示', - content: '确认要删除这个参考答案吗?', - className: editormodules.modal, - onOk: function onOk() { - newStandardAnswers[index] = newStandardAnswers[index].filter(function (_, key) { - return key !== childIndex; - }); - setAnswerList(newStandardAnswers); - } - }); - }; - var handleDeleteChildAnswermain = function handleDeleteChildAnswermain(index) { - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '提示', - content: '确认要删除这个参考答案吗?', - className: editormodules.modal, - onOk: function onOk() { - var key = 0; - setTitle(title.replace(/\▁/g, function (item) { - key++; - if (key - 1 === index) { - return ""; - } else { - return item; - } - })); - setTimeout(function () { - var newStandardAnswers = answerList.slice(); - newStandardAnswers = answerList.filter(function (_, key) { - return index !== key; - }); - setAnswerList(newStandardAnswers); - }, 500); - } - }); - }; - var onChange = function onChange() {}; - var showEdit = function showEdit() { - var _exercise$editData6, _exercise$editData6$e, _exercise$editData7, _exercise$editData7$e, _exercise$editData9, _exercise$editData9$e; - console.log(answerList, 'answers'); - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u586B\u7A7A\u9898" - }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848 \uFF1B\u652F\u6301\u6700\u591A5\u4E2A\u7A7A\uFF0C\u6BCF\u7A7A\u5F97\u5206\u6309\u7167\u672C\u9898\u7684\u603B\u5206\u5E73\u5747\u8BA1\u7B97\uFF09"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(NullMDEditor/* default */.Z, { - id: "completion-question-tittle", - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE", - height: 155, - defaultValue: title, - onChange: function onChange(value) { - return setTitle(value); - }, - showNullButton: ((_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.exercise_status) === 1 ? true : false, - deleteEmptyDisabled: (((_exercise$editData7 = exercise.editData) === null || _exercise$editData7 === void 0 ? void 0 : (_exercise$editData7$e = _exercise$editData7.exercise) === null || _exercise$editData7$e === void 0 ? void 0 : _exercise$editData7$e.exercise_status) === 1 ? false : true) || btnSave, - onPlaceholderChange: handlePlaceholderChange - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt20", - children: answerList.map(function (answers, index) { - var _exercise$editData8, _exercise$editData8$e; - return /*#__PURE__*/(0,jsx_runtime.jsx)(NullChildEditor/* default */.Z, { - answers: answers, - index: index, - is_md: true, - exerciseIsPublish: ((_exercise$editData8 = exercise.editData) === null || _exercise$editData8 === void 0 ? void 0 : (_exercise$editData8$e = _exercise$editData8.exercise) === null || _exercise$editData8$e === void 0 ? void 0 : _exercise$editData8$e.exercise_status) !== 1, - activeOptionErrorIndex: activeOptionErrorIndex, - onAnswerChange: handleAnswerChange, - addChildAnswer: handleAddChildAnswer, - deleteChildAnswer: handleDeleteChildAnswer, - deleteChildAnswermain: handleDeleteChildAnswermain - }, index); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt20", - children: answerList.length > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { - checked: checked, - onChange: function onChange(e) { - return setChecked(e.target.checked); - }, - className: "".concat(editormodules.color333, " font14"), - children: "\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "".concat(editormodules.color999, " font12"), - children: "\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: editormodules.titleWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.title, - children: "\u9898\u76EE\u89E3\u6790\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", - defaultValue: analysis, - onChange: function onChange(value) { - return setAnalysis(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: 'red' - }, - children: "*" - }), "\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - value: score, - max: 10000, - min: 0, - onChange: function onChange(value) { - setScore(value); - } - }), " \u5206 \xA0 ", !!score && !!totalBlanks && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - color: 'red' - }, - children: ["(\u6839\u636E\u5747\u5206\u89C4\u5219\uFF0C\u672C\u9898\u6BCF\u7A7A", (score / totalBlanks).toFixed(1), "\u5206)"] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - marginLeft: '30px' - }, - className: editormodules.difficult, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { - style: { - color: 'red' - }, - children: "*" - }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: difficulty, - onChange: function onChange(e) { - setdifficult(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "".concat(editormodules.title), - children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.colorGray, - children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - value: knowledge, - selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, - onChange: setKnowledge, - subId: (_exercise$editData9 = exercise.editData) === null || _exercise$editData9 === void 0 ? void 0 : (_exercise$editData9$e = _exercise$editData9.exercise) === null || _exercise$editData9$e === void 0 ? void 0 : _exercise$editData9$e.sub_discipline_id, - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: 10 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 10 - }, - children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { - checked: repeat_answer, - onChange: function onChange(e) { - setrepeat_answer(e); - } - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - var actionArr = [{ - name: "删除", - icon: "iconfont c-light-black ml30 icon-shanchu current", - id: "del" - }, - // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, - // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, - { - name: "(向下插入单选题)", - icon: "iconfont c-light-primary ml30 icon-tianjia current", - id: "add" - }, { - name: "编辑", - icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", - id: "edit" - }].filter(function (item) { - var _exercise$editData10, _exercise$editData10$; - if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData10 = exercise.editData) === null || _exercise$editData10 === void 0 ? void 0 : (_exercise$editData10$ = _exercise$editData10.exercise) === null || _exercise$editData10$ === void 0 ? void 0 : _exercise$editData10$.exercise_status) === 1) { - return item; - } else { - return item.id !== 'del' && item.id !== 'add'; - } - }); - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) { - return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { - case 0: - if (!(editKey !== -1)) { - _context6.next = 3; - break; - } - message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); - return _context6.abrupt("return"); - case 3: - _context6.t0 = item.id; - _context6.next = _context6.t0 === "del" ? 6 : _context6.t0 === "up" ? 8 : _context6.t0 === "down" ? 8 : _context6.t0 === "edit" ? 12 : _context6.t0 === "add" ? 15 : 17; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { - return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { - case 0: - _context5.next = 2; - return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ - id: editData.question_id - }); - case 2: - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - case 3: - case "end": - return _context5.stop(); - } - }, _callee5); - }))(); - } - }); - return _context6.abrupt("break", 17); - case 8: - _context6.next = 10; - return dispatch({ - type: "exercise/exeriseMoveUpDown", - payload: { - id: editData.question_id, - opr: item.id - } - }); - case 10: - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - return _context6.abrupt("break", 17); - case 12: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context6.abrupt("break", 17); - case 15: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 3 - }); - return _context6.abrupt("break", 17); - case 17: - case "end": - return _context6.stop(); - } - }, _callee6); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var showList = function showList() { - var _editData$standard_an; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u586B\u7A7A\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionChoices, - children: editData === null || editData === void 0 ? void 0 : (_editData$standard_an = editData.standard_answer) === null || _editData$standard_an === void 0 ? void 0 : _editData$standard_an.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - align: "middle", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - children: ["\u7B54\u6848\uFF08\u586B\u7A7A", item.choice_id, "\uFF09\uFF1A"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { - align: "middle", - gutter: [1, 1], - children: item.answer_text.map(function (val, key) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 24, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - checked: editData.standard_answer.includes(index), - disabled: true, - value: val - }, index) - }, key); - }) - }) - })] - }, index); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.action, - children: !editData.hideAction && actionArr.map(function (item, index) { - if (item.id === "up" && editData.key === 1) return null; - if (item.id === "down" && editData.key === editData.len) return null; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - }) - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}; -/* harmony default export */ var components_CompletionEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var problemset = _ref4.problemset, - loading = _ref4.loading, - exercise = _ref4.exercise, - globalSetting = _ref4.globalSetting; - return { - problemset: problemset, - globalSetting: globalSetting, - exercise: exercise, - loading: loading.effects - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(CompletionEditor))); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/JudgmentEditor/index.tsx - - - - - - - - - - - - - - - - - - - - -var JudgmentEditor_excluded = ["problemset", "globalSetting", "exercise", "loading", "dispatch", "onRef", "editData", "editKey", "setEditKey", "cancelAdd", "reload", "addCallback", "setIsClaer"]; - - - - - - - - - - -var JudgmentEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; -var JudgmentEditor = function JudgmentEditor(_ref, ref) { - var problemset = _ref.problemset, - globalSetting = _ref.globalSetting, - exercise = _ref.exercise, - loading = _ref.loading, - dispatch = _ref.dispatch, - _ref$onRef = _ref.onRef, - onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, - editData = _ref.editData, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback, - _ref$setIsClaer = _ref.setIsClaer, - setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, - props = objectWithoutProperties_default()(_ref, JudgmentEditor_excluded); - var _useState = (0,react.useState)(), - _useState2 = slicedToArray_default()(_useState, 2), - activeAnswer = _useState2[0], - setActiveAnswer = _useState2[1]; - var _useState3 = (0,react.useState)(''), - _useState4 = slicedToArray_default()(_useState3, 2), - title = _useState4[0], - setTitle = _useState4[1]; - var _useState5 = (0,react.useState)(false), - _useState6 = slicedToArray_default()(_useState5, 2), - isEdit = _useState6[0], - setIsEdit = _useState6[1]; - var _useState7 = (0,react.useState)(), - _useState8 = slicedToArray_default()(_useState7, 2), - score = _useState8[0], - setScore = _useState8[1]; - var _useState9 = (0,react.useState)([]), - _useState10 = slicedToArray_default()(_useState9, 2), - knowledge = _useState10[0], - setKnowledge = _useState10[1]; - var _useState11 = (0,react.useState)([]), - _useState12 = slicedToArray_default()(_useState11, 2), - knowledgeOptions = _useState12[0], - setKnowledgeOptions = _useState12[1]; - var _useState13 = (0,react.useState)(1), - _useState14 = slicedToArray_default()(_useState13, 2), - difficulty = _useState14[0], - setdifficult = _useState14[1]; - var _useState15 = (0,react.useState)(false), - _useState16 = slicedToArray_default()(_useState15, 2), - repeat_answer = _useState16[0], - setrepeat_answer = _useState16[1]; - var _useState17 = (0,react.useState)(''), - _useState18 = slicedToArray_default()(_useState17, 2), - analysis = _useState18[0], - setAnalysis = _useState18[1]; - var freeze = (0,react.useRef)(false); - var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { - setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); - }; - var params = (0,_umi_production_exports.useParams)(); - (0,react.useEffect)(function () { - if (freeze.current) return; - if (!(editData !== null && editData !== void 0 && editData.question_choices)) { - setIsEdit(true); - setTitle(''); - setScore(2); - setActiveAnswer(''); - return; - } - setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); - setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); - setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); - setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); - // const answer = editData?.question_choices.find(item => item.is_answer); - setActiveAnswer(editData.standard_answer[0] + ''); - setKnowledge(editData.tag_discipline_ids); - setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); - }, [editData, isEdit]); - (0,react.useEffect)(function () { - if (isEdit) { - init(); - } - function init() { - return _init.apply(this, arguments); - } - function _init() { - _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _exercise$editData, _exercise$editData$ex; - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,service_exercise/* getTagDiscipline */.YY)({ - sub_discipline_id: (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.sub_discipline_id - }); - case 2: - res = _context.sent; - setKnowledgeOptions(res.tag_disciplines); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _init.apply(this, arguments); - } - }, [isEdit]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - (0,react.useEffect)(function () { - var _exercise$tagDiscipli; - var data = exercise !== null && exercise !== void 0 && (_exercise$tagDiscipli = exercise.tagDisciplineData) !== null && _exercise$tagDiscipli !== void 0 && _exercise$tagDiscipli.tag_disciplines && Array.isArray(exercise.tagDisciplineData.tag_disciplines) ? exercise.tagDisciplineData.tag_disciplines : []; - setKnowledgeOptions(data); - }, [exercise.tagDisciplineData]); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { - var choices, res, _exercise$editData4, _exercise$editData4$e, _exercise$editData5, _exercise$editData5$e; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (title) { - _context4.next = 3; - break; - } - message/* default.info */.ZP.info("请您输入题干"); - return _context4.abrupt("return", false); - case 3: - if (activeAnswer) { - _context4.next = 6; - break; - } - message/* default.info */.ZP.info("请先点击选择本选择题的正确选项"); - return _context4.abrupt("return", false); - case 6: - // if (knowledge.length < 1) { - // message.info("请选择知识点"); - // return false; - // } - choices = [{ - choice_text: "正确", - is_answer: activeAnswer === "1" ? 1 : 0 - }, { - choice_text: "错误", - is_answer: activeAnswer === "2" ? 2 : 0 - }]; - freeze.current = true; - if (!editData.question_id) { - _context4.next = 19; - break; - } - if (!((editData === null || editData === void 0 ? void 0 : editData.is_my) === 1)) { - _context4.next = 13; - break; - } - modal/* default.confirm */.Z.confirm({ - title: '提示', - content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', - okText: '覆盖原题', - cancelText: '不覆盖', - keyboard: false, - onOk: function () { - var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var _exercise$editData2, _exercise$editData2$e; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 2, - "question_score": score, - "question_choices": choices.map(function (item) { - return item.choice_text; - }), - "standard_answers": choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }), - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.sub_discipline_id, - "difficulty": difficulty, - 'is_cover': 1, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 2: - res = _context2.sent; - repeal(res); - case 4: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - function onOk() { - return _onOk.apply(this, arguments); - } - return onOk; - }(), - onCancel: function () { - var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var _exercise$editData3, _exercise$editData3$e; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 2, - "question_score": score, - "question_choices": choices.map(function (item) { - return item.choice_text; - }), - "standard_answers": choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }), - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 2: - res = _context3.sent; - repeal(res); - case 4: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - function onCancel() { - return _onCancel.apply(this, arguments); - } - return onCancel; - }() - }); - _context4.next = 17; - break; - case 13: - _context4.next = 15; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 2, - "question_score": score, - "question_choices": choices.map(function (item) { - return item.choice_text; - }), - "standard_answers": choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }), - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 15: - res = _context4.sent; - repeal(res); - case 17: - _context4.next = 23; - break; - case 19: - _context4.next = 21; - return dispatch({ - type: "exercise/addExerciseQuestion", - payload: { - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - "categoryId": params.categoryId, - "question_title": title, - "question_type": 2, - "question_score": score, - "question_choices": choices.map(function (item) { - return item.choice_text; - }), - "standard_answers": choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }), - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 21: - res = _context4.sent; - repeal(res); - case 23: - return _context4.abrupt("return", { - name: title, - choices: choices - }); - case 24: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var actionArr = [{ - name: "删除", - icon: "iconfont c-light-black ml30 icon-shanchu current", - id: "del" - }, - // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, - // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, - { - name: "(向下插入单选题)", - icon: "iconfont c-light-primary ml30 icon-tianjia current", - id: "add" - }, { - name: "编辑", - icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", - id: "edit" - }].filter(function (item) { - var _exercise$editData6, _exercise$editData6$e; - if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.exercise_status) === 1) { - return item; - } else { - return item.id !== 'del' && item.id !== 'add'; - } - }); - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) { - return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { - case 0: - if (!(editKey !== -1)) { - _context6.next = 3; - break; - } - message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); - return _context6.abrupt("return"); - case 3: - _context6.t0 = item.id; - _context6.next = _context6.t0 === "del" ? 6 : _context6.t0 === "up" ? 8 : _context6.t0 === "down" ? 8 : _context6.t0 === "edit" ? 12 : _context6.t0 === "add" ? 15 : 17; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { - return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { - case 0: - _context5.next = 2; - return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ - id: editData.question_id - }); - case 2: - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - case 3: - case "end": - return _context5.stop(); - } - }, _callee5); - }))(); - } - }); - return _context6.abrupt("break", 17); - case 8: - _context6.next = 10; - return dispatch({ - type: "exercise/exeriseMoveUpDown", - payload: { - id: editData.question_id, - opr: item.id - } - }); - case 10: - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - return _context6.abrupt("break", 17); - case 12: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context6.abrupt("break", 17); - case 15: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 2 - }); - return _context6.abrupt("break", 17); - case 17: - case "end": - return _context6.stop(); - } - }, _callee6); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var showList = function showList() { - var _editData$question_ch; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u5224\u65AD\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionChoices, - children: editData === null || editData === void 0 ? void 0 : (_editData$question_ch = editData.question_choices) === null || _editData$question_ch === void 0 ? void 0 : _editData$question_ch.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { - checked: editData.standard_answer.includes(index + 1), - disabled: true, - children: [JudgmentEditor_tagList[index], ". ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-black font14", - children: item.choice_text - })] - }, index); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.action, - children: !editData.hideAction && actionArr.map(function (item, index) { - if (item.id === "up" && editData.key === 1) return null; - if (item.id === "down" && editData.key === editData.len) return null; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - }) - })] - }); - }; - var showEdit = function showEdit() { - var _exercise$editData7, _exercise$editData7$e; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u5224\u65AD\u9898" - }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.title, - children: "\u9898\u5E72\uFF1A" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", - defaultValue: title, - onChange: function onChange(value) { - return setTitle(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: editormodules.title, - children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.colorGray, - children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - buttonStyle: "solid", - value: activeAnswer, - onChange: function onChange(e) { - return setActiveAnswer(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: "1", - className: "".concat(editormodules.radio, " mr40"), - children: "\u6B63\u786E" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: "2", - className: editormodules.radio, - children: "\u9519\u8BEF" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "c-orange", - children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\uFF0C\u53EF\u4EE5\u76F4\u63A5\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: editormodules.titleWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.title, - children: "\u9898\u76EE\u89E3\u6790\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", - defaultValue: analysis, - onChange: function onChange(value) { - return setAnalysis(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "", - children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - value: score, - max: 10000, - min: 0, - onChange: function onChange(value) { - setScore(value); - } - }), " \u5206", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - marginLeft: '30px' - }, - className: editormodules.difficult, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { - style: { - color: 'red' - }, - children: "*" - }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: difficulty, - onChange: function onChange(e) { - setdifficult(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "".concat(editormodules.title), - children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.colorGray, - children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - value: knowledge, - selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, - onChange: setKnowledge, - subId: (_exercise$editData7 = exercise.editData) === null || _exercise$editData7 === void 0 ? void 0 : (_exercise$editData7$e = _exercise$editData7.exercise) === null || _exercise$editData7$e === void 0 ? void 0 : _exercise$editData7$e.sub_discipline_id, - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: 10 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 10 - }, - children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { - checked: repeat_answer, - onChange: function onChange(e) { - setrepeat_answer(e); - } - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}; -/* harmony default export */ var components_JudgmentEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var problemset = _ref4.problemset, - loading = _ref4.loading, - exercise = _ref4.exercise, - globalSetting = _ref4.globalSetting; - return { - problemset: problemset, - globalSetting: globalSetting, - exercise: exercise, - loading: loading.effects - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(JudgmentEditor))); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/MultipleEditor/index.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - -var MultipleEditor_excluded = ["problemset", "globalSetting", "exercise", "loading", "dispatch", "onRef", "editData", "cancelAdd", "editKey", "setEditKey", "setIsClaer", "addCallback", "reload"]; - - - - - - - - - - - -var MultipleEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; -var MultipleEditor = /*#__PURE__*/(0,react.forwardRef)(function (_ref, ref) { - var problemset = _ref.problemset, - globalSetting = _ref.globalSetting, - exercise = _ref.exercise, - loading = _ref.loading, - dispatch = _ref.dispatch, - _ref$onRef = _ref.onRef, - onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, - editData = _ref.editData, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$setIsClaer = _ref.setIsClaer, - setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function (value) {} : _ref$addCallback, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload, - props = objectWithoutProperties_default()(_ref, MultipleEditor_excluded); - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - questionChoiceList = _useState2[0], - setQuestionChoiceList = _useState2[1]; - var _useState3 = (0,react.useState)(), - _useState4 = slicedToArray_default()(_useState3, 2), - activeEditor = _useState4[0], - setActiveEditor = _useState4[1]; - var _useState5 = (0,react.useState)([]), - _useState6 = slicedToArray_default()(_useState5, 2), - activeAnswer = _useState6[0], - setActiveAnswer = _useState6[1]; - var _useState7 = (0,react.useState)(''), - _useState8 = slicedToArray_default()(_useState7, 2), - title = _useState8[0], - setTitle = _useState8[1]; - var _useState9 = (0,react.useState)(), - _useState10 = slicedToArray_default()(_useState9, 2), - score = _useState10[0], - setScore = _useState10[1]; - var _useState11 = (0,react.useState)(false), - _useState12 = slicedToArray_default()(_useState11, 2), - isEdit = _useState12[0], - setIsEdit = _useState12[1]; - var _useState13 = (0,react.useState)([]), - _useState14 = slicedToArray_default()(_useState13, 2), - knowledge = _useState14[0], - setKnowledge = _useState14[1]; - var _useState15 = (0,react.useState)(1), - _useState16 = slicedToArray_default()(_useState15, 2), - difficulty = _useState16[0], - setdifficult = _useState16[1]; - var _useState17 = (0,react.useState)(false), - _useState18 = slicedToArray_default()(_useState17, 2), - repeat_answer = _useState18[0], - setrepeat_answer = _useState18[1]; - var _useState19 = (0,react.useState)(''), - _useState20 = slicedToArray_default()(_useState19, 2), - analysis = _useState20[0], - setAnalysis = _useState20[1]; - var _useState21 = (0,react.useState)([]), - _useState22 = slicedToArray_default()(_useState21, 2), - knowledgeOptions = _useState22[0], - setKnowledgeOptions = _useState22[1]; - var freeze = (0,react.useRef)(false); - var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { - setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); - }; - var params = (0,_umi_production_exports.useParams)(); - (0,react.useEffect)(function () { - setQuestionChoiceList(['', '', '', '']); - }, []); - (0,react.useEffect)(function () { - if (freeze.current) return; - if (!(editData !== null && editData !== void 0 && editData.question_choices)) { - setIsEdit(true); - setTitle(''); - setScore(5); - setQuestionChoiceList(['', '', '', '']); - setActiveAnswer([]); - return; - } - setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); - setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); - setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); - setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); - setQuestionChoiceList(editData === null || editData === void 0 ? void 0 : editData.question_choices.map(function (item) { - return item.choice_text; - })); - var answerIndexs = []; - editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item, index) { - answerIndexs.push(item - 1); - }); - setActiveAnswer(answerIndexs); - setKnowledge(editData.tag_discipline_ids); - setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); - }, [editData, isEdit]); - (0,react.useEffect)(function () { - if (isEdit) { - init(); - } - function init() { - return _init.apply(this, arguments); - } - function _init() { - _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _exercise$editData, _exercise$editData$ex; - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,service_exercise/* getTagDiscipline */.YY)({ - sub_discipline_id: (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.sub_discipline_id - }); - case 2: - res = _context.sent; - setKnowledgeOptions(res.tag_disciplines); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _init.apply(this, arguments); - } - }, [isEdit]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - (0,react.useEffect)(function () { - var _exercise$tagDiscipli; - var data = exercise !== null && exercise !== void 0 && (_exercise$tagDiscipli = exercise.tagDisciplineData) !== null && _exercise$tagDiscipli !== void 0 && _exercise$tagDiscipli.tag_disciplines && Array.isArray(exercise.tagDisciplineData.tag_disciplines) ? exercise.tagDisciplineData.tag_disciplines : []; - setKnowledgeOptions(data); - }, [exercise.tagDisciplineData]); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { - var findNotAnswerIndex, choices, res, _exercise$editData4, _exercise$editData4$e, _exercise$editData5, _exercise$editData5$e; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (title) { - _context4.next = 3; - break; - } - message/* default.info */.ZP.info('请您输入题目'); - return _context4.abrupt("return", false); - case 3: - findNotAnswerIndex = questionChoiceList.findIndex(function (item) { - return !item; - }); - if (!(findNotAnswerIndex > -1)) { - _context4.next = 7; - break; - } - message/* default.info */.ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(MultipleEditor_tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9")); - return _context4.abrupt("return", false); - case 7: - if (activeAnswer.length) { - _context4.next = 10; - break; - } - message/* default.info */.ZP.info('请设置本题的正确答案,点击选项A/B...即可完成设置'); - return _context4.abrupt("return", false); - case 10: - if (!(activeAnswer.length < 1)) { - _context4.next = 13; - break; - } - message/* default.info */.ZP.info('请选择答案'); - return _context4.abrupt("return", false); - case 13: - // if (knowledge.length < 1) { - // message.info("请选择知识点"); - // return false; - // } - choices = questionChoiceList.map(function (item, index) { - return { - choice_text: item, - is_answer: activeAnswer.includes(index) ? index + 1 : 0 - }; - }); - freeze.current = true; - if (!editData.question_id) { - _context4.next = 26; - break; - } - if (!((editData === null || editData === void 0 ? void 0 : editData.is_my) === 1)) { - _context4.next = 20; - break; - } - modal/* default.confirm */.Z.confirm({ - title: '提示', - content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', - okText: '覆盖原题', - cancelText: '不覆盖', - keyboard: false, - onOk: function () { - var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var _exercise$editData2, _exercise$editData2$e; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return dispatch({ - type: 'exercise/editExerciseQuestion', - payload: { - id: editData.question_id, - question_title: title, - question_type: 1, - question_score: score, - question_choices: choices.map(function (item) { - return item.choice_text; - }), - standard_answers: choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }), - tag_discipline_ids: knowledge, - sub_discipline_id: (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.sub_discipline_id, - difficulty: difficulty, - is_cover: 1, - repeat_answer: !repeat_answer, - analysis: analysis - } - }); - case 2: - res = _context2.sent; - repeal(res); - case 4: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - function onOk() { - return _onOk.apply(this, arguments); - } - return onOk; - }(), - onCancel: function () { - var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var _exercise$editData3, _exercise$editData3$e; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return dispatch({ - type: 'exercise/editExerciseQuestion', - payload: { - id: editData.question_id, - question_title: title, - question_type: 1, - question_score: score, - question_choices: choices.map(function (item) { - return item.choice_text; - }), - standard_answers: choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }), - tag_discipline_ids: knowledge, - sub_discipline_id: (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.sub_discipline_id, - difficulty: difficulty, - repeat_answer: !repeat_answer, - analysis: analysis - } - }); - case 2: - res = _context3.sent; - repeal(res); - case 4: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - function onCancel() { - return _onCancel.apply(this, arguments); - } - return onCancel; - }() - }); - _context4.next = 24; - break; - case 20: - _context4.next = 22; - return dispatch({ - type: 'exercise/editExerciseQuestion', - payload: { - id: editData.question_id, - question_title: title, - question_type: 1, - question_score: score, - question_choices: choices.map(function (item) { - return item.choice_text; - }), - standard_answers: choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }), - tag_discipline_ids: knowledge, - sub_discipline_id: (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.sub_discipline_id, - difficulty: difficulty, - repeat_answer: !repeat_answer, - analysis: analysis - } - }); - case 22: - res = _context4.sent; - repeal(res); - case 24: - _context4.next = 30; - break; - case 26: - _context4.next = 28; - return dispatch({ - type: 'exercise/addExerciseQuestion', - payload: { - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - categoryId: params.categoryId, - question_title: title, - question_type: 1, - question_score: score, - question_choices: choices.map(function (item) { - return item.choice_text; - }), - standard_answers: choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }), - tag_discipline_ids: knowledge, - sub_discipline_id: (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.sub_discipline_id, - difficulty: difficulty, - repeat_answer: !repeat_answer, - analysis: analysis - } - }); - case 28: - res = _context4.sent; - repeal(res); - case 30: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var actionArr = [{ - name: '删除', - icon: 'iconfont c-light-black ml30 icon-shanchu current', - id: 'del' - }, - // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, - // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, - { - name: '(向下插入单选题)', - icon: 'iconfont c-light-primary ml30 icon-tianjia current', - id: 'add' - }, { - name: '编辑', - icon: 'iconfont c-light-primary ml30 icon-bianjishijuan3x current', - id: 'edit' - }].filter(function (item) { - var _exercise$editData6, _exercise$editData6$e; - if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.exercise_status) === 1) { - return item; - } else { - return item.id !== 'del' && item.id !== 'add'; - } - }); - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) { - return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { - case 0: - if (!(editKey !== -1)) { - _context6.next = 3; - break; - } - message/* default.error */.ZP.error('请先保存或取消当前正在编辑的问题。'); - return _context6.abrupt("return"); - case 3: - _context6.t0 = item.id; - _context6.next = _context6.t0 === 'del' ? 6 : _context6.t0 === 'up' ? 8 : _context6.t0 === 'down' ? 8 : _context6.t0 === 'edit' ? 12 : _context6.t0 === 'add' ? 15 : 17; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { - return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { - case 0: - _context5.next = 2; - return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ - id: editData.question_id - }); - case 2: - dispatch({ - type: 'exercise/editExercise', - payload: objectSpread2_default()({}, params) - }); - case 3: - case "end": - return _context5.stop(); - } - }, _callee5); - }))(); - } - }); - return _context6.abrupt("break", 17); - case 8: - _context6.next = 10; - return dispatch({ - type: 'exercise/exeriseMoveUpDown', - payload: { - id: editData.question_id, - opr: item.id - } - }); - case 10: - dispatch({ - type: 'exercise/editExercise', - payload: objectSpread2_default()({}, params) - }); - return _context6.abrupt("break", 17); - case 12: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context6.abrupt("break", 17); - case 15: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 1 - }); - return _context6.abrupt("break", 17); - case 17: - case "end": - return _context6.stop(); - } - }, _callee6); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var showList = function showList() { - var _editData$question_ch; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u591A\u9009\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionChoices, - children: editData === null || editData === void 0 ? void 0 : (_editData$question_ch = editData.question_choices) === null || _editData$question_ch === void 0 ? void 0 : _editData$question_ch.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, { - checked: editData.standard_answer.includes(index + 1), - disabled: true, - children: [MultipleEditor_tagList[index], "."] - }, index) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-black font14", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: item.choice_text - }) - }) - })] - }, index); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.action, - children: !editData.hideAction && actionArr.map(function (item, index) { - if (item.id === 'up' && editData.key === 1) return null; - if (item.id === 'down' && editData.key === editData.len) return null; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - }) - })] - }); - }; - var showEdit = function showEdit() { - var _exercise$editData8, _exercise$editData8$e; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u9009\u62E9\u9898" - }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.title, - children: "\u9898\u5E72\uFF1A" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", - defaultValue: title, - onChange: function onChange(value) { - return setTitle(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: editormodules.title, - children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.colorGray, - children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" - })] - })] - }), questionChoiceList.map(function (item, index) { - var _exercise$editData7, _exercise$editData7$e; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: editormodules.choiceWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", - placement: "left", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(editormodules.answer, " ").concat(activeAnswer.includes(index) ? editormodules.activeAnswer : ''), - onClick: function onClick() { - if (activeAnswer.includes(index)) { - setActiveAnswer(activeAnswer.filter(function (item) { - return item !== index; - })); - } else { - setActiveAnswer([].concat(toConsumableArray_default()(activeAnswer), [index])); - } - }, - children: MultipleEditor_tagList[index] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.editorWrap, - children: activeEditor === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-option-".concat(index), - watch: true, - isFocus: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", - defaultValue: item, - onChange: function onChange(value) { - questionChoiceList[index] = value; - setQuestionChoiceList(questionChoiceList); - } - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.htmlWrap, - onClick: function onClick() { - return setActiveEditor(index); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: item - }) - }) - }), ((_exercise$editData7 = exercise.editData) === null || _exercise$editData7 === void 0 ? void 0 : (_exercise$editData7$e = _exercise$editData7.exercise) === null || _exercise$editData7$e === void 0 ? void 0 : _exercise$editData7$e.exercise_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u5220\u9664", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "".concat(editormodules.deleteIcon, " iconfont icon-htmal5icon19"), - onClick: function onClick() { - return setQuestionChoiceList(questionChoiceList.filter(function (_, key) { - return key !== index; - })); - } - }) - }), index < 7 && index === questionChoiceList.length - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "".concat(editormodules.addIcon, " iconfont icon-roundaddfill ml6"), - onClick: function onClick() { - return setQuestionChoiceList([].concat(toConsumableArray_default()(questionChoiceList), [''])); - } - }) - })] - })] - }, index); - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "c-orange", - children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: editormodules.titleWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.title, - children: "\u9898\u76EE\u89E3\u6790\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", - defaultValue: analysis, - onChange: function onChange(value) { - return setAnalysis(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "", - children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - value: score, - max: 10000, - min: 0, - onChange: function onChange(value) { - setScore(value); - } - }), ' ', "\u5206", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - marginLeft: '30px' - }, - className: editormodules.difficult, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { - style: { - color: 'red' - }, - children: "*" - }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: difficulty, - onChange: function onChange(e) { - setdifficult(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "".concat(editormodules.title), - children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.colorGray, - children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - value: knowledge, - selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, - onChange: setKnowledge, - subId: (_exercise$editData8 = exercise.editData) === null || _exercise$editData8 === void 0 ? void 0 : (_exercise$editData8$e = _exercise$editData8.exercise) === null || _exercise$editData8$e === void 0 ? void 0 : _exercise$editData8$e.sub_discipline_id, - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: 10 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 10 - }, - children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { - checked: repeat_answer, - onChange: function onChange(e) { - setrepeat_answer(e); - } - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}); -/* harmony default export */ var components_MultipleEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var problemset = _ref4.problemset, - loading = _ref4.loading, - exercise = _ref4.exercise, - globalSetting = _ref4.globalSetting; - return { - problemset: problemset, - globalSetting: globalSetting, - exercise: exercise, - loading: loading.effects - }; -}, null, null, { - forwardRef: true -})(MultipleEditor)); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/ShixunEditor/index.tsx - - - - - - - - - - - - - - - - - - - - - - - -var ShixunEditor_excluded = ["problemset", "globalSetting", "exercise", "loading", "dispatch", "editData", "cancelAdd", "editKey", "setEditKey", "addCallback", "reload", "setIsClaer"]; - - - - - - - - -var ShixunEditor_tagList = (/* unused pure expression or super */ null && (['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])); -var ShixunEditor = function ShixunEditor(_ref, ref) { - var problemset = _ref.problemset, - globalSetting = _ref.globalSetting, - exercise = _ref.exercise, - loading = _ref.loading, - dispatch = _ref.dispatch, - editData = _ref.editData, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload, - _ref$setIsClaer = _ref.setIsClaer, - setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, - props = objectWithoutProperties_default()(_ref, ShixunEditor_excluded); - var _useState = (0,react.useState)(''), - _useState2 = slicedToArray_default()(_useState, 2), - name = _useState2[0], - setName = _useState2[1]; - var _useState3 = (0,react.useState)(''), - _useState4 = slicedToArray_default()(_useState3, 2), - title = _useState4[0], - setTitle = _useState4[1]; - var _useState5 = (0,react.useState)(''), - _useState6 = slicedToArray_default()(_useState5, 2), - analysis = _useState6[0], - setAnalysis = _useState6[1]; - var _useState7 = (0,react.useState)([]), - _useState8 = slicedToArray_default()(_useState7, 2), - answerList = _useState8[0], - setAnswerList = _useState8[1]; - var _useState9 = (0,react.useState)(''), - _useState10 = slicedToArray_default()(_useState9, 2), - activeOptionErrorIndex = _useState10[0], - setActiveOptionErrorIndex = _useState10[1]; - var _useState11 = (0,react.useState)(), - _useState12 = slicedToArray_default()(_useState11, 2), - checked = _useState12[0], - setChecked = _useState12[1]; - var _useState13 = (0,react.useState)(false), - _useState14 = slicedToArray_default()(_useState13, 2), - firstSetAnswerFlag = _useState14[0], - setFirstSetAnswerFlag = _useState14[1]; - var _useState15 = (0,react.useState)([]), - _useState16 = slicedToArray_default()(_useState15, 2), - score = _useState16[0], - setScore = _useState16[1]; - var _useState17 = (0,react.useState)(false), - _useState18 = slicedToArray_default()(_useState17, 2), - isEdit = _useState18[0], - setIsEdit = _useState18[1]; - var _useState19 = (0,react.useState)(false), - _useState20 = slicedToArray_default()(_useState19, 2), - btnLoading = _useState20[0], - setBtnLoading = _useState20[1]; - var params = (0,_umi_production_exports.useParams)(); - var freeze = (0,react.useRef)(false); - (0,react.useEffect)(function () { - var _editData$shixun; - if (freeze.current) return; - if (editData.edit) { - setIsEdit(true); - setTitle(''); - setName(''); - setScore([]); - } - setName(editData.shixun_name); - setTitle(editData.question_title); - var arr = []; - (_editData$shixun = editData.shixun) === null || _editData$shixun === void 0 ? void 0 : _editData$shixun.map(function (item) { - arr.push(item.challenge_score); - }); - setScore(arr); - }, [editData]); - (0,react.useEffect)(function () { - setFirstSetAnswerFlag(false); - }, [isEdit]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var answerArray, isEmpty, res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - answerArray = []; - isEmpty = false; - if (!isEmpty) { - _context.next = 4; - break; - } - return _context.abrupt("return", false); - case 4: - freeze.current = true; - setBtnLoading(true); - if (!editData.question_id) { - _context.next = 12; - break; - } - _context.next = 9; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "shixun_name": name, - "shixun_id": editData.shixun_id, - "question_type": 5, - "question_scores": score - } - }); - case 9: - res = _context.sent; - _context.next = 15; - break; - case 12: - _context.next = 14; - return dispatch({ - type: "exercise/addExerciseQuestion", - payload: { - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - "categoryId": params.categoryId, - "question_title": title, - "shixun_name": name, - "shixun_id": editData.shixun_id, - "question_type": 5, - "question_scores": score, - "is_copy": editData.is_copy - } - }); - case 14: - res = _context.sent; - case 15: - repeal(res); - setBtnLoading(false); - return _context.abrupt("return", { - name: title, - analysis: analysis, - standard_answers: answerArray, - is_ordered: checked - }); - case 18: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var showEdit = function showEdit() { - var _editData$shixun2; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u5B9E\u8BAD\u9898" - }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF09"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt10", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - defaultValue: name, - onChange: function onChange(e) { - ; - setName(e.target.value); - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt10", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-option-0", - height: 155, - placeholder: "\u8BF7\u8F93\u5165\u5B9E\u8BAD\u9898\u5B8C\u6210\u8981\u6C42", - defaultValue: title, - onChange: function onChange(value) { - setTitle(value); - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt20", - children: (_editData$shixun2 = editData.shixun) === null || _editData$shixun2 === void 0 ? void 0 : _editData$shixun2.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - gutter: [20, 20], - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - flex: "1", - children: [index + 1, ".", item.challenge_name] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - defaultValue: score[index], - onChange: function onChange(value) { - score[index] = value; - setScore(score); - console.log("srore:L", score[index]); - } - }), " \u5206"] - })] - }); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt20", - children: answerList.length > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { - checked: checked, - onChange: function onChange(e) { - return setChecked(e.target.checked); - }, - className: "".concat(editormodules.color333, " font14"), - children: "\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "".concat(editormodules.color999, " font12"), - children: "\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || !(editData !== null && editData !== void 0 && editData.edit)) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - loading: btnLoading, - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - var actionArr = [{ - name: "删除", - icon: "iconfont c-light-black ml30 icon-shanchu current", - id: "del" - }, - // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, - // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, - { - name: "(向下插入实训题)", - icon: "iconfont c-light-primary ml30 icon-tianjia current", - id: "add" - }, { - name: "编辑", - icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", - id: "edit" - }].filter(function (item) { - var _exercise$editData, _exercise$editData$ex; - if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.exercise_status) === 1) { - return item; - } else { - return item.id !== 'del' && item.id !== 'add'; - } - }); - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(item) { - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - if (!(editKey !== -1)) { - _context3.next = 3; - break; - } - message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); - return _context3.abrupt("return"); - case 3: - _context3.t0 = item.id; - _context3.next = _context3.t0 === "del" ? 6 : _context3.t0 === "up" ? 8 : _context3.t0 === "down" ? 8 : _context3.t0 === "edit" ? 12 : _context3.t0 === "add" ? 15 : 17; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ - id: editData.question_id - }); - case 2: - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - case 3: - case "end": - return _context2.stop(); - } - }, _callee2); - }))(); - } - }); - return _context3.abrupt("break", 17); - case 8: - _context3.next = 10; - return dispatch({ - type: "exercise/exeriseMoveUpDown", - payload: { - id: editData.question_id, - opr: item.id - } - }); - case 10: - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - return _context3.abrupt("break", 17); - case 12: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context3.abrupt("break", 17); - case 15: - dispatch({ - type: "classroomList/setActionTabs", - payload: { - key: "选用实践项目", - editData: { - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 5 - } - } - }); - return _context3.abrupt("break", 17); - case 17: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var showList = function showList() { - var _editData$schools, _editData$shixun3; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u5B9E\u8BAD\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.shixun_name - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - }), !!((_editData$schools = editData.schools) !== null && _editData$schools !== void 0 && _editData$schools.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u8BE5\u5B9E\u8BAD\u9898\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-zhidinggongkai1 font18 line24 c-orange" - }) - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.shixun_name - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt30" - }), (_editData$shixun3 = editData.shixun) === null || _editData$shixun3 === void 0 ? void 0 : _editData$shixun3.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: ["\u7B2C", index + 1, "\u5173 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "ml10", - children: item.challenge_name - }), " ", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "ml10", - children: [item.challenge_score, " \u5206"] - })] - }, index); - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: editormodules.action, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - target: "_blank", - to: "/shixuns/".concat(editData.shixun_identifier, "/challenges?exercise=true"), - children: "\u5B9E\u8BAD\u8BE6\u60C5" - }), !editData.hideAction && actionArr.map(function (item, index) { - if (item.id === "up" && editData.key === 1) return null; - if (item.id === "down" && editData.key === editData.len) return null; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - })] - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}; -// export default connect( -// ({ -// problemset, -// loading, -// globalSetting, -// }: { -// problemset: ProblemsetModelState; -// loading: Loading; -// globalSetting: GlobalSettingModelState; -// }) => ({ -// problemset, -// globalSetting, -// loading: loading.effects, -// }), -// )(ShixunEditor); -/* harmony default export */ var components_ShixunEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var problemset = _ref4.problemset, - loading = _ref4.loading, - globalSetting = _ref4.globalSetting, - exercise = _ref4.exercise; - return { - problemset: problemset, - globalSetting: globalSetting, - exercise: exercise, - loading: loading.effects - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(ShixunEditor))); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/SingleEditor/index.tsx - - - - - - - - - - - - - - - - - - - - - - - - -var SingleEditor_excluded = ["problemset", "exercise", "globalSetting", "loading", "dispatch", "onRef", "editData", "cancelAdd", "editKey", "setEditKey", "setIsClaer", "reload", "addCallback"]; - - - - - - - - - - - -var SingleEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; -var SingleEditor = function SingleEditor(_ref, ref) { - var problemset = _ref.problemset, - exercise = _ref.exercise, - globalSetting = _ref.globalSetting, - loading = _ref.loading, - dispatch = _ref.dispatch, - _ref$onRef = _ref.onRef, - onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, - editData = _ref.editData, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$setIsClaer = _ref.setIsClaer, - setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function (data) {} : _ref$addCallback, - props = objectWithoutProperties_default()(_ref, SingleEditor_excluded); - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - questionChoiceList = _useState2[0], - setQuestionChoiceList = _useState2[1]; - var _useState3 = (0,react.useState)(), - _useState4 = slicedToArray_default()(_useState3, 2), - activeEditor = _useState4[0], - setActiveEditor = _useState4[1]; - var _useState5 = (0,react.useState)([]), - _useState6 = slicedToArray_default()(_useState5, 2), - activeAnswer = _useState6[0], - setActiveAnswer = _useState6[1]; - var _useState7 = (0,react.useState)(''), - _useState8 = slicedToArray_default()(_useState7, 2), - title = _useState8[0], - setTitle = _useState8[1]; - var _useState9 = (0,react.useState)(), - _useState10 = slicedToArray_default()(_useState9, 2), - score = _useState10[0], - setScore = _useState10[1]; - var _useState11 = (0,react.useState)([]), - _useState12 = slicedToArray_default()(_useState11, 2), - knowledge = _useState12[0], - setKnowledge = _useState12[1]; - var _useState13 = (0,react.useState)(false), - _useState14 = slicedToArray_default()(_useState13, 2), - isEdit = _useState14[0], - setIsEdit = _useState14[1]; - var _useState15 = (0,react.useState)(1), - _useState16 = slicedToArray_default()(_useState15, 2), - difficulty = _useState16[0], - setdifficult = _useState16[1]; - var _useState17 = (0,react.useState)(false), - _useState18 = slicedToArray_default()(_useState17, 2), - repeat_answer = _useState18[0], - setrepeat_answer = _useState18[1]; - var _useState19 = (0,react.useState)(''), - _useState20 = slicedToArray_default()(_useState19, 2), - analysis = _useState20[0], - setAnalysis = _useState20[1]; - var params = (0,_umi_production_exports.useParams)(); - var dom = (0,react.useRef)(null); - var freeze = (0,react.useRef)(false); - var _useState21 = (0,react.useState)([]), - _useState22 = slicedToArray_default()(_useState21, 2), - knowledgeOptions = _useState22[0], - setKnowledgeOptions = _useState22[1]; - var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { - setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); - }; - (0,react.useEffect)(function () { - setQuestionChoiceList(['', '', '', '']); - }, []); - (0,react.useEffect)(function () { - if (freeze.current) return; - if (!(editData !== null && editData !== void 0 && editData.question_choices)) { - setIsEdit(true); - setTitle(''); - setScore(5); - setQuestionChoiceList(['', '', '', '']); - setActiveAnswer([]); - // dom.current?.scrollIntoView() - return; - } - setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); - setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); - setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); - setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); - setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); - setQuestionChoiceList(editData === null || editData === void 0 ? void 0 : editData.question_choices.map(function (item) { - return item.choice_text; - })); - var answerIndexs = []; - editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item, index) { - answerIndexs.push(item - 1); - }); - setKnowledge(editData.tag_discipline_ids); - setActiveAnswer(answerIndexs); - }, [editData, isEdit]); - (0,react.useEffect)(function () { - if (isEdit) { - init(); - } - function init() { - return _init.apply(this, arguments); - } - function _init() { - _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _exercise$editData, _exercise$editData$ex; - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,service_exercise/* getTagDiscipline */.YY)({ - sub_discipline_id: (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.sub_discipline_id - }); - case 2: - res = _context.sent; - setKnowledgeOptions(res.tag_disciplines); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _init.apply(this, arguments); - } - }, [isEdit]); - (0,react.useEffect)(function () { - var _exercise$tagDiscipli; - var data = exercise !== null && exercise !== void 0 && (_exercise$tagDiscipli = exercise.tagDisciplineData) !== null && _exercise$tagDiscipli !== void 0 && _exercise$tagDiscipli.tag_disciplines && Array.isArray(exercise.tagDisciplineData.tag_disciplines) ? exercise.tagDisciplineData.tag_disciplines : []; - setKnowledgeOptions(data); - }, [exercise.tagDisciplineData]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { - var findNotAnswerIndex, choices, res, _exercise$editData4, _exercise$editData4$e, _exercise$editData5, _exercise$editData5$e; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (title) { - _context4.next = 3; - break; - } - message/* default.info */.ZP.info("请您输入题目"); - return _context4.abrupt("return", false); - case 3: - findNotAnswerIndex = questionChoiceList.findIndex(function (item) { - return !item; - }); - if (!(findNotAnswerIndex > -1)) { - _context4.next = 7; - break; - } - message/* default.info */.ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(SingleEditor_tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9")); - return _context4.abrupt("return", false); - case 7: - if (activeAnswer.length) { - _context4.next = 10; - break; - } - message/* default.info */.ZP.info("请设置本题的正确答案,点击选项A/B...即可完成设置"); - return _context4.abrupt("return", false); - case 10: - if (!(activeAnswer.length < 1)) { - _context4.next = 13; - break; - } - message/* default.info */.ZP.info("请选择答案"); - return _context4.abrupt("return", false); - case 13: - // if (knowledge.length < 1) { - // message.info("请选择知识点"); - // return false; - // } - choices = questionChoiceList.map(function (item, index) { - return { - choice_text: item, - is_answer: activeAnswer.includes(index) ? index + 1 : 0 - }; - }); - freeze.current = true; - if (!editData.question_id) { - _context4.next = 26; - break; - } - if (!((editData === null || editData === void 0 ? void 0 : editData.is_my) === 1)) { - _context4.next = 20; - break; - } - modal/* default.confirm */.Z.confirm({ - title: '提示', - content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', - okText: '覆盖原题', - cancelText: '不覆盖', - keyboard: false, - onOk: function () { - var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var _exercise$editData2, _exercise$editData2$e; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 1, - "question_score": score, - "question_choices": choices.map(function (item) { - return item.choice_text; - }), - "standard_answers": choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }), - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.sub_discipline_id, - "difficulty": difficulty, - "is_cover": 1, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 2: - res = _context2.sent; - repeal(res); - case 4: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - function onOk() { - return _onOk.apply(this, arguments); - } - return onOk; - }(), - onCancel: function () { - var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var _exercise$editData3, _exercise$editData3$e; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 1, - "question_score": score, - "question_choices": choices.map(function (item) { - return item.choice_text; - }), - "standard_answers": choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }), - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 2: - res = _context3.sent; - repeal(res); - case 4: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - function onCancel() { - return _onCancel.apply(this, arguments); - } - return onCancel; - }() - }); - _context4.next = 24; - break; - case 20: - _context4.next = 22; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 1, - "question_score": score, - "question_choices": choices.map(function (item) { - return item.choice_text; - }), - "standard_answers": choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }), - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 22: - res = _context4.sent; - repeal(res); - case 24: - _context4.next = 30; - break; - case 26: - _context4.next = 28; - return dispatch({ - type: "exercise/addExerciseQuestion", - payload: { - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - "categoryId": params.categoryId, - "question_title": title, - "question_type": 1, - "question_score": score, - "question_choices": choices.map(function (item) { - return item.choice_text; - }), - "standard_answers": choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }), - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 28: - res = _context4.sent; - repeal(res); - case 30: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var actionArr = [{ - name: "删除", - icon: "iconfont c-light-black ml30 icon-shanchu current", - id: "del" - }, - // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, - // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, - { - name: "(向下插入单选题)", - icon: "iconfont c-light-primary ml30 icon-tianjia current", - id: "add" - }, { - name: "编辑", - icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", - id: "edit" - }].filter(function (item) { - var _exercise$editData6, _exercise$editData6$e; - if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.exercise_status) === 1) { - return item; - } else { - return item.id !== 'del' && item.id !== 'add'; - } - }); - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) { - return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { - case 0: - if (!(editKey !== -1)) { - _context6.next = 3; - break; - } - message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); - return _context6.abrupt("return"); - case 3: - _context6.t0 = item.id; - _context6.next = _context6.t0 === "del" ? 6 : _context6.t0 === "up" ? 8 : _context6.t0 === "down" ? 8 : _context6.t0 === "edit" ? 12 : _context6.t0 === "add" ? 15 : 17; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { - return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { - case 0: - _context5.next = 2; - return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ - id: editData.question_id - }); - case 2: - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - case 3: - case "end": - return _context5.stop(); - } - }, _callee5); - }))(); - } - }); - return _context6.abrupt("break", 17); - case 8: - _context6.next = 10; - return dispatch({ - type: "exercise/exeriseMoveUpDown", - payload: { - id: editData.question_id, - opr: item.id - } - }); - case 10: - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - return _context6.abrupt("break", 17); - case 12: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context6.abrupt("break", 17); - case 15: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 0 - }); - return _context6.abrupt("break", 17); - case 17: - case "end": - return _context6.stop(); - } - }, _callee6); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var showList = function showList() { - var _editData$question_ch; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - ref: dom, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u5355\u9009\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - alignItems: "flex-start" - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionChoices, - children: editData === null || editData === void 0 ? void 0 : (_editData$question_ch = editData.question_choices) === null || _editData$question_ch === void 0 ? void 0 : _editData$question_ch.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { - checked: editData.standard_answer.includes(index + 1), - disabled: true, - children: [SingleEditor_tagList[index], "."] - }, index) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-black font14", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: item.choice_text - }) - }) - })] - }, index); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.action, - children: !editData.hideAction && actionArr.map(function (item, index) { - if (item.id === "up" && editData.key === 1) return null; - if (item.id === "down" && editData.key === editData.len) return null; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - }) - })] - }); - }; - var showEdit = function showEdit() { - var _exercise$editData8, _exercise$editData8$e; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u9009\u62E9\u9898" - }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.title, - children: "\u9898\u5E72\uFF1A" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", - defaultValue: title, - onChange: function onChange(value) { - return setTitle(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: editormodules.title, - children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.colorGray, - children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" - })] - })] - }), questionChoiceList.map(function (item, index) { - var _exercise$editData7, _exercise$editData7$e; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: editormodules.choiceWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", - placement: "left", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(editormodules.answer, " ").concat(activeAnswer.includes(index) ? editormodules.activeAnswer : ''), - onClick: function onClick() { - if (activeAnswer.includes(index)) { - setActiveAnswer(activeAnswer.filter(function (item) { - return item !== index; - })); - } else { - setActiveAnswer([].concat(toConsumableArray_default()(activeAnswer), [index])); - } - }, - children: SingleEditor_tagList[index] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.editorWrap, - children: activeEditor === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-option-".concat(index), - watch: true, - isFocus: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", - defaultValue: item, - onChange: function onChange(value) { - questionChoiceList[index] = value; - setQuestionChoiceList(questionChoiceList); - } - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.htmlWrap, - onClick: function onClick() { - return setActiveEditor(index); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: item - }) - }) - }), ((_exercise$editData7 = exercise.editData) === null || _exercise$editData7 === void 0 ? void 0 : (_exercise$editData7$e = _exercise$editData7.exercise) === null || _exercise$editData7$e === void 0 ? void 0 : _exercise$editData7$e.exercise_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u5220\u9664", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "".concat(editormodules.deleteIcon, " iconfont icon-htmal5icon19"), - onClick: function onClick() { - return setQuestionChoiceList(questionChoiceList.filter(function (_, key) { - return key !== index; - })); - } - }) - }), index < 7 && index === questionChoiceList.length - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "".concat(editormodules.addIcon, " iconfont icon-roundaddfill ml6"), - onClick: function onClick() { - return setQuestionChoiceList([].concat(toConsumableArray_default()(questionChoiceList), [''])); - } - }) - })] - })] - }, index); - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "c-orange", - children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: editormodules.titleWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.title, - children: "\u9898\u76EE\u89E3\u6790\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", - defaultValue: analysis, - onChange: function onChange(value) { - return setAnalysis(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginBottom: 14 - }, - children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - value: score, - max: 10000, - min: 0, - onChange: function onChange(value) { - setScore(value); - } - }), " \u5206", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - marginLeft: '30px' - }, - className: editormodules.difficult, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { - style: { - color: 'red' - }, - children: "*" - }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: difficulty, - onChange: function onChange(e) { - setdifficult(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "".concat(editormodules.title), - children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.colorGray, - children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, - value: knowledge, - onChange: setKnowledge, - subId: (_exercise$editData8 = exercise.editData) === null || _exercise$editData8 === void 0 ? void 0 : (_exercise$editData8$e = _exercise$editData8.exercise) === null || _exercise$editData8$e === void 0 ? void 0 : _exercise$editData8$e.sub_discipline_id, - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: 10 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 10 - }, - children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { - checked: repeat_answer, - onChange: function onChange(e) { - setrepeat_answer(e); - } - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}; -/* harmony default export */ var components_SingleEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var problemset = _ref4.problemset, - loading = _ref4.loading, - globalSetting = _ref4.globalSetting, - exercise = _ref4.exercise; - return { - problemset: problemset, - globalSetting: globalSetting, - exercise: exercise, - loading: loading.effects - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(SingleEditor))); -// 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); -;// CONCATENATED MODULE: ./src/components/EditorKeyword/index.tsx - - - - - - - - - - - - - - - -var EditorKeyword = function EditorKeyword(_ref) { - var _value$2, _value$5; - var _ref$value = _ref.value, - value = _ref$value === void 0 ? [[], []] : _ref$value, - onChange = _ref.onChange; - var _useState = (0,react.useState)(''), - _useState2 = slicedToArray_default()(_useState, 2), - valueOne = _useState2[0], - setValueOne = _useState2[1]; - var _useState3 = (0,react.useState)(''), - _useState4 = slicedToArray_default()(_useState3, 2), - valueTwo = _useState4[0], - setValueTwo = _useState4[1]; - var test = function test(str) { - if (!str) { - return false; - } - // let containSpecial = RegExp(/[(\ )(\~)(\!)(\@)(\#)(\$)(\%)(\^)(\&)(\*)(\()(\))(\-)(\_)(\+)(\=)(\[)(\])(\{)(\})(\\)(\;)(\:)(\')(\")(\,)(\.)(\/)(\<)(\>)(\?)(\)]+/); - var containSpecial = new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~!@#¥……&*()—【】‘;:”“。,、?「」『』_\\+\\-·%《》]|[\\\\/]"); - if (containSpecial.test(str)) { - message/* default.warn */.ZP.warn("关键词不能含有特殊字符!"); - return false; - } - if (str === '|') { - message/* default.warn */.ZP.warn("关键词不能只输入一个“|”字符!"); - return false; - } - return true; - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "font14", - children: ["\u5173\u952E\u8BCD", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-grey-999", - children: "\uFF08\u5173\u952E\u8BCD\u53EF\u7528\u4E8E\u81EA\u52A8\u5224\u5206\uFF09" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - overlayStyle: { - maxWidth: 350 - }, - title: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: "\u6BCF\u4E2A\u6838\u5FC3\u5173\u952E\u8BCD\u7684\u5206\u6570\u662F\u666E\u901A\u5173\u952E\u8BCD\u5206\u6570\u7684\u4E24\u500D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: "\u4F8B\u5982\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: "\u672C\u989810\u5206\uFF0C\u666E\u901A\u5173\u952E\u8BCD1\u4E2A\uFF0C\u6838\u5FC3\u5173\u952E\u8BCD2\u4E2A\uFF0C\u5219\u6BCF\u4E2A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: "\u666E\u901A\u5173\u952E\u8BCD2\u5206\uFF0C\u6BCF\u4E2A\u6838\u5FC3\u5173\u952E\u8BCD4\u5206" - })] - }), - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "iconfont icon-a-wenhaobeifen2 font14" - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - align: "middle", - className: "font14", - children: ["\u666E\u901A\u5173\u952E\u8BCD\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - value: valueOne, - onChange: function onChange(e) { - setValueOne(e.target.value); - }, - maxLength: 50, - allowClear: true, - onPressEnter: function onPressEnter(e) { - var _e$target; - var v = (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value; - if (test(v)) { - var _value$, _v$split; - (_value$ = value[0]) === null || _value$ === void 0 ? void 0 : _value$.push(v === null || v === void 0 ? void 0 : (_v$split = v.split('|')) === null || _v$split === void 0 ? void 0 : _v$split.filter(function (k) { - return !!k; - })); - onChange(toConsumableArray_default()(value)); - setValueOne(''); - } - }, - style: { - width: 800 - }, - className: "ml5 mr10", - placeholder: "\u652F\u6301\u4FDD\u5B58\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u7528\u201D|\u201D\u5206\u5272\u3002" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-grey-999", - children: "\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - paddingLeft: 89 - }, - className: "mt10", - children: value === null || value === void 0 ? void 0 : (_value$2 = value[0]) === null || _value$2 === void 0 ? void 0 : _value$2.map(function (tag, k) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_tag/* default */.Z, { - className: "mb10", - closable: true, - onClose: function onClose(e) { - var _value$3; - e.preventDefault(); - value[0] = (_value$3 = value[0]) === null || _value$3 === void 0 ? void 0 : _value$3.filter(function (e, i) { - return i !== k; - }); - onChange(toConsumableArray_default()(value)); - }, - children: tag === null || tag === void 0 ? void 0 : tag.join(' 或 ') - }, k); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - align: "middle", - className: "font14", - children: ["\u6838\u5FC3\u5173\u952E\u8BCD\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - value: valueTwo, - onChange: function onChange(e) { - setValueTwo(e.target.value); - }, - maxLength: 50, - allowClear: true, - onPressEnter: function onPressEnter(e) { - var _e$target2; - var v = (_e$target2 = e.target) === null || _e$target2 === void 0 ? void 0 : _e$target2.value; - if (test(v)) { - var _value$4, _v$split2; - (_value$4 = value[1]) === null || _value$4 === void 0 ? void 0 : _value$4.push(v === null || v === void 0 ? void 0 : (_v$split2 = v.split('|')) === null || _v$split2 === void 0 ? void 0 : _v$split2.filter(function (k) { - return !!k; - })); - onChange(toConsumableArray_default()(value)); - setValueTwo(''); - } - }, - style: { - width: 800 - }, - className: "ml5 mr10", - placeholder: "\u652F\u6301\u4FDD\u5B58\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u7528\u201D|\u201D\u5206\u5272\u3002" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-grey-999", - children: "\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - paddingLeft: 89 - }, - className: "mt10", - children: value === null || value === void 0 ? void 0 : (_value$5 = value[1]) === null || _value$5 === void 0 ? void 0 : _value$5.map(function (tag, k) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_tag/* default */.Z, { - className: "mb10", - closable: true, - onClose: function onClose(e) { - var _value$6; - e.preventDefault(); - value[1] = (_value$6 = value[1]) === null || _value$6 === void 0 ? void 0 : _value$6.filter(function (e, i) { - return i !== k; - }); - onChange(toConsumableArray_default()(value)); - }, - children: tag === null || tag === void 0 ? void 0 : tag.join(' 或 ') - }, k); - }) - })] - }); -}; -/* harmony default export */ var components_EditorKeyword = (EditorKeyword); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/SubjectiveEditor/index.tsx - - - - - - - - - - - - - - - - - - - - -var SubjectiveEditor_excluded = ["problemset", "exercise", "globalSetting", "loading", "dispatch", "onRef", "editData", "cancelAdd", "editKey", "setEditKey", "reload", "addCallback", "setIsClaer"]; - - - - - - - - - - - -var SubjectiveEditor_tagList = (/* unused pure expression or super */ null && (['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])); -var SubjectiveEditor = function SubjectiveEditor(_ref, ref) { - var problemset = _ref.problemset, - exercise = _ref.exercise, - globalSetting = _ref.globalSetting, - loading = _ref.loading, - dispatch = _ref.dispatch, - _ref$onRef = _ref.onRef, - onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, - editData = _ref.editData, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback, - _ref$setIsClaer = _ref.setIsClaer, - setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, - props = objectWithoutProperties_default()(_ref, SubjectiveEditor_excluded); - var _useState = (0,react.useState)(''), - _useState2 = slicedToArray_default()(_useState, 2), - title = _useState2[0], - setTitle = _useState2[1]; - var _useState3 = (0,react.useState)(''), - _useState4 = slicedToArray_default()(_useState3, 2), - analysis = _useState4[0], - setAnalysis = _useState4[1]; - var _useState5 = (0,react.useState)(''), - _useState6 = slicedToArray_default()(_useState5, 2), - answer = _useState6[0], - setAnswer = _useState6[1]; - var _useState7 = (0,react.useState)(), - _useState8 = slicedToArray_default()(_useState7, 2), - score = _useState8[0], - setScore = _useState8[1]; - var _useState9 = (0,react.useState)(false), - _useState10 = slicedToArray_default()(_useState9, 2), - isEdit = _useState10[0], - setIsEdit = _useState10[1]; - var _useState11 = (0,react.useState)([]), - _useState12 = slicedToArray_default()(_useState11, 2), - knowledge = _useState12[0], - setKnowledge = _useState12[1]; - var _useState13 = (0,react.useState)(1), - _useState14 = slicedToArray_default()(_useState13, 2), - difficulty = _useState14[0], - setdifficult = _useState14[1]; - var _useState15 = (0,react.useState)(false), - _useState16 = slicedToArray_default()(_useState15, 2), - repeat_answer = _useState16[0], - setrepeat_answer = _useState16[1]; - var _useState17 = (0,react.useState)([[], []]), - _useState18 = slicedToArray_default()(_useState17, 2), - keyword = _useState18[0], - setKeyword = _useState18[1]; - var freeze = (0,react.useRef)(false); - var params = (0,_umi_production_exports.useParams)(); - var _useState19 = (0,react.useState)([]), - _useState20 = slicedToArray_default()(_useState19, 2), - knowledgeOptions = _useState20[0], - setKnowledgeOptions = _useState20[1]; - var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { - setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); - }; - (0,react.useEffect)(function () { - var _editData$standard_an; - if (freeze.current) return; - if (!(editData !== null && editData !== void 0 && editData.question_title)) { - setIsEdit(true); - setTitle(''); - setAnswer(''); - setScore(10); - return; - } - setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); - setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); - setAnswer(editData === null || editData === void 0 ? void 0 : (_editData$standard_an = editData.standard_answer) === null || _editData$standard_an === void 0 ? void 0 : _editData$standard_an[0]); - setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); - setKnowledge(editData.tag_discipline_ids); - setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); - setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); - setKeyword([editData === null || editData === void 0 ? void 0 : editData.normal_keywords, editData === null || editData === void 0 ? void 0 : editData.main_keywords]); - }, [problemset.editData, isEdit]); - (0,react.useEffect)(function () { - var _exercise$tagDiscipli; - var data = exercise !== null && exercise !== void 0 && (_exercise$tagDiscipli = exercise.tagDisciplineData) !== null && _exercise$tagDiscipli !== void 0 && _exercise$tagDiscipli.tag_disciplines && Array.isArray(exercise.tagDisciplineData.tag_disciplines) ? exercise.tagDisciplineData.tag_disciplines : []; - setKnowledgeOptions(data); - }, [exercise.tagDisciplineData]); - (0,react.useEffect)(function () { - if (isEdit) { - init(); - } - function init() { - return _init.apply(this, arguments); - } - function _init() { - _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _exercise$editData, _exercise$editData$ex; - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,service_exercise/* getTagDiscipline */.YY)({ - sub_discipline_id: (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.sub_discipline_id - }); - case 2: - res = _context.sent; - setKnowledgeOptions(res.tag_disciplines); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _init.apply(this, arguments); - } - }, [isEdit]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { - var normal_keywords, main_keywords, res, _exercise$editData4, _exercise$editData4$e, _exercise$editData5, _exercise$editData5$e; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (title) { - _context4.next = 3; - break; - } - message/* default.info */.ZP.info("请您输入题干"); - return _context4.abrupt("return", false); - case 3: - // if (knowledge.length < 1) { - // message.info("请选择知识点"); - // return false; - // } - normal_keywords = keyword[0]; - main_keywords = keyword[1]; - freeze.current = true; - if (!editData.question_id) { - _context4.next = 17; - break; - } - if (!((editData === null || editData === void 0 ? void 0 : editData.is_my) === 1)) { - _context4.next = 11; - break; - } - modal/* default.confirm */.Z.confirm({ - title: '提示', - content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', - okText: '覆盖原题', - cancelText: '不覆盖', - keyboard: false, - onOk: function () { - var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var _exercise$editData2, _exercise$editData2$e; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 4, - "question_score": score, - "standard_answers": [answer], - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.sub_discipline_id, - "difficulty": difficulty, - 'is_cover': 1, - "repeat_answer": !repeat_answer, - analysis: analysis, - normal_keywords: normal_keywords, - main_keywords: main_keywords - } - }); - case 2: - res = _context2.sent; - repeal(res); - case 4: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - function onOk() { - return _onOk.apply(this, arguments); - } - return onOk; - }(), - onCancel: function () { - var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var _exercise$editData3, _exercise$editData3$e; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 4, - "question_score": score, - "standard_answers": [answer], - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis, - normal_keywords: normal_keywords, - main_keywords: main_keywords - } - }); - case 2: - res = _context3.sent; - repeal(res); - case 4: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - function onCancel() { - return _onCancel.apply(this, arguments); - } - return onCancel; - }() - }); - _context4.next = 15; - break; - case 11: - _context4.next = 13; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 4, - "question_score": score, - "standard_answers": [answer], - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis, - normal_keywords: normal_keywords, - main_keywords: main_keywords - } - }); - case 13: - res = _context4.sent; - repeal(res); - case 15: - _context4.next = 21; - break; - case 17: - _context4.next = 19; - return dispatch({ - type: "exercise/addExerciseQuestion", - payload: { - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - "categoryId": params.categoryId, - "exercise_bank_id": params.categoryId, - "question_title": title, - "question_type": 4, - "question_score": score, - "standard_answers": [answer], - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis, - normal_keywords: normal_keywords, - main_keywords: main_keywords - } - }); - case 19: - res = _context4.sent; - repeal(res); - case 21: - return _context4.abrupt("return", { - name: title, - answer_texts: [answer], - analysis: analysis, - normal_keywords: normal_keywords, - main_keywords: main_keywords - }); - case 22: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var showEdit = function showEdit() { - var _exercise$editData6, _exercise$editData6$e; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u4E3B\u89C2\u9898" - }), "\uFF08\u4E3B\u89C2\u9898\uFF0C\u672A\u4F5C\u7B54\u7684\u60C5\u51B5\u4E0B\u81EA\u52A8\u8BC4\u4E3A\u96F6\u5206\uFF09"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", - defaultValue: title, - onChange: function onChange(value) { - return setTitle(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: editormodules.titleWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.title, - children: "\u53C2\u8003\u7B54\u6848\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-reference-answer", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848", - defaultValue: answer, - onChange: function onChange(value) { - return setAnswer(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)(components_EditorKeyword, { - value: keyword, - onChange: setKeyword - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: editormodules.titleWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.title, - children: "\u9898\u76EE\u89E3\u6790\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", - defaultValue: analysis, - onChange: function onChange(value) { - return setAnalysis(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "", - children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - value: score, - max: 10000, - min: 0, - onChange: function onChange(value) { - setScore(value); - } - }), " \u5206", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - marginLeft: '30px' - }, - className: editormodules.difficult, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { - style: { - color: 'red' - }, - children: "*" - }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: difficulty, - onChange: function onChange(e) { - setdifficult(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "".concat(editormodules.title), - children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.colorGray, - children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - value: knowledge, - selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, - onChange: setKnowledge, - subId: (_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.sub_discipline_id, - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: 10 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 10 - }, - children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { - checked: repeat_answer, - onChange: function onChange(e) { - setrepeat_answer(e); - } - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - var actionArr = [{ - name: "删除", - icon: "iconfont c-light-black ml30 icon-shanchu current", - id: "del" - }, - // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, - // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, - { - name: "(向下插入单选题)", - icon: "iconfont c-light-primary ml30 icon-tianjia current", - id: "add" - }, { - name: "编辑", - icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", - id: "edit" - }].filter(function (item) { - var _exercise$editData7, _exercise$editData7$e; - if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData7 = exercise.editData) === null || _exercise$editData7 === void 0 ? void 0 : (_exercise$editData7$e = _exercise$editData7.exercise) === null || _exercise$editData7$e === void 0 ? void 0 : _exercise$editData7$e.exercise_status) === 1) { - return item; - } else { - return item.id !== 'del' && item.id !== 'add'; - } - }); - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) { - return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { - case 0: - if (!(editKey !== -1)) { - _context6.next = 3; - break; - } - message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); - return _context6.abrupt("return"); - case 3: - _context6.t0 = item.id; - _context6.next = _context6.t0 === "del" ? 6 : _context6.t0 === "up" ? 8 : _context6.t0 === "down" ? 8 : _context6.t0 === "edit" ? 12 : _context6.t0 === "add" ? 15 : 17; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { - return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { - case 0: - _context5.next = 2; - return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ - id: editData.question_id - }); - case 2: - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - case 3: - case "end": - return _context5.stop(); - } - }, _callee5); - }))(); - } - }); - return _context6.abrupt("break", 17); - case 8: - _context6.next = 10; - return dispatch({ - type: "exercise/exeriseMoveUpDown", - payload: { - id: editData.question_id, - opr: item.id - } - }); - case 10: - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - return _context6.abrupt("break", 17); - case 12: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context6.abrupt("break", 17); - case 15: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 4 - }); - return _context6.abrupt("break", 17); - case 17: - case "end": - return _context6.stop(); - } - }, _callee6); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var showList = function showList() { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u7B80\u7B54\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: editormodules.questionChoices, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - children: "\u53C2\u8003\u7B54\u6848\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: answer || '' - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.action, - children: !editData.hideAction && actionArr.map(function (item, index) { - if (item.id === "up" && editData.key === 1) return null; - if (item.id === "down" && editData.key === editData.len) return null; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - }) - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}; -/* harmony default export */ var components_SubjectiveEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var problemset = _ref4.problemset, - loading = _ref4.loading, - exercise = _ref4.exercise, - globalSetting = _ref4.globalSetting; - return { - problemset: problemset, - globalSetting: globalSetting, - exercise: exercise, - loading: loading.effects - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(SubjectiveEditor))); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/ProgrammingEditor/index.tsx - - - - - - - - - - - -var ProgrammingEditor_excluded = ["problemset", "exercise", "globalSetting", "loading", "dispatch", "onRef", "editData", "cancelAdd", "editKey", "setEditKey", "addCallback", "setIsClaer"]; - - - - - - - - -var ProgrammingEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; -var ProgrammingEditor_SingleEditor = function SingleEditor(_ref, ref) { - var problemset = _ref.problemset, - exercise = _ref.exercise, - globalSetting = _ref.globalSetting, - loading = _ref.loading, - dispatch = _ref.dispatch, - _ref$onRef = _ref.onRef, - onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, - editData = _ref.editData, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback, - _ref$setIsClaer = _ref.setIsClaer, - setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, - props = objectWithoutProperties_default()(_ref, ProgrammingEditor_excluded); - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - questionChoiceList = _useState2[0], - setQuestionChoiceList = _useState2[1]; - var _useState3 = (0,react.useState)(), - _useState4 = slicedToArray_default()(_useState3, 2), - activeEditor = _useState4[0], - setActiveEditor = _useState4[1]; - var _useState5 = (0,react.useState)([]), - _useState6 = slicedToArray_default()(_useState5, 2), - activeAnswer = _useState6[0], - setActiveAnswer = _useState6[1]; - var _useState7 = (0,react.useState)(''), - _useState8 = slicedToArray_default()(_useState7, 2), - title = _useState8[0], - setTitle = _useState8[1]; - var _useState9 = (0,react.useState)(5), - _useState10 = slicedToArray_default()(_useState9, 2), - score = _useState10[0], - setScore = _useState10[1]; - var _useState11 = (0,react.useState)(false), - _useState12 = slicedToArray_default()(_useState11, 2), - isEdit = _useState12[0], - setIsEdit = _useState12[1]; - var params = (0,_umi_production_exports.useParams)(); - (0,react.useEffect)(function () { - setQuestionChoiceList(['', '', '', '']); - }, []); - (0,react.useEffect)(function () { - if (!(editData !== null && editData !== void 0 && editData.question_choices)) { - setIsEdit(true); - setTitle(''); - setScore(5); - setQuestionChoiceList(['', '', '', '']); - setActiveAnswer([]); - return; - } - setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); - setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); - setQuestionChoiceList(editData === null || editData === void 0 ? void 0 : editData.question_choices.map(function (item) { - return item.choice_text; - })); - var answerIndexs = []; - editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item, index) { - answerIndexs.push(item - 1); - }); - setActiveAnswer(answerIndexs); - }, [editData]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var findNotAnswerIndex, choices, res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - if (title) { - _context.next = 3; - break; - } - message/* default.info */.ZP.info("请您输入题目"); - return _context.abrupt("return", false); - case 3: - findNotAnswerIndex = questionChoiceList.findIndex(function (item) { - return !item; - }); - if (!(findNotAnswerIndex > -1)) { - _context.next = 7; - break; - } - message/* default.info */.ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(ProgrammingEditor_tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9")); - return _context.abrupt("return", false); - case 7: - if (activeAnswer.length) { - _context.next = 10; - break; - } - message/* default.info */.ZP.info("请设置本题的正确答案,点击选项A/B...即可完成设置"); - return _context.abrupt("return", false); - case 10: - if (!(activeAnswer.length < 1)) { - _context.next = 13; - break; - } - message/* default.info */.ZP.info("请选择答案"); - return _context.abrupt("return", false); - case 13: - choices = questionChoiceList.map(function (item, index) { - return { - choice_text: item, - is_answer: activeAnswer.includes(index) ? index + 1 : 0 - }; - }); - if (!editData.question_id) { - _context.next = 20; - break; - } - _context.next = 17; - return dispatch({ - type: "exercise/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 1, - "question_score": score, - "question_choices": choices.map(function (item) { - return item.choice_text; - }), - "standard_answers": choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }) - } - }); - case 17: - res = _context.sent; - _context.next = 23; - break; - case 20: - _context.next = 22; - return dispatch({ - type: "exercise/addExerciseQuestion", - payload: { - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - "categoryId": params.categoryId, - "question_title": title, - "question_type": 1, - "question_score": "5.0", - "question_choices": choices.map(function (item) { - return item.choice_text; - }), - "standard_answers": choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }) - } - }); - case 22: - res = _context.sent; - case 23: - if (res.status === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - } - case 24: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var actionArr = [{ - name: "删除", - icon: "iconfont c-light-black ml30 icon-shanchu current", - id: "del" - }, - // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, - // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, - { - name: "(向下插入单选题)", - icon: "iconfont c-light-primary ml30 icon-tianjia current", - id: "add" - }, { - name: "编辑", - icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", - id: "edit" - }].filter(function (item) { - var _exercise$editData, _exercise$editData$ex; - if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.exercise_status) === 1) { - return item; - } else { - return item.id !== 'del' && item.id !== 'add'; - } - }); - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(item) { - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - if (!(editKey !== -1)) { - _context3.next = 3; - break; - } - message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); - return _context3.abrupt("return"); - case 3: - _context3.t0 = item.id; - _context3.next = _context3.t0 === "del" ? 6 : _context3.t0 === "up" ? 8 : _context3.t0 === "down" ? 8 : _context3.t0 === "edit" ? 12 : _context3.t0 === "add" ? 14 : 16; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ - id: editData.question_id - }); - case 2: - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - case 3: - case "end": - return _context2.stop(); - } - }, _callee2); - }))(); - } - }); - return _context3.abrupt("break", 16); - case 8: - _context3.next = 10; - return dispatch({ - type: "exercise/exeriseMoveUpDown", - payload: { - id: editData.question_id, - opr: item.id - } - }); - case 10: - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - return _context3.abrupt("break", 16); - case 12: - _umi_production_exports.history.push("/problems/".concat(editData === null || editData === void 0 ? void 0 : editData.hack_identifier, "/edit?type=exercises&express_id=").concat(params.categoryId, "&question_id=").concat(editData === null || editData === void 0 ? void 0 : editData.question_id, "&score=").concat(editData === null || editData === void 0 ? void 0 : editData.question_score, "&exercise=true&callback_url=").concat(location.pathname)); - return _context3.abrupt("break", 16); - case 14: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 6 - }); - return _context3.abrupt("break", 16); - case 16: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var handleClick = /*#__PURE__*/function () { - var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(e) { - var res; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - e.preventDefault(); - _context4.next = 3; - return (0,service_exercise/* startProgram */.nF)({ - id: editData === null || editData === void 0 ? void 0 : editData.hack_identifier - }); - case 3: - res = _context4.sent; - res.status === 0 && (0,util/* openNewWindow */.xg)("/myproblems/".concat(res === null || res === void 0 ? void 0 : res.identifier)); - case 5: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function handleClick(_x2) { - return _ref4.apply(this, arguments); - }; - }(); - var showList = function showList() { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u7F16\u7A0B\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionChoices, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.description || '' - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.action, - children: !editData.hideAction && actionArr.map(function (item, index) { - if (item.id === "up" && editData.key === 1) return null; - if (item.id === "down" && editData.key === editData.len) return null; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - }) - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsx)("section", { - className: editormodules.wrap, - children: showList() - }); -}; -/* harmony default export */ var ProgrammingEditor = ((0,_umi_production_exports.connect)(function (_ref5) { - var problemset = _ref5.problemset, - loading = _ref5.loading, - globalSetting = _ref5.globalSetting, - exercise = _ref5.exercise; - return { - problemset: problemset, - globalSetting: globalSetting, - exercise: exercise, - loading: loading.effects - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(ProgrammingEditor_SingleEditor))); -// EXTERNAL MODULE: ./node_modules/lodash/lodash.js -var lodash = __webpack_require__(96486); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/CombinationEditor/index.tsx - - - - - - - - - - - - - - - - - - - - - - -var CombinationEditor_excluded = ["problemset", "exercise", "globalSetting", "loading", "dispatch", "onRef", "editData", "cancelAdd", "editKey", "setEditKey", "setIsClaer", "addCallback", "reload"]; - - - - - - - - - - - -var CombinationEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; -var CombinationEditor = function CombinationEditor(_ref, ref) { - var problemset = _ref.problemset, - exercise = _ref.exercise, - globalSetting = _ref.globalSetting, - loading = _ref.loading, - dispatch = _ref.dispatch, - _ref$onRef = _ref.onRef, - onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, - editData = _ref.editData, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$setIsClaer = _ref.setIsClaer, - setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function (data) {} : _ref$addCallback, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload, - props = objectWithoutProperties_default()(_ref, CombinationEditor_excluded); - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - knowledge = _useState2[0], - setKnowledge = _useState2[1]; - var _useState3 = (0,react.useState)(false), - _useState4 = slicedToArray_default()(_useState3, 2), - isEdit = _useState4[0], - setIsEdit = _useState4[1]; - var _useState5 = (0,react.useState)(true), - _useState6 = slicedToArray_default()(_useState5, 2), - show = _useState6[0], - setShow = _useState6[1]; - var _useState7 = (0,react.useState)(1), - _useState8 = slicedToArray_default()(_useState7, 2), - difficulty = _useState8[0], - setdifficult = _useState8[1]; - var _useState9 = (0,react.useState)(false), - _useState10 = slicedToArray_default()(_useState9, 2), - repeat_answer = _useState10[0], - setrepeat_answer = _useState10[1]; - var _useState11 = (0,react.useState)([]), - _useState12 = slicedToArray_default()(_useState11, 2), - knowledgeOptions = _useState12[0], - setKnowledgeOptions = _useState12[1]; - var params = (0,_umi_production_exports.useParams)(); - var dom = (0,react.useRef)(null); - var _useState13 = (0,react.useState)(''), - _useState14 = slicedToArray_default()(_useState13, 2), - name = _useState14[0], - setName = _useState14[1]; - var _useState15 = (0,react.useState)([]), - _useState16 = slicedToArray_default()(_useState15, 2), - questionList = _useState16[0], - setQuestionList = _useState16[1]; - var freeze = (0,react.useRef)(false); - var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { - setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); - }; - (0,react.useEffect)(function () { - var _editData$sub_exercis; - if (freeze.current) return; - if (!(editData !== null && editData !== void 0 && editData.question_title)) { - setIsEdit(true); - setName(''); - return; - } - setName(editData === null || editData === void 0 ? void 0 : editData.question_title); - setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); - setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); - setKnowledge(editData.tag_discipline_ids); - var list = editData === null || editData === void 0 ? void 0 : (_editData$sub_exercis = editData.sub_exercise_questions) === null || _editData$sub_exercis === void 0 ? void 0 : _editData$sub_exercis.map(function (k) { - var _k$question_choices, _ref2, _k$question_choices2; - return objectSpread2_default()(objectSpread2_default()({}, k), {}, { - id: k.question_id, - name: k.question_title, - open: false, - score: k.question_score, - qusList: k === null || k === void 0 ? void 0 : (_k$question_choices = k.question_choices) === null || _k$question_choices === void 0 ? void 0 : _k$question_choices.map(function (e) { - return e.choice_text; - }), - activeQusEditor: null, - qusAnswer: (_ref2 = [k === null || k === void 0 ? void 0 : (_k$question_choices2 = k.question_choices) === null || _k$question_choices2 === void 0 ? void 0 : _k$question_choices2.findIndex(function (e) { - return e.standard_boolean; - })]) === null || _ref2 === void 0 ? void 0 : _ref2.filter(function (k) { - return k !== -1; - }) - }); - }); - setQuestionList(list); - }, [editData, isEdit]); - (0,react.useEffect)(function () { - if (isEdit) { - init(); - } - function init() { - return _init.apply(this, arguments); - } - function _init() { - _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _exercise$editData, _exercise$editData$ex; - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,service_exercise/* getTagDiscipline */.YY)({ - sub_discipline_id: (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.sub_discipline_id - }); - case 2: - res = _context.sent; - setKnowledgeOptions(res.tag_disciplines); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _init.apply(this, arguments); - } - }, [isEdit]); - (0,react.useEffect)(function () { - var _exercise$tagDiscipli; - var data = exercise !== null && exercise !== void 0 && (_exercise$tagDiscipli = exercise.tagDisciplineData) !== null && _exercise$tagDiscipli !== void 0 && _exercise$tagDiscipli.tag_disciplines && Array.isArray(exercise.tagDisciplineData.tag_disciplines) ? exercise.tagDisciplineData.tag_disciplines : []; - setKnowledgeOptions(data); - }, [exercise.tagDisciplineData]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { - var i, _param$qusList, param, findNotAnswerIndex, sub_questions, res, _exercise$editData4, _exercise$editData4$e; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (name) { - _context4.next = 3; - break; - } - message/* default.info */.ZP.info('请您输入题干'); - return _context4.abrupt("return", false); - case 3: - if (!(questionList.length === 0)) { - _context4.next = 6; - break; - } - message/* default.info */.ZP.info('请您添加小题'); - return _context4.abrupt("return", false); - case 6: - i = 0; - case 7: - if (!(i < questionList.length)) { - _context4.next = 25; - break; - } - param = questionList[i]; - if (param !== null && param !== void 0 && param.name) { - _context4.next = 12; - break; - } - message/* default.info */.ZP.info("\u8BF7\u60A8\u8F93\u5165\u7B2C".concat(i + 1, "\u5C0F\u9898\u9898\u5E72")); - return _context4.abrupt("return", false); - case 12: - if (param !== null && param !== void 0 && param.score) { - _context4.next = 15; - break; - } - message/* default.info */.ZP.info("\u7B2C".concat(i + 1, "\u5C0F\u9898\u5206\u6570\u4E0D\u80FD\u4E3A0\u6216\u7A7A")); - return _context4.abrupt("return", false); - case 15: - findNotAnswerIndex = param === null || param === void 0 ? void 0 : (_param$qusList = param.qusList) === null || _param$qusList === void 0 ? void 0 : _param$qusList.findIndex(function (item) { - return !item; - }); - if (!(findNotAnswerIndex > -1)) { - _context4.next = 19; - break; - } - message/* default.info */.ZP.info("\u8BF7\u5148\u8F93\u5165\u7B2C".concat(i + 1, "\u5C0F\u9898").concat(CombinationEditor_tagList[findNotAnswerIndex], "\u9009\u9879\u7684\u5185\u5BB9")); - return _context4.abrupt("return", false); - case 19: - if (param !== null && param !== void 0 && param.qusAnswer.length) { - _context4.next = 22; - break; - } - message/* default.info */.ZP.info("\u8BF7\u8BBE\u7F6E\u7B2C".concat(i + 1, "\u5C0F\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E")); - return _context4.abrupt("return", false); - case 22: - i++; - _context4.next = 7; - break; - case 25: - sub_questions = questionList.map(function (e) { - var _e$qusAnswer; - return { - id: e.id > 1 ? e.id : null, - question_title: e.name, - question_type: 1, - question_choices: e.qusList, - question_score: e.score, - standard_answers: [((_e$qusAnswer = e.qusAnswer) === null || _e$qusAnswer === void 0 ? void 0 : _e$qusAnswer[0]) + 1] - }; - }); - freeze.current = true; - if (!editData.question_id) { - _context4.next = 36; - break; - } - if (!((editData === null || editData === void 0 ? void 0 : editData.is_my) === 1)) { - _context4.next = 32; - break; - } - modal/* default.confirm */.Z.confirm({ - title: '提示', - content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', - okText: '覆盖原题', - cancelText: '不覆盖', - keyboard: false, - onOk: function () { - var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var _exercise$editData2, _exercise$editData2$e; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return dispatch({ - type: 'exercise/editExerciseQuestion', - payload: { - id: editData.question_id, - question_title: name, - question_type: 7, - sub_questions: sub_questions, - tag_discipline_ids: knowledge, - sub_discipline_id: (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.sub_discipline_id, - difficulty: difficulty, - is_cover: 1, - repeat_answer: !repeat_answer - } - }); - case 2: - res = _context2.sent; - repeal(res); - case 4: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - function onOk() { - return _onOk.apply(this, arguments); - } - return onOk; - }(), - onCancel: function () { - var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var _exercise$editData3, _exercise$editData3$e; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return dispatch({ - type: 'exercise/editExerciseQuestion', - payload: { - id: editData.question_id, - question_title: name, - question_type: 7, - sub_questions: sub_questions, - tag_discipline_ids: knowledge, - sub_discipline_id: (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.sub_discipline_id, - difficulty: difficulty, - repeat_answer: !repeat_answer - } - }); - case 2: - res = _context3.sent; - repeal(res); - case 4: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - function onCancel() { - return _onCancel.apply(this, arguments); - } - return onCancel; - }() - }); - _context4.next = 36; - break; - case 32: - _context4.next = 34; - return dispatch({ - type: 'exercise/editExerciseQuestion', - payload: { - id: editData.question_id, - question_title: name, - question_type: 7, - sub_questions: sub_questions, - tag_discipline_ids: knowledge, - sub_discipline_id: (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.sub_discipline_id, - difficulty: difficulty, - repeat_answer: !repeat_answer - } - }); - case 34: - res = _context4.sent; - repeal(res); - case 36: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function onSave() { - return _ref3.apply(this, arguments); - }; - }(); - var actionArr = [{ - name: '删除', - icon: 'iconfont c-light-black ml30 icon-shanchu current', - id: 'del' - }, - // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, - // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, - // { name: "(向下插入单选题)", icon: "iconfont c-light-primary ml30 icon-tianjia current", id: "add" }, - { - name: '编辑', - icon: 'iconfont c-light-primary ml30 icon-bianjishijuan3x current', - id: 'edit' - }].filter(function (item) { - var _exercise$editData5, _exercise$editData5$e; - if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.exercise_status) === 1) { - return item; - } else { - return item.id !== 'del' && item.id !== 'add'; - } - }); - var actionClick = /*#__PURE__*/function () { - var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) { - return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { - case 0: - if (!(editKey !== -1)) { - _context6.next = 3; - break; - } - message/* default.error */.ZP.error('请先保存或取消当前正在编辑的问题。'); - return _context6.abrupt("return"); - case 3: - _context6.t0 = item.id; - _context6.next = _context6.t0 === 'del' ? 6 : _context6.t0 === 'up' ? 8 : _context6.t0 === 'down' ? 8 : _context6.t0 === 'edit' ? 12 : _context6.t0 === 'add' ? 15 : 17; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { - return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { - case 0: - _context5.next = 2; - return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ - id: editData.question_id - }); - case 2: - dispatch({ - type: 'exercise/editExercise', - payload: objectSpread2_default()({}, params) - }); - case 3: - case "end": - return _context5.stop(); - } - }, _callee5); - }))(); - } - }); - return _context6.abrupt("break", 17); - case 8: - _context6.next = 10; - return dispatch({ - type: 'exercise/exeriseMoveUpDown', - payload: { - id: editData.question_id, - opr: item.id - } - }); - case 10: - dispatch({ - type: 'exercise/editExercise', - payload: objectSpread2_default()({}, params) - }); - return _context6.abrupt("break", 17); - case 12: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context6.abrupt("break", 17); - case 15: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 0 - }); - return _context6.abrupt("break", 17); - case 17: - case "end": - return _context6.stop(); - } - }, _callee6); - })); - return function actionClick(_x) { - return _ref4.apply(this, arguments); - }; - }(); - var showList = function showList() { - var _editData$sub_exercis2; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - ref: dom, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u7EC4\u5408\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - alignItems: 'flex-start' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08\u5171", editData === null || editData === void 0 ? void 0 : editData.sub_q_count, "\u5C0F\u9898\uFF0C", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - display: show ? 'block' : 'none' - }, - className: editormodules.questionChoices, - children: editData === null || editData === void 0 ? void 0 : (_editData$sub_exercis2 = editData.sub_exercise_questions) === null || _editData$sub_exercis2 === void 0 ? void 0 : _editData$sub_exercis2.map(function (e, i) { - var _e$question_choices; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - alignItems: 'flex-start' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, ".", i + 1, '(单选题)'] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: e.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", e.question_score, "\u5206\uFF09"] - })] - }), e === null || e === void 0 ? void 0 : (_e$question_choices = e.question_choices) === null || _e$question_choices === void 0 ? void 0 : _e$question_choices.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { - checked: e.standard_answer.includes(index + 1), - disabled: true, - children: [CombinationEditor_tagList[index], "."] - }, index) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-black font14", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: item.choice_text - }) - }) - })] - }, index); - })] - }, i); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: editormodules.action, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-light-primary current", - onClick: function onClick() { - return setShow(!show); - }, - style: {}, - children: show ? '收起' : '展开' - }), !editData.hideAction && actionArr.map(function (item, index) { - if (item.id === 'up' && editData.key === 1) return null; - if (item.id === 'down' && editData.key === editData.len) return null; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - })] - })] - }); - }; - var showEdit = function showEdit() { - var _exercise$editData6, _exercise$editData6$e; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.questionType, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u9009\u62E9\u9898" - }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: editormodules.wrap, - style: { - padding: 0 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.title, - children: "\u9898\u5E72\uFF1A" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "combination-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", - defaultValue: name, - onChange: function onChange(value) { - return setName(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - children: ["\u5C0F\u9898\u6570\uFF1A", questionList === null || questionList === void 0 ? void 0 : questionList.length] - }), questionList === null || questionList === void 0 ? void 0 : questionList.map(function (e, j) { - var _e$qusList; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: editormodules.fold, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - onClick: function onClick() { - return handleQuestionList('open', j); - }, - className: editormodules.head, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-sanjiaoxing", - style: { - transform: e.open ? 'initial' : 'rotate(270deg) translate(2px, 4px)' - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: ["\u7B2C", j + 1, "\u5C0F\u9898\uFF08\u5355\u9009\u9898\uFF09"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("b", { - onClick: function onClick(e) { - e.stopPropagation(); - handleQuestionList('delete', j); - }, - className: "iconfont icon-shanchu8" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "mb10", - style: { - display: e.open ? 'block' : 'none' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", - defaultValue: e === null || e === void 0 ? void 0 : e.name, - onChange: function onChange(value) { - return handleQuestionList('value', j, value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: editormodules.title, - children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.colorGray, - children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" - })] - })] - }), e === null || e === void 0 ? void 0 : (_e$qusList = e.qusList) === null || _e$qusList === void 0 ? void 0 : _e$qusList.map(function (item, index) { - var _e$qusAnswer2, _e$qusList2; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: editormodules.choiceWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", - placement: "left", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(editormodules.answer, " ").concat(e !== null && e !== void 0 && (_e$qusAnswer2 = e.qusAnswer) !== null && _e$qusAnswer2 !== void 0 && _e$qusAnswer2.includes(index) ? editormodules.activeAnswer : ''), - onClick: function onClick() { - return handleQuestionList('answer', j, index); - }, - children: CombinationEditor_tagList[index] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.editorWrap, - children: (e === null || e === void 0 ? void 0 : e.activeQusEditor) === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-option-".concat(index), - watch: true, - height: 155, - isFocus: true, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", - defaultValue: item, - onChange: function onChange(value) { - return handleQuestionList('details', j, value); - } - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: editormodules.htmlWrap, - onClick: function onClick() { - return handleQuestionList('edit', j, index); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: item - }) - }) - }), index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u5220\u9664", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "".concat(editormodules.deleteIcon, " iconfont icon-htmal5icon19"), - onClick: function onClick() { - return handleQuestionList('deleteQus', j, index); - } - }) - }), index < 7 && index === (e === null || e === void 0 ? void 0 : (_e$qusList2 = e.qusList) === null || _e$qusList2 === void 0 ? void 0 : _e$qusList2.length) - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "".concat(editormodules.addIcon, " iconfont icon-roundaddfill ml6"), - onClick: function onClick() { - return handleQuestionList('addQus', j); - } - }) - })] - }, index); - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "mt10", - children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - value: e.score, - max: 10000, - min: 0, - onChange: function onChange(value) { - return handleQuestionList('score', j, value); - } - }), ' ', "\u5206"] - })] - })] - }, e.id); - }), questionList.length < 20 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { - type: "primary", - onClick: handleAdd, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-tianjiatimu mr5 font14" - }), "\u6DFB\u52A0\u5C0F\u9898"] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "mt10", - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: editormodules.difficult, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { - style: { - color: 'red' - }, - children: "*" - }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: difficulty, - onChange: function onChange(e) { - setdifficult(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "".concat(editormodules.title), - children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: editormodules.colorGray, - children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, - value: knowledge, - onChange: setKnowledge, - subId: (_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.sub_discipline_id, - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - var handleAdd = function handleAdd() { - var param = { - id: Math.random(), - item_type: 'SINGLE', - open: false, - name: '', - qusList: ['', '', '', ''], - activeQusEditor: null, - qusAnswer: [], - analysis: '' - }; - setQuestionList(questionList.concat(param)); - }; - var handleQuestionList = function handleQuestionList(type, i, value) { - var cloneQuestionList = (0,lodash.cloneDeep)(questionList); - if (type === 'open') { - cloneQuestionList[i].open = !cloneQuestionList[i].open; - } - if (type === 'delete') { - cloneQuestionList.splice(i, 1); - } - if (type === 'value') { - cloneQuestionList[i].name = value; - } - if (type === 'answer') { - cloneQuestionList[i].qusAnswer = [value]; - } - if (type === 'edit') { - cloneQuestionList[i].activeQusEditor = value; - } - if (type === 'details') { - cloneQuestionList[i].qusList[cloneQuestionList[i].activeQusEditor] = value; - } - if (type === 'addQus') { - cloneQuestionList[i].qusList = cloneQuestionList[i].qusList.concat(''); - } - if (type === 'deleteQus') { - var _cloneQuestionList$i$; - cloneQuestionList[i].qusList = cloneQuestionList[i].qusList.filter(function (_, c) { - return c !== value; - }); - cloneQuestionList[i].qusAnswer = (_cloneQuestionList$i$ = cloneQuestionList[i].qusAnswer) === null || _cloneQuestionList$i$ === void 0 ? void 0 : _cloneQuestionList$i$.filter(function (k) { - return k !== value; - }); - } - if (type === 'analysis') { - cloneQuestionList[i].analysis = value; - } - if (type === 'score') { - cloneQuestionList[i].score = value; - } - setQuestionList(cloneQuestionList); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}; -/* harmony default export */ var components_CombinationEditor = ((0,_umi_production_exports.connect)(function (_ref5) { - var problemset = _ref5.problemset, - loading = _ref5.loading, - globalSetting = _ref5.globalSetting, - exercise = _ref5.exercise; - return { - problemset: problemset, - globalSetting: globalSetting, - exercise: exercise, - loading: loading.effects - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(CombinationEditor))); -// EXTERNAL MODULE: ./node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js + 27 modules -var react_beautiful_dnd_esm = __webpack_require__(66012); -;// CONCATENATED MODULE: ./src/components/DragSubject/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var DragSubjectmodules = ({"flex_box_center":"flex_box_center___dDNpp","flex_space_between":"flex_space_between___ovpjv","flex_box_vertical_center":"flex_box_vertical_center___oqAEt","flex_box_center_end":"flex_box_center_end___mHCIK","flex_box_column":"flex_box_column___GZMP2","posWarp":"posWarp___ZUxXl","pos":"pos___A7NKx","tips":"tips___ap6NV","markWrongBtnWrapper":"markWrongBtnWrapper___oAKlK"}); -// EXTERNAL MODULE: ./src/utils/fetch.ts -var fetch = __webpack_require__(84519); -// EXTERNAL MODULE: ./src/service/paperlibrary.ts -var paperlibrary = __webpack_require__(24410); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/Questions/editor.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var Questions_editormodules = ({"flex_box_center":"flex_box_center____wjva","flex_space_between":"flex_space_between___F2_sO","flex_box_vertical_center":"flex_box_vertical_center___pCTvi","flex_box_center_end":"flex_box_center_end___ChHrd","flex_box_column":"flex_box_column___HeDXp","wrap":"wrap____e4M2","modal":"modal___UjGgD","titleWrap":"titleWrap___PWC_1","required":"required___OmL0I","title":"title___iJ1Qg","colorGray":"colorGray___xdJix","choiceWrap":"choiceWrap___XT6nM","answer":"answer___pHl5v","activeAnswer":"activeAnswer___XjpeG","deleteIcon":"deleteIcon___O5cN4","addIcon":"addIcon___a2AM2","editorWrap":"editorWrap___FKOOz","htmlWrap":"htmlWrap___ogueB","radio":"radio___W1kjJ","color333":"color333____LRzT","color999":"color999___KrWiG","questionType":"questionType___natt6","questionChoices":"questionChoices___NluQh","action":"action___zhdyr","difficult":"difficult___gAQyf","fold":"fold___aZJDt","head":"head___WgTkC"}); -// EXTERNAL MODULE: ./src/utils/enum.ts -var utils_enum = __webpack_require__(70960); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/Questions/SingleEditor.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var Questions_SingleEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; -var SingleEditor_SingleEditor = function SingleEditor(_ref, ref) { - var newExercisePaper = _ref.newExercisePaper, - dispatch = _ref.dispatch, - editData = _ref.editData, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function (data) {} : _ref$addCallback; - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - questionChoiceList = _useState2[0], - setQuestionChoiceList = _useState2[1]; - var _useState3 = (0,react.useState)(), - _useState4 = slicedToArray_default()(_useState3, 2), - activeEditor = _useState4[0], - setActiveEditor = _useState4[1]; - var _useState5 = (0,react.useState)([]), - _useState6 = slicedToArray_default()(_useState5, 2), - activeAnswer = _useState6[0], - setActiveAnswer = _useState6[1]; - var _useState7 = (0,react.useState)(''), - _useState8 = slicedToArray_default()(_useState7, 2), - title = _useState8[0], - setTitle = _useState8[1]; - var _useState9 = (0,react.useState)(), - _useState10 = slicedToArray_default()(_useState9, 2), - score = _useState10[0], - setScore = _useState10[1]; - var _useState11 = (0,react.useState)([]), - _useState12 = slicedToArray_default()(_useState11, 2), - knowledge = _useState12[0], - setKnowledge = _useState12[1]; - var _useState13 = (0,react.useState)(false), - _useState14 = slicedToArray_default()(_useState13, 2), - isEdit = _useState14[0], - setIsEdit = _useState14[1]; - var _useState15 = (0,react.useState)(1), - _useState16 = slicedToArray_default()(_useState15, 2), - difficulty = _useState16[0], - setdifficult = _useState16[1]; - var _useState17 = (0,react.useState)(false), - _useState18 = slicedToArray_default()(_useState17, 2), - repeat_answer = _useState18[0], - setrepeat_answer = _useState18[1]; - var _useState19 = (0,react.useState)(''), - _useState20 = slicedToArray_default()(_useState19, 2), - analysis = _useState20[0], - setAnalysis = _useState20[1]; - var params = (0,_umi_production_exports.useParams)(); - var dom = (0,react.useRef)(null); - var freeze = (0,react.useRef)(false); - var _useState21 = (0,react.useState)([]), - _useState22 = slicedToArray_default()(_useState21, 2), - knowledgeOptions = _useState22[0], - setKnowledgeOptions = _useState22[1]; - var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { - setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); - }; - (0,react.useEffect)(function () { - setQuestionChoiceList(['', '', '', '']); - }, []); - (0,react.useEffect)(function () { - if (freeze.current) return; - if (!(editData !== null && editData !== void 0 && editData.question_choices)) { - setIsEdit(true); - setTitle(''); - setScore(5); - setQuestionChoiceList(['', '', '', '']); - setActiveAnswer([]); - // dom.current?.scrollIntoView() - return; - } - setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); - setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); - setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); - setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); - setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); - setQuestionChoiceList(editData === null || editData === void 0 ? void 0 : editData.question_choices.map(function (item) { - return item.choice_text; - })); - var answerIndexs = []; - editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item, index) { - answerIndexs.push(item - 1); - }); - setKnowledge(editData.tag_discipline_ids); - setActiveAnswer(answerIndexs); - }, [editData, isEdit]); - (0,react.useEffect)(function () { - if (isEdit) { - init(); - } - function init() { - return _init.apply(this, arguments); - } - function _init() { - _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _newExercisePaper$edi, _newExercisePaper$edi2; - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,service_exercise/* getTagDiscipline */.YY)({ - sub_discipline_id: (_newExercisePaper$edi = newExercisePaper.editData) === null || _newExercisePaper$edi === void 0 ? void 0 : (_newExercisePaper$edi2 = _newExercisePaper$edi.exercise) === null || _newExercisePaper$edi2 === void 0 ? void 0 : _newExercisePaper$edi2.sub_discipline_id - }); - case 2: - res = _context.sent; - setKnowledgeOptions(res.tag_disciplines); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _init.apply(this, arguments); - } - }, [isEdit]); - (0,react.useEffect)(function () { - var _newExercisePaper$tag; - var data = newExercisePaper !== null && newExercisePaper !== void 0 && (_newExercisePaper$tag = newExercisePaper.tagDisciplineData) !== null && _newExercisePaper$tag !== void 0 && _newExercisePaper$tag.tag_disciplines && Array.isArray(newExercisePaper.tagDisciplineData.tag_disciplines) ? newExercisePaper.tagDisciplineData.tag_disciplines : []; - setKnowledgeOptions(data); - }, [newExercisePaper.tagDisciplineData]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var findNotAnswerIndex, choices, res, _newExercisePaper$edi3, _newExercisePaper$edi4, _newExercisePaper$edi5, _newExercisePaper$edi6; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - if (title) { - _context2.next = 3; - break; - } - message/* default.info */.ZP.info("请您输入题目"); - return _context2.abrupt("return", false); - case 3: - findNotAnswerIndex = questionChoiceList.findIndex(function (item) { - return !item; - }); - if (!(findNotAnswerIndex > -1)) { - _context2.next = 7; - break; - } - message/* default.info */.ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(Questions_SingleEditor_tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9")); - return _context2.abrupt("return", false); - case 7: - if (activeAnswer.length) { - _context2.next = 10; - break; - } - message/* default.info */.ZP.info("请设置本题的正确答案,点击选项A/B...即可完成设置"); - return _context2.abrupt("return", false); - case 10: - if (!(activeAnswer.length < 1)) { - _context2.next = 13; - break; - } - message/* default.info */.ZP.info("请选择答案"); - return _context2.abrupt("return", false); - case 13: - // if (knowledge.length < 1) { - // message.info("请选择知识点"); - // return false; - // } - choices = questionChoiceList.map(function (item, index) { - return { - choice_text: item, - is_answer: activeAnswer.includes(index) ? 1 : 0 - }; - }); - freeze.current = true; - if (!editData.question_id) { - _context2.next = 22; - break; - } - _context2.next = 18; - return dispatch({ - type: "newExercisePaper/editExerciseQuestion", - payload: { - "id": params.id, - "question_id": editData.question_id, - "name": title, - "item_type": activeAnswer.length > 1 ? utils_enum/* QuestionType.Multiple */.c.Multiple : utils_enum/* QuestionType.Single */.c.Single, - "question_score": score, - "choices": choices, - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_newExercisePaper$edi3 = newExercisePaper.editData) === null || _newExercisePaper$edi3 === void 0 ? void 0 : (_newExercisePaper$edi4 = _newExercisePaper$edi3.exercise) === null || _newExercisePaper$edi4 === void 0 ? void 0 : _newExercisePaper$edi4.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 18: - res = _context2.sent; - repeal(res); - _context2.next = 26; - break; - case 22: - _context2.next = 24; - return dispatch({ - type: "newExercisePaper/addExerciseQuestion", - payload: { - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - "id": params.id, - "name": title, - "item_type": activeAnswer.length > 1 ? utils_enum/* QuestionType.Multiple */.c.Multiple : utils_enum/* QuestionType.Single */.c.Single, - "question_score": score, - "choices": choices, - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_newExercisePaper$edi5 = newExercisePaper.editData) === null || _newExercisePaper$edi5 === void 0 ? void 0 : (_newExercisePaper$edi6 = _newExercisePaper$edi5.exercise) === null || _newExercisePaper$edi6 === void 0 ? void 0 : _newExercisePaper$edi6.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 24: - res = _context2.sent; - repeal(res); - case 26: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var actionArr = [{ - name: "删除", - icon: "iconfont c-light-black ml30 icon-shanchu current", - id: "del" - }, { - name: "(向下插入单选题)", - icon: "iconfont c-light-primary ml30 icon-tianjia current", - id: "add" - }, { - name: "编辑", - icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", - id: "edit" - }]; - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(item) { - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (!(editKey !== -1)) { - _context4.next = 3; - break; - } - message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); - return _context4.abrupt("return"); - case 3: - _context4.t0 = item.id; - _context4.next = _context4.t0 === "del" ? 6 : _context4.t0 === "edit" ? 8 : _context4.t0 === "add" ? 11 : 13; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return (0,paperlibrary/* deleteQuestion */.Km)({ - exam_id: params.id, - question_id: editData.question_id - }); - case 2: - reload(); - case 3: - case "end": - return _context3.stop(); - } - }, _callee3); - }))(); - } - }); - return _context4.abrupt("break", 13); - case 8: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context4.abrupt("break", 13); - case 11: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 0 - }); - return _context4.abrupt("break", 13); - case 13: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var showList = function showList() { - var _editData$question_ch; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - ref: dom, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u5355\u9009\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - alignItems: "flex-start" - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionChoices, - children: editData === null || editData === void 0 ? void 0 : (_editData$question_ch = editData.question_choices) === null || _editData$question_ch === void 0 ? void 0 : _editData$question_ch.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { - checked: editData.standard_answer.includes(index + 1), - disabled: true, - children: [Questions_SingleEditor_tagList[index], "."] - }, index) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-black font14", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: item.choice_text - }) - }) - })] - }, index); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.action, - children: !editData.hideAction && actionArr.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - }) - })] - }); - }; - var showEdit = function showEdit() { - var _newExercisePaper$edi7, _newExercisePaper$edi8; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u9009\u62E9\u9898" - }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.title, - children: "\u9898\u5E72\uFF1A" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", - defaultValue: title, - onChange: function onChange(value) { - return setTitle(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: Questions_editormodules.title, - children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.colorGray, - children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" - })] - })] - }), questionChoiceList.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Questions_editormodules.choiceWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", - placement: "left", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(Questions_editormodules.answer, " ").concat(activeAnswer.includes(index) ? Questions_editormodules.activeAnswer : ''), - onClick: function onClick() { - if (activeAnswer.includes(index)) { - setActiveAnswer(function (originalActiveAnswer) { - return originalActiveAnswer.filter(function (item) { - return item !== index; - }); - }); - } else { - setActiveAnswer(function (originalActiveAnswer) { - return [].concat(toConsumableArray_default()(originalActiveAnswer), [index]); - }); - } - }, - children: Questions_SingleEditor_tagList[index] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.editorWrap, - children: activeEditor === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-option-".concat(index), - watch: true, - isFocus: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", - defaultValue: item, - onChange: function onChange(value) { - questionChoiceList[index] = value; - setQuestionChoiceList(questionChoiceList); - } - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.htmlWrap, - onClick: function onClick() { - return setActiveEditor(index); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: item - }) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u5220\u9664", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "".concat(Questions_editormodules.deleteIcon, " iconfont icon-htmal5icon19"), - onClick: function onClick() { - return setQuestionChoiceList(questionChoiceList.filter(function (_, key) { - return key !== index; - })); - } - }) - }), index < 7 && index === questionChoiceList.length - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "".concat(Questions_editormodules.addIcon, " iconfont icon-roundaddfill ml6"), - onClick: function onClick() { - return setQuestionChoiceList([].concat(toConsumableArray_default()(questionChoiceList), [''])); - } - }) - })] - })] - }, index); - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "c-orange", - children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: Questions_editormodules.titleWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.title, - children: "\u9898\u76EE\u89E3\u6790\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", - defaultValue: analysis, - onChange: function onChange(value) { - return setAnalysis(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginBottom: 14 - }, - children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - value: score, - max: 10000, - min: 0, - onChange: function onChange(value) { - setScore(value); - } - }), " \u5206", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - marginLeft: '30px' - }, - className: Questions_editormodules.difficult, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { - style: { - color: 'red' - }, - children: "*" - }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: difficulty, - onChange: function onChange(e) { - setdifficult(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "".concat(Questions_editormodules.title), - children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.colorGray, - children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, - value: knowledge, - onChange: setKnowledge, - subId: (_newExercisePaper$edi7 = newExercisePaper.editData) === null || _newExercisePaper$edi7 === void 0 ? void 0 : (_newExercisePaper$edi8 = _newExercisePaper$edi7.exercise) === null || _newExercisePaper$edi8 === void 0 ? void 0 : _newExercisePaper$edi8.sub_discipline_id, - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: 10 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 10 - }, - children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { - checked: repeat_answer, - onChange: function onChange(e) { - setrepeat_answer(e); - } - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: Questions_editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}; -/* harmony default export */ var Questions_SingleEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var newExercisePaper = _ref4.newExercisePaper; - return { - newExercisePaper: newExercisePaper - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(SingleEditor_SingleEditor))); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/Questions/MultipleEditor.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var Questions_MultipleEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; -var MultipleEditor_MultipleEditor = /*#__PURE__*/(0,react.forwardRef)(function (_ref, ref) { - var newExercisePaper = _ref.newExercisePaper, - dispatch = _ref.dispatch, - editData = _ref.editData, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function (value) {} : _ref$addCallback, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload; - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - questionChoiceList = _useState2[0], - setQuestionChoiceList = _useState2[1]; - var _useState3 = (0,react.useState)(), - _useState4 = slicedToArray_default()(_useState3, 2), - activeEditor = _useState4[0], - setActiveEditor = _useState4[1]; - var _useState5 = (0,react.useState)([]), - _useState6 = slicedToArray_default()(_useState5, 2), - activeAnswer = _useState6[0], - setActiveAnswer = _useState6[1]; - var _useState7 = (0,react.useState)(''), - _useState8 = slicedToArray_default()(_useState7, 2), - title = _useState8[0], - setTitle = _useState8[1]; - var _useState9 = (0,react.useState)(), - _useState10 = slicedToArray_default()(_useState9, 2), - score = _useState10[0], - setScore = _useState10[1]; - var _useState11 = (0,react.useState)(false), - _useState12 = slicedToArray_default()(_useState11, 2), - isEdit = _useState12[0], - setIsEdit = _useState12[1]; - var _useState13 = (0,react.useState)([]), - _useState14 = slicedToArray_default()(_useState13, 2), - knowledge = _useState14[0], - setKnowledge = _useState14[1]; - var _useState15 = (0,react.useState)(1), - _useState16 = slicedToArray_default()(_useState15, 2), - difficulty = _useState16[0], - setdifficult = _useState16[1]; - var _useState17 = (0,react.useState)(false), - _useState18 = slicedToArray_default()(_useState17, 2), - repeat_answer = _useState18[0], - setrepeat_answer = _useState18[1]; - var _useState19 = (0,react.useState)(''), - _useState20 = slicedToArray_default()(_useState19, 2), - analysis = _useState20[0], - setAnalysis = _useState20[1]; - var _useState21 = (0,react.useState)([]), - _useState22 = slicedToArray_default()(_useState21, 2), - knowledgeOptions = _useState22[0], - setKnowledgeOptions = _useState22[1]; - var freeze = (0,react.useRef)(false); - var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { - setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); - }; - var params = (0,_umi_production_exports.useParams)(); - (0,react.useEffect)(function () { - setQuestionChoiceList(['', '', '', '']); - }, []); - (0,react.useEffect)(function () { - if (freeze.current) return; - if (!(editData !== null && editData !== void 0 && editData.question_choices)) { - setIsEdit(true); - setTitle(''); - setScore(5); - setQuestionChoiceList(['', '', '', '']); - setActiveAnswer([]); - return; - } - setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); - setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); - setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); - setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); - setQuestionChoiceList(editData === null || editData === void 0 ? void 0 : editData.question_choices.map(function (item) { - return item.choice_text; - })); - var answerIndexs = []; - editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item, index) { - answerIndexs.push(item - 1); - }); - setActiveAnswer(answerIndexs); - setKnowledge(editData.tag_discipline_ids); - setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); - }, [editData, isEdit]); - (0,react.useEffect)(function () { - if (isEdit) { - init(); - } - function init() { - return _init.apply(this, arguments); - } - function _init() { - _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _newExercisePaper$edi, _newExercisePaper$edi2; - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,service_exercise/* getTagDiscipline */.YY)({ - sub_discipline_id: (_newExercisePaper$edi = newExercisePaper.editData) === null || _newExercisePaper$edi === void 0 ? void 0 : (_newExercisePaper$edi2 = _newExercisePaper$edi.exercise) === null || _newExercisePaper$edi2 === void 0 ? void 0 : _newExercisePaper$edi2.sub_discipline_id - }); - case 2: - res = _context.sent; - setKnowledgeOptions(res.tag_disciplines); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _init.apply(this, arguments); - } - }, [isEdit]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - (0,react.useEffect)(function () { - var _newExercisePaper$tag; - var data = newExercisePaper !== null && newExercisePaper !== void 0 && (_newExercisePaper$tag = newExercisePaper.tagDisciplineData) !== null && _newExercisePaper$tag !== void 0 && _newExercisePaper$tag.tag_disciplines && Array.isArray(newExercisePaper.tagDisciplineData.tag_disciplines) ? newExercisePaper.tagDisciplineData.tag_disciplines : []; - setKnowledgeOptions(data); - }, [newExercisePaper.tagDisciplineData]); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var findNotAnswerIndex, choices, res, _newExercisePaper$edi3, _newExercisePaper$edi4, _newExercisePaper$edi5, _newExercisePaper$edi6; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - if (title) { - _context2.next = 3; - break; - } - message/* default.info */.ZP.info('请您输入题目'); - return _context2.abrupt("return", false); - case 3: - findNotAnswerIndex = questionChoiceList.findIndex(function (item) { - return !item; - }); - if (!(findNotAnswerIndex > -1)) { - _context2.next = 7; - break; - } - message/* default.info */.ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(Questions_MultipleEditor_tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9")); - return _context2.abrupt("return", false); - case 7: - if (activeAnswer.length) { - _context2.next = 10; - break; - } - message/* default.info */.ZP.info('请设置本题的正确答案,点击选项A/B...即可完成设置'); - return _context2.abrupt("return", false); - case 10: - if (!(activeAnswer.length < 1)) { - _context2.next = 13; - break; - } - message/* default.info */.ZP.info('请选择答案'); - return _context2.abrupt("return", false); - case 13: - // if (knowledge.length < 1) { - // message.info("请选择知识点"); - // return false; - // } - choices = questionChoiceList.map(function (item, index) { - return { - choice_text: item, - is_answer: activeAnswer.includes(index) ? 1 : 0 - }; - }); - freeze.current = true; - if (!editData.question_id) { - _context2.next = 22; - break; - } - _context2.next = 18; - return dispatch({ - type: 'newExercisePaper/editExerciseQuestion', - payload: { - id: params.id, - question_id: editData.question_id, - name: title, - item_type: activeAnswer.length > 1 ? utils_enum/* QuestionType.Multiple */.c.Multiple : utils_enum/* QuestionType.Single */.c.Single, - question_score: score, - choices: choices, - tag_discipline_ids: knowledge, - sub_discipline_id: (_newExercisePaper$edi3 = newExercisePaper.editData) === null || _newExercisePaper$edi3 === void 0 ? void 0 : (_newExercisePaper$edi4 = _newExercisePaper$edi3.exercise) === null || _newExercisePaper$edi4 === void 0 ? void 0 : _newExercisePaper$edi4.sub_discipline_id, - difficulty: difficulty, - repeat_answer: !repeat_answer, - analysis: analysis - } - }); - case 18: - res = _context2.sent; - repeal(res); - _context2.next = 26; - break; - case 22: - _context2.next = 24; - return dispatch({ - type: 'newExercisePaper/addExerciseQuestion', - payload: { - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - id: params.id, - name: title, - item_type: activeAnswer.length > 1 ? utils_enum/* QuestionType.Multiple */.c.Multiple : utils_enum/* QuestionType.Single */.c.Single, - question_score: score, - choices: choices, - tag_discipline_ids: knowledge, - sub_discipline_id: (_newExercisePaper$edi5 = newExercisePaper.editData) === null || _newExercisePaper$edi5 === void 0 ? void 0 : (_newExercisePaper$edi6 = _newExercisePaper$edi5.exercise) === null || _newExercisePaper$edi6 === void 0 ? void 0 : _newExercisePaper$edi6.sub_discipline_id, - difficulty: difficulty, - repeat_answer: !repeat_answer, - analysis: analysis - } - }); - case 24: - res = _context2.sent; - repeal(res); - case 26: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var actionArr = [{ - name: '删除', - icon: 'iconfont c-light-black ml30 icon-shanchu current', - id: 'del' - }, { - name: '(向下插入多选题)', - icon: 'iconfont c-light-primary ml30 icon-tianjia current', - id: 'add' - }, { - name: '编辑', - icon: 'iconfont c-light-primary ml30 icon-bianjishijuan3x current', - id: 'edit' - }]; - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(item) { - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (!(editKey !== -1)) { - _context4.next = 3; - break; - } - message/* default.error */.ZP.error('请先保存或取消当前正在编辑的问题。'); - return _context4.abrupt("return"); - case 3: - _context4.t0 = item.id; - _context4.next = _context4.t0 === 'del' ? 6 : _context4.t0 === 'edit' ? 8 : _context4.t0 === 'add' ? 11 : 13; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return (0,paperlibrary/* deleteQuestion */.Km)({ - question_id: editData.question_id, - exam_id: params.id - }); - case 2: - reload(); - case 3: - case "end": - return _context3.stop(); - } - }, _callee3); - }))(); - } - }); - return _context4.abrupt("break", 13); - case 8: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context4.abrupt("break", 13); - case 11: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 1 - }); - return _context4.abrupt("break", 13); - case 13: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var showList = function showList() { - var _editData$question_ch; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u591A\u9009\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionChoices, - children: editData === null || editData === void 0 ? void 0 : (_editData$question_ch = editData.question_choices) === null || _editData$question_ch === void 0 ? void 0 : _editData$question_ch.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, { - checked: editData.standard_answer.includes(index + 1), - disabled: true, - children: [Questions_MultipleEditor_tagList[index], "."] - }, index) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-black font14", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: item.choice_text - }) - }) - })] - }, index); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.action, - children: !editData.hideAction && actionArr.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - }) - })] - }); - }; - var showEdit = function showEdit() { - var _newExercisePaper$edi9, _newExercisePaper$edi10; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u9009\u62E9\u9898" - }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.title, - children: "\u9898\u5E72\uFF1A" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", - defaultValue: title, - onChange: function onChange(value) { - return setTitle(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: Questions_editormodules.title, - children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.colorGray, - children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" - })] - })] - }), questionChoiceList.map(function (item, index) { - var _newExercisePaper$edi7, _newExercisePaper$edi8; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Questions_editormodules.choiceWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", - placement: "left", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(Questions_editormodules.answer, " ").concat(activeAnswer.includes(index) ? Questions_editormodules.activeAnswer : ''), - onClick: function onClick() { - if (activeAnswer.includes(index)) { - setActiveAnswer(activeAnswer.filter(function (item) { - return item !== index; - })); - } else { - setActiveAnswer([].concat(toConsumableArray_default()(activeAnswer), [index])); - } - }, - children: Questions_MultipleEditor_tagList[index] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.editorWrap, - children: activeEditor === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-option-".concat(index), - watch: true, - isFocus: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", - defaultValue: item, - onChange: function onChange(value) { - questionChoiceList[index] = value; - setQuestionChoiceList(questionChoiceList); - } - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.htmlWrap, - onClick: function onClick() { - return setActiveEditor(index); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: item - }) - }) - }), ((_newExercisePaper$edi7 = newExercisePaper.editData) === null || _newExercisePaper$edi7 === void 0 ? void 0 : (_newExercisePaper$edi8 = _newExercisePaper$edi7.exercise) === null || _newExercisePaper$edi8 === void 0 ? void 0 : _newExercisePaper$edi8.exercise_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u5220\u9664", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "".concat(Questions_editormodules.deleteIcon, " iconfont icon-htmal5icon19"), - onClick: function onClick() { - return setQuestionChoiceList(questionChoiceList.filter(function (_, key) { - return key !== index; - })); - } - }) - }), index < 7 && index === questionChoiceList.length - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "".concat(Questions_editormodules.addIcon, " iconfont icon-roundaddfill ml6"), - onClick: function onClick() { - return setQuestionChoiceList([].concat(toConsumableArray_default()(questionChoiceList), [''])); - } - }) - })] - })] - }, index); - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "c-orange", - children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: Questions_editormodules.titleWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.title, - children: "\u9898\u76EE\u89E3\u6790\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", - defaultValue: analysis, - onChange: function onChange(value) { - return setAnalysis(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "", - children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - value: score, - max: 10000, - min: 0, - onChange: function onChange(value) { - setScore(value); - } - }), "\u5206", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - marginLeft: '30px' - }, - className: Questions_editormodules.difficult, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { - style: { - color: 'red' - }, - children: "*" - }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: difficulty, - onChange: function onChange(e) { - setdifficult(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "".concat(Questions_editormodules.title), - children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.colorGray, - children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - value: knowledge, - selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, - onChange: setKnowledge, - subId: (_newExercisePaper$edi9 = newExercisePaper.editData) === null || _newExercisePaper$edi9 === void 0 ? void 0 : (_newExercisePaper$edi10 = _newExercisePaper$edi9.exercise) === null || _newExercisePaper$edi10 === void 0 ? void 0 : _newExercisePaper$edi10.sub_discipline_id, - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: 10 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 10 - }, - children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { - checked: repeat_answer, - onChange: function onChange(e) { - setrepeat_answer(e); - } - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: Questions_editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}); -/* harmony default export */ var Questions_MultipleEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var newExercisePaper = _ref4.newExercisePaper; - return { - newExercisePaper: newExercisePaper - }; -}, null, null, { - forwardRef: true -})(MultipleEditor_MultipleEditor)); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/Questions/JudgmentEditor.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var Questions_JudgmentEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; -var JudgmentEditor_JudgmentEditor = function JudgmentEditor(_ref, ref) { - var newExercisePaper = _ref.newExercisePaper, - dispatch = _ref.dispatch, - editData = _ref.editData, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback; - var _useState = (0,react.useState)(), - _useState2 = slicedToArray_default()(_useState, 2), - activeAnswer = _useState2[0], - setActiveAnswer = _useState2[1]; - var _useState3 = (0,react.useState)(''), - _useState4 = slicedToArray_default()(_useState3, 2), - title = _useState4[0], - setTitle = _useState4[1]; - var _useState5 = (0,react.useState)(false), - _useState6 = slicedToArray_default()(_useState5, 2), - isEdit = _useState6[0], - setIsEdit = _useState6[1]; - var _useState7 = (0,react.useState)(), - _useState8 = slicedToArray_default()(_useState7, 2), - score = _useState8[0], - setScore = _useState8[1]; - var _useState9 = (0,react.useState)([]), - _useState10 = slicedToArray_default()(_useState9, 2), - knowledge = _useState10[0], - setKnowledge = _useState10[1]; - var _useState11 = (0,react.useState)([]), - _useState12 = slicedToArray_default()(_useState11, 2), - knowledgeOptions = _useState12[0], - setKnowledgeOptions = _useState12[1]; - var _useState13 = (0,react.useState)(1), - _useState14 = slicedToArray_default()(_useState13, 2), - difficulty = _useState14[0], - setdifficult = _useState14[1]; - var _useState15 = (0,react.useState)(false), - _useState16 = slicedToArray_default()(_useState15, 2), - repeat_answer = _useState16[0], - setrepeat_answer = _useState16[1]; - var _useState17 = (0,react.useState)(''), - _useState18 = slicedToArray_default()(_useState17, 2), - analysis = _useState18[0], - setAnalysis = _useState18[1]; - var freeze = (0,react.useRef)(false); - var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { - setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); - }; - var params = (0,_umi_production_exports.useParams)(); - (0,react.useEffect)(function () { - if (freeze.current) return; - if (!(editData !== null && editData !== void 0 && editData.question_choices)) { - setIsEdit(true); - setTitle(''); - setScore(2); - setActiveAnswer(''); - return; - } - setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); - setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); - setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); - setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); - setActiveAnswer(editData.standard_answer[0] + ''); - setKnowledge(editData.tag_discipline_ids); - setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); - }, [editData, isEdit]); - (0,react.useEffect)(function () { - if (isEdit) { - init(); - } - function init() { - return _init.apply(this, arguments); - } - function _init() { - _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _newExercisePaper$edi, _newExercisePaper$edi2; - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,service_exercise/* getTagDiscipline */.YY)({ - sub_discipline_id: (_newExercisePaper$edi = newExercisePaper.editData) === null || _newExercisePaper$edi === void 0 ? void 0 : (_newExercisePaper$edi2 = _newExercisePaper$edi.exercise) === null || _newExercisePaper$edi2 === void 0 ? void 0 : _newExercisePaper$edi2.sub_discipline_id - }); - case 2: - res = _context.sent; - setKnowledgeOptions(res.tag_disciplines); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _init.apply(this, arguments); - } - }, [isEdit]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - (0,react.useEffect)(function () { - var _newExercisePaper$tag; - var data = newExercisePaper !== null && newExercisePaper !== void 0 && (_newExercisePaper$tag = newExercisePaper.tagDisciplineData) !== null && _newExercisePaper$tag !== void 0 && _newExercisePaper$tag.tag_disciplines && Array.isArray(newExercisePaper.tagDisciplineData.tag_disciplines) ? newExercisePaper.tagDisciplineData.tag_disciplines : []; - setKnowledgeOptions(data); - }, [newExercisePaper.tagDisciplineData]); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var choices, res, _newExercisePaper$edi3, _newExercisePaper$edi4, _newExercisePaper$edi5, _newExercisePaper$edi6; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - if (title) { - _context2.next = 3; - break; - } - message/* default.info */.ZP.info("请您输入题干"); - return _context2.abrupt("return", false); - case 3: - if (activeAnswer) { - _context2.next = 6; - break; - } - message/* default.info */.ZP.info("请先点击选择本选择题的正确选项"); - return _context2.abrupt("return", false); - case 6: - // if (knowledge.length < 1) { - // message.info("请选择知识点"); - // return false; - // } - choices = [{ - choice_text: "正确", - is_answer: activeAnswer === "1" ? 1 : 0 - }, { - choice_text: "错误", - is_answer: activeAnswer === "2" ? 1 : 0 - }]; - freeze.current = true; - if (!editData.question_id) { - _context2.next = 15; - break; - } - _context2.next = 11; - return dispatch({ - type: "newExercisePaper/editExerciseQuestion", - payload: { - "id": params.id, - "question_id": editData.question_id, - "name": title, - "item_type": utils_enum/* QuestionType.Judge */.c.Judge, - "question_score": score, - "choices": choices, - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_newExercisePaper$edi3 = newExercisePaper.editData) === null || _newExercisePaper$edi3 === void 0 ? void 0 : (_newExercisePaper$edi4 = _newExercisePaper$edi3.exercise) === null || _newExercisePaper$edi4 === void 0 ? void 0 : _newExercisePaper$edi4.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 11: - res = _context2.sent; - repeal(res); - _context2.next = 19; - break; - case 15: - _context2.next = 17; - return dispatch({ - type: "newExercisePaper/addExerciseQuestion", - payload: { - "id": params.id, - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - "name": title, - "item_type": utils_enum/* QuestionType.Judge */.c.Judge, - "question_score": score, - "choices": choices, - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_newExercisePaper$edi5 = newExercisePaper.editData) === null || _newExercisePaper$edi5 === void 0 ? void 0 : (_newExercisePaper$edi6 = _newExercisePaper$edi5.exercise) === null || _newExercisePaper$edi6 === void 0 ? void 0 : _newExercisePaper$edi6.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 17: - res = _context2.sent; - repeal(res); - case 19: - return _context2.abrupt("return", { - name: title, - choices: choices - }); - case 20: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var actionArr = [{ - name: "删除", - icon: "iconfont c-light-black ml30 icon-shanchu current", - id: "del" - }, { - name: "(向下插入判断题)", - icon: "iconfont c-light-primary ml30 icon-tianjia current", - id: "add" - }, { - name: "编辑", - icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", - id: "edit" - }]; - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(item) { - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (!(editKey !== -1)) { - _context4.next = 3; - break; - } - message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); - return _context4.abrupt("return"); - case 3: - _context4.t0 = item.id; - _context4.next = _context4.t0 === "del" ? 6 : _context4.t0 === "edit" ? 8 : _context4.t0 === "add" ? 11 : 13; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return (0,paperlibrary/* deleteQuestion */.Km)({ - question_id: editData.question_id, - exam_id: params.id - }); - case 2: - reload(); - case 3: - case "end": - return _context3.stop(); - } - }, _callee3); - }))(); - } - }); - return _context4.abrupt("break", 13); - case 8: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context4.abrupt("break", 13); - case 11: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 2 - }); - return _context4.abrupt("break", 13); - case 13: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var showList = function showList() { - var _editData$question_ch; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u5224\u65AD\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionChoices, - children: editData === null || editData === void 0 ? void 0 : (_editData$question_ch = editData.question_choices) === null || _editData$question_ch === void 0 ? void 0 : _editData$question_ch.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { - checked: editData.standard_answer.includes(index + 1), - disabled: true, - children: [Questions_JudgmentEditor_tagList[index], ". ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-black font14", - children: item.choice_text - })] - }, index); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.action, - children: !editData.hideAction && actionArr.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - }) - })] - }); - }; - var showEdit = function showEdit() { - var _newExercisePaper$edi7, _newExercisePaper$edi8; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u5224\u65AD\u9898" - }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.title, - children: "\u9898\u5E72\uFF1A" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", - defaultValue: title, - onChange: function onChange(value) { - return setTitle(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: Questions_editormodules.title, - children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.colorGray, - children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - buttonStyle: "solid", - value: activeAnswer, - onChange: function onChange(e) { - return setActiveAnswer(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: "1", - className: "".concat(Questions_editormodules.radio, " mr40"), - children: "\u6B63\u786E" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: "2", - className: Questions_editormodules.radio, - children: "\u9519\u8BEF" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "c-orange", - children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\uFF0C\u53EF\u4EE5\u76F4\u63A5\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: Questions_editormodules.titleWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.title, - children: "\u9898\u76EE\u89E3\u6790\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", - defaultValue: analysis, - onChange: function onChange(value) { - return setAnalysis(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "", - children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - value: score, - max: 10000, - min: 0, - onChange: function onChange(value) { - setScore(value); - } - }), " \u5206", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - marginLeft: '30px' - }, - className: Questions_editormodules.difficult, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { - style: { - color: 'red' - }, - children: "*" - }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: difficulty, - onChange: function onChange(e) { - setdifficult(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "".concat(Questions_editormodules.title), - children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.colorGray, - children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - value: knowledge, - selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, - onChange: setKnowledge, - subId: (_newExercisePaper$edi7 = newExercisePaper.editData) === null || _newExercisePaper$edi7 === void 0 ? void 0 : (_newExercisePaper$edi8 = _newExercisePaper$edi7.exercise) === null || _newExercisePaper$edi8 === void 0 ? void 0 : _newExercisePaper$edi8.sub_discipline_id, - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: 10 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 10 - }, - children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { - checked: repeat_answer, - onChange: function onChange(e) { - setrepeat_answer(e); - } - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: Questions_editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}; -/* harmony default export */ var Questions_JudgmentEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var newExercisePaper = _ref4.newExercisePaper; - return { - newExercisePaper: newExercisePaper - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(JudgmentEditor_JudgmentEditor))); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/Questions/CompletionEditor.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var CompletionEditor_CompletionEditor = function CompletionEditor(_ref, ref) { - var newExercisePaper = _ref.newExercisePaper, - dispatch = _ref.dispatch, - editData = _ref.editData, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload; - var _useState = (0,react.useState)(''), - _useState2 = slicedToArray_default()(_useState, 2), - title = _useState2[0], - setTitle = _useState2[1]; - var _useState3 = (0,react.useState)(''), - _useState4 = slicedToArray_default()(_useState3, 2), - analysis = _useState4[0], - setAnalysis = _useState4[1]; - var _useState5 = (0,react.useState)([]), - _useState6 = slicedToArray_default()(_useState5, 2), - answerList = _useState6[0], - setAnswerList = _useState6[1]; - var _useState7 = (0,react.useState)(''), - _useState8 = slicedToArray_default()(_useState7, 2), - activeOptionErrorIndex = _useState8[0], - setActiveOptionErrorIndex = _useState8[1]; - var _useState9 = (0,react.useState)(), - _useState10 = slicedToArray_default()(_useState9, 2), - checked = _useState10[0], - setChecked = _useState10[1]; - var _useState11 = (0,react.useState)(false), - _useState12 = slicedToArray_default()(_useState11, 2), - firstSetAnswerFlag = _useState12[0], - setFirstSetAnswerFlag = _useState12[1]; - var _useState13 = (0,react.useState)(), - _useState14 = slicedToArray_default()(_useState13, 2), - score = _useState14[0], - setScore = _useState14[1]; - var _useState15 = (0,react.useState)(0), - _useState16 = slicedToArray_default()(_useState15, 2), - totalBlanks = _useState16[0], - setTotalBlanks = _useState16[1]; - var _useState17 = (0,react.useState)(false), - _useState18 = slicedToArray_default()(_useState17, 2), - isEdit = _useState18[0], - setIsEdit = _useState18[1]; - var _useState19 = (0,react.useState)(false), - _useState20 = slicedToArray_default()(_useState19, 2), - btnSave = _useState20[0], - setBtnSave = _useState20[1]; - var _useState21 = (0,react.useState)([]), - _useState22 = slicedToArray_default()(_useState21, 2), - knowledge = _useState22[0], - setKnowledge = _useState22[1]; - var _useState23 = (0,react.useState)(1), - _useState24 = slicedToArray_default()(_useState23, 2), - difficulty = _useState24[0], - setdifficult = _useState24[1]; - var _useState25 = (0,react.useState)(false), - _useState26 = slicedToArray_default()(_useState25, 2), - repeat_answer = _useState26[0], - setrepeat_answer = _useState26[1]; - var freeze = (0,react.useRef)(false); - var params = (0,_umi_production_exports.useParams)(); - var _useState27 = (0,react.useState)([]), - _useState28 = slicedToArray_default()(_useState27, 2), - knowledgeOptions = _useState28[0], - setKnowledgeOptions = _useState28[1]; - var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { - setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); - }; - (0,react.useEffect)(function () { - if (freeze.current) return; - if (!(editData !== null && editData !== void 0 && editData.question_title)) { - setIsEdit(true); - setTitle(''); - setChecked(false); - setScore(2); - setAnswerList([]); - setActiveOptionErrorIndex(''); - setFirstSetAnswerFlag(false); - return; - } - setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); - setChecked(editData === null || editData === void 0 ? void 0 : editData.is_ordered); - setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); - setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); - setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); - var answer = editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item) { - return item.answer_text; - }); - setAnswerList(toConsumableArray_default()(answer)); - setKnowledge(editData.tag_discipline_ids); - setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); - }, [editData, isEdit]); - (0,react.useEffect)(function () { - setFirstSetAnswerFlag(false); - if (isEdit) { - init(); - } - function init() { - return _init.apply(this, arguments); - } - function _init() { - _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _newExercisePaper$edi, _newExercisePaper$edi2; - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,service_exercise/* getTagDiscipline */.YY)({ - sub_discipline_id: (_newExercisePaper$edi = newExercisePaper.editData) === null || _newExercisePaper$edi === void 0 ? void 0 : (_newExercisePaper$edi2 = _newExercisePaper$edi.exercise) === null || _newExercisePaper$edi2 === void 0 ? void 0 : _newExercisePaper$edi2.sub_discipline_id - }); - case 2: - res = _context.sent; - setKnowledgeOptions(res.tag_disciplines); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _init.apply(this, arguments); - } - }, [isEdit]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - (0,react.useEffect)(function () { - var _newExercisePaper$tag; - var data = newExercisePaper !== null && newExercisePaper !== void 0 && (_newExercisePaper$tag = newExercisePaper.tagDisciplineData) !== null && _newExercisePaper$tag !== void 0 && _newExercisePaper$tag.tag_disciplines && Array.isArray(newExercisePaper.tagDisciplineData.tag_disciplines) ? newExercisePaper.tagDisciplineData.tag_disciplines : []; - setKnowledgeOptions(data); - }, [newExercisePaper.tagDisciplineData]); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var answerArray, isEmpty, res, _newExercisePaper$edi3, _newExercisePaper$edi4, _newExercisePaper$edi5, _newExercisePaper$edi6; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - answerArray = []; - isEmpty = false; - setBtnSave(true); //保存的时候不弹出删除框 - answerList.forEach(function (answers, index) { - answerArray.push({ - position: index + 1, - answer_text: [] - }); - answers.forEach(function (item, itemIndex) { - answerArray[index].answer_text.push(item); - if (!item || !(0,util/* validateLength */.eR)(item, 10000)) { - setActiveOptionErrorIndex("".concat(index, "-").concat(itemIndex)); - message/* default.info */.ZP.info(!item ? "\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A" : "答案不能超过10000字符"); - isEmpty = true; - } - }); - }); - if (!isEmpty) { - _context2.next = 7; - break; - } - setBtnSave(false); - return _context2.abrupt("return", false); - case 7: - // if (knowledge.length < 1) { - // message.info("请选择知识点"); - // return false; - // } - freeze.current = true; - if (!editData.question_id) { - _context2.next = 15; - break; - } - _context2.next = 11; - return dispatch({ - type: "newExercisePaper/editExerciseQuestion", - payload: { - "id": params.id, - "question_id": editData.question_id, - "name": title, - "item_type": 3, - "question_score": score, - "is_ordered": checked, - "standard_answers": answerArray, - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_newExercisePaper$edi3 = newExercisePaper.editData) === null || _newExercisePaper$edi3 === void 0 ? void 0 : (_newExercisePaper$edi4 = _newExercisePaper$edi3.exercise) === null || _newExercisePaper$edi4 === void 0 ? void 0 : _newExercisePaper$edi4.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 11: - res = _context2.sent; - repeal(res); - _context2.next = 19; - break; - case 15: - _context2.next = 17; - return dispatch({ - type: "newExercisePaper/addExerciseQuestion", - payload: { - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - id: params.id, - "name": title, - "item_type": 3, - "question_score": score, - "is_ordered": checked, - "standard_answers": answerArray, - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_newExercisePaper$edi5 = newExercisePaper.editData) === null || _newExercisePaper$edi5 === void 0 ? void 0 : (_newExercisePaper$edi6 = _newExercisePaper$edi5.exercise) === null || _newExercisePaper$edi6 === void 0 ? void 0 : _newExercisePaper$edi6.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis - } - }); - case 17: - res = _context2.sent; - repeal(res); - case 19: - setBtnSave(false); - return _context2.abrupt("return", { - name: title, - analysis: analysis, - standard_answers: answerArray, - is_ordered: checked - }); - case 21: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var handlePlaceholderChange = function handlePlaceholderChange(placeholderCountBefore, placeholderCountInRange, totalPlaceholderCount) { - var newStandardAnswers = answerList.slice(); - if (placeholderCountInRange) { - newStandardAnswers.splice(placeholderCountBefore, placeholderCountInRange); - } - if (totalPlaceholderCount && firstSetAnswerFlag || !editData.question_id) { - for (var i = 0; i < totalPlaceholderCount; i++) { - newStandardAnswers.splice(placeholderCountBefore + i, 0, [""]); - } - } - setTotalBlanks(newStandardAnswers === null || newStandardAnswers === void 0 ? void 0 : newStandardAnswers.length); - setFirstSetAnswerFlag(true); - setAnswerList(newStandardAnswers); - }; - var handleAnswerChange = function handleAnswerChange(index, itemIndex, val) { - setActiveOptionErrorIndex(''); - var newStandardAnswers = answerList.slice(); - newStandardAnswers[index][itemIndex] = val; - setAnswerList(newStandardAnswers); - }; - var handleAddChildAnswer = function handleAddChildAnswer(index) { - var newStandardAnswers = answerList.slice(); - newStandardAnswers[index] = [].concat(toConsumableArray_default()(newStandardAnswers[index]), ['']); - setAnswerList(newStandardAnswers); - }; - var handleDeleteChildAnswer = function handleDeleteChildAnswer(index, childIndex) { - var newStandardAnswers = answerList.slice(); - if (!newStandardAnswers[index][childIndex]) { - newStandardAnswers[index] = newStandardAnswers[index].filter(function (_, key) { - return key !== childIndex; - }); - setAnswerList(newStandardAnswers); - return; - } - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '提示', - content: '确认要删除这个参考答案吗?', - className: Questions_editormodules.modal, - onOk: function onOk() { - newStandardAnswers[index] = newStandardAnswers[index].filter(function (_, key) { - return key !== childIndex; - }); - setAnswerList(newStandardAnswers); - } - }); - }; - var handleDeleteChildAnswermain = function handleDeleteChildAnswermain(index) { - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '提示', - content: '确认要删除这个参考答案吗?', - className: Questions_editormodules.modal, - onOk: function onOk() { - var key = 0; - setTitle(title.replace(/\▁/g, function (item) { - key++; - if (key - 1 === index) { - return ""; - } else { - return item; - } - })); - setTimeout(function () { - var newStandardAnswers = answerList.slice(); - newStandardAnswers = answerList.filter(function (_, key) { - return index !== key; - }); - setAnswerList(newStandardAnswers); - }, 500); - } - }); - }; - var showEdit = function showEdit() { - var _newExercisePaper$edi7, _newExercisePaper$edi8; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u586B\u7A7A\u9898" - }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848 \uFF1B\u652F\u6301\u6700\u591A5\u4E2A\u7A7A\uFF0C\u6BCF\u7A7A\u5F97\u5206\u6309\u7167\u672C\u9898\u7684\u603B\u5206\u5E73\u5747\u8BA1\u7B97\uFF09"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(NullMDEditor/* default */.Z, { - id: "completion-question-tittle", - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE", - height: 155, - defaultValue: title, - onChange: function onChange(value) { - return setTitle(value); - }, - showNullButton: true, - deleteEmptyDisabled: false || btnSave, - onPlaceholderChange: handlePlaceholderChange - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt20", - children: answerList.map(function (answers, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(NullChildEditor/* default */.Z, { - answers: answers, - index: index, - is_md: true, - exerciseIsPublish: false, - activeOptionErrorIndex: activeOptionErrorIndex, - onAnswerChange: handleAnswerChange, - addChildAnswer: handleAddChildAnswer, - deleteChildAnswer: handleDeleteChildAnswer, - deleteChildAnswermain: handleDeleteChildAnswermain - }, index); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt20", - children: answerList.length > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { - checked: checked, - onChange: function onChange(e) { - return setChecked(e.target.checked); - }, - className: "".concat(Questions_editormodules.color333, " font14"), - children: "\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "".concat(Questions_editormodules.color999, " font12"), - children: "\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: Questions_editormodules.titleWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.title, - children: "\u9898\u76EE\u89E3\u6790\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", - defaultValue: analysis, - onChange: function onChange(value) { - return setAnalysis(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: 'red' - }, - children: "*" - }), "\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - value: score, - max: 10000, - min: 0, - onChange: function onChange(value) { - setScore(value); - } - }), " \u5206 \xA0 ", !!score && !!totalBlanks && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - color: 'red' - }, - children: ["(\u6839\u636E\u5747\u5206\u89C4\u5219\uFF0C\u672C\u9898\u6BCF\u7A7A", (score / totalBlanks).toFixed(1), "\u5206)"] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - marginLeft: '30px' - }, - className: Questions_editormodules.difficult, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { - style: { - color: 'red' - }, - children: "*" - }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: difficulty, - onChange: function onChange(e) { - setdifficult(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "".concat(Questions_editormodules.title), - children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.colorGray, - children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - value: knowledge, - selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, - onChange: setKnowledge, - subId: (_newExercisePaper$edi7 = newExercisePaper.editData) === null || _newExercisePaper$edi7 === void 0 ? void 0 : (_newExercisePaper$edi8 = _newExercisePaper$edi7.exercise) === null || _newExercisePaper$edi8 === void 0 ? void 0 : _newExercisePaper$edi8.sub_discipline_id, - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: 10 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 10 - }, - children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { - checked: repeat_answer, - onChange: function onChange(e) { - setrepeat_answer(e); - } - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - var actionArr = [{ - name: "删除", - icon: "iconfont c-light-black ml30 icon-shanchu current", - id: "del" - }, { - name: "(向下插入填空题)", - icon: "iconfont c-light-primary ml30 icon-tianjia current", - id: "add" - }, { - name: "编辑", - icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", - id: "edit" - }]; - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(item) { - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (!(editKey !== -1)) { - _context4.next = 3; - break; - } - message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); - return _context4.abrupt("return"); - case 3: - _context4.t0 = item.id; - _context4.next = _context4.t0 === "del" ? 6 : _context4.t0 === "edit" ? 8 : _context4.t0 === "add" ? 11 : 13; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return (0,paperlibrary/* deleteQuestion */.Km)({ - question_id: editData.question_id, - exam_id: params.id - }); - case 2: - reload(); - case 3: - case "end": - return _context3.stop(); - } - }, _callee3); - }))(); - } - }); - return _context4.abrupt("break", 13); - case 8: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context4.abrupt("break", 13); - case 11: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 3 - }); - return _context4.abrupt("break", 13); - case 13: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var showList = function showList() { - var _editData$standard_an; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u586B\u7A7A\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionChoices, - children: editData === null || editData === void 0 ? void 0 : (_editData$standard_an = editData.standard_answer) === null || _editData$standard_an === void 0 ? void 0 : _editData$standard_an.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - align: "middle", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - children: ["\u7B54\u6848\uFF08\u586B\u7A7A", item.choice_id, "\uFF09\uFF1A"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { - align: "middle", - gutter: [1, 1], - children: item.answer_text.map(function (val, key) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 24, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - checked: editData.standard_answer.includes(index), - disabled: true, - value: val - }, index) - }, key); - }) - }) - })] - }, index); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.action, - children: !editData.hideAction && actionArr.map(function (item, index) { - if (item.id === "up" && editData.key === 1) return null; - if (item.id === "down" && editData.key === editData.len) return null; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - }) - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: Questions_editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}; -/* harmony default export */ var Questions_CompletionEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var newExercisePaper = _ref4.newExercisePaper; - return { - newExercisePaper: newExercisePaper - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(CompletionEditor_CompletionEditor))); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/Questions/SubjectiveEditor.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var SubjectiveEditor_SubjectiveEditor = function SubjectiveEditor(_ref, ref) { - var newExercisePaper = _ref.newExercisePaper, - dispatch = _ref.dispatch, - editData = _ref.editData, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback; - var _useState = (0,react.useState)(''), - _useState2 = slicedToArray_default()(_useState, 2), - title = _useState2[0], - setTitle = _useState2[1]; - var _useState3 = (0,react.useState)(''), - _useState4 = slicedToArray_default()(_useState3, 2), - analysis = _useState4[0], - setAnalysis = _useState4[1]; - var _useState5 = (0,react.useState)(''), - _useState6 = slicedToArray_default()(_useState5, 2), - answer = _useState6[0], - setAnswer = _useState6[1]; - var _useState7 = (0,react.useState)(), - _useState8 = slicedToArray_default()(_useState7, 2), - score = _useState8[0], - setScore = _useState8[1]; - var _useState9 = (0,react.useState)(false), - _useState10 = slicedToArray_default()(_useState9, 2), - isEdit = _useState10[0], - setIsEdit = _useState10[1]; - var _useState11 = (0,react.useState)([]), - _useState12 = slicedToArray_default()(_useState11, 2), - knowledge = _useState12[0], - setKnowledge = _useState12[1]; - var _useState13 = (0,react.useState)(1), - _useState14 = slicedToArray_default()(_useState13, 2), - difficulty = _useState14[0], - setdifficult = _useState14[1]; - var _useState15 = (0,react.useState)(false), - _useState16 = slicedToArray_default()(_useState15, 2), - repeat_answer = _useState16[0], - setrepeat_answer = _useState16[1]; - var _useState17 = (0,react.useState)([[], []]), - _useState18 = slicedToArray_default()(_useState17, 2), - keyword = _useState18[0], - setKeyword = _useState18[1]; - var freeze = (0,react.useRef)(false); - var params = (0,_umi_production_exports.useParams)(); - var _useState19 = (0,react.useState)([]), - _useState20 = slicedToArray_default()(_useState19, 2), - knowledgeOptions = _useState20[0], - setKnowledgeOptions = _useState20[1]; - var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { - setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); - }; - (0,react.useEffect)(function () { - var _editData$standard_an; - if (freeze.current) return; - if (!(editData !== null && editData !== void 0 && editData.question_title)) { - setIsEdit(true); - setTitle(''); - setAnswer(''); - setScore(10); - return; - } - setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); - setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); - setAnswer(editData === null || editData === void 0 ? void 0 : (_editData$standard_an = editData.standard_answer) === null || _editData$standard_an === void 0 ? void 0 : _editData$standard_an[0]); - setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); - setKnowledge(editData.tag_discipline_ids); - setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); - setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); - setKeyword([editData === null || editData === void 0 ? void 0 : editData.normal_keywords, editData === null || editData === void 0 ? void 0 : editData.main_keywords]); - }, [newExercisePaper.editData, isEdit]); - (0,react.useEffect)(function () { - var _newExercisePaper$tag; - var data = newExercisePaper !== null && newExercisePaper !== void 0 && (_newExercisePaper$tag = newExercisePaper.tagDisciplineData) !== null && _newExercisePaper$tag !== void 0 && _newExercisePaper$tag.tag_disciplines && Array.isArray(newExercisePaper.tagDisciplineData.tag_disciplines) ? newExercisePaper.tagDisciplineData.tag_disciplines : []; - setKnowledgeOptions(data); - }, [newExercisePaper.tagDisciplineData]); - (0,react.useEffect)(function () { - if (isEdit) { - init(); - } - function init() { - return _init.apply(this, arguments); - } - function _init() { - _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _newExercisePaper$edi, _newExercisePaper$edi2; - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,service_exercise/* getTagDiscipline */.YY)({ - sub_discipline_id: (_newExercisePaper$edi = newExercisePaper.editData) === null || _newExercisePaper$edi === void 0 ? void 0 : (_newExercisePaper$edi2 = _newExercisePaper$edi.exercise) === null || _newExercisePaper$edi2 === void 0 ? void 0 : _newExercisePaper$edi2.sub_discipline_id - }); - case 2: - res = _context.sent; - setKnowledgeOptions(res.tag_disciplines); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _init.apply(this, arguments); - } - }, [isEdit]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var normal_keywords, main_keywords, res, _newExercisePaper$edi3, _newExercisePaper$edi4, _newExercisePaper$edi5, _newExercisePaper$edi6; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - if (title) { - _context2.next = 3; - break; - } - message/* default.info */.ZP.info("请您输入题干"); - return _context2.abrupt("return", false); - case 3: - // if (knowledge.length < 1) { - // message.info("请选择知识点"); - // return false; - // } - normal_keywords = keyword[0]; - main_keywords = keyword[1]; - freeze.current = true; - if (!editData.question_id) { - _context2.next = 13; - break; - } - _context2.next = 9; - return dispatch({ - type: "newExercisePaper/editExerciseQuestion", - payload: { - "id": params.id, - "question_id": editData.question_id, - "name": title, - "item_type": 4, - "question_score": score, - "answer_texts": [answer], - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_newExercisePaper$edi3 = newExercisePaper.editData) === null || _newExercisePaper$edi3 === void 0 ? void 0 : (_newExercisePaper$edi4 = _newExercisePaper$edi3.exercise) === null || _newExercisePaper$edi4 === void 0 ? void 0 : _newExercisePaper$edi4.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis, - normal_keywords: normal_keywords, - main_keywords: main_keywords - } - }); - case 9: - res = _context2.sent; - repeal(res); - _context2.next = 17; - break; - case 13: - _context2.next = 15; - return dispatch({ - type: "newExercisePaper/addExerciseQuestion", - payload: { - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - "id": params.id, - "name": title, - "item_type": 4, - "question_score": score, - "answer_texts": [answer], - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_newExercisePaper$edi5 = newExercisePaper.editData) === null || _newExercisePaper$edi5 === void 0 ? void 0 : (_newExercisePaper$edi6 = _newExercisePaper$edi5.exercise) === null || _newExercisePaper$edi6 === void 0 ? void 0 : _newExercisePaper$edi6.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - analysis: analysis, - normal_keywords: normal_keywords, - main_keywords: main_keywords - } - }); - case 15: - res = _context2.sent; - repeal(res); - case 17: - return _context2.abrupt("return", { - name: title, - answer_texts: [answer], - analysis: analysis, - normal_keywords: normal_keywords, - main_keywords: main_keywords - }); - case 18: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var showEdit = function showEdit() { - var _newExercisePaper$edi7, _newExercisePaper$edi8; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u4E3B\u89C2\u9898" - }), "\uFF08\u4E3B\u89C2\u9898\uFF0C\u672A\u4F5C\u7B54\u7684\u60C5\u51B5\u4E0B\u81EA\u52A8\u8BC4\u4E3A\u96F6\u5206\uFF09"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", - defaultValue: title, - onChange: function onChange(value) { - return setTitle(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: Questions_editormodules.titleWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.title, - children: "\u53C2\u8003\u7B54\u6848\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-reference-answer", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848", - defaultValue: answer, - onChange: function onChange(value) { - return setAnswer(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)(components_EditorKeyword, { - value: keyword, - onChange: setKeyword - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: Questions_editormodules.titleWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.title, - children: "\u9898\u76EE\u89E3\u6790\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", - defaultValue: analysis, - onChange: function onChange(value) { - return setAnalysis(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "", - children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - value: score, - max: 10000, - min: 0, - onChange: function onChange(value) { - setScore(value); - } - }), " \u5206", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - marginLeft: '30px' - }, - className: Questions_editormodules.difficult, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { - style: { - color: 'red' - }, - children: "*" - }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: difficulty, - onChange: function onChange(e) { - setdifficult(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "".concat(Questions_editormodules.title), - children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.colorGray, - children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - value: knowledge, - selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, - onChange: setKnowledge, - subId: (_newExercisePaper$edi7 = newExercisePaper.editData) === null || _newExercisePaper$edi7 === void 0 ? void 0 : (_newExercisePaper$edi8 = _newExercisePaper$edi7.exercise) === null || _newExercisePaper$edi8 === void 0 ? void 0 : _newExercisePaper$edi8.sub_discipline_id, - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: 10 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 10 - }, - children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { - checked: repeat_answer, - onChange: function onChange(e) { - setrepeat_answer(e); - } - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - var actionArr = [{ - name: "删除", - icon: "iconfont c-light-black ml30 icon-shanchu current", - id: "del" - }, { - name: "(向下插入简答题)", - icon: "iconfont c-light-primary ml30 icon-tianjia current", - id: "add" - }, { - name: "编辑", - icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", - id: "edit" - }]; - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(item) { - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (!(editKey !== -1)) { - _context4.next = 3; - break; - } - message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); - return _context4.abrupt("return"); - case 3: - _context4.t0 = item.id; - _context4.next = _context4.t0 === "del" ? 6 : _context4.t0 === "edit" ? 8 : _context4.t0 === "add" ? 11 : 13; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return (0,paperlibrary/* deleteQuestion */.Km)({ - question_id: editData.question_id, - exam_id: params.id - }); - case 2: - reload(); - case 3: - case "end": - return _context3.stop(); - } - }, _callee3); - }))(); - } - }); - return _context4.abrupt("break", 13); - case 8: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context4.abrupt("break", 13); - case 11: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 4 - }); - return _context4.abrupt("break", 13); - case 13: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var showList = function showList() { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u7B80\u7B54\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Questions_editormodules.questionChoices, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - children: "\u53C2\u8003\u7B54\u6848\uFF1A" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: answer || '' - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.action, - children: !editData.hideAction && actionArr.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - }) - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: Questions_editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}; -/* harmony default export */ var Questions_SubjectiveEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var newExercisePaper = _ref4.newExercisePaper; - return { - newExercisePaper: newExercisePaper - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(SubjectiveEditor_SubjectiveEditor))); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/Questions/ShixunEditor.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var ShixunEditor_ShixunEditor = function ShixunEditor(_ref, ref) { - var dispatch = _ref.dispatch, - editData = _ref.editData, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload; - var _useState = (0,react.useState)(''), - _useState2 = slicedToArray_default()(_useState, 2), - name = _useState2[0], - setName = _useState2[1]; - var _useState3 = (0,react.useState)(''), - _useState4 = slicedToArray_default()(_useState3, 2), - title = _useState4[0], - setTitle = _useState4[1]; - var _useState5 = (0,react.useState)(''), - _useState6 = slicedToArray_default()(_useState5, 2), - analysis = _useState6[0], - setAnalysis = _useState6[1]; - var _useState7 = (0,react.useState)([]), - _useState8 = slicedToArray_default()(_useState7, 2), - answerList = _useState8[0], - setAnswerList = _useState8[1]; - var _useState9 = (0,react.useState)(), - _useState10 = slicedToArray_default()(_useState9, 2), - checked = _useState10[0], - setChecked = _useState10[1]; - var _useState11 = (0,react.useState)(false), - _useState12 = slicedToArray_default()(_useState11, 2), - firstSetAnswerFlag = _useState12[0], - setFirstSetAnswerFlag = _useState12[1]; - var _useState13 = (0,react.useState)([]), - _useState14 = slicedToArray_default()(_useState13, 2), - score = _useState14[0], - setScore = _useState14[1]; - var _useState15 = (0,react.useState)(false), - _useState16 = slicedToArray_default()(_useState15, 2), - isEdit = _useState16[0], - setIsEdit = _useState16[1]; - var _useState17 = (0,react.useState)(false), - _useState18 = slicedToArray_default()(_useState17, 2), - btnLoading = _useState18[0], - setBtnLoading = _useState18[1]; - var params = (0,_umi_production_exports.useParams)(); - var freeze = (0,react.useRef)(false); - (0,react.useEffect)(function () { - var _editData$shixun; - if (freeze.current) return; - if (editData.edit) { - setIsEdit(true); - setTitle(''); - setName(''); - setScore([]); - } - setName(editData.shixun_name); - setTitle(editData.question_title); - var arr = []; - (_editData$shixun = editData.shixun) === null || _editData$shixun === void 0 ? void 0 : _editData$shixun.map(function (item) { - arr.push(parseFloat(item.challenge_score)); - }); - setScore(arr); - }, [editData]); - (0,react.useEffect)(function () { - setFirstSetAnswerFlag(false); - }, [isEdit]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success('保存成功'); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var answerArray, isEmpty, res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - answerArray = []; - isEmpty = false; - if (!isEmpty) { - _context.next = 4; - break; - } - return _context.abrupt("return", false); - case 4: - freeze.current = true; - setBtnLoading(true); - if (!editData.question_id) { - _context.next = 12; - break; - } - _context.next = 9; - return dispatch({ - type: 'newExercisePaper/editExerciseQuestion', - payload: { - id: params.id, - question_id: editData.question_id, - name: title, - shixun_name: name, - shixun_id: editData.shixun_id, - item_type: 5, - question_scores: score - } - }); - case 9: - res = _context.sent; - _context.next = 15; - break; - case 12: - _context.next = 14; - return dispatch({ - type: 'newExercisePaper/addExerciseQuestion', - payload: { - id: params.id, - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - name: title, - shixun_name: name, - shixun_id: editData.shixun_id, - item_type: 5, - question_scores: score, - is_copy: editData.is_copy - } - }); - case 14: - res = _context.sent; - case 15: - repeal(res); - setBtnLoading(false); - return _context.abrupt("return", { - name: title, - analysis: analysis, - standard_answers: answerArray, - is_ordered: checked - }); - case 18: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var showEdit = function showEdit() { - var _editData$shixun2; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u5B9E\u8BAD\u9898" - }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF09"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt10", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - defaultValue: name, - onChange: function onChange(e) { - setName(e.target.value); - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt10", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-option-0", - height: 155, - placeholder: "\u8BF7\u8F93\u5165\u5B9E\u8BAD\u9898\u5B8C\u6210\u8981\u6C42", - defaultValue: title, - onChange: function onChange(value) { - setTitle(value); - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt20", - children: (_editData$shixun2 = editData.shixun) === null || _editData$shixun2 === void 0 ? void 0 : _editData$shixun2.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - gutter: [20, 20], - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - flex: "1", - children: [index + 1, ".", item.challenge_name] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - defaultValue: score[index], - onChange: function onChange(value) { - var newScoreArr = toConsumableArray_default()(score); - newScoreArr[index] = value; - setScore(newScoreArr); - } - }), "\u5206"] - })] - }); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt20", - children: answerList.length > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { - checked: checked, - onChange: function onChange(e) { - return setChecked(e.target.checked); - }, - className: "".concat(Questions_editormodules.color333, " font14"), - children: "\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "".concat(Questions_editormodules.color999, " font12"), - children: "\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || !(editData !== null && editData !== void 0 && editData.edit)) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - loading: btnLoading, - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - var actionArr = [{ - name: '删除', - icon: 'iconfont c-light-black ml30 icon-shanchu current', - id: 'del' - }, { - name: '(向下插入实训题)', - icon: 'iconfont c-light-primary ml30 icon-tianjia current', - id: 'add' - }, { - name: '编辑', - icon: 'iconfont c-light-primary ml30 icon-bianjishijuan3x current', - id: 'edit' - }]; - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(item) { - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - if (!(editKey !== -1)) { - _context3.next = 3; - break; - } - message/* default.error */.ZP.error('请先保存或取消当前正在编辑的问题。'); - return _context3.abrupt("return"); - case 3: - _context3.t0 = item.id; - _context3.next = _context3.t0 === 'del' ? 6 : _context3.t0 === 'edit' ? 8 : _context3.t0 === 'add' ? 11 : 13; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return (0,paperlibrary/* deleteQuestion */.Km)({ - question_id: editData.question_id, - exam_id: params.id - }); - case 2: - reload(); - case 3: - case "end": - return _context2.stop(); - } - }, _callee2); - }))(); - } - }); - return _context3.abrupt("break", 13); - case 8: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context3.abrupt("break", 13); - case 11: - dispatch({ - type: 'classroomList/setActionTabs', - payload: { - key: '选用实践项目', - editData: { - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 5 - } - } - }); - return _context3.abrupt("break", 13); - case 13: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var showList = function showList() { - var _editData$schools, _editData$shixun3; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u5B9E\u8BAD\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.shixun_name - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - }), !!((_editData$schools = editData.schools) !== null && _editData$schools !== void 0 && _editData$schools.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u8BE5\u5B9E\u8BAD\u9898\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-zhidinggongkai1 font18 line24 c-orange" - }) - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.shixun_name - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt30" - }), (_editData$shixun3 = editData.shixun) === null || _editData$shixun3 === void 0 ? void 0 : _editData$shixun3.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: ["\u7B2C", index + 1, "\u5173", ' ', /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "ml10", - children: item.challenge_name - }), ' ', /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "ml10", - children: [item.challenge_score, " \u5206"] - })] - }, index); - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Questions_editormodules.action, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - target: "_blank", - to: "/shixuns/".concat(editData.shixun_identifier, "/challenges?exercise=true"), - children: "\u5B9E\u8BAD\u8BE6\u60C5" - }), !editData.hideAction && actionArr.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - })] - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: Questions_editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}; -/* harmony default export */ var Questions_ShixunEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var newExercisePaper = _ref4.newExercisePaper; - return { - newExercisePaper: newExercisePaper - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(ShixunEditor_ShixunEditor))); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/Questions/ProgrammingEditor.tsx - - - - - - - - - - - - - - - - - - - -var Questions_ProgrammingEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; -var ProgrammingEditor_ProgrammingEditor = function ProgrammingEditor(_ref, ref) { - var newExercisePaper = _ref.newExercisePaper, - dispatch = _ref.dispatch, - editData = _ref.editData, - editKey = _ref.editKey, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload; - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - questionChoiceList = _useState2[0], - setQuestionChoiceList = _useState2[1]; - var _useState3 = (0,react.useState)(), - _useState4 = slicedToArray_default()(_useState3, 2), - activeEditor = _useState4[0], - setActiveEditor = _useState4[1]; - var _useState5 = (0,react.useState)([]), - _useState6 = slicedToArray_default()(_useState5, 2), - activeAnswer = _useState6[0], - setActiveAnswer = _useState6[1]; - var _useState7 = (0,react.useState)(''), - _useState8 = slicedToArray_default()(_useState7, 2), - title = _useState8[0], - setTitle = _useState8[1]; - var _useState9 = (0,react.useState)(5), - _useState10 = slicedToArray_default()(_useState9, 2), - score = _useState10[0], - setScore = _useState10[1]; - var _useState11 = (0,react.useState)(false), - _useState12 = slicedToArray_default()(_useState11, 2), - isEdit = _useState12[0], - setIsEdit = _useState12[1]; - var params = (0,_umi_production_exports.useParams)(); - (0,react.useEffect)(function () { - setQuestionChoiceList(['', '', '', '']); - }, []); - (0,react.useEffect)(function () { - if (!(editData !== null && editData !== void 0 && editData.question_choices)) { - setIsEdit(true); - setTitle(''); - setScore(5); - setQuestionChoiceList(['', '', '', '']); - setActiveAnswer([]); - return; - } - setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); - setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); - setQuestionChoiceList(editData === null || editData === void 0 ? void 0 : editData.question_choices.map(function (item) { - return item.choice_text; - })); - var answerIndexs = []; - editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item, index) { - answerIndexs.push(item - 1); - }); - setActiveAnswer(answerIndexs); - }, [editData]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var findNotAnswerIndex, choices, res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - if (title) { - _context.next = 3; - break; - } - message/* default.info */.ZP.info("请您输入题目"); - return _context.abrupt("return", false); - case 3: - findNotAnswerIndex = questionChoiceList.findIndex(function (item) { - return !item; - }); - if (!(findNotAnswerIndex > -1)) { - _context.next = 7; - break; - } - message/* default.info */.ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(Questions_ProgrammingEditor_tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9")); - return _context.abrupt("return", false); - case 7: - if (activeAnswer.length) { - _context.next = 10; - break; - } - message/* default.info */.ZP.info("请设置本题的正确答案,点击选项A/B...即可完成设置"); - return _context.abrupt("return", false); - case 10: - if (!(activeAnswer.length < 1)) { - _context.next = 13; - break; - } - message/* default.info */.ZP.info("请选择答案"); - return _context.abrupt("return", false); - case 13: - choices = questionChoiceList.map(function (item, index) { - return { - choice_text: item, - is_answer: activeAnswer.includes(index) ? index + 1 : 0 - }; - }); - if (!editData.question_id) { - _context.next = 20; - break; - } - _context.next = 17; - return dispatch({ - type: "newExercisePaper/editExerciseQuestion", - payload: { - "id": editData.question_id, - "question_title": title, - "question_type": 1, - "question_score": score, - "question_choices": choices.map(function (item) { - return item.choice_text; - }), - "standard_answers": choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }) - } - }); - case 17: - res = _context.sent; - _context.next = 23; - break; - case 20: - _context.next = 22; - return dispatch({ - type: "newExercisePaper/addExerciseQuestion", - payload: { - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - "categoryId": params.categoryId, - "question_title": title, - "question_type": 1, - "question_score": "5.0", - "question_choices": choices.map(function (item) { - return item.choice_text; - }), - "standard_answers": choices.filter(function (item) { - return item.is_answer; - }).map(function (item) { - return item.is_answer; - }) - } - }); - case 22: - res = _context.sent; - case 23: - if (res.status === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - dispatch({ - type: "newExercisePaper/editExercise", - payload: objectSpread2_default()({}, params) - }); - } - case 24: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var actionArr = [{ - name: "删除", - icon: "iconfont c-light-black ml30 icon-shanchu current", - id: "del" - }, { - name: "(向下插入编程题)", - icon: "iconfont c-light-primary ml30 icon-tianjia current", - id: "add" - }, { - name: "编辑", - icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", - id: "edit" - }]; - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(item) { - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - if (!(editKey !== -1)) { - _context3.next = 3; - break; - } - message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); - return _context3.abrupt("return"); - case 3: - _context3.t0 = item.id; - _context3.next = _context3.t0 === "del" ? 6 : _context3.t0 === "edit" ? 8 : _context3.t0 === "add" ? 10 : 12; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return (0,paperlibrary/* deleteQuestion */.Km)({ - exam_id: params.id, - question_id: editData.question_id - }); - case 2: - reload(); - case 3: - case "end": - return _context2.stop(); - } - }, _callee2); - }))(); - } - }); - return _context3.abrupt("break", 12); - case 8: - _umi_production_exports.history.push("/problems/".concat(editData === null || editData === void 0 ? void 0 : editData.hack_identifier, "/edit?type=exercises&express_id=").concat(params.id, "&question_id=").concat(editData === null || editData === void 0 ? void 0 : editData.question_id, "&score=").concat(editData === null || editData === void 0 ? void 0 : editData.question_score, "&exercise=true&callback_url=").concat(location.pathname)); - return _context3.abrupt("break", 12); - case 10: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - question_type: 6 - }); - return _context3.abrupt("break", 12); - case 12: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var handleClick = /*#__PURE__*/function () { - var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(e) { - var res; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - e.preventDefault(); - _context4.next = 3; - return (0,service_exercise/* startProgram */.nF)({ - id: editData === null || editData === void 0 ? void 0 : editData.hack_identifier - }); - case 3: - res = _context4.sent; - res.status === 0 && (0,util/* openNewWindow */.xg)("/myproblems/".concat(res === null || res === void 0 ? void 0 : res.identifier)); - case 5: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function handleClick(_x2) { - return _ref4.apply(this, arguments); - }; - }(); - var showList = function showList() { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u7F16\u7A0B\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionChoices, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.description || '' - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.action, - children: !editData.hideAction && actionArr.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - }) - })] - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsx)("section", { - className: Questions_editormodules.wrap, - children: showList() - }); -}; -/* harmony default export */ var Questions_ProgrammingEditor = ((0,_umi_production_exports.connect)(function (_ref5) { - var newExercisePaper = _ref5.newExercisePaper; - return { - newExercisePaper: newExercisePaper - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(ProgrammingEditor_ProgrammingEditor))); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/Questions/CombinationEditor.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var Questions_CombinationEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; -var CombinationEditor_CombinationEditor = function CombinationEditor(_ref, ref) { - var newExercisePaper = _ref.newExercisePaper, - dispatch = _ref.dispatch, - editData = _ref.editData, - _ref$cancelAdd = _ref.cancelAdd, - cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, - editKey = _ref.editKey, - _ref$setEditKey = _ref.setEditKey, - setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, - _ref$addCallback = _ref.addCallback, - addCallback = _ref$addCallback === void 0 ? function (data) {} : _ref$addCallback, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload; - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - knowledge = _useState2[0], - setKnowledge = _useState2[1]; - var _useState3 = (0,react.useState)(false), - _useState4 = slicedToArray_default()(_useState3, 2), - isEdit = _useState4[0], - setIsEdit = _useState4[1]; - var _useState5 = (0,react.useState)(true), - _useState6 = slicedToArray_default()(_useState5, 2), - show = _useState6[0], - setShow = _useState6[1]; - var _useState7 = (0,react.useState)(1), - _useState8 = slicedToArray_default()(_useState7, 2), - difficulty = _useState8[0], - setdifficult = _useState8[1]; - var _useState9 = (0,react.useState)(false), - _useState10 = slicedToArray_default()(_useState9, 2), - repeat_answer = _useState10[0], - setrepeat_answer = _useState10[1]; - var _useState11 = (0,react.useState)([]), - _useState12 = slicedToArray_default()(_useState11, 2), - knowledgeOptions = _useState12[0], - setKnowledgeOptions = _useState12[1]; - var params = (0,_umi_production_exports.useParams)(); - var dom = (0,react.useRef)(null); - var _useState13 = (0,react.useState)(''), - _useState14 = slicedToArray_default()(_useState13, 2), - name = _useState14[0], - setName = _useState14[1]; - var _useState15 = (0,react.useState)([]), - _useState16 = slicedToArray_default()(_useState15, 2), - questionList = _useState16[0], - setQuestionList = _useState16[1]; - var freeze = (0,react.useRef)(false); - var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { - setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); - }; - (0,react.useEffect)(function () { - var _editData$sub_exercis; - if (freeze.current) return; - if (!(editData !== null && editData !== void 0 && editData.question_title)) { - setIsEdit(true); - setName(''); - return; - } - setName(editData === null || editData === void 0 ? void 0 : editData.question_title); - setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); - setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); - setKnowledge(editData.tag_discipline_ids); - var list = editData === null || editData === void 0 ? void 0 : (_editData$sub_exercis = editData.sub_exercise_questions) === null || _editData$sub_exercis === void 0 ? void 0 : _editData$sub_exercis.map(function (k) { - return objectSpread2_default()(objectSpread2_default()({}, k), {}, { - id: k.question_id, - name: k.question_title, - open: false, - question_score: k.question_score, - choices: k === null || k === void 0 ? void 0 : k.question_choices.map(function (item) { - return { - choice_text: item.choice_text, - is_answer: item.standard_boolean ? 1 : 0 - }; - }), - activeQusEditor: null - }); - }); - setQuestionList(list); - }, [editData, isEdit]); - (0,react.useEffect)(function () { - if (isEdit) { - init(); - } - function init() { - return _init.apply(this, arguments); - } - function _init() { - _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _newExercisePaper$edi, _newExercisePaper$edi2; - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,service_exercise/* getTagDiscipline */.YY)({ - sub_discipline_id: (_newExercisePaper$edi = newExercisePaper.editData) === null || _newExercisePaper$edi === void 0 ? void 0 : (_newExercisePaper$edi2 = _newExercisePaper$edi.exercise) === null || _newExercisePaper$edi2 === void 0 ? void 0 : _newExercisePaper$edi2.sub_discipline_id - }); - case 2: - res = _context.sent; - setKnowledgeOptions(res.tag_disciplines); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _init.apply(this, arguments); - } - }, [isEdit]); - (0,react.useEffect)(function () { - var _newExercisePaper$tag; - var data = newExercisePaper !== null && newExercisePaper !== void 0 && (_newExercisePaper$tag = newExercisePaper.tagDisciplineData) !== null && _newExercisePaper$tag !== void 0 && _newExercisePaper$tag.tag_disciplines && Array.isArray(newExercisePaper.tagDisciplineData.tag_disciplines) ? newExercisePaper.tagDisciplineData.tag_disciplines : []; - setKnowledgeOptions(data); - }, [newExercisePaper.tagDisciplineData]); - (0,react.useImperativeHandle)(ref, function () { - return { - onSave: onSave, - isEdit: isEdit - }; - }); - var repeal = function repeal(res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success("保存成功"); - setIsEdit(false); - setEditKey(-1); - freeze.current = false; - reload(); - } - }; - var onSave = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var i, _param$choices, param, findNotAnswerIndex, sub_item_banks, res, _newExercisePaper$edi3, _newExercisePaper$edi4, _newExercisePaper$edi5, _newExercisePaper$edi6; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - if (name) { - _context2.next = 3; - break; - } - message/* default.info */.ZP.info('请您输入题干'); - return _context2.abrupt("return", false); - case 3: - if (!(questionList.length === 0)) { - _context2.next = 6; - break; - } - message/* default.info */.ZP.info('请您添加小题'); - return _context2.abrupt("return", false); - case 6: - i = 0; - case 7: - if (!(i < questionList.length)) { - _context2.next = 25; - break; - } - param = questionList[i]; - if (param !== null && param !== void 0 && param.name) { - _context2.next = 12; - break; - } - message/* default.info */.ZP.info("\u8BF7\u60A8\u8F93\u5165\u7B2C".concat(i + 1, "\u5C0F\u9898\u9898\u5E72")); - return _context2.abrupt("return", false); - case 12: - if (param !== null && param !== void 0 && param.question_score) { - _context2.next = 15; - break; - } - message/* default.info */.ZP.info("\u7B2C".concat(i + 1, "\u5C0F\u9898\u5206\u6570\u4E0D\u80FD\u4E3A0\u6216\u7A7A")); - return _context2.abrupt("return", false); - case 15: - findNotAnswerIndex = param === null || param === void 0 ? void 0 : (_param$choices = param.choices) === null || _param$choices === void 0 ? void 0 : _param$choices.findIndex(function (item) { - return !item; - }); - if (!(findNotAnswerIndex > -1)) { - _context2.next = 19; - break; - } - message/* default.info */.ZP.info("\u8BF7\u5148\u8F93\u5165\u7B2C".concat(i + 1, "\u5C0F\u9898").concat(Questions_CombinationEditor_tagList[findNotAnswerIndex], "\u9009\u9879\u7684\u5185\u5BB9")); - return _context2.abrupt("return", false); - case 19: - if (!(param.choices.findIndex(function (item) { - return item.is_answer === 1; - }) === -1)) { - _context2.next = 22; - break; - } - message/* default.info */.ZP.info("\u8BF7\u8BBE\u7F6E\u7B2C".concat(i + 1, "\u5C0F\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E")); - return _context2.abrupt("return", false); - case 22: - i++; - _context2.next = 7; - break; - case 25: - sub_item_banks = questionList.map(function (e) { - return { - id: e.id > 1 ? e.id : null, - name: e.name, - item_type: utils_enum/* QuestionType.Single */.c.Single, - choices: e.choices, - question_score: e.question_score - }; - }); - freeze.current = true; - if (!editData.question_id) { - _context2.next = 34; - break; - } - _context2.next = 30; - return dispatch({ - type: 'newExercisePaper/editExerciseQuestion', - payload: { - id: params.id, - question_id: editData.question_id, - name: name, - item_type: utils_enum/* QuestionType.Combine */.c.Combine, - sub_item_banks: sub_item_banks, - tag_discipline_ids: knowledge, - sub_discipline_id: (_newExercisePaper$edi3 = newExercisePaper.editData) === null || _newExercisePaper$edi3 === void 0 ? void 0 : (_newExercisePaper$edi4 = _newExercisePaper$edi3.exercise) === null || _newExercisePaper$edi4 === void 0 ? void 0 : _newExercisePaper$edi4.sub_discipline_id, - difficulty: difficulty, - repeat_answer: !repeat_answer - } - }); - case 30: - res = _context2.sent; - repeal(res); - _context2.next = 38; - break; - case 34: - _context2.next = 36; - return dispatch({ - type: "newExercisePaper/addExerciseQuestion", - payload: { - id: params.id, - insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, - "name": name, - "item_type": utils_enum/* QuestionType.Combine */.c.Combine, - "tag_discipline_ids": knowledge, - "sub_discipline_id": (_newExercisePaper$edi5 = newExercisePaper.editData) === null || _newExercisePaper$edi5 === void 0 ? void 0 : (_newExercisePaper$edi6 = _newExercisePaper$edi5.exercise) === null || _newExercisePaper$edi6 === void 0 ? void 0 : _newExercisePaper$edi6.sub_discipline_id, - "difficulty": difficulty, - "repeat_answer": !repeat_answer, - sub_item_banks: sub_item_banks - } - }); - case 36: - res = _context2.sent; - repeal(res); - case 38: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function onSave() { - return _ref2.apply(this, arguments); - }; - }(); - var actionArr = [{ - name: '删除', - icon: 'iconfont c-light-black ml30 icon-shanchu current', - id: 'del' - }, { - name: '编辑', - icon: 'iconfont c-light-primary ml30 icon-bianjishijuan3x current', - id: 'edit' - }]; - var actionClick = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(item) { - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (!(editKey !== -1)) { - _context4.next = 3; - break; - } - message/* default.error */.ZP.error('请先保存或取消当前正在编辑的问题。'); - return _context4.abrupt("return"); - case 3: - _context4.t0 = item.id; - _context4.next = _context4.t0 === 'del' ? 6 : _context4.t0 === 'edit' ? 8 : _context4.t0 === 'add' ? 11 : 13; - break; - case 6: - modal/* default.confirm */.Z.confirm({ - centered: true, - okText: '确定', - cancelText: '取消', - title: '确认要删除这个试题吗?', - onOk: function onOk() { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return (0,paperlibrary/* deleteQuestion */.Km)({ - question_id: editData.question_id, - exam_id: params.id - }); - case 2: - reload(); - case 3: - case "end": - return _context3.stop(); - } - }, _callee3); - }))(); - } - }); - return _context4.abrupt("break", 13); - case 8: - setEditKey(editData.dragKey); - setIsEdit(true); - return _context4.abrupt("break", 13); - case 11: - addCallback({ - key: editData.key, - insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, - item_type: utils_enum/* QuestionType.Single */.c.Single - }); - return _context4.abrupt("break", 13); - case 13: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function actionClick(_x) { - return _ref3.apply(this, arguments); - }; - }(); - var showList = function showList() { - var _editData$sub_exercis2; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - ref: dom, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-blue", - children: [editData.key, "\u3001\u7EC4\u5408\u9898"] - }), "\uFF08", editData.question_score, "\u5206\uFF09"] - }) - }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - alignItems: 'flex-start' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, "."] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08\u5171", editData === null || editData === void 0 ? void 0 : editData.sub_q_count, "\u5C0F\u9898\uFF0C", editData.question_score, "\u5206\uFF09"] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: editData.question_title - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - display: show ? 'block' : 'none' - }, - className: Questions_editormodules.questionChoices, - children: editData === null || editData === void 0 ? void 0 : (_editData$sub_exercis2 = editData.sub_exercise_questions) === null || _editData$sub_exercis2 === void 0 ? void 0 : _editData$sub_exercis2.map(function (e, i) { - var _e$question_choices; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - alignItems: 'flex-start' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [editData.key, ".", i + 1, '(单选题)'] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: e.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", e.question_score, "\u5206\uFF09"] - })] - }), e === null || e === void 0 ? void 0 : (_e$question_choices = e.question_choices) === null || _e$question_choices === void 0 ? void 0 : _e$question_choices.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { - checked: item.standard_boolean, - disabled: true, - children: [Questions_CombinationEditor_tagList[index], "."] - }, index) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-black font14", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: item.choice_text - }) - }) - })] - }, index); - })] - }, i); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Questions_editormodules.action, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-light-primary current", - onClick: function onClick() { - return setShow(!show); - }, - style: {}, - children: show ? '收起' : '展开' - }), !editData.hideAction && actionArr.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottom", - title: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return actionClick(item); - }, - className: item.icon - }) - }, index); - })] - })] - }); - }; - var showEdit = function showEdit() { - var _newExercisePaper$edi7, _newExercisePaper$edi8; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.questionType, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 c-blue", - children: "\u9009\u62E9\u9898" - }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: Questions_editormodules.wrap, - style: { - padding: 0 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.title, - children: "\u9898\u5E72\uFF1A" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "combination-question-title", - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", - defaultValue: name, - onChange: function onChange(value) { - return setName(value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - children: ["\u5C0F\u9898\u6570\uFF1A", questionList === null || questionList === void 0 ? void 0 : questionList.length] - }), questionList === null || questionList === void 0 ? void 0 : questionList.map(function (e, j) { - var _e$choices; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Questions_editormodules.fold, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - onClick: function onClick() { - return handleQuestionList('open', j); - }, - className: Questions_editormodules.head, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-sanjiaoxing", - style: { - transform: e.open ? 'initial' : 'rotate(270deg) translate(2px, 4px)' - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: ["\u7B2C", j + 1, "\u5C0F\u9898\uFF08\u5355\u9009\u9898\uFF09"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("b", { - onClick: function onClick(e) { - e.stopPropagation(); - handleQuestionList('delete', j); - }, - className: "iconfont icon-shanchu8" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "mb10", - style: { - display: e.open ? 'block' : 'none' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - watch: true, - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", - defaultValue: e === null || e === void 0 ? void 0 : e.name, - onChange: function onChange(value) { - return handleQuestionList('value', j, value); - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.required, - children: "*" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: Questions_editormodules.title, - children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.colorGray, - children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" - })] - })] - }), e === null || e === void 0 ? void 0 : (_e$choices = e.choices) === null || _e$choices === void 0 ? void 0 : _e$choices.map(function (item, index) { - var _e$choices2; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Questions_editormodules.choiceWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", - placement: "left", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(Questions_editormodules.answer, " ").concat(item.is_answer === 1 ? Questions_editormodules.activeAnswer : ''), - onClick: function onClick() { - return handleQuestionList('answer', j, index); - }, - children: Questions_CombinationEditor_tagList[index] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.editorWrap, - children: (e === null || e === void 0 ? void 0 : e.activeQusEditor) === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - id: "single-question-option-".concat(index), - watch: true, - height: 155, - isFocus: true, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", - defaultValue: item.choice_text, - onChange: function onChange(value) { - return handleQuestionList('details', j, value); - } - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Questions_editormodules.htmlWrap, - onClick: function onClick() { - return handleQuestionList('edit', j, index); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: item.choice_text - }) - }) - }), index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u5220\u9664", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "".concat(Questions_editormodules.deleteIcon, " iconfont icon-htmal5icon19"), - onClick: function onClick() { - return handleQuestionList('deleteQus', j, index); - } - }) - }), index < 7 && index === (e === null || e === void 0 ? void 0 : (_e$choices2 = e.choices) === null || _e$choices2 === void 0 ? void 0 : _e$choices2.length) - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "".concat(Questions_editormodules.addIcon, " iconfont icon-roundaddfill ml6"), - onClick: function onClick() { - return handleQuestionList('addQus', j); - } - }) - })] - }, index); - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "mt10", - children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - value: e.question_score, - max: 10000, - min: 0, - onChange: function onChange(value) { - return handleQuestionList('score', j, value); - } - }), "\u5206"] - })] - })] - }, e.id); - }), questionList.length < 20 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { - type: "primary", - onClick: handleAdd, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-tianjiatimu mr5 font14" - }), "\u6DFB\u52A0\u5C0F\u9898"] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "mt10", - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: Questions_editormodules.difficult, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { - style: { - color: 'red' - }, - children: "*" - }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: difficulty, - onChange: function onChange(e) { - setdifficult(e.target.value); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: Questions_editormodules.titleWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "".concat(Questions_editormodules.title), - children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Questions_editormodules.colorGray, - children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt5", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, - value: knowledge, - onChange: setKnowledge, - subId: (_newExercisePaper$edi7 = newExercisePaper.editData) === null || _newExercisePaper$edi7 === void 0 ? void 0 : (_newExercisePaper$edi8 = _newExercisePaper$edi7.exercise) === null || _newExercisePaper$edi8 === void 0 ? void 0 : _newExercisePaper$edi8.sub_discipline_id, - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "tr", - children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "default", - onClick: function onClick() { - cancelAdd(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "ml20", - type: "primary", - onClick: function onClick() { - onSave(); - }, - children: "\u4FDD\u5B58" - })] - })] - }); - }; - var handleAdd = function handleAdd() { - var param = { - id: Math.random(), - item_type: 'SINGLE', - open: false, - name: '', - choices: Array.from({ - length: 4 - }, function () { - return { - choice_text: '', - is_answer: 0 - }; - }), - activeQusEditor: null, - analysis: '' - }; - setQuestionList(questionList.concat(param)); - }; - var handleQuestionList = function handleQuestionList(type, i, value) { - var cloneQuestionList = (0,lodash.cloneDeep)(questionList); - if (type === 'open') { - cloneQuestionList[i].open = !cloneQuestionList[i].open; - } - if (type === 'delete') { - cloneQuestionList.splice(i, 1); - } - if (type === 'value') { - cloneQuestionList[i].name = value; - } - if (type === 'answer') { - cloneQuestionList[i].choices.forEach(function (item, index) { - item.is_answer = value === index ? 1 : 0; - }); - } - if (type === 'edit') { - cloneQuestionList[i].activeQusEditor = value; - } - if (type === 'details') { - cloneQuestionList[i].choices[cloneQuestionList[i].activeQusEditor].choice_text = value; - } - if (type === 'addQus') { - cloneQuestionList[i].choices = cloneQuestionList[i].choices.concat({ - choice_text: '', - is_answer: 0 - }); - } - if (type === 'deleteQus') { - cloneQuestionList[i].choices = cloneQuestionList[i].choices.filter(function (_, c) { - return c !== value; - }); - } - if (type === 'analysis') { - cloneQuestionList[i].analysis = value; - } - if (type === 'score') { - cloneQuestionList[i].question_score = value; - } - setQuestionList(cloneQuestionList); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: Questions_editormodules.wrap, - children: [!isEdit && showList(), isEdit && showEdit()] - }); -}; -/* harmony default export */ var Questions_CombinationEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var newExercisePaper = _ref4.newExercisePaper; - return { - newExercisePaper: newExercisePaper - }; -}, null, null, { - forwardRef: true -})( /*#__PURE__*/(0,react.forwardRef)(CombinationEditor_CombinationEditor))); -;// CONCATENATED MODULE: ./src/components/DragSubject/index.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var DragSubject = function DragSubject(_ref) { - var data = _ref.data, - _ref$isDragDisabled = _ref.isDragDisabled, - isDragDisabled = _ref$isDragDisabled === void 0 ? false : _ref$isDragDisabled, - _ref$editorProps = _ref.editorProps, - editorProps = _ref$editorProps === void 0 ? {} : _ref$editorProps, - _ref$onDragEnd = _ref.onDragEnd, - onDragEnd = _ref$onDragEnd === void 0 ? function () {} : _ref$onDragEnd, - dispatch = _ref.dispatch, - _ref$markBtnVisible = _ref.markBtnVisible, - markBtnVisible = _ref$markBtnVisible === void 0 ? false : _ref$markBtnVisible, - _ref$batchScore = _ref.batchScore, - batchScore = _ref$batchScore === void 0 ? [] : _ref$batchScore, - _ref$reload = _ref.reload, - reload = _ref$reload === void 0 ? function () {} : _ref$reload, - _ref$inNewPaperLibrar = _ref.inNewPaperLibrary, - inNewPaperLibrary = _ref$inNewPaperLibrar === void 0 ? false : _ref$inNewPaperLibrar; - var score = (0,react.useRef)(); - var params = (0,_umi_production_exports.useParams)(); - var classifyType = function classifyType() { - var _data$exercise_types, _data$exercise_types2, _data$exercise_types3, _data$exercise_types4, _data$exercise_types5, _data$exercise_types6, _data$exercise_types7, _data$exercise_types8, _data$exercise_types9, _data$exercise_types10, _data$exercise_types11, _data$exercise_types12, _data$exercise_types13, _data$exercise_types14, _data$exercise_types15, _data$exercise_types16; - var array = [{ - name: '单选题', - type: 0, - count: data === null || data === void 0 ? void 0 : (_data$exercise_types = data.exercise_types) === null || _data$exercise_types === void 0 ? void 0 : _data$exercise_types['q_singles'], - score: data === null || data === void 0 ? void 0 : (_data$exercise_types2 = data.exercise_types) === null || _data$exercise_types2 === void 0 ? void 0 : _data$exercise_types2['q_singles_scores'], - items: [] - }, { - name: '多选题', - type: 1, - count: data === null || data === void 0 ? void 0 : (_data$exercise_types3 = data.exercise_types) === null || _data$exercise_types3 === void 0 ? void 0 : _data$exercise_types3['q_doubles'], - score: data === null || data === void 0 ? void 0 : (_data$exercise_types4 = data.exercise_types) === null || _data$exercise_types4 === void 0 ? void 0 : _data$exercise_types4['q_doubles_scores'], - items: [] - }, { - name: '判断题', - type: 2, - count: data === null || data === void 0 ? void 0 : (_data$exercise_types5 = data.exercise_types) === null || _data$exercise_types5 === void 0 ? void 0 : _data$exercise_types5['q_judges'], - score: data === null || data === void 0 ? void 0 : (_data$exercise_types6 = data.exercise_types) === null || _data$exercise_types6 === void 0 ? void 0 : _data$exercise_types6['q_judges_scores'], - items: [] - }, { - name: '填空题', - type: 3, - count: data === null || data === void 0 ? void 0 : (_data$exercise_types7 = data.exercise_types) === null || _data$exercise_types7 === void 0 ? void 0 : _data$exercise_types7['q_nulls'], - score: data === null || data === void 0 ? void 0 : (_data$exercise_types8 = data.exercise_types) === null || _data$exercise_types8 === void 0 ? void 0 : _data$exercise_types8['q_nulls_scores'], - items: [] - }, { - name: '简答题', - type: 4, - count: data === null || data === void 0 ? void 0 : (_data$exercise_types9 = data.exercise_types) === null || _data$exercise_types9 === void 0 ? void 0 : _data$exercise_types9['q_mains'], - score: data === null || data === void 0 ? void 0 : (_data$exercise_types10 = data.exercise_types) === null || _data$exercise_types10 === void 0 ? void 0 : _data$exercise_types10['q_mains_scores'], - items: [] - }, { - name: '实训题', - type: 5, - count: data === null || data === void 0 ? void 0 : (_data$exercise_types11 = data.exercise_types) === null || _data$exercise_types11 === void 0 ? void 0 : _data$exercise_types11['q_shixuns'], - score: data === null || data === void 0 ? void 0 : (_data$exercise_types12 = data.exercise_types) === null || _data$exercise_types12 === void 0 ? void 0 : _data$exercise_types12['q_shixuns_scores'], - items: [] - }, { - name: '编程题', - type: 6, - count: data === null || data === void 0 ? void 0 : (_data$exercise_types13 = data.exercise_types) === null || _data$exercise_types13 === void 0 ? void 0 : _data$exercise_types13['q_pros'], - score: data === null || data === void 0 ? void 0 : (_data$exercise_types14 = data.exercise_types) === null || _data$exercise_types14 === void 0 ? void 0 : _data$exercise_types14['q_pros_scores'], - items: [] - }, { - name: '组合题', - type: 7, - count: data === null || data === void 0 ? void 0 : (_data$exercise_types15 = data.exercise_types) === null || _data$exercise_types15 === void 0 ? void 0 : _data$exercise_types15['q_combinations'], - score: data === null || data === void 0 ? void 0 : (_data$exercise_types16 = data.exercise_types) === null || _data$exercise_types16 === void 0 ? void 0 : _data$exercise_types16['q_combination_scores'], - items: [] - }]; - return array; - }; - - //过滤函数 - var reorder = function reorder(list, startIndex, endIndex) { - var result = Array.from(list); - var _result$splice = result.splice(startIndex, 1), - _result$splice2 = slicedToArray_default()(_result$splice, 1), - removed = _result$splice2[0]; - result.splice(endIndex, 0, removed); - return result; - }; - var handleDragEnd = function handleDragEnd(result, list, type) { - if (!result.destination) { - return; - } - var items = reorder(list, result.source.index, result.destination.index); - if (inNewPaperLibrary) { - onDragEnd(result, items, type); - } else { - onDragEnd(items, type); - } - }; - - //打开标记错题弹窗 - var handleMarkWrongQuestion = function handleMarkWrongQuestion(params) { - dispatch({ - type: 'exercise/setActionTabs', - payload: { - key: '标记错题', - params: params - } - }); - }; - var renderSubject = function renderSubject(v, type) { - if (type === 0) { - return inNewPaperLibrary ? /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_SingleEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)) : /*#__PURE__*/(0,jsx_runtime.jsx)(components_SingleEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)); - } - if (type === 1) { - return inNewPaperLibrary ? /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_MultipleEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)) : /*#__PURE__*/(0,jsx_runtime.jsx)(components_MultipleEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)); - } - if (type === 2) { - return inNewPaperLibrary ? /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_JudgmentEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)) : /*#__PURE__*/(0,jsx_runtime.jsx)(components_JudgmentEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)); - } - if (type === 3) { - return inNewPaperLibrary ? /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_CompletionEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)) : /*#__PURE__*/(0,jsx_runtime.jsx)(components_CompletionEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)); - } - if (type === 4) { - return inNewPaperLibrary ? /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_SubjectiveEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)) : /*#__PURE__*/(0,jsx_runtime.jsx)(components_SubjectiveEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)); - } - if (type === 5) { - return inNewPaperLibrary ? /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_ShixunEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)) : /*#__PURE__*/(0,jsx_runtime.jsx)(components_ShixunEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)); - } - if (type === 6) { - return inNewPaperLibrary ? /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_ProgrammingEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)) : /*#__PURE__*/(0,jsx_runtime.jsx)(ProgrammingEditor, objectSpread2_default()({ - editData: v - }, v)); - } - if (type === 7) { - return inNewPaperLibrary ? /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_CombinationEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)) : /*#__PURE__*/(0,jsx_runtime.jsx)(components_CombinationEditor, objectSpread2_default()({ - reload: reload, - editData: v - }, v)); - } - }; - var renderMapDom = function renderMapDom(list, type, name) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* DragDropContext */.Z5, { - onDragEnd: function onDragEnd(result) { - return handleDragEnd(result, list, type); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Droppable */.bK, { - droppableId: "droppable", - children: function children(provided, snapshot) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({ - ref: provided.innerRef - }, provided.droppableProps), {}, { - style: { - width: '100%' - }, - children: [list === null || list === void 0 ? void 0 : list.map(function (item, k) { - var _v$question_id; - var v = objectSpread2_default()(objectSpread2_default()({}, item), {}, { - key: k + 1, - hideAction: true, - isPreview: true, - dragKey: type + '-' + k - }, editorProps); - return /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Draggable */._l, { - draggableId: v === null || v === void 0 ? void 0 : (_v$question_id = v.question_id) === null || _v$question_id === void 0 ? void 0 : _v$question_id.toString(), - index: k, - isDragDisabled: isDragDisabled //是否允许拖拽 - , - children: function children(provided, snapshot) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("aside", objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({ - ref: provided.innerRef - }, provided.draggableProps), provided.dragHandleProps), {}, { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: DragSubjectmodules.posWarp, - id: v.dragKey, - children: [renderSubject(v, type), markBtnVisible && /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { - className: DragSubjectmodules.markWrongBtnWrapper, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - onClick: function onClick() { - return handleMarkWrongQuestion({ - value: v, - type: type - }); - }, - children: v !== null && v !== void 0 && v.is_wrong ? '取消标记错题' : '标记错题' - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {}), !isDragDisabled && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: DragSubjectmodules.pos, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: DragSubjectmodules.tips, - children: "\u62D6\u52A8\u53EF\u4EE5\u6539\u53D8\u8BD5\u9898\u663E\u793A\u987A\u5E8F" - }) - })] - }) - })); - } - }, v === null || v === void 0 ? void 0 : v.question_id); - }), provided.placeholder] - })); - } - }) - }); - }; - - //转换中文 - var toChinesNum = function toChinesNum(num) { - var changeNum = ['零', '一', '二', '三', '四', '五', '六', '七', '八', '九']; //changeNum[0] = "零" - var unit = ['', '十', '百', '千', '万']; - num = parseInt(num); - var getWan = function getWan(temp) { - var strArr = temp.toString().split('').reverse(); - var newNum = ''; - for (var i = 0; i < strArr.length; i++) { - newNum = (i == 0 && strArr[i] == 0 ? '' : i > 0 && strArr[i] == 0 && strArr[i - 1] == 0 ? '' : changeNum[strArr[i]] + (strArr[i] == 0 ? unit[0] : unit[i])) + newNum; - } - return newNum; - }; - var overWan = Math.floor(num / 10000); - var noWan = num % 10000; - if (noWan.toString().length < 4) noWan = '0' + noWan; - return overWan ? getWan(overWan) + '万' + getWan(noWan) : getWan(num); - }; - var formatTypeNameToDefaultScore = function formatTypeNameToDefaultScore(typeName) { - var mapping = { - '单选题': 2, - '多选题': 5, - '填空题': 2, - '判断题': 2, - '简答题': 10, - '编程题': 10, - '实训题': 5, - '组合题': 10 - }; - return mapping[typeName] || 0; - }; - var handleBatchSetScore = function handleBatchSetScore(type, typeName) { - score.current = formatTypeNameToDefaultScore(typeName); - modal/* default.confirm */.Z.confirm({ - centered: true, - title: '批量设置分数', - content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: '', - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: [typeName === "组合题" ? '组合题中的每小题' : typeName, "\uFF1A"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - min: 1, - defaultValue: score.current, - onChange: function onChange(value) { - score.current = value; - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "ml5", - children: "\u5206/\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), typeName === "填空题" && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - color: 'rgb(255, 0, 0)' - }, - children: "\u6BCF\u7A7A\u5206\u503C\u6309\u6BCF\u9898\u5206\u503C\u53D6\u5E73\u5747\u5206\u8BA1\u7B97" - })] - }), - okText: '确认', - cancelText: '取消', - onOk: function () { - var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _res, res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - if (!inNewPaperLibrary) { - _context.next = 6; - break; - } - _context.next = 3; - return (0,paperlibrary/* newBatchSetScore */.vF)(params.id, { - question_type: type, - score: score.current - }); - case 3: - _res = _context.sent; - if (_res.status === 0) { - reload(); - } - return _context.abrupt("return"); - case 6: - _context.next = 8; - return (0,fetch/* default */.ZP)("/api/exercises/".concat(params.categoryId, "/batch_set_score.json"), { - method: 'post', - body: { - question_type: type, - score: score.current - } - }); - case 8: - res = _context.sent; - if (res.status !== -1) { - reload(); - } - case 10: - case "end": - return _context.stop(); - } - }, _callee); - })); - function onOk() { - return _onOk.apply(this, arguments); - } - return onOk; - }() - }); - }; - var renderClassifyQuestion = function renderClassifyQuestion() { - var _data$exercise_questi; - var array = classifyType(); - data === null || data === void 0 ? void 0 : (_data$exercise_questi = data.exercise_questions) === null || _data$exercise_questi === void 0 ? void 0 : _data$exercise_questi.forEach(function (v, k) { - if (v.question_type === 0) { - var _array$v$question_typ, _array$v$question_typ2; - (_array$v$question_typ = array[v.question_type]) === null || _array$v$question_typ === void 0 ? void 0 : (_array$v$question_typ2 = _array$v$question_typ.items) === null || _array$v$question_typ2 === void 0 ? void 0 : _array$v$question_typ2.push(v); - } - if (v.question_type === 1) { - var _array$v$question_typ3, _array$v$question_typ4; - (_array$v$question_typ3 = array[v.question_type]) === null || _array$v$question_typ3 === void 0 ? void 0 : (_array$v$question_typ4 = _array$v$question_typ3.items) === null || _array$v$question_typ4 === void 0 ? void 0 : _array$v$question_typ4.push(v); - } - if (v.question_type === 2) { - var _array$v$question_typ5, _array$v$question_typ6; - (_array$v$question_typ5 = array[v.question_type]) === null || _array$v$question_typ5 === void 0 ? void 0 : (_array$v$question_typ6 = _array$v$question_typ5.items) === null || _array$v$question_typ6 === void 0 ? void 0 : _array$v$question_typ6.push(v); - } - if (v.question_type === 3) { - var _array$v$question_typ7, _array$v$question_typ8; - (_array$v$question_typ7 = array[v.question_type]) === null || _array$v$question_typ7 === void 0 ? void 0 : (_array$v$question_typ8 = _array$v$question_typ7.items) === null || _array$v$question_typ8 === void 0 ? void 0 : _array$v$question_typ8.push(v); - } - if (v.question_type === 4) { - var _array$v$question_typ9, _array$v$question_typ10; - (_array$v$question_typ9 = array[v.question_type]) === null || _array$v$question_typ9 === void 0 ? void 0 : (_array$v$question_typ10 = _array$v$question_typ9.items) === null || _array$v$question_typ10 === void 0 ? void 0 : _array$v$question_typ10.push(v); - } - if (v.question_type === 5) { - var _array$v$question_typ11, _array$v$question_typ12; - (_array$v$question_typ11 = array[v.question_type]) === null || _array$v$question_typ11 === void 0 ? void 0 : (_array$v$question_typ12 = _array$v$question_typ11.items) === null || _array$v$question_typ12 === void 0 ? void 0 : _array$v$question_typ12.push(v); - } - if (v.question_type === 6) { - var _array$v$question_typ13, _array$v$question_typ14; - (_array$v$question_typ13 = array[v.question_type]) === null || _array$v$question_typ13 === void 0 ? void 0 : (_array$v$question_typ14 = _array$v$question_typ13.items) === null || _array$v$question_typ14 === void 0 ? void 0 : _array$v$question_typ14.push(v); - } - if (v.question_type === 7) { - var _array$v$question_typ15, _array$v$question_typ16; - (_array$v$question_typ15 = array[v.question_type]) === null || _array$v$question_typ15 === void 0 ? void 0 : (_array$v$question_typ16 = _array$v$question_typ15.items) === null || _array$v$question_typ16 === void 0 ? void 0 : _array$v$question_typ16.push(v); - } - }); - var dom = data === null || data === void 0 ? void 0 : data.map(function (er, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "pl20", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-light-primary", - children: [toChinesNum(index + 1), "\u3001", er.name] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "c-grey-999", - children: ["\uFF08\u5171", er.count, "\u9898", (er === null || er === void 0 ? void 0 : er.question_type) === 7 ? "\uFF0C\u5305\u542B".concat(er.sub_count, "\u5C0F\u9898") : '', "\uFF1B\u5171", er.score, "\u5206\uFF09"] - }), (batchScore === null || batchScore === void 0 ? void 0 : batchScore.includes(er === null || er === void 0 ? void 0 : er.name)) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - onClick: function onClick() { - return handleBatchSetScore(er === null || er === void 0 ? void 0 : er.question_type, er === null || er === void 0 ? void 0 : er.name); - }, - style: { - "float": 'right' - }, - type: "primary", - ghost: true, - children: "\u6279\u91CF\u8BBE\u7F6E\u5F97\u5206" - })] - }), renderMapDom(er.items, er === null || er === void 0 ? void 0 : er.question_type, er === null || er === void 0 ? void 0 : er.name)] - }, index); - }); - return dom; - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [" ", renderClassifyQuestion(), " "] - }); -}; -/* harmony default export */ var components_DragSubject = ((0,_umi_production_exports.connect)()(DragSubject)); - -/***/ }), - -/***/ 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); - -/***/ }), - -/***/ 73221: -/*!********************************************************!*\ - !*** ./src/components/Knowledge/index.tsx + 1 modules ***! - \********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "N": function() { return /* binding */ Knowledge; } -}); - -// 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/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/@babel/runtime/helpers/asyncToGenerator.js -var asyncToGenerator = __webpack_require__(17156); -var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); -// 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/antd/es/row/style/index.js -var row_style = __webpack_require__(13062); -// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js -var row = __webpack_require__(71230); -// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js -var col_style = __webpack_require__(89032); -// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js -var col = __webpack_require__(15746); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/style/index.js + 1 modules -var modal_style = __webpack_require__(35611); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules -var modal = __webpack_require__(85402); -// 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/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/antd/es/select/style/index.js + 1 modules -var select_style = __webpack_require__(95985); -// EXTERNAL MODULE: ./node_modules/antd/es/select/index.js -var es_select = __webpack_require__(34041); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./src/utils/fetch.ts -var fetch = __webpack_require__(84519); -;// CONCATENATED MODULE: ./src/components/Knowledge/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var Knowledgemodules = ({"wrap":"wrap___F7E3F","selectWrapper":"selectWrapper____kESB","tips":"tips___aHjQY","linkBtn":"linkBtn___uggVr","mainText":"mainText____S1I0"}); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js -var ExclamationCircleOutlined = __webpack_require__(87588); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/Knowledge/index.tsx - - - - - - - - - - - - - - - - - - - - - - -var Option = es_select/* default.Option */.Z.Option; -var Knowledge = function Knowledge(_ref) { - var subId = _ref.subId, - value = _ref.value, - selectvalues = _ref.selectvalues, - disabled = _ref.disabled, - _ref$knowledgeOptions = _ref.knowledgeOptions, - knowledgeOptions = _ref$knowledgeOptions === void 0 ? [] : _ref$knowledgeOptions, - _ref$onChange = _ref.onChange, - onChange = _ref$onChange === void 0 ? function () {} : _ref$onChange, - _ref$onAddKnowledgeFi = _ref.onAddKnowledgeFinish, - onAddKnowledgeFinish = _ref$onAddKnowledgeFi === void 0 ? function () {} : _ref$onAddKnowledgeFi; - var addValue = (0,react.useRef)(); - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - values = _useState2[0], - setValues = _useState2[1]; - value = value || []; - var handleChange = function handleChange(e, valuesmap) { - if (e) { - //获取选中的数据 - setValues([valuesmap.key]); - onChange([valuesmap.key]); - } else { - //获取选中的数据 - setValues([]); - onChange([]); - } - }; - (0,react.useEffect)(function () { - if ((selectvalues === null || selectvalues === void 0 ? void 0 : selectvalues.length) > 0) { - setValues(toConsumableArray_default()(selectvalues)); - onChange(toConsumableArray_default()(selectvalues)); - } - }, [knowledgeOptions]); - (0,react.useEffect)(function () { - var _value; - if (((_value = value) === null || _value === void 0 ? void 0 : _value.length) > 0) { - onChange(toConsumableArray_default()(value)); - } - }, [knowledgeOptions]); - var handleAdd = function handleAdd(e) { - e.preventDefault(); - addValue.current = ''; - modal/* default.confirm */.Z.confirm({ - centered: true, - width: 640, - okText: '确定', - cancelText: '取消', - icon: null, - title: '新建知识点', - className: 'custom-modal-divider', - content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "font14", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - className: "mb20", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined/* default */.Z, { - style: { - color: '#FF8C29' - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - className: "ml10 ".concat(Knowledgemodules.mainText), - children: ["\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - maxLength: 20, - size: "large", - showCount: true, - placeholder: "\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0", - defaultValue: addValue.current, - onChange: function onChange(e) { - addValue.current = e.target.value; - } - })] - }), - onOk: function onOk() { - return new Promise( /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(resolve, reject) { - var res, _value2; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - if (addValue.current) { - _context.next = 3; - break; - } - message/* default.warn */.ZP.warn("请输入知识点名称"); - return _context.abrupt("return", reject()); - case 3: - if (!(addValue.current.length > 20)) { - _context.next = 6; - break; - } - message/* default.warn */.ZP.warn("请输入不超过20字的知识点名称"); - return _context.abrupt("return", reject()); - case 6: - _context.next = 8; - return (0,fetch/* default */.ZP)("/api/tag_disciplines.json", { - method: 'post', - body: { - name: addValue.current, - sub_discipline_id: subId - } - }); - case 8: - res = _context.sent; - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - onAddKnowledgeFinish({ - id: res.tag_discipline_id, - name: addValue.current, - type: 'personal' - }); - // values.push(res.tag_discipline_id) - // value.push(res.tag_discipline_id) - _value2 = []; - _value2.push(res.tag_discipline_id); - onChange([].concat(_value2)); - setValues([res.tag_discipline_id]); - onChange([].concat(_value2)); - } - return _context.abrupt("return", resolve()); - case 11: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function (_x, _x2) { - return _ref2.apply(this, arguments); - }; - }()); - } - }); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - wrap: false, - align: "middle", - className: Knowledgemodules.wrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { - disabled: !subId || disabled, - className: Knowledgemodules.selectWrapper, - placeholder: "\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9", - onChange: handleChange, - style: { - width: 490 - }, - showSearch: true, - allowClear: true, - value: knowledgeOptions === null || knowledgeOptions === void 0 ? void 0 : knowledgeOptions.filter(function (item) { - return (values === null || values === void 0 ? void 0 : values.includes(item === null || item === void 0 ? void 0 : item.id)) || (values === null || values === void 0 ? void 0 : values.includes((item === null || item === void 0 ? void 0 : item.id) + '')); - }).map(function (item) { - return item.name; - }), - children: knowledgeOptions === null || knowledgeOptions === void 0 ? void 0 : knowledgeOptions.map(function (item) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(Option, { - value: item.name, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - justifyContent: 'space-between' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - overflow: "hidden", - whiteSpace: "nowrap", - textOverflow: "ellipsis" - }, - children: item.name - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: item.type === 'personal' ? '(自用)' : '' - })] - }) - }, item.id); - }) - }) - }), subId && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - className: "ml20", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Knowledgemodules.tips, - children: "\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Knowledgemodules.linkBtn, - onClick: handleAdd, - children: "\u65B0\u5EFA\u77E5\u8BC6\u70B9" - })] - })] - }); -}; - -/***/ }), - -/***/ 70960: -/*!***************************!*\ - !*** ./src/utils/enum.ts ***! - \***************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "c": function() { return /* binding */ QuestionType; } -/* harmony export */ }); -/* unused harmony export PageType */ -var PageType; -(function (PageType) { - PageType["FirstPage"] = "firstPage"; - PageType["PrevPage"] = "prevPage"; - PageType["NextPage"] = "nextPage"; -})(PageType || (PageType = {})); -var QuestionType; -(function (QuestionType) { - QuestionType[QuestionType["Single"] = 0] = "Single"; - QuestionType[QuestionType["Multiple"] = 1] = "Multiple"; - QuestionType[QuestionType["Judge"] = 2] = "Judge"; - QuestionType[QuestionType["Fill"] = 3] = "Fill"; - QuestionType[QuestionType["Subjective"] = 4] = "Subjective"; - QuestionType[QuestionType["Shixun"] = 5] = "Shixun"; - QuestionType[QuestionType["Program"] = 6] = "Program"; - QuestionType[QuestionType["Combine"] = 7] = "Combine"; -})(QuestionType || (QuestionType = {})); - -/***/ }) - -}]); \ No newline at end of file diff --git a/8691.async.js b/8691.async.js index 6f3a38a61a..0ea52eb052 100644 --- a/8691.async.js +++ b/8691.async.js @@ -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); diff --git a/9442.async.js b/9442.async.js deleted file mode 100644 index e026cd85cb..0000000000 --- a/9442.async.js +++ /dev/null @@ -1,1158 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[9442,26057],{ - -/***/ 34804: -/*!*****************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/DownOutlined.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_DownOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/DownOutlined */ 66023); -/* 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 DownOutlined = function DownOutlined(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_DownOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); -}; -DownOutlined.displayName = 'DownOutlined'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(DownOutlined)); - -/***/ }), - -/***/ 64029: -/*!***************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/UpOutlined.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_UpOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/UpOutlined */ 92287); -/* 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 UpOutlined = function UpOutlined(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_UpOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); -}; -UpOutlined.displayName = 'UpOutlined'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(UpOutlined)); - -/***/ }), - -/***/ 48783: -/*!****************************************************************!*\ - !*** ./node_modules/antd/es/_util/throttleByAnimationFrame.js ***! - \****************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "U": function() { return /* binding */ throttleByAnimationFrameDecorator; }, -/* harmony export */ "t": function() { return /* binding */ throttleByAnimationFrame; } -/* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 74902); -/* harmony import */ var rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/raf */ 75164); - - -function throttleByAnimationFrame(fn) { - var requestId; - var later = function later(args) { - return function () { - requestId = null; - fn.apply(void 0, (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(args)); - }; - }; - var throttled = function throttled() { - if (requestId == null) { - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - requestId = (0,rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(later(args)); - } - }; - throttled.cancel = function () { - rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"].cancel */ .Z.cancel(requestId); - requestId = null; - }; - return throttled; -} -function throttleByAnimationFrameDecorator() { - return function throttle(target, key, descriptor) { - var fn = descriptor.value; - var definingProperty = false; - return { - configurable: true, - get: function get() { - // In IE11 calling Object.defineProperty has a side-effect of evaluating the - // getter for the property which is being replaced. This causes infinite - // recursion and an "Out of stack space" error. - // eslint-disable-next-line no-prototype-builtins - if (definingProperty || this === target.prototype || this.hasOwnProperty(key)) { - /* istanbul ignore next */ - return fn; - } - var boundFn = throttleByAnimationFrame(fn.bind(this)); - definingProperty = true; - Object.defineProperty(this, key, { - value: boundFn, - configurable: true, - writable: true - }); - definingProperty = false; - return boundFn; - } - }; - }; -} - -/***/ }), - -/***/ 15771: -/*!*********************************************************!*\ - !*** ./node_modules/antd/es/affix/index.js + 1 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ affix; } -}); - -// 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/classCallCheck.js -var classCallCheck = __webpack_require__(15671); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(43144); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js -var inherits = __webpack_require__(60136); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 1 modules -var createSuper = __webpack_require__(51630); -// 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/rc-resize-observer/es/index.js + 4 modules -var es = __webpack_require__(48555); -// 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/throttleByAnimationFrame.js -var throttleByAnimationFrame = __webpack_require__(48783); -// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/addEventListener.js -var addEventListener = __webpack_require__(64019); -;// CONCATENATED MODULE: ./node_modules/antd/es/affix/utils.js - -function getTargetRect(target) { - return target !== window ? target.getBoundingClientRect() : { - top: 0, - bottom: window.innerHeight - }; -} -function getFixedTop(placeholderReact, targetRect, offsetTop) { - if (offsetTop !== undefined && targetRect.top > placeholderReact.top - offsetTop) { - return offsetTop + targetRect.top; - } - return undefined; -} -function getFixedBottom(placeholderReact, targetRect, offsetBottom) { - if (offsetBottom !== undefined && targetRect.bottom < placeholderReact.bottom + offsetBottom) { - var targetBottomOffset = window.innerHeight - targetRect.bottom; - return offsetBottom + targetBottomOffset; - } - return undefined; -} -// ======================== Observer ======================== -var TRIGGER_EVENTS = ['resize', 'scroll', 'touchstart', 'touchmove', 'touchend', 'pageshow', 'load']; -var observerEntities = []; -function getObserverEntities() { - // Only used in test env. Can be removed if refactor. - return observerEntities; -} -function addObserveTarget(target, affix) { - if (!target) { - return; - } - var entity = observerEntities.find(function (item) { - return item.target === target; - }); - if (entity) { - entity.affixList.push(affix); - } else { - entity = { - target: target, - affixList: [affix], - eventHandlers: {} - }; - observerEntities.push(entity); - // Add listener - TRIGGER_EVENTS.forEach(function (eventName) { - entity.eventHandlers[eventName] = (0,addEventListener/* default */.Z)(target, eventName, function () { - entity.affixList.forEach(function (targetAffix) { - targetAffix.lazyUpdatePosition(); - }); - }); - }); - } -} -function removeObserveTarget(affix) { - var observerEntity = observerEntities.find(function (oriObserverEntity) { - var hasAffix = oriObserverEntity.affixList.some(function (item) { - return item === affix; - }); - if (hasAffix) { - oriObserverEntity.affixList = oriObserverEntity.affixList.filter(function (item) { - return item !== affix; - }); - } - return hasAffix; - }); - if (observerEntity && observerEntity.affixList.length === 0) { - observerEntities = observerEntities.filter(function (item) { - return item !== observerEntity; - }); - // Remove listener - TRIGGER_EVENTS.forEach(function (eventName) { - var handler = observerEntity.eventHandlers[eventName]; - if (handler && handler.remove) { - handler.remove(); - } - }); - } -} -;// CONCATENATED MODULE: ./node_modules/antd/es/affix/index.js - - - - - - - -var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : (0,esm_typeof/* default */.Z)(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; - - - - - - - -function getDefaultTarget() { - return typeof window !== 'undefined' ? window : null; -} -var AffixStatus; -(function (AffixStatus) { - AffixStatus[AffixStatus["None"] = 0] = "None"; - AffixStatus[AffixStatus["Prepare"] = 1] = "Prepare"; -})(AffixStatus || (AffixStatus = {})); -var Affix = /*#__PURE__*/function (_React$Component) { - (0,inherits/* default */.Z)(Affix, _React$Component); - var _super = (0,createSuper/* default */.Z)(Affix); - function Affix() { - var _this; - (0,classCallCheck/* default */.Z)(this, Affix); - _this = _super.apply(this, arguments); - _this.state = { - status: AffixStatus.None, - lastAffix: false, - prevTarget: null - }; - _this.getOffsetTop = function () { - var _this$props = _this.props, - offsetBottom = _this$props.offsetBottom, - offsetTop = _this$props.offsetTop; - return offsetBottom === undefined && offsetTop === undefined ? 0 : offsetTop; - }; - _this.getOffsetBottom = function () { - return _this.props.offsetBottom; - }; - _this.savePlaceholderNode = function (node) { - _this.placeholderNode = node; - }; - _this.saveFixedNode = function (node) { - _this.fixedNode = node; - }; - // =================== Measure =================== - _this.measure = function () { - var _this$state = _this.state, - status = _this$state.status, - lastAffix = _this$state.lastAffix; - var onChange = _this.props.onChange; - var targetFunc = _this.getTargetFunc(); - if (status !== AffixStatus.Prepare || !_this.fixedNode || !_this.placeholderNode || !targetFunc) { - return; - } - var offsetTop = _this.getOffsetTop(); - var offsetBottom = _this.getOffsetBottom(); - var targetNode = targetFunc(); - if (!targetNode) { - return; - } - var newState = { - status: AffixStatus.None - }; - var targetRect = getTargetRect(targetNode); - var placeholderReact = getTargetRect(_this.placeholderNode); - var fixedTop = getFixedTop(placeholderReact, targetRect, offsetTop); - var fixedBottom = getFixedBottom(placeholderReact, targetRect, offsetBottom); - if (placeholderReact.top === 0 && placeholderReact.left === 0 && placeholderReact.width === 0 && placeholderReact.height === 0) { - return; - } - if (fixedTop !== undefined) { - newState.affixStyle = { - position: 'fixed', - top: fixedTop, - width: placeholderReact.width, - height: placeholderReact.height - }; - newState.placeholderStyle = { - width: placeholderReact.width, - height: placeholderReact.height - }; - } else if (fixedBottom !== undefined) { - newState.affixStyle = { - position: 'fixed', - bottom: fixedBottom, - width: placeholderReact.width, - height: placeholderReact.height - }; - newState.placeholderStyle = { - width: placeholderReact.width, - height: placeholderReact.height - }; - } - newState.lastAffix = !!newState.affixStyle; - if (onChange && lastAffix !== newState.lastAffix) { - onChange(newState.lastAffix); - } - _this.setState(newState); - }; - // @ts-ignore TS6133 - _this.prepareMeasure = function () { - // event param is used before. Keep compatible ts define here. - _this.setState({ - status: AffixStatus.Prepare, - affixStyle: undefined, - placeholderStyle: undefined - }); - // Test if `updatePosition` called - if (false) { var onTestUpdatePosition; } - }; - return _this; - } - (0,createClass/* default */.Z)(Affix, [{ - key: "getTargetFunc", - value: function getTargetFunc() { - var getTargetContainer = this.context.getTargetContainer; - var target = this.props.target; - if (target !== undefined) { - return target; - } - return getTargetContainer !== null && getTargetContainer !== void 0 ? getTargetContainer : getDefaultTarget; - } - // Event handler - }, { - key: "componentDidMount", - value: function componentDidMount() { - var _this2 = this; - var targetFunc = this.getTargetFunc(); - if (targetFunc) { - // [Legacy] Wait for parent component ref has its value. - // We should use target as directly element instead of function which makes element check hard. - this.timeout = setTimeout(function () { - addObserveTarget(targetFunc(), _this2); - // Mock Event object. - _this2.updatePosition(); - }); - } - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps) { - var prevTarget = this.state.prevTarget; - var targetFunc = this.getTargetFunc(); - var newTarget = (targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc()) || null; - if (prevTarget !== newTarget) { - removeObserveTarget(this); - if (newTarget) { - addObserveTarget(newTarget, this); - // Mock Event object. - this.updatePosition(); - } - // eslint-disable-next-line react/no-did-update-set-state - this.setState({ - prevTarget: newTarget - }); - } - if (prevProps.offsetTop !== this.props.offsetTop || prevProps.offsetBottom !== this.props.offsetBottom) { - this.updatePosition(); - } - this.measure(); - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - clearTimeout(this.timeout); - removeObserveTarget(this); - this.updatePosition.cancel(); - // https://github.com/ant-design/ant-design/issues/22683 - this.lazyUpdatePosition.cancel(); - } - // Handle realign logic - }, { - key: "updatePosition", - value: function updatePosition() { - this.prepareMeasure(); - } - }, { - key: "lazyUpdatePosition", - value: function lazyUpdatePosition() { - var targetFunc = this.getTargetFunc(); - var affixStyle = this.state.affixStyle; - // Check position change before measure to make Safari smooth - if (targetFunc && affixStyle) { - var offsetTop = this.getOffsetTop(); - var offsetBottom = this.getOffsetBottom(); - var targetNode = targetFunc(); - if (targetNode && this.placeholderNode) { - var targetRect = getTargetRect(targetNode); - var placeholderReact = getTargetRect(this.placeholderNode); - var fixedTop = getFixedTop(placeholderReact, targetRect, offsetTop); - var fixedBottom = getFixedBottom(placeholderReact, targetRect, offsetBottom); - if (fixedTop !== undefined && affixStyle.top === fixedTop || fixedBottom !== undefined && affixStyle.bottom === fixedBottom) { - return; - } - } - } - // Directly call prepare measure since it's already throttled. - this.prepareMeasure(); - } - // =================== Render =================== - }, { - key: "render", - value: function render() { - var _this3 = this; - var _this$state2 = this.state, - affixStyle = _this$state2.affixStyle, - placeholderStyle = _this$state2.placeholderStyle; - var _this$props2 = this.props, - affixPrefixCls = _this$props2.affixPrefixCls, - children = _this$props2.children; - var className = classnames_default()((0,defineProperty/* default */.Z)({}, affixPrefixCls, !!affixStyle)); - var props = (0,omit/* default */.Z)(this.props, ['prefixCls', 'offsetTop', 'offsetBottom', 'target', 'onChange', 'affixPrefixCls']); - // Omit this since `onTestUpdatePosition` only works on test. - if (false) {} - return /*#__PURE__*/react.createElement(es/* default */.Z, { - onResize: function onResize() { - _this3.updatePosition(); - } - }, /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, props, { - ref: this.savePlaceholderNode - }), affixStyle && /*#__PURE__*/react.createElement("div", { - style: placeholderStyle, - "aria-hidden": "true" - }), /*#__PURE__*/react.createElement("div", { - className: className, - ref: this.saveFixedNode, - style: affixStyle - }, /*#__PURE__*/react.createElement(es/* default */.Z, { - onResize: function onResize() { - _this3.updatePosition(); - } - }, children)))); - } - }]); - return Affix; -}(react.Component); -Affix.contextType = context/* ConfigContext */.E_; -__decorate([(0,throttleByAnimationFrame/* throttleByAnimationFrameDecorator */.U)()], Affix.prototype, "updatePosition", null); -__decorate([(0,throttleByAnimationFrame/* throttleByAnimationFrameDecorator */.U)()], Affix.prototype, "lazyUpdatePosition", null); -var AffixFC = /*#__PURE__*/react.forwardRef(function (props, ref) { - var customizePrefixCls = props.prefixCls; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var affixPrefixCls = getPrefixCls('affix', customizePrefixCls); - var affixProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, props), { - affixPrefixCls: affixPrefixCls - }); - return /*#__PURE__*/react.createElement(Affix, (0,esm_extends/* default */.Z)({}, affixProps, { - ref: ref - })); -}); -if (false) {} -/* harmony default export */ var affix = (AffixFC); - -/***/ }), - -/***/ 48283: -/*!***************************************************************!*\ - !*** ./node_modules/antd/es/affix/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/affix/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/affix/style/index.js - - - -/***/ }), - -/***/ 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 - - - -/***/ }), - -/***/ 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 - - - -/***/ }) - -}]); \ No newline at end of file diff --git a/98007.chunk.css b/98007.chunk.css index 4a328bd083..a442bc174e 100644 --- a/98007.chunk.css +++ b/98007.chunk.css @@ -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 ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/color.less b/color.less index fdf81455b7..c1d955033f 100644 --- a/color.less +++ b/color.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;} diff --git a/layouts__ShixunDetail__index.async.js b/layouts__ShixunDetail__index.async.js index bc9e135e17..b1a27620fa 100644 --- a/layouts__ShixunDetail__index.async.js +++ b/layouts__ShixunDetail__index.async.js @@ -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" })] }) diff --git a/layouts__SimpleLayouts.chunk.css b/layouts__SimpleLayouts.chunk.css index 8988e3baef..21215e87a8 100644 --- a/layouts__SimpleLayouts.chunk.css +++ b/layouts__SimpleLayouts.chunk.css @@ -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; +} diff --git a/p__Classrooms__Lists__Attachment__index.async.js b/p__Classrooms__Lists__Attachment__index.async.js index 0c05872c9b..1c231c9683 100644 --- a/p__Classrooms__Lists__Attachment__index.async.js +++ b/p__Classrooms__Lists__Attachment__index.async.js @@ -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 - - - /***/ }) }]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Attachment__index.chunk.css b/p__Classrooms__Lists__Attachment__index.chunk.css index 40f61b8d98..4d9b92ec41 100644 --- a/p__Classrooms__Lists__Attachment__index.chunk.css +++ b/p__Classrooms__Lists__Attachment__index.chunk.css @@ -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 ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index.chunk.css b/p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index.chunk.css index 17afcc56e7..7f172608ac 100644 --- a/p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index.chunk.css +++ b/p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index.chunk.css @@ -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 ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__CommonHomework__Detail__index.async.js b/p__Classrooms__Lists__CommonHomework__Detail__index.async.js index 2b9297cf5a..71064f692d 100644 --- a/p__Classrooms__Lists__CommonHomework__Detail__index.async.js +++ b/p__Classrooms__Lists__CommonHomework__Detail__index.async.js @@ -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: "" }); diff --git a/p__Classrooms__Lists__CommonHomework__Detail__index.chunk.css b/p__Classrooms__Lists__CommonHomework__Detail__index.chunk.css index 06ef117114..7d225c9108 100644 --- a/p__Classrooms__Lists__CommonHomework__Detail__index.chunk.css +++ b/p__Classrooms__Lists__CommonHomework__Detail__index.chunk.css @@ -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 ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Exercise__Add__index.async.js b/p__Classrooms__Lists__Exercise__Add__index.async.js index 5663f971f8..09de1b7b6d 100644 --- a/p__Classrooms__Lists__Exercise__Add__index.async.js +++ b/p__Classrooms__Lists__Exercise__Add__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[292,4977,12768,67570,56369],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[292,4977,12768,67570,60696,56369],{ /***/ 96403: /*!*********************************!*\ @@ -654,6 +654,42 @@ var AddPoints_ShixunsListPage = function ShixunsListPage(_ref) { /***/ }), +/***/ 73105: +/*!***********************************************************!*\ + !*** ./src/components/DigitalLabel/index.tsx + 1 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ components_DigitalLabel; } +}); + +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./src/components/DigitalLabel/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var DigitalLabelmodules = ({"digitalLabel":"digitalLabel___tImKs","active":"active___Ck70Q"}); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/DigitalLabel/index.tsx + + + +var DigitalLabel = function DigitalLabel(_ref) { + var number = _ref.number, + active = _ref.active, + className = _ref.className; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(DigitalLabelmodules.digitalLabel, " ").concat(active ? DigitalLabelmodules.active : '', " ").concat(className), + children: number + }); +}; +/* harmony default export */ var components_DigitalLabel = (DigitalLabel); + +/***/ }), + /***/ 82982: /*!*****************************************!*\ !*** ./src/components/NoData/index.tsx ***! @@ -2755,31 +2791,67 @@ function _unescape(str) { /***/ }), -/***/ 97501: -/*!*************************************************************!*\ - !*** ./src/components/markdown-editor/code-block/index.tsx ***! - \*************************************************************/ +/***/ 60696: +/*!***************************************************************!*\ + !*** ./src/components/ReuseShixunModal/index.tsx + 1 modules ***! + \***************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "h": function() { return /* binding */ MyCodeMirror; } -/* 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 antd_es_button_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/button/style */ 29913); -/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd/es/button */ 71577); -/* harmony import */ var antd_es_form_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! antd/es/form/style */ 75627); -/* harmony import */ var antd_es_form__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd/es/form */ 51018); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var antd_es_select_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/select/style */ 95985); -/* harmony import */ var antd_es_select__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antd/es/select */ 34041); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! codemirror */ 4631); -/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(codemirror__WEBPACK_IMPORTED_MODULE_6__); -/* harmony import */ var codemirror_lib_codemirror_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! codemirror/lib/codemirror.css */ 71749); -/* harmony import */ var codemirror_theme_blackboard_css__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! codemirror/theme/blackboard.css */ 30483); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ components_ReuseShixunModal; }, + "P": function() { return /* binding */ useReuseModal; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/table/style/index.js + 1 modules +var style = __webpack_require__(71854); +// EXTERNAL MODULE: ./node_modules/antd/es/table/index.js + 58 modules +var table = __webpack_require__(67250); +// 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/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/@babel/runtime/helpers/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(70215); +var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/style/index.js + 1 modules +var modal_style = __webpack_require__(35611); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules +var modal = __webpack_require__(85402); +// EXTERNAL MODULE: ./node_modules/antd/es/radio/style/index.js + 1 modules +var radio_style = __webpack_require__(83822); +// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules +var es_radio = __webpack_require__(29924); +// 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/objectSpread2.js +var objectSpread2 = __webpack_require__(42122); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// 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/form/style/index.js + 1 modules +var form_style = __webpack_require__(75627); +// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules +var es_form = __webpack_require__(51018); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(27424); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./src/components/ReuseShixunModal/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var ReuseShixunModalmodules = ({"brief":"brief___LOzpE","contentTitle":"contentTitle___xkdcN","content":"content___Vtri0","tips":"tips___tuAtH","antdTable":"antdTable___s8T2N","tableCell":"tableCell___kN9Fw","antdModal":"antdModal___WVBk3","orangeColor":"orangeColor___ryB2u"}); +// EXTERNAL MODULE: ./src/service/shixuns.ts +var shixuns = __webpack_require__(56088); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/ReuseShixunModal/index.tsx @@ -2794,113 +2866,873 @@ function _unescape(str) { -var Option = antd_es_select__WEBPACK_IMPORTED_MODULE_10__/* ["default"].Option */ .Z.Option; -//https://github.com/codemirror/CodeMirror/issues/4838 -var formItemLayout = { - labelCol: { - span: 4 - }, - wrapperCol: { - span: 20 - } + +var _excluded = ["isImportMultipleCourse"]; + + + + + + +var StudentInfo = function StudentInfo(_ref) { + var studentNames = _ref.studentNames, + total = _ref.total; + var Map = ['', '一', '两', '三']; + return total > 3 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: ["\u8BFE\u5802\u5185\u6709", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ReuseShixunModalmodules.orangeColor, + children: studentNames === null || studentNames === void 0 ? void 0 : studentNames.join('、') + }), "\u7B49", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ReuseShixunModalmodules.orangeColor, + children: total + }), "\u540D\u5B66\u751F"] + }) : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: ["\u8BFE\u5802\u5185\u6709", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ReuseShixunModalmodules.orangeColor, + children: studentNames === null || studentNames === void 0 ? void 0 : studentNames.join('、') + }), Map[total], "\u540D\u5B66\u751F"] + }); }; -var LanguageDesc = { - asp: ['ASP', 'vbscript'], - actionscript: ['ActionScript(3.0)/Flash/Flex', 'clike'], - bash: ['Bash/Bat', 'shell'], - css: ['CSS', 'css'], - c: ['C', 'clike'], - cpp: ['C++', 'clike'], - csharp: ['C#', 'clike'], - coffeescript: ['CoffeeScript', 'coffeescript'], - d: ['D', 'd'], - dart: ['Dart', 'dart'], - delphi: ['Delphi/Pascal', 'pascal'], - erlang: ['Erlang', 'erlang'], - go: ['Golang', 'go'], - groovy: ['Groovy', 'groovy'], - html: ['HTML', 'text/html'], - java: ['Java', 'clike'], - json: ['JSON', 'text/json'], - javascript: ['Javascript', 'javascript'], - lua: ['Lua', 'lua'], - less: ['LESS', 'css'], - markdown: ['Markdown', 'gfm'], - 'objective-c': ['Objective-C', 'clike'], - php: ['PHP', 'php'], - perl: ['Perl', 'perl'], - python: ['Python', 'python'], - r: ['R', 'r'], - rst: ['reStructedText', 'rst'], - ruby: ['Ruby', 'ruby'], - sql: ['SQL', 'sql'], - sass: ['SASS/SCSS', 'sass'], - shell: ['Shell', 'shell'], - scala: ['Scala', 'clike'], - swift: ['Swift', 'clike'], - vb: ['VB/VBScript', 'vb'], - xml: ['XML', 'text/xml'], - yaml: ['YAML', 'yaml'] + +//根据使用场景区分文案 +var generateBrief = function generateBrief(_ref2) { + var used = _ref2.used, + copy = _ref2.copy, + canNotCopy = _ref2.canNotCopy, + studentNames = _ref2.studentNames, + studentCount = _ref2.studentCount, + inPaper = _ref2.inPaper, + _ref2$position = _ref2.position, + position = _ref2$position === void 0 ? '' : _ref2$position; + var copyStatusDescribe = function copyStatusDescribe() { + if (copy > 0 && canNotCopy > 0) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: ["\u5176\u4E2D", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ReuseShixunModalmodules.orangeColor, + children: copy + }), "\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ReuseShixunModalmodules.orangeColor, + children: canNotCopy + }), "\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236"] + }); + } else if (copy > 0 && canNotCopy === 0) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: ["\u5176\u4E2D", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ReuseShixunModalmodules.orangeColor, + children: copy + }), "\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236"] + }); + } else if (copy === 0 && canNotCopy > 0) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: ["\u5176\u4E2D", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ReuseShixunModalmodules.orangeColor, + children: canNotCopy + }), "\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236"] + }); + } + }; + var currentPosition = position || (inPaper ? '试卷' : '课程'); + return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(StudentInfo, { + studentNames: studentNames, + total: studentCount + }), "\u5B66\u4E60\u8FC7", currentPosition, "\u4E2D\u7684", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ReuseShixunModalmodules.orangeColor, + children: used + }), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"] + }); }; -/* harmony default export */ __webpack_exports__["Z"] = (function (_ref) { - var callback = _ref.callback, - onCancel = _ref.onCancel; - var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)('python'), - _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2), - mode = _useState2[0], - setMode = _useState2[1]; - function onSetMode(value) { - setMode(LanguageDesc[value][1]); - } - function onSubmit(values) { - callback(values); - } - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(antd_es_form__WEBPACK_IMPORTED_MODULE_11__/* ["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()({}, formItemLayout), {}, { - className: "code-block-panel", - initialValues: { - language: 'python', - content: '' - }, - onFinish: onSubmit, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_11__/* ["default"].Item */ .Z.Item, { - label: "\u4EE3\u7801\u8BED\u8A00", - name: "language", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd_es_select__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, { - getPopupContainer: function getPopupContainer(trigger) { - return trigger.parentNode; + +//单个实训时的情况 +var ReuseSingleShixunModal = function ReuseSingleShixunModal(_ref3) { + var onCancel = _ref3.onCancel, + onOk = _ref3.onOk, + visible = _ref3.visible, + inPaper = _ref3.inPaper, + renderData = _ref3.renderData, + type = _ref3.type, + _ref3$isMultipleCours = _ref3.isMultipleCourse, + isMultipleCourse = _ref3$isMultipleCours === void 0 ? false : _ref3$isMultipleCours; + var _Form$useForm = es_form/* default.useForm */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + var _useState = (0,react.useState)(1), + _useState2 = slicedToArray_default()(_useState, 2), + radioValue = _useState2[0], + setRadioValue = _useState2[1]; + var _useState3 = (0,react.useState)(false), + _useState4 = slicedToArray_default()(_useState3, 2), + confirmLoading = _useState4[0], + setConfirmLoading = _useState4[1]; + var canCopy = (0,react.useMemo)(function () { + return (renderData === null || renderData === void 0 ? void 0 : renderData.total_num) === 1 && (renderData === null || renderData === void 0 ? void 0 : renderData.can_copy_num) === 1; + }, [renderData]); + var courseDataList = (0,react.useMemo)(function () { + var _renderData$course_da; + return renderData === null || renderData === void 0 ? void 0 : (_renderData$course_da = renderData.course_data_list) === null || _renderData$course_da === void 0 ? void 0 : _renderData$course_da.filter(function (e) { + return e.is_show; + }); + }, [renderData]); + return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: canCopy ? /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { + centered: true, + closable: true, + open: visible, + destroyOnClose: true, + title: "\u63D0\u793A", + className: ReuseShixunModalmodules.antdModal, + width: 682, + confirmLoading: confirmLoading, + onCancel: onCancel, + onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var data, _renderData$course_da2, param; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + setConfirmLoading(true); + data = radioValue; + if (isMultipleCourse) { + param = objectSpread2_default()({}, form.getFieldsValue()); + data = renderData === null || renderData === void 0 ? void 0 : (_renderData$course_da2 = renderData.course_data_list) === null || _renderData$course_da2 === void 0 ? void 0 : _renderData$course_da2.map(function (e) { + if (param[e.id] !== undefined) { + return objectSpread2_default()(objectSpread2_default()({}, e), {}, { + is_copy: param[e.id] + }); + } + return e; + }); + } + _context.next = 5; + return onOk(data); + case 5: + setConfirmLoading(false); + case 6: + case "end": + return _context.stop(); + } + }, _callee); + })), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ReuseShixunModalmodules.content, + style: { + marginBottom: 20 }, - onChange: onSetMode, - children: Object.keys(LanguageDesc).map(function (item) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(Option, { - value: item, - children: LanguageDesc[item][0] - }, item); + children: isMultipleCourse ? '检测到以下课堂已在教学课堂中使用,请问是否复制成新的实训发送至教学课堂中?' : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(StudentInfo, { + studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names, + total: renderData === null || renderData === void 0 ? void 0 : renderData.student_count + }), "\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"] }) - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_11__/* ["default"].Item */ .Z.Item, { - label: "\u4EE3\u7801\u5185\u5BB9", - name: "content", - rules: [{ - required: true, - message: '请输入代码内容' - }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(MyCodeMirror, { - mode: mode - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", { - className: "flex-container flex-end", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, { - type: "primary", - htmlType: "submit", + }), isMultipleCourse ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { + form: form, + preserve: false, + children: courseDataList === null || courseDataList === void 0 ? void 0 : courseDataList.map(function (item) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h3", { + className: "ml15 mb5", + children: item.name + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: item.id, + initialValue: 1, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + className: ReuseShixunModalmodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 1, + style: { + color: '#464f66' + }, + children: "\u590D\u5236\u5B9E\u8BAD" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 0, + style: { + color: '#464f66' + }, + children: "\u4E0D\u590D\u5236\u5B9E\u8BAD" + })] + }) + })] + }, item.id); + }) + }) : /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + value: radioValue, + onChange: function onChange(e) { + return setRadioValue(e.target.value); + }, + className: ReuseShixunModalmodules.content, style: { - marginRight: 10 + marginBottom: 30 }, - children: "\u786E\u5B9A" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, { - type: "ghost", - onClick: onCancel, - children: "\u53D6\u6D88" + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 1, + style: { + color: '#464f66' + }, + children: "\u590D\u5236" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 0, + style: { + color: '#464f66' + }, + children: "\u4E0D\u590D\u5236" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ReuseShixunModalmodules.content, + style: { + marginBottom: 10 + }, + children: "* \u8BF4\u660E\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ReuseShixunModalmodules.content, + style: { + marginBottom: 20 + }, + children: "1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(ReuseShixunModalmodules.content, " ").concat(ReuseShixunModalmodules.orangeColor), + children: "2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002" + })] + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + centered: true, + closable: true, + destroyOnClose: true, + open: visible, + confirmLoading: confirmLoading, + title: "\u63D0\u793A", + width: 682, + onCancel: onCancel, + onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var data, _renderData$course_da3, param; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + setConfirmLoading(true); + data = 0; + if (isMultipleCourse) { + param = objectSpread2_default()({}, form.getFieldsValue()); + data = renderData === null || renderData === void 0 ? void 0 : (_renderData$course_da3 = renderData.course_data_list) === null || _renderData$course_da3 === void 0 ? void 0 : _renderData$course_da3.map(function (e) { + if (param[e.id] !== undefined) { + return objectSpread2_default()(objectSpread2_default()({}, e), {}, { + is_use: param[e.id] + }); + } + return e; + }); + } + _context2.next = 5; + return onOk(data); + case 5: + setConfirmLoading(false); + case 6: + case "end": + return _context2.stop(); + } + }, _callee2); + })), + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ReuseShixunModalmodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(StudentInfo, { + studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names, + total: renderData === null || renderData === void 0 ? void 0 : renderData.student_count + }), "\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002", isMultipleCourse ? /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + form: form, + preserve: false, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h3", { + children: "\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528" + }), courseDataList === null || courseDataList === void 0 ? void 0 : courseDataList.map(function (item) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h3", { + className: "ml15 mb5", + children: item.name + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: item.id, + initialValue: 1, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + className: ReuseShixunModalmodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 1, + style: { + color: '#464f66' + }, + children: "\u7EE7\u7EED\u4F7F\u7528" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 0, + style: { + color: '#464f66' + }, + children: "\u4E0D\u4F7F\u7528" + })] + }) + })] + }, item.id); + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ReuseShixunModalmodules.orangeColor, + children: "\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002" + }), "\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"] + })] + }) + }) + }); +}; +var useReuseModal = function useReuseModal() { + var _useState5 = (0,react.useState)(false), + _useState6 = slicedToArray_default()(_useState5, 2), + modalVisible = _useState6[0], + setModalVisible = _useState6[1]; + var _useState7 = (0,react.useState)(), + _useState8 = slicedToArray_default()(_useState7, 2), + renderData = _useState8[0], + setRenderData = _useState8[1]; + var closeModalFn = function closeModalFn() { + return setModalVisible(false); + }; + var showModal = /*#__PURE__*/function () { + var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(reqParams) { + var _reqParams$isImportMu, isImportMultipleCourse, param, res, _res$course_data_list, isModalVisible; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + _reqParams$isImportMu = reqParams.isImportMultipleCourse, isImportMultipleCourse = _reqParams$isImportMu === void 0 ? false : _reqParams$isImportMu, param = objectWithoutProperties_default()(reqParams, _excluded); + _context3.next = 3; + return (0,shixuns/* checkShixunCopy */.Tr)(param); + case 3: + res = _context3.sent; + if (!('status' in res)) { + _context3.next = 6; + break; + } + return _context3.abrupt("return", false); + case 6: + if (!isImportMultipleCourse) { + _context3.next = 13; + break; + } + isModalVisible = res === null || res === void 0 ? void 0 : (_res$course_data_list = res.course_data_list) === null || _res$course_data_list === void 0 ? void 0 : _res$course_data_list.some(function (e) { + return e.is_show; + }); + if (!isModalVisible) { + _context3.next = 12; + break; + } + setRenderData(res); + setModalVisible(true); + return _context3.abrupt("return", true); + case 12: + return _context3.abrupt("return", res.course_data_list || []); + case 13: + if (!(res.student_count === 0)) { + _context3.next = 15; + break; + } + return _context3.abrupt("return", false); + case 15: + setRenderData(res); + setModalVisible(true); + return _context3.abrupt("return", true); + case 18: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function showModal(_x) { + return _ref6.apply(this, arguments); + }; + }(); + return [modalVisible, closeModalFn, renderData, showModal]; +}; + +//多个实训时的情况 +var ReuseMultipleShixunModal = function ReuseMultipleShixunModal(props) { + var _Form$useForm3 = es_form/* default.useForm */.Z.useForm(), + _Form$useForm4 = slicedToArray_default()(_Form$useForm3, 1), + form = _Form$useForm4[0]; + var _useState9 = (0,react.useState)(false), + _useState10 = slicedToArray_default()(_useState9, 2), + confirmLoading = _useState10[0], + setConfirmLoading = _useState10[1]; + var onCancel = props.onCancel, + onOk = props.onOk, + visible = props.visible, + _props$inPaper = props.inPaper, + inPaper = _props$inPaper === void 0 ? false : _props$inPaper, + renderData = props.renderData, + type = props.type, + _props$isMultipleCour = props.isMultipleCourse, + isMultipleCourse = _props$isMultipleCour === void 0 ? false : _props$isMultipleCour, + position = props.position; + var reproducibleShixunColumns = (0,react.useMemo)(function () { + return inPaper ? [{ + title: '实践项目名称', + dataIndex: 'name', + width: 424, + align: 'center', + ellipsis: true, + className: ReuseShixunModalmodules.tableCell, + render: function render(text, record) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: "/shixuns/".concat(record.identifier, "/challenges"), + target: "_blank", + children: text + }); + } + }, { + title: '是否复制', + dataIndex: 'is_copy', + align: 'center', + render: function render(value, record) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: ["".concat(type === 'subject' ? record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], + initialValue: 1, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 1, + children: "\u662F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 0, + children: "\u5426" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], + hidden: true, + initialValue: 1, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + type: "hidden" + }) + })] + }); + } + }] : [{ + title: '实践项目名称', + dataIndex: 'name', + width: 424, + align: 'center', + ellipsis: true, + className: ReuseShixunModalmodules.tableCell, + render: function render(text, record) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: "/shixuns/".concat(record.identifier, "/challenges"), + target: "_blank", + children: text + }); + } + }, { + title: '是否使用', + dataIndex: 'is_use', + align: 'center', + render: function render(value, record) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: ["".concat(type === 'subject' ? record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], + initialValue: 1, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 1, + children: "\u662F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 0, + children: "\u5426" + })] + }) + }); + } + }, { + title: '是否复制', + dataIndex: 'is_copy', + align: 'center', + render: function render(value, record) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: ["".concat(type === 'subject' ? record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], + initialValue: 1, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 1, + children: "\u662F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 0, + children: "\u5426" + })] + }) + }); + } + }]; + }, [inPaper]); + var irreproducibleShixunColumns = (0,react.useMemo)(function () { + return inPaper ? [{ + title: '实践项目名称', + dataIndex: 'name', + width: 424, + className: ReuseShixunModalmodules.tableCell, + align: 'center', + ellipsis: true, + render: function render(value, record) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: "/shixuns/".concat(record.identifier, "/challenges"), + target: "_blank", + children: value + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], + hidden: true, + initialValue: 0, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + type: "hidden" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], + hidden: true, + initialValue: 1, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + type: "hidden" + }) + })] + }); + } + }] : [{ + title: '实践项目名称', + dataIndex: 'name', + width: 424, + className: ReuseShixunModalmodules.tableCell, + ellipsis: true, + align: 'center', + render: function render(text, record) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: "/shixuns/".concat(record.identifier, "/challenges"), + target: "_blank", + children: text + }); + } + }, { + title: '是否使用', + dataIndex: 'is_use', + align: 'center', + render: function render(value, record) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], + initialValue: 0, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 1, + children: "\u662F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: 0, + children: "\u5426" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], + hidden: true, + initialValue: 0, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + type: "hidden" + }) + })] + }); + } + }]; + }, [inPaper]); + + //可以选择多个课堂的时候 + if (isMultipleCourse) { + var param = { + title: '课堂名称', + ellipsis: true, + dataIndex: 'course_name', + width: 190, + align: 'center', + className: ReuseShixunModalmodules.tableCell, + render: function render(text, record) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: "/classrooms/".concat(record.course_id), + children: text + }); + } + }; + reproducibleShixunColumns = [param].concat(toConsumableArray_default()(reproducibleShixunColumns)); + irreproducibleShixunColumns = [param].concat(toConsumableArray_default()(irreproducibleShixunColumns)); + } + var dynamicBrief = (0,react.useMemo)(function () { + return generateBrief({ + used: renderData === null || renderData === void 0 ? void 0 : renderData.repeat_shixun_num, + copy: renderData === null || renderData === void 0 ? void 0 : renderData.can_copy_num, + canNotCopy: renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_num, + studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names, + studentCount: renderData === null || renderData === void 0 ? void 0 : renderData.student_count, + inPaper: inPaper, + position: position + }); + }, [renderData, inPaper, position]); + return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + title: "\u63D0\u793A", + centered: true, + open: visible, + confirmLoading: confirmLoading, + onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + var formValues, ids; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + setConfirmLoading(true); + formValues = form.getFieldsValue(); + ids = Object.keys(formValues).map(function (key) { + return { + id: parseInt(key.split('_')[0]), + course_id: parseInt(key.split('_')[1]), + is_use: formValues[key].is_use, + is_copy: formValues[key].is_copy + }; + }); + _context4.next = 5; + return onOk(ids); + case 5: + setConfirmLoading(false); + case 6: + case "end": + return _context4.stop(); + } + }, _callee4); + })), + onCancel: onCancel, + width: 880, + okText: "\u786E\u8BA4", + className: ReuseShixunModalmodules.antdModal, + destroyOnClose: true, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + form: form, + preserve: false, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ReuseShixunModalmodules.brief, + children: dynamicBrief + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginBottom: 30 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + marginBottom: 20 + }, + children: "* \u8BF4\u660E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + marginBottom: 20 + }, + children: "1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ReuseShixunModalmodules.orangeColor, + children: "2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002" + })] + }), (renderData === null || renderData === void 0 ? void 0 : renderData.can_copy_num) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ReuseShixunModalmodules.contentTitle, + children: "\u652F\u6301\u590D\u5236\u7684\u9879\u76EE" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + columns: reproducibleShixunColumns, + className: ReuseShixunModalmodules.antdTable, + dataSource: renderData === null || renderData === void 0 ? void 0 : renderData.can_copy_list, + rowKey: type === 'subject' ? "stage_shixun_id" : 'id', + pagination: false, + scroll: { + y: 240 + }, + bordered: true + })] + }), (renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_num) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ReuseShixunModalmodules.contentTitle, + children: "\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + columns: irreproducibleShixunColumns, + className: ReuseShixunModalmodules.antdTable, + dataSource: renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_list, + rowKey: type === 'subject' ? "stage_shixun_id" : 'id', + pagination: false, + scroll: { + y: 200 + }, + bordered: true + })] + }), (renderData === null || renderData === void 0 ? void 0 : renderData.no_use_list.length) > 0 && (renderData === null || renderData === void 0 ? void 0 : renderData.no_use_list.map(function (record) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], + hidden: true, + initialValue: 0, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + type: "hidden" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], + hidden: true, + initialValue: 1, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + type: "hidden" + }) + })] + }, type === 'subject' ? record.stage_shixun_id : record.shixun_course_id || record.id); + }))] + }) + }); +}; +var ReuseShixunModal = function ReuseShixunModal(props) { + var modalType = props.modalType; + return modalType === 'multiple' ? /*#__PURE__*/(0,jsx_runtime.jsx)(ReuseMultipleShixunModal, objectSpread2_default()({}, props)) : /*#__PURE__*/(0,jsx_runtime.jsx)(ReuseSingleShixunModal, objectSpread2_default()({}, props)); +}; +/* harmony default export */ var components_ReuseShixunModal = (ReuseShixunModal); + +/***/ }), + +/***/ 97501: +/*!*************************************************************!*\ + !*** ./src/components/markdown-editor/code-block/index.tsx ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "h": function() { return /* binding */ MyCodeMirror; } +/* 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 antd_es_button_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/button/style */ 29913); +/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd/es/button */ 71577); +/* harmony import */ var antd_es_form_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! antd/es/form/style */ 75627); +/* harmony import */ var antd_es_form__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd/es/form */ 51018); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var antd_es_select_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/select/style */ 95985); +/* harmony import */ var antd_es_select__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antd/es/select */ 34041); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! codemirror */ 4631); +/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(codemirror__WEBPACK_IMPORTED_MODULE_6__); +/* harmony import */ var codemirror_lib_codemirror_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! codemirror/lib/codemirror.css */ 71749); +/* harmony import */ var codemirror_theme_blackboard_css__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! codemirror/theme/blackboard.css */ 30483); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + + + + + + + + + +var Option = antd_es_select__WEBPACK_IMPORTED_MODULE_10__/* ["default"].Option */ .Z.Option; + +//https://github.com/codemirror/CodeMirror/issues/4838 +var formItemLayout = { + labelCol: { + span: 4 + }, + wrapperCol: { + span: 20 + } +}; +var LanguageDesc = { + asp: ['ASP', 'vbscript'], + actionscript: ['ActionScript(3.0)/Flash/Flex', 'clike'], + bash: ['Bash/Bat', 'shell'], + css: ['CSS', 'css'], + c: ['C', 'clike'], + cpp: ['C++', 'clike'], + csharp: ['C#', 'clike'], + coffeescript: ['CoffeeScript', 'coffeescript'], + d: ['D', 'd'], + dart: ['Dart', 'dart'], + delphi: ['Delphi/Pascal', 'pascal'], + erlang: ['Erlang', 'erlang'], + go: ['Golang', 'go'], + groovy: ['Groovy', 'groovy'], + html: ['HTML', 'text/html'], + java: ['Java', 'clike'], + json: ['JSON', 'text/json'], + javascript: ['Javascript', 'javascript'], + lua: ['Lua', 'lua'], + less: ['LESS', 'css'], + markdown: ['Markdown', 'gfm'], + 'objective-c': ['Objective-C', 'clike'], + php: ['PHP', 'php'], + perl: ['Perl', 'perl'], + python: ['Python', 'python'], + r: ['R', 'r'], + rst: ['reStructedText', 'rst'], + ruby: ['Ruby', 'ruby'], + sql: ['SQL', 'sql'], + sass: ['SASS/SCSS', 'sass'], + shell: ['Shell', 'shell'], + scala: ['Scala', 'clike'], + swift: ['Swift', 'clike'], + vb: ['VB/VBScript', 'vb'], + xml: ['XML', 'text/xml'], + yaml: ['YAML', 'yaml'] +}; +/* harmony default export */ __webpack_exports__["Z"] = (function (_ref) { + var callback = _ref.callback, + onCancel = _ref.onCancel; + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)('python'), + _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2), + mode = _useState2[0], + setMode = _useState2[1]; + function onSetMode(value) { + setMode(LanguageDesc[value][1]); + } + function onSubmit(values) { + callback(values); + } + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(antd_es_form__WEBPACK_IMPORTED_MODULE_11__/* ["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()({}, formItemLayout), {}, { + className: "code-block-panel", + initialValues: { + language: 'python', + content: '' + }, + onFinish: onSubmit, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_11__/* ["default"].Item */ .Z.Item, { + label: "\u4EE3\u7801\u8BED\u8A00", + name: "language", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd_es_select__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, { + getPopupContainer: function getPopupContainer(trigger) { + return trigger.parentNode; + }, + onChange: onSetMode, + children: Object.keys(LanguageDesc).map(function (item) { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(Option, { + value: item, + children: LanguageDesc[item][0] + }, item); + }) + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_11__/* ["default"].Item */ .Z.Item, { + label: "\u4EE3\u7801\u5185\u5BB9", + name: "content", + rules: [{ + required: true, + message: '请输入代码内容' + }], + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(MyCodeMirror, { + mode: mode + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", { + className: "flex-container flex-end", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, { + type: "primary", + htmlType: "submit", + style: { + marginRight: 10 + }, + children: "\u786E\u5B9A" + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, { + type: "ghost", + onClick: onCancel, + children: "\u53D6\u6D88" })] })] })); @@ -4516,9 +5348,13 @@ var AddPoints = __webpack_require__(56369); var skeleton_style = __webpack_require__(61099); // EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 11 modules var skeleton = __webpack_require__(73481); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules +var tooltip_style = __webpack_require__(38390); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(84908); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Add/EditPotin/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var EditPotinmodules = ({"flex_box_center":"flex_box_center___zCnVx","flex_space_between":"flex_space_between___BBiQD","flex_box_vertical_center":"flex_box_vertical_center___KzPui","flex_box_center_end":"flex_box_center_end___zJokd","flex_box_column":"flex_box_column___Grsys","bg":"bg___oBBHW","title":"title___xV4Rt","bottmodiv":"bottmodiv___k_U6H","addQuestionBtn":"addQuestionBtn___RPRiP","left":"left___Q3Qf4","scrollWrapper":"scrollWrapper___a3Wdq","Button":"Button___r00OP","titleleft":"titleleft___WZ83K","up":"up___a9RQm","down":"down___x6RAl","qcount":"qcount___o6F1k","score":"score___Gy6jr","qtitle":"qtitle___KF7pa","qcountclick":"qcountclick___kvoyc","right":"right___Nfa70","edit":"edit___RVRSb","delete":"delete___J9BAT","shixun":"shixun___YkjdZ","scoreByBlankRadio":"scoreByBlankRadio___QYQY5","modalconfirm":"modalconfirm___dmWFe","scoremodal":"scoremodal___CDA7w","close":"close___jdUWv","content":"content___HPqUf","items":"items___YkyQL","bottom":"bottom___mzpp4","yes":"yes___Xio6z","no":"no___hbicD","formcenter":"formcenter___kN8Ax","radiogroup":"radiogroup___htjtc","easy":"easy____g1mR","medium":"medium___vPAsn","hard":"hard___c6tcf","formcenterselect":"formcenterselect___B88vb","selectitems":"selectitems___wUGKF","morebottom":"morebottom___F5cFQ","scoreinput":"scoreinput___S9Fbv","titleTooltip":"titleTooltip___J0i26","exercise_styles":"exercise_styles___BJAZm"}); +/* harmony default export */ var EditPotinmodules = ({"flex_box_center":"flex_box_center___zCnVx","flex_space_between":"flex_space_between___BBiQD","flex_box_vertical_center":"flex_box_vertical_center___KzPui","flex_box_center_end":"flex_box_center_end___zJokd","flex_box_column":"flex_box_column___Grsys","bg":"bg___oBBHW","title":"title___xV4Rt","bottomdiv":"bottomdiv___rPfwr","spanBtn":"spanBtn___eJxID","addQuestionBtn":"addQuestionBtn___RPRiP","saveBtn":"saveBtn___y9nNf","left":"left___Q3Qf4","scrollWrapper":"scrollWrapper___a3Wdq","Button":"Button___r00OP","iconWrapper":"iconWrapper___wofW_","up":"up___a9RQm","down":"down___x6RAl","disabled":"disabled___mkEME","titleleft":"titleleft___WZ83K","qcount":"qcount___o6F1k","score":"score___Gy6jr","qtitle":"qtitle___KF7pa","qcountclick":"qcountclick___kvoyc","right":"right___Nfa70","edit":"edit___RVRSb","delete":"delete___J9BAT","shixun":"shixun___YkjdZ","scoreByBlankRadio":"scoreByBlankRadio___QYQY5","modalconfirm":"modalconfirm___dmWFe","scoremodal":"scoremodal___CDA7w","close":"close___jdUWv","content":"content___HPqUf","items":"items___YkyQL","bottom":"bottom___mzpp4","yes":"yes___Xio6z","no":"no___hbicD","formcenter":"formcenter___kN8Ax","radiogroup":"radiogroup___htjtc","easy":"easy____g1mR","medium":"medium___vPAsn","hard":"hard___c6tcf","formcenterselect":"formcenterselect___B88vb","selectitems":"selectitems___wUGKF","morebottom":"morebottom___F5cFQ","scoreinput":"scoreinput___S9Fbv","titleTooltip":"titleTooltip___J0i26","exercise_styles":"exercise_styles___BJAZm"}); // EXTERNAL MODULE: ./src/utils/util.tsx var util = __webpack_require__(29427); // EXTERNAL MODULE: ./src/components/NoData/index.tsx @@ -4527,10 +5363,6 @@ var NoData = __webpack_require__(82982); var spin_style = __webpack_require__(22536); // EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js var spin = __webpack_require__(11382); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules -var tooltip_style = __webpack_require__(38390); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules -var tooltip = __webpack_require__(84908); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js var toConsumableArray = __webpack_require__(861); var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); @@ -4644,14 +5476,10 @@ var DragQuestions = function DragQuestions(_ref) { children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Droppable */.bK, { droppableId: "droppable", children: function children(provided, snapshot) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({ + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({ ref: provided.innerRef }, provided.droppableProps), {}, { - style: { - width: '100%', - height: (list === null || list === void 0 ? void 0 : list.length) * 38 - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, { spinning: loading, children: list.map(function (item, k) { return /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Draggable */._l, { @@ -4677,7 +5505,7 @@ var DragQuestions = function DragQuestions(_ref) { setBigqitem(bigitem); (0,util/* scrollToTop */.k3)(); }, - className: item.question_id === (qitem === null || qitem === void 0 ? void 0 : qitem.question_id) ? EditPotinmodules.qcountclick : EditPotinmodules.qcount, + className: "".concat(EditPotinmodules.qcount, " ").concat(item.question_id === (qitem === null || qitem === void 0 ? void 0 : qitem.question_id) ? EditPotinmodules.qcountclick : ''), children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: EditPotinmodules.score, children: [item === null || item === void 0 ? void 0 : item.question_score, "\u5206"] @@ -4691,7 +5519,7 @@ var DragQuestions = function DragQuestions(_ref) { } }, k); }) - }) + }), provided.placeholder] })); } }) @@ -5036,7 +5864,8 @@ var SingleEditor_DragQuestions = function DragQuestions(_ref) { exerciseitem = _ref.exerciseitem, seveeditor = _ref.seveeditor, deleteitem = _ref.deleteitem, - getTagData = _ref.getTagData; + getTagData = _ref.getTagData, + init = _ref.init; var _Form$useForm = es_form/* default.useForm */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), form = _Form$useForm2[0]; @@ -5083,11 +5912,16 @@ var SingleEditor_DragQuestions = function DragQuestions(_ref) { }, onFinishFailed: /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(errInfo) { + var _errInfo$errorFields, _errInfo$errorFields$; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: message/* default.error */.ZP.error(errInfo.errorFields[0].errors[0]); - case 1: + 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: 'center' + }); + case 2: case "end": return _context.stop(); } @@ -5187,6 +6021,27 @@ var SingleEditor_DragQuestions = function DragQuestions(_ref) { })); }, children: "\u91CD\u7F6E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: EditPotinmodules.no, + onClick: function onClick() { + if (!qitem.isadd) { + var _qitem$question_choic3; + form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { + name: qitem === null || qitem === void 0 ? void 0 : qitem.question_title, + choices: qitem === null || qitem === void 0 ? void 0 : (_qitem$question_choic3 = qitem.question_choices) === null || _qitem$question_choic3 === void 0 ? void 0 : _qitem$question_choic3.map(function (item) { + return objectSpread2_default()(objectSpread2_default()({}, item), {}, { + standard_boolean: item !== null && item !== void 0 && item.standard_boolean ? 1 : 0 + }); + }), + repeat_answer: !(qitem !== null && qitem !== void 0 && qitem.repeat_answer) + })); + setisedit(false); + } else { + setisedit(false); + init(); + } + }, + children: "\u53D6\u6D88" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { className: EditPotinmodules.yes, onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { @@ -5236,9 +6091,11 @@ var CombinationEditor_DragQuestions = function DragQuestions(_ref) { var qitem = _ref.qitem, TagDiscipline = _ref.TagDiscipline, exerciseitem = _ref.exerciseitem, + setisedit = _ref.setisedit, seveeditor = _ref.seveeditor, deleteitem = _ref.deleteitem, - getTagData = _ref.getTagData; + getTagData = _ref.getTagData, + init = _ref.init; var _Form$useForm = es_form/* default.useForm */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), form = _Form$useForm2[0]; @@ -5288,11 +6145,15 @@ var CombinationEditor_DragQuestions = function DragQuestions(_ref) { }, onFinishFailed: /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(errInfo) { + var _errInfo$errorFields, _errInfo$errorFields$; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: - console.log(errInfo); 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: 'center' + }); case 2: case "end": return _context.stop(); @@ -5398,6 +6259,24 @@ var CombinationEditor_DragQuestions = function DragQuestions(_ref) { setscoreByBlank(!qitem.use_blank_score); }, children: "\u91CD\u7F6E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: EditPotinmodules.no, + onClick: function onClick() { + if (!qitem.isadd) { + //编辑时回到原题目 + form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { + standard_answers: qitem.standard_answer || [], + name: qitem.question_title, + repeat_answer: !qitem.repeat_answer + })); + setscoreByBlank(!qitem.use_blank_score); + setisedit(false); + } else { + setisedit(false); + init(); + } + }, + children: "\u53D6\u6D88" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { className: EditPotinmodules.yes, onClick: function onClick() { @@ -5438,7 +6317,8 @@ var JudgmentQuestionEditor_DragQuestions = function DragQuestions(_ref) { exerciseitem = _ref.exerciseitem, seveeditor = _ref.seveeditor, deleteitem = _ref.deleteitem, - getTagData = _ref.getTagData; + getTagData = _ref.getTagData, + init = _ref.init; var _Form$useForm = es_form/* default.useForm */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), form = _Form$useForm2[0]; @@ -5454,7 +6334,6 @@ var JudgmentQuestionEditor_DragQuestions = function DragQuestions(_ref) { }) })); }, [qitem]); - console.log(form.getFieldValue('choices')); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { form: form, @@ -5478,11 +6357,16 @@ var JudgmentQuestionEditor_DragQuestions = function DragQuestions(_ref) { }, onFinishFailed: /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(errInfo) { + var _errInfo$errorFields, _errInfo$errorFields$; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: message/* default.error */.ZP.error(errInfo.errorFields[0].errors[0]); - case 1: + 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: 'center' + }); + case 2: case "end": return _context.stop(); } @@ -5575,6 +6459,27 @@ var JudgmentQuestionEditor_DragQuestions = function DragQuestions(_ref) { })); }, children: "\u91CD\u7F6E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: EditPotinmodules.no, + onClick: function onClick() { + if (!qitem.isadd) { + var _qitem$question_choic3; + form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { + name: qitem.question_title, + repeat_answer: !qitem.repeat_answer, + choices: qitem === null || qitem === void 0 ? void 0 : (_qitem$question_choic3 = qitem.question_choices) === null || _qitem$question_choic3 === void 0 ? void 0 : _qitem$question_choic3.map(function (item) { + return objectSpread2_default()(objectSpread2_default()({}, item), {}, { + is_answer: item !== null && item !== void 0 && item.standard_boolean ? 1 : 0 + }); + }) + })); + setisedit(false); + } else { + setisedit(false); + init(); + } + }, + children: "\u53D6\u6D88" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { className: EditPotinmodules.yes, onClick: function onClick() { @@ -5615,7 +6520,8 @@ var CombinationQuestionEditor_DragQuestions = function DragQuestions(_ref) { exerciseitem = _ref.exerciseitem, seveeditor = _ref.seveeditor, deleteitem = _ref.deleteitem, - getTagData = _ref.getTagData; + getTagData = _ref.getTagData, + init = _ref.init; var _Form$useForm = es_form/* default.useForm */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), form = _Form$useForm2[0]; @@ -5681,11 +6587,16 @@ var CombinationQuestionEditor_DragQuestions = function DragQuestions(_ref) { }, onFinishFailed: /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(errInfo) { + var _errInfo$errorFields, _errInfo$errorFields$; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: message/* default.error */.ZP.error(errInfo.errorFields[0].errors[0]); - case 1: + 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: 'center' + }); + case 2: case "end": return _context.stop(); } @@ -5785,6 +6696,32 @@ var CombinationQuestionEditor_DragQuestions = function DragQuestions(_ref) { })); }, children: "\u91CD\u7F6E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: EditPotinmodules.no, + onClick: function onClick() { + if (!qitem.isadd) { + var _qitem$sub_exercise_q3; + form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { + name: qitem.question_title, + sub_item_banks: (_qitem$sub_exercise_q3 = qitem.sub_exercise_questions) === null || _qitem$sub_exercise_q3 === void 0 ? void 0 : _qitem$sub_exercise_q3.map(function (item) { + return objectSpread2_default()(objectSpread2_default()({}, item), {}, { + name: item.question_title, + choices: item.question_choices.map(function (val) { + return objectSpread2_default()(objectSpread2_default()({}, val), {}, { + is_answer: val !== null && val !== void 0 && val.standard_boolean ? 1 : 0 + }); + }) + }); + }), + repeat_answer: !qitem.repeat_answer + })); + setisedit(false); + } else { + setisedit(false); + init(); + } + }, + children: "\u53D6\u6D88" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { className: EditPotinmodules.yes, onClick: function onClick() { @@ -5820,6 +6757,7 @@ var ShixunEditor_DragQuestions = function DragQuestions(_ref) { var _exerciseitem$exercis, _qitem$shixun3; var qitem = _ref.qitem, setqitem = _ref.setqitem, + setisedit = _ref.setisedit, TagDiscipline = _ref.TagDiscipline, exerciseitem = _ref.exerciseitem, seveeditor = _ref.seveeditor, @@ -5865,11 +6803,16 @@ var ShixunEditor_DragQuestions = function DragQuestions(_ref) { }, onFinishFailed: /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(errInfo) { + var _errInfo$errorFields, _errInfo$errorFields$; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: message/* default.error */.ZP.error(errInfo.errorFields[0].errors[0]); - case 1: + 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: 'center' + }); + case 2: case "end": return _context.stop(); } @@ -6026,18 +6969,40 @@ var ShixunEditor_DragQuestions = function DragQuestions(_ref) { setqitem(objectSpread2_default()({}, qitem)); }, children: "\u91CD\u7F6E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: EditPotinmodules.no, + onClick: function onClick() { + var _qitem$question_choic3, _qitem$shixun6; + form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { + name: qitem === null || qitem === void 0 ? void 0 : qitem.question_title, + choices: qitem === null || qitem === void 0 ? void 0 : (_qitem$question_choic3 = qitem.question_choices) === null || _qitem$question_choic3 === void 0 ? void 0 : _qitem$question_choic3.map(function (item) { + return objectSpread2_default()(objectSpread2_default()({}, item), {}, { + standard_boolean: item !== null && item !== void 0 && item.standard_boolean ? 1 : 0 + }); + }), + repeat_answer: !(qitem !== null && qitem !== void 0 && qitem.repeat_answer) + })); + qitem.shixun = qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun6 = qitem.shixun) === null || _qitem$shixun6 === void 0 ? void 0 : _qitem$shixun6.map(function (item) { + return objectSpread2_default()(objectSpread2_default()({}, item), {}, { + challenge_score: item.defaultscore + }); + }); + setqitem(objectSpread2_default()({}, qitem)); + setisedit(false); + }, + children: "\u53D6\u6D88" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { className: EditPotinmodules.yes, onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var _qitem$shixun6, _qitem$shixun6$map, _qitem$shixun7; + var _qitem$shixun7, _qitem$shixun7$map, _qitem$shixun8; return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: - if (!((qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun6 = qitem.shixun) === null || _qitem$shixun6 === void 0 ? void 0 : (_qitem$shixun6$map = _qitem$shixun6.map) === null || _qitem$shixun6$map === void 0 ? void 0 : _qitem$shixun6$map.call(_qitem$shixun6, function (item) { + if (!((qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun7 = qitem.shixun) === null || _qitem$shixun7 === void 0 ? void 0 : (_qitem$shixun7$map = _qitem$shixun7.map) === null || _qitem$shixun7$map === void 0 ? void 0 : _qitem$shixun7$map.call(_qitem$shixun7, function (item) { return item.challenge_score; }).filter(function (item) { return item; - }).length) < (qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun7 = qitem.shixun) === null || _qitem$shixun7 === void 0 ? void 0 : _qitem$shixun7.length))) { + }).length) < (qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun8 = qitem.shixun) === null || _qitem$shixun8 === void 0 ? void 0 : _qitem$shixun8.length))) { _context2.next = 3; break; } @@ -6059,9 +7024,17 @@ var ShixunEditor_DragQuestions = function DragQuestions(_ref) { }); }; /* harmony default export */ var ShixunEditor = (ShixunEditor_DragQuestions); +// EXTERNAL MODULE: ./node_modules/antd/es/row/style/index.js +var row_style = __webpack_require__(13062); +// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js +var row = __webpack_require__(71230); +// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js +var col_style = __webpack_require__(89032); +// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js +var col = __webpack_require__(15746); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Add/EditPotin/components/Saveitem.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var Saveitemmodules = ({"flex_box_center":"flex_box_center___Vhtb1","flex_space_between":"flex_space_between___k2ZrJ","flex_box_vertical_center":"flex_box_vertical_center___tn6Db","flex_box_center_end":"flex_box_center_end___k3eNX","flex_box_column":"flex_box_column___rsWbi","warp":"warp___UlRJc","redio":"redio___VW3yr","redioitem":"redioitem___jAPlJ","redioitemyes":"redioitemyes___VoiQ1","title":"title___Dt2dl","titleyes":"titleyes___Fjh3a","yestag":"yestag___CXrPv","checkbox":"checkbox___CgMU_","checkboxitem":"checkboxitem___PpJ9n","checkboxitemyes":"checkboxitemyes___pCfvZ","bottom":"bottom___BqrmJ","bottomitem":"bottomitem___Qk2rG","left":"left___l29lW","right":"right___nB1XE","completion":"completion___y1m7L","content":"content___AmQy4","items":"items___lIt8e","simple":"simple___zxJLH","shixun":"shixun___UE6xS","score":"score___Px5Fq","qtitle":"qtitle___wG7Nn","combination":"combination___R0ysn"}); +/* harmony default export */ var Saveitemmodules = ({"flex_box_center":"flex_box_center___Vhtb1","flex_space_between":"flex_space_between___k2ZrJ","flex_box_vertical_center":"flex_box_vertical_center___tn6Db","flex_box_center_end":"flex_box_center_end___k3eNX","flex_box_column":"flex_box_column___rsWbi","warp":"warp___UlRJc","normalWrap":"normalWrap___Qm4zY","redio":"redio___VW3yr","redioitem":"redioitem___jAPlJ","redioitemyes":"redioitemyes___VoiQ1","title":"title___Dt2dl","titleyes":"titleyes___Fjh3a","yestag":"yestag___CXrPv","checkbox":"checkbox___CgMU_","checkboxitem":"checkboxitem___PpJ9n","checkboxitemyes":"checkboxitemyes___pCfvZ","bottom":"bottom___BqrmJ","bottomitem":"bottomitem___Qk2rG","left":"left___l29lW","right":"right___nB1XE","completion":"completion___y1m7L","content":"content___AmQy4","items":"items___lIt8e","simple":"simple___zxJLH","shixunWrapper":"shixunWrapper___kAYdL","shixun":"shixun___UE6xS","score":"score___Px5Fq","qtitle":"qtitle___wG7Nn","program":"program___gzKdL","combination":"combination___R0ysn","qtype":"qtype___U0Suy"}); // EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 1 modules var RenderHtml = __webpack_require__(12768); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Add/EditPotin/components/SaveItem.tsx @@ -6070,6 +7043,10 @@ var RenderHtml = __webpack_require__(12768); + + + + //数组对应值 var tagDotData = ['A.', 'B.', 'C.', 'D.', 'E.', 'F.', 'G.', 'H.', 'I.', 'J.', 'K.', 'L.', 'M.', 'N.', 'O.', 'P.', 'Q.', 'R.', 'S.', 'T.', 'U.', 'V.', 'W.', 'X.', 'Y.', 'Z.']; var SaveItem_DragQuestions = function DragQuestions(_ref) { @@ -6077,10 +7054,8 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { var qitem = _ref.qitem; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Saveitemmodules.warp, - style: { - padding: ((qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 5 || (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 7) && 0 - }, children: [((qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 0 || (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 2) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Saveitemmodules.normalWrap, children: qitem === null || qitem === void 0 ? void 0 : (_qitem$question_choic = qitem.question_choices) === null || _qitem$question_choic === void 0 ? void 0 : _qitem$question_choic.map(function (item, index) { return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Saveitemmodules.redio, @@ -6090,7 +7065,7 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { className: "".concat(Saveitemmodules.redioitemyes, " icon-duigou1") }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { className: item !== null && item !== void 0 && item.standard_boolean ? Saveitemmodules.titleyes : Saveitemmodules.title, - value: tagDotData[index] + (item === null || item === void 0 ? void 0 : item.choice_text) + value: (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 0 ? tagDotData[index] + (item === null || item === void 0 ? void 0 : item.choice_text) : item === null || item === void 0 ? void 0 : item.choice_text }), (item === null || item === void 0 ? void 0 : item.standard_boolean) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: Saveitemmodules.yestag, children: "\u6B63\u786E\u7B54\u6848" @@ -6098,6 +7073,7 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { }); }) }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Saveitemmodules.normalWrap, children: qitem === null || qitem === void 0 ? void 0 : (_qitem$question_choic2 = qitem.question_choices) === null || _qitem$question_choic2 === void 0 ? void 0 : _qitem$question_choic2.map(function (item, index) { return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Saveitemmodules.checkbox, @@ -6125,13 +7101,16 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: Saveitemmodules.title, children: ["\u586B\u7A7A\u9879", index + 1] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Saveitemmodules.content, - children: item === null || item === void 0 ? void 0 : (_item$answer_text = item.answer_text) === null || _item$answer_text === void 0 ? void 0 : _item$answer_text.map(function (val, vindex) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Saveitemmodules.items, - children: val - }); + }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + gutter: [30, 20], + className: "".concat(Saveitemmodules.content, " mb20"), + children: (_item$answer_text = item.answer_text) === null || _item$answer_text === void 0 ? void 0 : _item$answer_text.map(function (val, vindex) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Saveitemmodules.items, + children: val + }) + }, vindex); }) })] }); @@ -6145,19 +7124,22 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { className: Saveitemmodules.content, value: (qitem === null || qitem === void 0 ? void 0 : (_qitem$standard_answe2 = qitem.standard_answer) === null || _qitem$standard_answe2 === void 0 ? void 0 : _qitem$standard_answe2[0]) || '' })] - }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 5 && (qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun = qitem.shixun) === null || _qitem$shixun === void 0 ? void 0 : _qitem$shixun.map(function (val, vindex) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Saveitemmodules.shixun, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Saveitemmodules.score, - children: val === null || val === void 0 ? void 0 : val.challenge_score - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: Saveitemmodules.qtitle, - children: [(qitem === null || qitem === void 0 ? void 0 : qitem.index) + "." + (vindex + 1), "\u3001", val === null || val === void 0 ? void 0 : val.challenge_name] - })] - }); - })), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 6 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Saveitemmodules.simple, + }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Saveitemmodules.shixunWrapper, + children: qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun = qitem.shixun) === null || _qitem$shixun === void 0 ? void 0 : _qitem$shixun.map(function (val, vindex) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "".concat(Saveitemmodules.shixun, " mb30"), + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: Saveitemmodules.score, + children: ["\uFF08", val === null || val === void 0 ? void 0 : val.challenge_score, "\u5206\uFF09"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: Saveitemmodules.qtitle, + children: [(qitem === null || qitem === void 0 ? void 0 : qitem.index) + "." + (vindex + 1), "\u3001", val === null || val === void 0 ? void 0 : val.challenge_name] + })] + }, vindex); + }) + }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 6 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Saveitemmodules.program, children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { className: Saveitemmodules.content, value: (qitem === null || qitem === void 0 ? void 0 : qitem.description) || '- -' @@ -6170,6 +7152,9 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: Saveitemmodules.score, children: [val === null || val === void 0 ? void 0 : val.question_score, "\u5206"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Saveitemmodules.qtype, + children: "\u5355\u9009\u9898" }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: Saveitemmodules.qtitle, children: [(qitem === null || qitem === void 0 ? void 0 : qitem.index) + "." + (vndex + 1), "\u3001", val === null || val === void 0 ? void 0 : val.question_title] @@ -6203,7 +7188,7 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { })), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) <= 4 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Saveitemmodules.bottom, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Saveitemmodules.bottomitem, + className: "".concat(Saveitemmodules.bottomitem, " mb30"), children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: Saveitemmodules.left, children: "\u89E3\u6790" @@ -6212,7 +7197,7 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { value: (qitem === null || qitem === void 0 ? void 0 : qitem.analysis) || '' })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Saveitemmodules.bottomitem, + className: "".concat(Saveitemmodules.bottomitem, " mb30"), children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: Saveitemmodules.left, children: "\u96BE\u5EA6" @@ -6265,7 +7250,8 @@ var SubjectiveQuestionEditor_DragQuestions = function DragQuestions(_ref) { exerciseitem = _ref.exerciseitem, seveeditor = _ref.seveeditor, deleteitem = _ref.deleteitem, - getTagData = _ref.getTagData; + getTagData = _ref.getTagData, + init = _ref.init; var _Form$useForm = es_form/* default.useForm */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), form = _Form$useForm2[0]; @@ -6288,11 +7274,16 @@ var SubjectiveQuestionEditor_DragQuestions = function DragQuestions(_ref) { }, onFinishFailed: /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(errInfo) { + var _errInfo$errorFields, _errInfo$errorFields$; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: message/* default.error */.ZP.error(errInfo.errorFields[0].errors[0]); - case 1: + 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: 'center' + }); + case 2: case "end": return _context.stop(); } @@ -6380,6 +7371,22 @@ var SubjectiveQuestionEditor_DragQuestions = function DragQuestions(_ref) { })); }, children: "\u91CD\u7F6E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: EditPotinmodules.no, + onClick: function onClick() { + if (!qitem.isadd) { + form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { + name: qitem === null || qitem === void 0 ? void 0 : qitem.question_title, + answer_texts: qitem.standard_answer || [], + repeat_answer: !(qitem !== null && qitem !== void 0 && qitem.repeat_answer) + })); + setisedit(false); + } else { + setisedit(false); + init(); + } + }, + children: "\u53D6\u6D88" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { className: EditPotinmodules.yes, onClick: function onClick() { @@ -6598,6 +7605,9 @@ var pagination = __webpack_require__(260); var table_style = __webpack_require__(71854); // EXTERNAL MODULE: ./node_modules/antd/es/table/index.js + 58 modules var table = __webpack_require__(67250); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +var createForOfIteratorHelper = __webpack_require__(74704); +var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); // EXTERNAL MODULE: ./node_modules/antd/es/tabs/style/index.js + 1 modules var tabs_style = __webpack_require__(99558); // EXTERNAL MODULE: ./node_modules/antd/es/tabs/index.js + 22 modules @@ -6876,6 +7886,8 @@ var AddQuestionsModal_SaveItem_DragQuestions = function DragQuestions(_ref) { var shengxu = __webpack_require__(68210); // EXTERNAL MODULE: ./src/assets/images/paper/jiangxu.svg var jiangxu = __webpack_require__(9287); +// EXTERNAL MODULE: ./src/components/ReuseShixunModal/index.tsx + 1 modules +var ReuseShixunModal = __webpack_require__(60696); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Add/EditPotin/components/AddQuestionsModal/index.tsx @@ -6908,6 +7920,9 @@ var jiangxu = __webpack_require__(9287); + + + @@ -7013,6 +8028,12 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { value: "COMBINATION", question_type: 7 }]; + var _useState25 = (0,react.useState)([]), + _useState26 = slicedToArray_default()(_useState25, 2), + checkedItemsArr = _useState26[0], + setCheckedItemsArr = _useState26[1]; + var selectedShixunId = (0,react.useRef)(new Set()); + var selectedQuestionId = (0,react.useRef)(new Set()); var difficultyData = [{ name: "简单", value: 1 @@ -7066,18 +8087,18 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { return _getdatas.apply(this, arguments); } function _getdatas() { - _getdatas = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(params) { + _getdatas = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(params) { var _params$courseid, _params$courseid2, res, _params$courseid3, _params$courseid4, ids, shixun_ids, _res; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { case 0: setloading(true); setparam(params); if (!isshixun) { - _context2.next = 9; + _context4.next = 9; break; } - _context2.next = 5; + _context4.next = 5; return (0,fetch/* default */.ZP)("/api/shixun_lists.json", { method: 'get', params: objectSpread2_default()(objectSpread2_default()({}, params), {}, { @@ -7087,18 +8108,18 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { }) }); case 5: - res = _context2.sent; + res = _context4.sent; setdatas(res); - _context2.next = 19; + _context4.next = 19; break; case 9: if (!((listitems === null || listitems === void 0 ? void 0 : listitems.length) <= 0 && params.type === '5')) { - _context2.next = 13; + _context4.next = 13; break; } setdatas([]); setloading(false); - return _context2.abrupt("return"); + return _context4.abrupt("return"); case 13: ids = params.type === '5' ? listitems === null || listitems === void 0 ? void 0 : listitems.filter(function (item) { return !ShiXunListItems.includes(item); @@ -7106,7 +8127,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { shixun_ids = params.type === '5' ? listitems === null || listitems === void 0 ? void 0 : listitems.filter(function (item) { return ShiXunListItems.includes(item); }) : null; - _context2.next = 17; + _context4.next = 17; return (0,fetch/* default */.ZP)("/api/item_banks.json", { method: 'get', params: objectSpread2_default()(objectSpread2_default()({}, params), {}, { @@ -7119,15 +8140,15 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { }) }); case 17: - _res = _context2.sent; + _res = _context4.sent; setdatas(_res); case 19: setloading(false); case 20: case "end": - return _context2.stop(); + return _context4.stop(); } - }, _callee2); + }, _callee4); })); return _getdatas.apply(this, arguments); } @@ -7135,12 +8156,12 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { return _getdisciplines.apply(this, arguments); } function _getdisciplines() { - _getdisciplines = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + _getdisciplines = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { var res; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { case 0: - _context3.next = 2; + _context5.next = 2; return (0,fetch/* default */.ZP)("/api/disciplines.json", { method: 'get', params: { @@ -7151,13 +8172,13 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { } }); case 2: - res = _context3.sent; + res = _context5.sent; setcourseOptions((0,problemset_util/* formatCourseOptions */.L)(res === null || res === void 0 ? void 0 : res.disciplines)); case 4: case "end": - return _context3.stop(); + return _context5.stop(); } - }, _callee3); + }, _callee5); })); return _getdisciplines.apply(this, arguments); } @@ -7165,11 +8186,11 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { return _getmy.apply(this, arguments); } function _getmy() { - _getmy = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(params) { + _getmy = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(params) { var _params$list, _params$list2, _params$courseid5, _params$courseid6; var ids, shixun_ids, res; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { case 0: setloading(true); ids = (_params$list = params.list) === null || _params$list === void 0 ? void 0 : _params$list.filter(function (item) { @@ -7179,14 +8200,14 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { return ShiXunListItems.includes(item); }); if (!(ids.length === 0 && shixun_ids.length === 0)) { - _context4.next = 7; + _context6.next = 7; break; } setloading(false); setdatas([]); - return _context4.abrupt("return"); + return _context6.abrupt("return"); case 7: - _context4.next = 9; + _context6.next = 9; return (0,fetch/* default */.ZP)("/api/item_banks.json", { method: 'get', params: objectSpread2_default()(objectSpread2_default()({}, params), {}, { @@ -7199,17 +8220,24 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { }) }); case 9: - res = _context4.sent; + res = _context6.sent; setloading(false); setdatas(res); case 12: case "end": - return _context4.stop(); + return _context6.stop(); } - }, _callee4); + }, _callee6); })); return _getmy.apply(this, arguments); } + var paramsFromUrl = (0,_umi_production_exports.useParams)(); + var _useReuseModal = (0,ReuseShixunModal/* useReuseModal */.P)(), + _useReuseModal2 = slicedToArray_default()(_useReuseModal, 4), + reuseModalVisible = _useReuseModal2[0], + closeReuseModal = _useReuseModal2[1], + renderData = _useReuseModal2[2], + showReuseModal = _useReuseModal2[3]; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { title: false, @@ -7257,6 +8285,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { setparam(objectSpread2_default()({}, param)); getdatas(objectSpread2_default()({}, param)); setcheckitems([]); + setCheckedItemsArr([]); }, items: [{ label: "\u516C\u5171", @@ -7398,7 +8427,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { alignItems: 'center', marginTop: 20, height: 40, - paddingLeft: 12, + paddingLeft: 10, paddingRight: 20 }, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -7415,9 +8444,6 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { page: 1 })); }, - style: { - marginLeft: 32 - }, children: [" ", !param.updated_at ? /*#__PURE__*/(0,jsx_runtime.jsx)("i", { style: { fontSize: "14px" @@ -7477,6 +8503,22 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { })); } setlistitems(toConsumableArray_default()(list)); + var _iterator = createForOfIteratorHelper_default()(checkedItemsArr), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var item = _step.value; + if (item.identifier) { + selectedShixunId.current["delete"](item.id); + } else { + selectedQuestionId.current["delete"](item.id); + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } }, children: "\u6279\u91CF\u79FB\u51FA" }), param.type !== '5' && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { @@ -7487,6 +8529,22 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { setlistitems([].concat(toConsumableArray_default()(listitems), toConsumableArray_default()(checkitems.filter(function (item) { return !listitems.includes(item); })))); + var _iterator2 = createForOfIteratorHelper_default()(checkedItemsArr), + _step2; + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var item = _step2.value; + if (item.identifier) { + selectedShixunId.current.add(item.id); + } else { + selectedQuestionId.current.add(item.id); + } + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } }, style: { marginLeft: 30 @@ -7511,11 +8569,12 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { rowSelection: { type: 'checkbox', selectedRowKeys: checkitems, - onChange: function onChange(selectedRowKeys, selectedRows, info) { + onChange: function onChange(selectedRowKeys, selectedRows) { if (isshixun) { setshixunitems([].concat(toConsumableArray_default()(ShiXunListItems), toConsumableArray_default()(selectedRowKeys))); } setcheckitems(selectedRowKeys); + setCheckedItemsArr(selectedRows); } }, columns: [{ @@ -7589,6 +8648,12 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsxs)("a", { onClick: function onClick() { if (listitems !== null && listitems !== void 0 && listitems.includes(value)) { + //移除 + if (record.identifier) { + selectedShixunId.current["delete"](value); + } else { + selectedQuestionId.current["delete"](value); + } var list = listitems.filter(function (item) { return item !== value; }); @@ -7604,6 +8669,12 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { } getdatas(param); } else { + //添加 + if (record.identifier) { + selectedShixunId.current.add(value); + } else { + selectedQuestionId.current.add(value); + } setaddcount(1); if (isshixun) { setshixunitems([].concat(toConsumableArray_default()(ShiXunListItems), [value])); @@ -7658,29 +8729,55 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { width: isloadings && 75 }, className: AddQuestionsModalmodules.yes, - onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { case 0: if (!((listitems === null || listitems === void 0 ? void 0 : listitems.length) <= 0)) { - _context.next = 3; + _context2.next = 3; break; } message/* default.info */.ZP.info('当前暂未选择数据'); - return _context.abrupt("return"); + return _context2.abrupt("return"); case 3: modal/* default.confirm */.Z.confirm({ title: '提示', content: "\u5F53\u524D\u5DF2\u9009\u62E9".concat(listitems === null || listitems === void 0 ? void 0 : listitems.length, "\u9053\u8BD5\u9898\uFF0C\u5DF2\u52A0\u5165\u8FC7\u7684\u8BD5\u9898\u6216\u672A\u53D1\u5E03\u7684\u7F16\u7A0B\u9898\u5C06\u4E0D\u4F1A\u91CD\u590D\u52A0\u5165"), - onOk: function onOk() { - _onOk(listitems, ShiXunListItems); - } + onOk: function () { + var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var hasUsedShixun; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return showReuseModal({ + id: toConsumableArray_default()(selectedShixunId.current), + course_id: paramsFromUrl.coursesId, + type: 'shixun' + }); + case 2: + hasUsedShixun = _context.sent; + if (!hasUsedShixun) { + // onOk(listitems, ShiXunListItems, []) + _onOk(toConsumableArray_default()(selectedQuestionId.current), toConsumableArray_default()(selectedShixunId.current)); + } + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + function onOk() { + return _onOk2.apply(this, arguments); + } + return onOk; + }() }); case 4: case "end": - return _context.stop(); + return _context2.stop(); } - }, _callee); + }, _callee2); })), children: "\u786E\u8BA4" })] @@ -7701,12 +8798,59 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { children: /*#__PURE__*/(0,jsx_runtime.jsx)(AddQuestionsModal_SaveItem, { qitem: qitem }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(ReuseShixunModal/* default */.Z, { + visible: reuseModalVisible, + position: "\u5DF2\u9009\u8BD5\u9898", + onCancel: closeReuseModal, + onOk: /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(ids) { + var shixunCopyIds, deletedShixunIds, _iterator3, _step3, item; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + shixunCopyIds = []; + deletedShixunIds = []; + _iterator3 = createForOfIteratorHelper_default()(ids); + try { + for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { + item = _step3.value; + if (item.is_copy === 1 && item.is_use === 1) { + shixunCopyIds.push(item.id); + } + if (item.is_use === 0) { + deletedShixunIds.push(item.id); + } + } + } catch (err) { + _iterator3.e(err); + } finally { + _iterator3.f(); + } + _onOk(toConsumableArray_default()(selectedQuestionId.current), toConsumableArray_default()(selectedShixunId.current).filter(function (id) { + return !deletedShixunIds.includes(id); + }), shixunCopyIds); + case 5: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function (_x3) { + return _ref3.apply(this, arguments); + }; + }(), + renderData: renderData, + inPaper: false, + modalType: "multiple", + type: "shixun" })] }); }; /* harmony default export */ var AddQuestionsModal = (AddQuestionsModal_AddModal); // EXTERNAL MODULE: ./src/utils/env.ts + 1 modules var env = __webpack_require__(59758); +// EXTERNAL MODULE: ./src/utils/hooks/useOverflow.ts +var useOverflow = __webpack_require__(33483); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Add/EditPotin/index.tsx @@ -7726,6 +8870,8 @@ var env = __webpack_require__(59758); + + // import AddPoints from '@/components/AddPoints'; @@ -7745,6 +8891,7 @@ var env = __webpack_require__(59758); + var questionType = [{ name: '单选题', id: 0, @@ -7897,15 +9044,14 @@ var AddNewPaper = function AddNewPaper(_ref) { case 0: setrightloading(true); setisloading(true); - console.log('---', itemid); - _context5.next = 5; + _context5.next = 4; return dispatch({ type: 'exercise/editExercise', payload: { categoryId: itemid } }); - case 5: + case 4: res = _context5.sent; setrightloading(false); setisloading(false); @@ -7922,7 +9068,7 @@ var AddNewPaper = function AddNewPaper(_ref) { setBigqitem(objectSpread2_default()(objectSpread2_default()({}, res === null || res === void 0 ? void 0 : (_res$exercise_questio4 = res.exercise_question_types) === null || _res$exercise_questio4 === void 0 ? void 0 : _res$exercise_questio4[0]), {}, { indexs: 1 })); - case 13: + case 12: case "end": return _context5.stop(); } @@ -8278,6 +9424,10 @@ var AddNewPaper = function AddNewPaper(_ref) { })); return _deleteitem.apply(this, arguments); } + var _useOverflow = (0,useOverflow/* useOverflow */.I)(), + overflow = _useOverflow.overflow, + handleMouseEnter = _useOverflow.handleMouseEnter, + handleMouseLeave = _useOverflow.handleMouseLeave; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: EditPotinmodules.bg, @@ -8318,8 +9468,14 @@ var AddNewPaper = function AddNewPaper(_ref) { children: "\u6279\u91CF\u8BBE\u7F6E\u5206\u503C" }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: EditPotinmodules.scrollWrapper, + style: { + overflow: overflow + }, + onMouseEnter: handleMouseEnter, + onMouseLeave: handleMouseLeave, children: exerciseitem === null || exerciseitem === void 0 ? void 0 : (_exerciseitem$exercis3 = exerciseitem.exercise_question_types) === null || _exerciseitem$exercis3 === void 0 ? void 0 : _exerciseitem$exercis3.map(function (item, index) { return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "mb30", children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: EditPotinmodules.title, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -8338,30 +9494,51 @@ var AddNewPaper = function AddNewPaper(_ref) { }, children: ["\uFF08", item.count, "\u5C0F\u9898\uFF0C\u5171", item.score, "\u5206\uFF09"] })] - }), index !== 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - onClick: function onClick() { - if (isedit) { - message/* default.info */.ZP.info('请先保存或取消当前正在编辑试题。'); - return; - } - var arr = (0,util/* moveArray */.rz)(exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types, index, index - 1); - sort_question(arr.map(function (item) { - return item.name; - })); - }, - className: "".concat(EditPotinmodules.up, " iconfont icon-xiangshangyidong font12 mr5 ") - }), index !== (exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types.length) - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - onClick: function onClick() { - if (isedit) { - message/* default.info */.ZP.info('请先保存或取消当前正在编辑试题。'); - return; - } - var arr = (0,util/* moveArray */.rz)(exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types, index, index + 1); - sort_question(arr.map(function (item) { - return item.name; - })); - }, - className: "".concat(EditPotinmodules.down, " iconfont icon-xiangxiayidong font12 mr5 ") + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: index === (exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types.length) - 1 ? '' : '点击下移箭头即可整题下移', + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: EditPotinmodules.iconWrapper, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + if (index === (exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types.length) - 1) { + return; + } + if (isedit) { + message/* default.info */.ZP.info('请先保存或取消当前正在编辑试题。'); + return; + } + var arr = (0,util/* moveArray */.rz)(exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types, index, index + 1); + sort_question(arr.map(function (item) { + return item.name; + })); + }, + className: "".concat(EditPotinmodules.down, " iconfont icon-xiangxiayidong ").concat(index === (exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types.length) - 1 ? EditPotinmodules.disabled : '') + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: index === 0 ? '' : '点击上移箭头即可整题上移', + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: EditPotinmodules.iconWrapper, + style: { + marginLeft: 1 + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + if (index === 0) { + return; + } + if (isedit) { + message/* default.info */.ZP.info('请先保存或取消当前正在编辑试题。'); + return; + } + var arr = (0,util/* moveArray */.rz)(exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types, index, index - 1); + sort_question(arr.map(function (item) { + return item.name; + })); + }, + className: "".concat(EditPotinmodules.up, " iconfont icon-xiangshangyidong ").concat(index === 0 ? EditPotinmodules.disabled : '') + }) + }) })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(LeftItems, { isedit: isedit, @@ -8466,7 +9643,8 @@ var AddNewPaper = function AddNewPaper(_ref) { exerciseitem: exerciseitem, TagDiscipline: TagDiscipline, setisedit: setisedit, - qitem: qitem + qitem: qitem, + init: init }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)(ShixunEditor, { setqitem: setqitem, deleteitem: deleteitem, @@ -8482,7 +9660,8 @@ var AddNewPaper = function AddNewPaper(_ref) { exerciseitem: exerciseitem, TagDiscipline: TagDiscipline, setisedit: setisedit, - qitem: qitem + qitem: qitem, + init: init }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_JudgmentQuestionEditor, { deleteitem: deleteitem, getTagData: getTagData, @@ -8490,7 +9669,8 @@ var AddNewPaper = function AddNewPaper(_ref) { exerciseitem: exerciseitem, TagDiscipline: TagDiscipline, setisedit: setisedit, - qitem: qitem + qitem: qitem, + init: init }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_SubjectiveQuestionEditor, { deleteitem: deleteitem, getTagData: getTagData, @@ -8498,7 +9678,8 @@ var AddNewPaper = function AddNewPaper(_ref) { exerciseitem: exerciseitem, TagDiscipline: TagDiscipline, setisedit: setisedit, - qitem: qitem + qitem: qitem, + init: init }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 7 && /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_CombinationQuestionEditor, { deleteitem: deleteitem, getTagData: getTagData, @@ -8506,7 +9687,8 @@ var AddNewPaper = function AddNewPaper(_ref) { exerciseitem: exerciseitem, TagDiscipline: TagDiscipline, setisedit: setisedit, - qitem: qitem + qitem: qitem, + init: init })] })] }) @@ -8514,14 +9696,12 @@ var AddNewPaper = function AddNewPaper(_ref) { }) })] }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: EditPotinmodules.bottmodiv, + className: EditPotinmodules.bottomdiv, children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: EditPotinmodules.exercise_styles, children: [(exerciseitem === null || exerciseitem === void 0 ? void 0 : (_exerciseitem$exercis9 = exerciseitem.exercise) === null || _exerciseitem$exercis9 === void 0 ? void 0 : _exerciseitem$exercis9.exercise_status) == 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - cursor: 'pointer' - }, + className: EditPotinmodules.spanBtn, onClick: function onClick() { if (isedit) { message/* default.info */.ZP.info('请先保存或取消当前正在编辑的试题。'); @@ -8532,9 +9712,7 @@ var AddNewPaper = function AddNewPaper(_ref) { }, children: "\u9898\u5E93\u9009\u9898" }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - cursor: 'pointer' - }, + className: EditPotinmodules.spanBtn, onClick: function onClick() { if (isedit) { message/* default.info */.ZP.info('请先保存或取消当前正在编辑的试题。'); @@ -8543,6 +9721,40 @@ var AddNewPaper = function AddNewPaper(_ref) { setUploadModalVisible(true); }, children: "\u5BFC\u5165\u8BD5\u9898" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: EditPotinmodules.spanBtn, + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + var res, _user$userInfo4; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return (0,fetch/* default */.ZP)("/api/exercises/".concat(params === null || params === void 0 ? void 0 : params.exerciseId, "/simulate_start_answer.json"), { + method: 'get', + params: { + coursesId: params === null || params === void 0 ? void 0 : params.coursesId, + categoryId: params === null || params === void 0 ? void 0 : params.exerciseId, + is_reset: 1 + } + }); + case 2: + res = _context3.sent; + if ((res === null || res === void 0 ? void 0 : res.status) != -1) { + window.open("/classrooms/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercise/").concat(params === null || params === void 0 ? void 0 : params.exerciseId, "/").concat((_user$userInfo4 = user.userInfo) === null || _user$userInfo4 === void 0 ? void 0 : _user$userInfo4.login, "/initate_answer")); + } + case 4: + case "end": + return _context3.stop(); + } + }, _callee3); + })), + children: "\u6A21\u62DF\u8003\u8BD5" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: EditPotinmodules.spanBtn, + onClick: function onClick() { + window.open("/classrooms/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercise/").concat(params === null || params === void 0 ? void 0 : params.exerciseId, "/detail?random=false&tabs=2")); + }, + children: "\u8BD5\u5377\u9884\u89C8" }), questionType === null || questionType === void 0 ? void 0 : questionType.map(function (item) { return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { className: EditPotinmodules.addQuestionBtn, @@ -8617,42 +9829,9 @@ var AddNewPaper = function AddNewPaper(_ref) { } }, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-tianjiashitixiaojiahao mr5", - style: { - fontSize: '10px' - } + className: "iconfont icon-tianjiashitixiaojiahao mr5" }), item.name] - }); - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - cursor: 'pointer' - }, - onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var res, _user$userInfo4; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return (0,fetch/* default */.ZP)("/api/exercises/".concat(params === null || params === void 0 ? void 0 : params.exerciseId, "/simulate_start_answer.json"), { - method: 'get', - params: { - coursesId: params === null || params === void 0 ? void 0 : params.coursesId, - categoryId: params === null || params === void 0 ? void 0 : params.exerciseId, - is_reset: 1 - } - }); - case 2: - res = _context3.sent; - if ((res === null || res === void 0 ? void 0 : res.status) != -1) { - window.open("/classrooms/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercise/").concat(params === null || params === void 0 ? void 0 : params.exerciseId, "/").concat((_user$userInfo4 = user.userInfo) === null || _user$userInfo4 === void 0 ? void 0 : _user$userInfo4.login, "/initate_answer")); - } - case 4: - case "end": - return _context3.stop(); - } - }, _callee3); - })), - children: "\u6A21\u62DF\u8003\u8BD5" + }, item.id); })] }), (exerciseitem === null || exerciseitem === void 0 ? void 0 : (_exerciseitem$exercis13 = exerciseitem.exercise) === null || _exerciseitem$exercis13 === void 0 ? void 0 : _exerciseitem$exercis13.exercise_status) != 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { @@ -8660,18 +9839,8 @@ var AddNewPaper = function AddNewPaper(_ref) { width: '1022px' } }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - cursor: 'pointer' - }, - onClick: function onClick() { - window.open("/classrooms/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercise/").concat(params === null || params === void 0 ? void 0 : params.exerciseId, "/detail?random=false&tabs=2")); - }, - children: "\u8BD5\u5377\u9884\u89C8" }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - cursor: 'pointer' - }, + className: EditPotinmodules.saveBtn, onClick: function onClick() { var _exerciseitem$exercis14; if (isedit) { @@ -8683,15 +9852,14 @@ var AddNewPaper = function AddNewPaper(_ref) { } else { _umi_production_exports.history.back(); } - // window.open(`/classrooms/${params?.coursesId}/exercise`) }, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { className: "iconfont icon-baocun1", style: { - fontSize: 14, + fontSize: 15, marginRight: 5 } - }), " \u4FDD\u5B58\u8BD5\u5377"] + }), "\u4FDD\u5B58\u8BD5\u5377"] })] }) }), /*#__PURE__*/(0,jsx_runtime.jsx)(Setscore, { @@ -8705,7 +9873,7 @@ var AddNewPaper = function AddNewPaper(_ref) { isloadings: isloadings, ScoreShow: showquestion, onOk: /*#__PURE__*/function () { - var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(values, ShiXunListItems) { + var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(questionIdArr, shixunIdArr, shixunCopyIds) { var res; return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { @@ -8716,10 +9884,9 @@ var AddNewPaper = function AddNewPaper(_ref) { method: 'post', body: { exam_id: itemid, - item_bank_ids: values, - shixun_ids: values.filter(function (item) { - return ShiXunListItems.includes(item); - }) + item_bank_ids: questionIdArr, + shixun_ids: shixunIdArr, + shixun_copy_ids: shixunCopyIds } }); case 3: @@ -8735,7 +9902,7 @@ var AddNewPaper = function AddNewPaper(_ref) { } }, _callee4); })); - return function (_x7, _x8) { + return function (_x7, _x8, _x9) { return _ref5.apply(this, arguments); }; }() @@ -8790,6 +9957,10 @@ var AddNewPaper = function AddNewPaper(_ref) { })(AddNewPaper)); // EXTERNAL MODULE: ./src/service/exercise.ts var service_exercise = __webpack_require__(51412); +// EXTERNAL MODULE: ./src/components/DigitalLabel/index.tsx + 1 modules +var DigitalLabel = __webpack_require__(73105); +// EXTERNAL MODULE: ./src/pages/Paperlibrary/Add/TitleEditor.tsx +var TitleEditor = __webpack_require__(65763); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Add/index.tsx @@ -8825,8 +9996,10 @@ var _excluded = ["classroomList", "globalSetting", "problemset", "loading", "exe + + var ExerciseAdd = function ExerciseAdd(_ref) { - var _problemset$disciplin6, _userInfo$course, _exercise$editData, _exercise$editData$ex, _exercise$editData2, _exercise$editData2$e, _exercise$editData3, _exercise$editData3$e, _exercise$editData4, _exercise$editData4$e, _exercise$editData5, _exercise$editData5$e, _exercise$editData6, _exercise$editData6$e; + var _problemset$disciplin6, _userInfo$course, _exercise$editData, _exercise$editData$ex, _exercise$editData8, _exercise$editData8$e, _exercise$editData9, _exercise$editData9$e, _exercise$editData10, _exercise$editData10$, _exercise$editData11, _exercise$editData11$, _exercise$editData12, _exercise$editData12$; var classroomList = _ref.classroomList, globalSetting = _ref.globalSetting, problemset = _ref.problemset, @@ -8888,50 +10061,36 @@ var ExerciseAdd = function ExerciseAdd(_ref) { }); }, []); (0,react.useEffect)(function () { - if (params !== null && params !== void 0 && params.exerciseId) { - queryExercises(); - } if (params.exerciseId) { - dispatch({ - type: 'exercise/editExercise', - payload: { - categoryId: params.exerciseId - } - }); + asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var res, _res$exercise, _res$exercise2, _res$exercise3; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return dispatch({ + type: 'exercise/editExercise', + payload: { + categoryId: params.exerciseId + } + }); + case 2: + res = _context.sent; + if ((res === null || res === void 0 ? void 0 : res.status) !== -1) { + if ((res === null || res === void 0 ? void 0 : (_res$exercise = res.exercise) === null || _res$exercise === void 0 ? void 0 : _res$exercise.exercise_status) === 2 || (res === null || res === void 0 ? void 0 : (_res$exercise2 = res.exercise) === null || _res$exercise2 === void 0 ? void 0 : _res$exercise2.exercise_status) === 3 || (res === null || res === void 0 ? void 0 : (_res$exercise3 = res.exercise) === null || _res$exercise3 === void 0 ? void 0 : _res$exercise3.exercise_status) === 4) { + setshowUpdate(true); + } else { + setshowUpdate(false); + } + } + case 4: + case "end": + return _context.stop(); + } + }, _callee); + }))(); } }, [params]); - var queryExercises = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var res, _res$exercise, _res$exercise2, _res$exercise3; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,fetch/* default */.ZP)("/api/exercises/".concat(params === null || params === void 0 ? void 0 : params.exerciseId, ".json"), { - method: 'get', - params: { - categoryId: params === null || params === void 0 ? void 0 : params.exerciseId - } - }); - case 2: - res = _context.sent; - if ((res === null || res === void 0 ? void 0 : res.status) != -1) { - if ((res === null || res === void 0 ? void 0 : (_res$exercise = res.exercise) === null || _res$exercise === void 0 ? void 0 : _res$exercise.exercise_status) == 2 || (res === null || res === void 0 ? void 0 : (_res$exercise2 = res.exercise) === null || _res$exercise2 === void 0 ? void 0 : _res$exercise2.exercise_status) == 3 || (res === null || res === void 0 ? void 0 : (_res$exercise3 = res.exercise) === null || _res$exercise3 === void 0 ? void 0 : _res$exercise3.exercise_status) == 4) { - setshowUpdate(true); - } else { - setshowUpdate(false); - } - } - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function queryExercises() { - return _ref2.apply(this, arguments); - }; - }(); (0,react.useEffect)(function () { if (params.exerciseId) { var _items = exercise.editData; @@ -8957,32 +10116,32 @@ var ExerciseAdd = function ExerciseAdd(_ref) { return _onModalOk.apply(this, arguments); } function _onModalOk() { - _onModalOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(time, cb) { + _onModalOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(time, cb) { var value, courseid, _courseid2, id, subid, res, _res$data3, _res$data4, _res$data5; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { case 0: - _context3.next = 2; + _context4.next = 2; return form.validateFields(); case 2: - value = form.getFieldValue(); + value = form.getFieldsValue(); courseid = value.courseid; _courseid2 = slicedToArray_default()(courseid, 2), id = _courseid2[0], subid = _courseid2[1]; value.sub_discipline_id = subid; value.is_md = true; value.time = parseInt(value.time) > 9999 ? 9999 : value.time; - _context3.next = 10; + _context4.next = 10; return dispatch({ type: "exercise/addExercise", payload: objectSpread2_default()(objectSpread2_default()({}, value), params) }); case 10: - res = _context3.sent; + res = _context4.sent; if (!(res.status === 0)) { - _context3.next = 20; + _context4.next = 20; break; } - _context3.next = 14; + _context4.next = 14; return (0,fetch/* default */.ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercises/notice_at.json"), { method: 'POST', body: { @@ -8997,7 +10156,7 @@ var ExerciseAdd = function ExerciseAdd(_ref) { setsubloading(false); _umi_production_exports.history.replace("/classrooms/".concat(params.coursesId, "/exercise/add/").concat((_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.exercise_id, "?type=2")); // history.push(`/classrooms/${params.coursesId}/exercise/${res.data?.exercise_id}/edit`) - _context3.next = 21; + _context4.next = 21; break; case 20: message/* default.error */.ZP.error(res.message); @@ -9005,9 +10164,9 @@ var ExerciseAdd = function ExerciseAdd(_ref) { cb(); case 22: case "end": - return _context3.stop(); + return _context4.stop(); } - }, _callee3); + }, _callee4); })); return _onModalOk.apply(this, arguments); } @@ -9018,18 +10177,18 @@ var ExerciseAdd = function ExerciseAdd(_ref) { return _set_work_points.apply(this, arguments); } function _set_work_points() { - _set_work_points = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(id) { + _set_work_points = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(id) { var res; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { case 0: if (items !== null && items !== void 0 && items.ec_point_ids) { - _context4.next = 2; + _context5.next = 2; break; } - return _context4.abrupt("return"); + return _context5.abrupt("return"); case 2: - _context4.next = 4; + _context5.next = 4; return (0,fetch/* default */.ZP)("/api/ec_courses/".concat(items === null || items === void 0 ? void 0 : items.ec_course_id, "/ec_points/set_work_points.json"), { method: 'post', body: objectSpread2_default()({ @@ -9037,12 +10196,12 @@ var ExerciseAdd = function ExerciseAdd(_ref) { }, items) }); case 4: - res = _context4.sent; + res = _context5.sent; case 5: case "end": - return _context4.stop(); + return _context5.stop(); } - }, _callee4); + }, _callee5); })); return _set_work_points.apply(this, arguments); } @@ -9097,8 +10256,10 @@ var ExerciseAdd = function ExerciseAdd(_ref) { setcurrent(1); }, className: current === 1 ? Addmodules.selectdiv : Addmodules.divitem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-xuanzhong5 font20 mr5 " + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(DigitalLabel/* default */.Z, { + number: 1, + active: current === 1, + className: "mr10" }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { children: "\u8BD5\u5377\u57FA\u7840\u4FE1\u606F" })] @@ -9122,17 +10283,60 @@ var ExerciseAdd = function ExerciseAdd(_ref) { setitemid(params.exerciseId); }, className: current !== 1 ? Addmodules.selectdiv : Addmodules.divitem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-xuanzhong5 font20 mr5 " + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(DigitalLabel/* default */.Z, { + number: 2, + active: current !== 1, + className: "mr10" }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { children: "\u6DFB\u52A0\u8BD5\u9898" })] })] }), current === 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: "tc", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: Addmodules.title, - children: exercise === null || exercise === void 0 ? void 0 : (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.exercise_name + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(TitleEditor/* default */.Z, { + defaultValue: exercise === null || exercise === void 0 ? void 0 : (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.exercise_name, + onFinish: /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(newTitle) { + var _exercise$editData2, _exercise$editData2$e, _exercise$editData3, _exercise$editData3$e, _exercise$editData4, _exercise$editData4$e, _exercise$editData5, _exercise$editData5$e, _exercise$editData6, _exercise$editData6$e, _exercise$editData7, _exercise$editData7$e; + var res; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + if (!(newTitle.trim() === (exercise === null || exercise === void 0 ? void 0 : (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.exercise_name))) { + _context2.next = 2; + break; + } + return _context2.abrupt("return", true); + case 2: + _context2.next = 4; + return (0,service_exercise/* putExercise */.wy)({ + exercise_name: newTitle, + exercise_description: exercise === null || exercise === void 0 ? void 0 : (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.exercise_description, + sub_discipline_id: exercise === null || exercise === void 0 ? void 0 : (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.sub_discipline_id, + time: exercise === null || exercise === void 0 ? void 0 : (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.time, + exerciseId: (_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.id, + difficulty: (_exercise$editData7 = exercise.editData) === null || _exercise$editData7 === void 0 ? void 0 : (_exercise$editData7$e = _exercise$editData7.exercise) === null || _exercise$editData7$e === void 0 ? void 0 : _exercise$editData7$e.difficulty + }); + case 4: + res = _context2.sent; + if (!(res.status === 0)) { + _context2.next = 8; + break; + } + form.setFieldValue('exercise_name', newTitle); + return _context2.abrupt("return", true); + case 8: + return _context2.abrupt("return", false); + case 9: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return function (_x4) { + return _ref3.apply(this, arguments); + }; + }() }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { fontSize: 14 @@ -9146,7 +10350,7 @@ var ExerciseAdd = function ExerciseAdd(_ref) { color: '#000000', marginLeft: 8 }, - children: (exercise === null || exercise === void 0 ? void 0 : (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.time) || '不限时' + children: (exercise === null || exercise === void 0 ? void 0 : (_exercise$editData8 = exercise.editData) === null || _exercise$editData8 === void 0 ? void 0 : (_exercise$editData8$e = _exercise$editData8.exercise) === null || _exercise$editData8$e === void 0 ? void 0 : _exercise$editData8$e.time) || '不限时' })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { style: { @@ -9158,7 +10362,7 @@ var ExerciseAdd = function ExerciseAdd(_ref) { color: '#000000', marginLeft: 8 }, - children: (exercise === null || exercise === void 0 ? void 0 : (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.difficulty) === 1 ? '简单' : (exercise === null || exercise === void 0 ? void 0 : (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.difficulty) === 2 ? '适中' : '困难' + children: (exercise === null || exercise === void 0 ? void 0 : (_exercise$editData9 = exercise.editData) === null || _exercise$editData9 === void 0 ? void 0 : (_exercise$editData9$e = _exercise$editData9.exercise) === null || _exercise$editData9$e === void 0 ? void 0 : _exercise$editData9$e.difficulty) === 1 ? '简单' : (exercise === null || exercise === void 0 ? void 0 : (_exercise$editData10 = exercise.editData) === null || _exercise$editData10 === void 0 ? void 0 : (_exercise$editData10$ = _exercise$editData10.exercise) === null || _exercise$editData10$ === void 0 ? void 0 : _exercise$editData10$.difficulty) === 2 ? '适中' : '困难' })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { style: { @@ -9170,7 +10374,7 @@ var ExerciseAdd = function ExerciseAdd(_ref) { color: '#000000', marginLeft: 8 }, - children: (exercise === null || exercise === void 0 ? void 0 : (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise_types) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.q_counts) || 0 + children: (exercise === null || exercise === void 0 ? void 0 : (_exercise$editData11 = exercise.editData) === null || _exercise$editData11 === void 0 ? void 0 : (_exercise$editData11$ = _exercise$editData11.exercise_types) === null || _exercise$editData11$ === void 0 ? void 0 : _exercise$editData11$.q_counts) || 0 })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { style: { @@ -9180,8 +10384,9 @@ var ExerciseAdd = function ExerciseAdd(_ref) { style: { color: '#000000', marginLeft: 8 - } - }), exercise === null || exercise === void 0 ? void 0 : (_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise_types) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.q_scores] + }, + children: exercise === null || exercise === void 0 ? void 0 : (_exercise$editData12 = exercise.editData) === null || _exercise$editData12 === void 0 ? void 0 : (_exercise$editData12$ = _exercise$editData12.exercise_types) === null || _exercise$editData12$ === void 0 ? void 0 : _exercise$editData12$.q_scores + })] })] })] })] @@ -9206,40 +10411,39 @@ var ExerciseAdd = function ExerciseAdd(_ref) { time: 60 }, onFinish: /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(value) { - var _exercise$editData7, _exercise$editData7$e, res, courseid, _courseid, id, subid, _res, _res$data, _res$data2; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(value) { + var _exercise$editData13, _exercise$editData13$, res, courseid, _courseid, id, subid, _res, _res$data, _res$data2; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { case 0: setBtnLoading(true); setsubloading(true); if (!params.exerciseId) { - _context2.next = 13; + _context3.next = 12; break; } - value.is_md = true; - value.exerciseId = (_exercise$editData7 = exercise.editData) === null || _exercise$editData7 === void 0 ? void 0 : (_exercise$editData7$e = _exercise$editData7.exercise) === null || _exercise$editData7$e === void 0 ? void 0 : _exercise$editData7$e.id; + value.exerciseId = (_exercise$editData13 = exercise.editData) === null || _exercise$editData13 === void 0 ? void 0 : (_exercise$editData13$ = _exercise$editData13.exercise) === null || _exercise$editData13$ === void 0 ? void 0 : _exercise$editData13$.id; value.sub_discipline_id = value.courseid[value.courseid.length - 1]; - _context2.next = 8; + _context3.next = 7; return (0,service_exercise/* putExercise */.wy)(objectSpread2_default()({}, value)); - case 8: + case 7: setcurrent(2); setitemid(params.exerciseId); setBtnLoading(false); setsubloading(false); - return _context2.abrupt("return"); - case 13: - _context2.next = 15; + return _context3.abrupt("return"); + case 12: + _context3.next = 14; return (0,fetch/* default */.ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercises/overload_alert.json"), { method: 'get', params: { course_id: params === null || params === void 0 ? void 0 : params.coursesId } }); - case 15: - res = _context2.sent; + case 14: + res = _context3.sent; if (!(res !== null && res !== void 0 && res.alert)) { - _context2.next = 20; + _context3.next = 19; break; } dispatch({ @@ -9248,21 +10452,21 @@ var ExerciseAdd = function ExerciseAdd(_ref) { key: '预约弹窗' } }); - _context2.next = 30; + _context3.next = 29; break; - case 20: + case 19: courseid = value.courseid; _courseid = slicedToArray_default()(courseid, 2), id = _courseid[0], subid = _courseid[1]; value.sub_discipline_id = subid; value.is_md = true; value.time = parseInt(value.time) > 9999 ? 9999 : value.time; - _context2.next = 27; + _context3.next = 26; return dispatch({ type: "exercise/addExercise", payload: objectSpread2_default()(objectSpread2_default()({}, value), params) }); - case 27: - _res = _context2.sent; + case 26: + _res = _context3.sent; if (_res.status === 0) { // set_work_points(res.data?.exercise_id) // trackEvent(['教学课堂', '试卷', '新建试卷']); @@ -9274,16 +10478,16 @@ var ExerciseAdd = function ExerciseAdd(_ref) { // message.error(res.message) } setsubloading(false); - case 30: + case 29: setBtnLoading(false); - case 31: + case 30: case "end": - return _context2.stop(); + return _context3.stop(); } - }, _callee2); + }, _callee3); })); - return function (_x4) { - return _ref3.apply(this, arguments); + return function (_x5) { + return _ref4.apply(this, arguments); }; }(), className: Addmodules.formWrap, @@ -9397,7 +10601,7 @@ var ExerciseAdd = function ExerciseAdd(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Addmodules.bottmodiv, children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "".concat(Addmodules.cancelBtn, " mr5"), + className: "".concat(Addmodules.cancelBtn), type: "primary", onClick: function onClick() { _umi_production_exports.history.back(); @@ -9410,7 +10614,7 @@ var ExerciseAdd = function ExerciseAdd(_ref) { form.submit(); }, type: "primary", - className: "".concat(Addmodules.confirmBtn, " ml15"), + className: "".concat(Addmodules.confirmBtn, " ml20"), children: "\u4E0B\u4E00\u6B65" })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(ExerciseModel, { @@ -9427,13 +10631,13 @@ var ExerciseAdd = function ExerciseAdd(_ref) { }) }); }; -/* harmony default export */ var Add = ((0,_umi_production_exports.connect)(function (_ref4) { - var classroomList = _ref4.classroomList, - loading = _ref4.loading, - user = _ref4.user, - problemset = _ref4.problemset, - globalSetting = _ref4.globalSetting, - exercise = _ref4.exercise; +/* harmony default export */ var Add = ((0,_umi_production_exports.connect)(function (_ref5) { + var classroomList = _ref5.classroomList, + loading = _ref5.loading, + user = _ref5.user, + problemset = _ref5.problemset, + globalSetting = _ref5.globalSetting, + exercise = _ref5.exercise; return { classroomList: classroomList, globalSetting: globalSetting, @@ -9613,7 +10817,7 @@ var UploadQuestions = function UploadQuestions(_ref) { children: "1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B " }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { className: UploadQuestionsmodules.infoText, - children: "2\u3001\u4E0D\u652F\u6301\u7F16\u7A0B\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B" + children: "2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B" }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { className: UploadQuestionsmodules.infoText, children: "3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B" @@ -9686,6 +10890,167 @@ var UploadQuestions = function UploadQuestions(_ref) { /***/ }), +/***/ 65763: +/*!****************************************************!*\ + !*** ./src/pages/Paperlibrary/Add/TitleEditor.tsx ***! + \****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var antd_es_input_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/input/style */ 69463); +/* harmony import */ var antd_es_input__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antd/es/input */ 75008); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var antd_es_message_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! antd/es/message/style */ 14934); +/* harmony import */ var antd_es_message__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd/es/message */ 12461); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var antd_es_tooltip_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/tooltip/style */ 38390); +/* harmony import */ var antd_es_tooltip__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd/es/tooltip */ 84908); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./index.less?modules */ 62038); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + + + + + + + + +var TitleEditor = function TitleEditor(_ref) { + var defaultValue = _ref.defaultValue, + onFinish = _ref.onFinish; + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false), + _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5___default()(_useState, 2), + isEdit = _useState2[0], + setIsEdit = _useState2[1]; + var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(defaultValue), + _useState4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5___default()(_useState3, 2), + value = _useState4[0], + setValue = _useState4[1]; + (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () { + setValue(defaultValue); + }, [defaultValue]); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + children: !isEdit ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("div", { + className: _index_less_modules__WEBPACK_IMPORTED_MODULE_7__/* ["default"].title */ .Z.title, + children: [value, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd_es_tooltip__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, { + title: "\u70B9\u51FB\u7F16\u8F91\u8BD5\u5377\u540D\u79F0", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("i", { + className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_7__/* ["default"].editIcon */ .Z.editIcon, " iconfont icon-bianji_Hover"), + onClick: function onClick() { + return setIsEdit(true); + } + }) + })] + }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd_es_input__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, { + autoFocus: true, + maxLength: 60, + style: { + textAlign: 'center', + marginTop: 20, + marginBottom: 20 + }, + value: value, + onChange: function onChange(e) { + setValue(e.target.value); + }, + onBlur: /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee() { + var _value$replaceAll; + var flag; + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (!((value === null || value === void 0 ? void 0 : (_value$replaceAll = value.replaceAll(' ', '')) === null || _value$replaceAll === void 0 ? void 0 : _value$replaceAll.length) <= 0)) { + _context.next = 3; + break; + } + antd_es_message__WEBPACK_IMPORTED_MODULE_11__/* ["default"].error */ .ZP.error('试卷标题不能为空'); + return _context.abrupt("return"); + case 3: + _context.next = 5; + return onFinish(value); + case 5: + flag = _context.sent; + flag && setIsEdit(false); + case 7: + case "end": + return _context.stop(); + } + }, _callee); + })), + onPressEnter: /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2() { + var _value$replaceAll2; + var flag; + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + if (!((value === null || value === void 0 ? void 0 : (_value$replaceAll2 = value.replaceAll(' ', '')) === null || _value$replaceAll2 === void 0 ? void 0 : _value$replaceAll2.length) <= 0)) { + _context2.next = 3; + break; + } + antd_es_message__WEBPACK_IMPORTED_MODULE_11__/* ["default"].error */ .ZP.error('试卷标题不能为空'); + return _context2.abrupt("return"); + case 3: + _context2.next = 5; + return onFinish(value); + case 5: + flag = _context2.sent; + flag && setIsEdit(false); + case 7: + case "end": + return _context2.stop(); + } + }, _callee2); + })) + }) + }); +}; +/* harmony default export */ __webpack_exports__["Z"] = (TitleEditor); + +/***/ }), + +/***/ 33483: +/*!****************************************!*\ + !*** ./src/utils/hooks/useOverflow.ts ***! + \****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "I": function() { return /* binding */ useOverflow; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); + + +var useOverflow = function useOverflow() { + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)('hidden'), + _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2), + overflow = _useState2[0], + setOverflow = _useState2[1]; + var handleMouseEnter = function handleMouseEnter() { + return setOverflow('auto'); + }; + var handleMouseLeave = function handleMouseLeave() { + return setOverflow('hidden'); + }; + return { + overflow: overflow, + handleMouseEnter: handleMouseEnter, + handleMouseLeave: handleMouseLeave + }; +}; + +/***/ }), + /***/ 9287: /*!*********************************************!*\ !*** ./src/assets/images/paper/jiangxu.svg ***! @@ -9824,6 +11189,17 @@ var SvgShengxu = function SvgShengxu(props) { /***/ }), +/***/ 62038: +/*!*******************************************************!*\ + !*** ./src/pages/Paperlibrary/Add/index.less?modules ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +// extracted by mini-css-extract-plugin +/* harmony default export */ __webpack_exports__["Z"] = ({"flex_box_center":"flex_box_center___ycN2f","flex_space_between":"flex_space_between___LcS9e","flex_box_vertical_center":"flex_box_vertical_center___uwjPm","flex_box_center_end":"flex_box_center_end___Pc903","flex_box_column":"flex_box_column___AXEdv","bg":"bg___fm2Cw","title":"title___J3MCU","editIcon":"editIcon___i4Zll","titleLeft":"titleLeft___da61c","titleRight":"titleRight___EsdL6","formWrap":"formWrap___YTxC3","baseLineHeight":"baseLineHeight___TprCB","radioBtnWrapper":"radioBtnWrapper___Mt_XG","radiogroup":"radiogroup___EvkWh","easy":"easy___mSxtg","medium":"medium___NIaWN","hard":"hard___mddnD","baseFormItem":"baseFormItem___csbyb","cascaderPopup":"cascaderPopup___BttnF","selectdiv":"selectdiv___TAr4i","divitem":"divitem___iaXB2","bottmodiv":"bottmodiv___bmp6p","cancelBtn":"cancelBtn___Q4ZcL","confirmBtn":"confirmBtn___nRiCD"}); + +/***/ }), + /***/ 4977: /*!********************************************!*\ !*** ./src/assets/images/icons/nodata.png ***! diff --git a/p__Classrooms__Lists__Exercise__Add__index.chunk.css b/p__Classrooms__Lists__Exercise__Add__index.chunk.css index 18a2be9e00..ccadc37f9b 100644 --- a/p__Classrooms__Lists__Exercise__Add__index.chunk.css +++ b/p__Classrooms__Lists__Exercise__Add__index.chunk.css @@ -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 */ + diff --git a/p__Classrooms__Lists__Exercise__Answer__index.chunk.css b/p__Classrooms__Lists__Exercise__Answer__index.chunk.css index af59d6198e..55c31290fb 100644 --- a/p__Classrooms__Lists__Exercise__Answer__index.chunk.css +++ b/p__Classrooms__Lists__Exercise__Answer__index.chunk.css @@ -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 ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Exercise__CodeDetails__index.chunk.css b/p__Classrooms__Lists__Exercise__CodeDetails__index.chunk.css index 22854a9e59..9209754fb5 100644 --- a/p__Classrooms__Lists__Exercise__CodeDetails__index.chunk.css +++ b/p__Classrooms__Lists__Exercise__CodeDetails__index.chunk.css @@ -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 ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index.chunk.css b/p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index.chunk.css index fdca3173ce..e667dba0de 100644 --- a/p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index.chunk.css +++ b/p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index.chunk.css @@ -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 ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Exercise__Detail__index.async.js b/p__Classrooms__Lists__Exercise__Detail__index.async.js index 8feb83dc58..0efbbe5a55 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.async.js +++ b/p__Classrooms__Lists__Exercise__Detail__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[54164,8691,4977,12768,67570,12034],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[54164,4977,12768,67570,12034],{ /***/ 96403: /*!*********************************!*\ @@ -87,6 +87,282 @@ var apiPref = _utils_env__WEBPACK_IMPORTED_MODULE_0__/* ["default"].API_SERVER * /***/ }), +/***/ 73221: +/*!********************************************************!*\ + !*** ./src/components/Knowledge/index.tsx + 1 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "N": function() { return /* binding */ Knowledge; } +}); + +// 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/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/@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(17156); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// 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/antd/es/row/style/index.js +var row_style = __webpack_require__(13062); +// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js +var row = __webpack_require__(71230); +// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js +var col_style = __webpack_require__(89032); +// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js +var col = __webpack_require__(15746); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/style/index.js + 1 modules +var modal_style = __webpack_require__(35611); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules +var modal = __webpack_require__(85402); +// 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/slicedToArray.js +var slicedToArray = __webpack_require__(27424); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/antd/es/select/style/index.js + 1 modules +var select_style = __webpack_require__(95985); +// EXTERNAL MODULE: ./node_modules/antd/es/select/index.js +var es_select = __webpack_require__(34041); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./src/utils/fetch.ts +var fetch = __webpack_require__(84519); +;// CONCATENATED MODULE: ./src/components/Knowledge/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var Knowledgemodules = ({"wrap":"wrap___F7E3F","selectWrapper":"selectWrapper____kESB","tips":"tips___aHjQY","linkBtn":"linkBtn___uggVr","mainText":"mainText____S1I0"}); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js +var ExclamationCircleOutlined = __webpack_require__(87588); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/Knowledge/index.tsx + + + + + + + + + + + + + + + + + + + + + + +var Option = es_select/* default.Option */.Z.Option; +var Knowledge = function Knowledge(_ref) { + var subId = _ref.subId, + value = _ref.value, + selectvalues = _ref.selectvalues, + disabled = _ref.disabled, + _ref$knowledgeOptions = _ref.knowledgeOptions, + knowledgeOptions = _ref$knowledgeOptions === void 0 ? [] : _ref$knowledgeOptions, + _ref$onChange = _ref.onChange, + onChange = _ref$onChange === void 0 ? function () {} : _ref$onChange, + _ref$onAddKnowledgeFi = _ref.onAddKnowledgeFinish, + onAddKnowledgeFinish = _ref$onAddKnowledgeFi === void 0 ? function () {} : _ref$onAddKnowledgeFi; + var addValue = (0,react.useRef)(); + var _useState = (0,react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + values = _useState2[0], + setValues = _useState2[1]; + value = value || []; + var handleChange = function handleChange(e, valuesmap) { + if (e) { + //获取选中的数据 + setValues([valuesmap.key]); + onChange([valuesmap.key]); + } else { + //获取选中的数据 + setValues([]); + onChange([]); + } + }; + (0,react.useEffect)(function () { + if ((selectvalues === null || selectvalues === void 0 ? void 0 : selectvalues.length) > 0) { + setValues(toConsumableArray_default()(selectvalues)); + onChange(toConsumableArray_default()(selectvalues)); + } + }, [knowledgeOptions]); + (0,react.useEffect)(function () { + var _value; + if (((_value = value) === null || _value === void 0 ? void 0 : _value.length) > 0) { + onChange(toConsumableArray_default()(value)); + } + }, [knowledgeOptions]); + var handleAdd = function handleAdd(e) { + e.preventDefault(); + addValue.current = ''; + modal/* default.confirm */.Z.confirm({ + centered: true, + width: 640, + okText: '确定', + cancelText: '取消', + icon: null, + title: '新建知识点', + className: 'custom-modal-divider', + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "font14", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "mb20", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined/* default */.Z, { + style: { + color: '#FF8C29' + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: "ml10 ".concat(Knowledgemodules.mainText), + children: ["\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + maxLength: 20, + size: "large", + showCount: true, + placeholder: "\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0", + defaultValue: addValue.current, + onChange: function onChange(e) { + addValue.current = e.target.value; + } + })] + }), + onOk: function onOk() { + return new Promise( /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(resolve, reject) { + var res, _value2; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (addValue.current) { + _context.next = 3; + break; + } + message/* default.warn */.ZP.warn("请输入知识点名称"); + return _context.abrupt("return", reject()); + case 3: + if (!(addValue.current.length > 20)) { + _context.next = 6; + break; + } + message/* default.warn */.ZP.warn("请输入不超过20字的知识点名称"); + return _context.abrupt("return", reject()); + case 6: + _context.next = 8; + return (0,fetch/* default */.ZP)("/api/tag_disciplines.json", { + method: 'post', + body: { + name: addValue.current, + sub_discipline_id: subId + } + }); + case 8: + res = _context.sent; + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + onAddKnowledgeFinish({ + id: res.tag_discipline_id, + name: addValue.current, + type: 'personal' + }); + // values.push(res.tag_discipline_id) + // value.push(res.tag_discipline_id) + _value2 = []; + _value2.push(res.tag_discipline_id); + onChange([].concat(_value2)); + setValues([res.tag_discipline_id]); + onChange([].concat(_value2)); + } + return _context.abrupt("return", resolve()); + case 11: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function (_x, _x2) { + return _ref2.apply(this, arguments); + }; + }()); + } + }); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + wrap: false, + align: "middle", + className: Knowledgemodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { + disabled: !subId || disabled, + className: Knowledgemodules.selectWrapper, + placeholder: "\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9", + onChange: handleChange, + style: { + width: 490 + }, + showSearch: true, + allowClear: true, + value: knowledgeOptions === null || knowledgeOptions === void 0 ? void 0 : knowledgeOptions.filter(function (item) { + return (values === null || values === void 0 ? void 0 : values.includes(item === null || item === void 0 ? void 0 : item.id)) || (values === null || values === void 0 ? void 0 : values.includes((item === null || item === void 0 ? void 0 : item.id) + '')); + }).map(function (item) { + return item.name; + }), + children: knowledgeOptions === null || knowledgeOptions === void 0 ? void 0 : knowledgeOptions.map(function (item) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(Option, { + value: item.name, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex', + justifyContent: 'space-between' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + overflow: "hidden", + whiteSpace: "nowrap", + textOverflow: "ellipsis" + }, + children: item.name + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: item.type === 'personal' ? '(自用)' : '' + })] + }) + }, item.id); + }) + }) + }), subId && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: "ml20", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Knowledgemodules.tips, + children: "\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Knowledgemodules.linkBtn, + onClick: handleAdd, + children: "\u65B0\u5EFA\u77E5\u8BC6\u70B9" + })] + })] + }); +}; + +/***/ }), + /***/ 36579: /*!*********************************************************!*\ !*** ./src/components/PreviewAll/index.tsx + 1 modules ***! @@ -2348,34 +2624,99 @@ var Dialog = /*#__PURE__*/function (_React$Component) { /***/ }), -/***/ 8691: -/*!************************************************************!*\ - !*** ./src/components/monaco-editor/index.jsx + 3 modules ***! - \************************************************************/ +/***/ 61891: +/*!****************************************!*\ + !*** ./src/components/useInterval.tsx ***! + \****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ useInterval; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); + +function useInterval(callback, delay) { + var savedCallback = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(); + + // 保存新回调 + (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () { + savedCallback.current = callback; + }); + + // 建立 interval + (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () { + function tick() { + savedCallback.current(); + } + if (delay !== null) { + var id = setInterval(tick, delay); + return function () { + return clearInterval(id); + }; + } + }, [delay]); +} + +/***/ }), + +/***/ 8344: +/*!***************************************************************************!*\ + !*** ./src/pages/Classrooms/Lists/Exercise/Detail/index.tsx + 57 modules ***! + \***************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +// ESM COMPAT FLAG +__webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { - "SV": function() { return /* binding */ DiffEditor; }, - "ZP": function() { return /* binding */ monaco_editor; } + "default": function() { return /* binding */ Detail; } }); -// UNUSED EXPORTS: getLanguageByMirrorName - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -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/antd/es/table/style/index.js + 1 modules +var style = __webpack_require__(71854); +// EXTERNAL MODULE: ./node_modules/antd/es/table/index.js + 58 modules +var table = __webpack_require__(67250); +// EXTERNAL MODULE: ./node_modules/antd/es/tabs/style/index.js + 1 modules +var tabs_style = __webpack_require__(99558); +// EXTERNAL MODULE: ./node_modules/antd/es/tabs/index.js + 22 modules +var es_tabs = __webpack_require__(3381); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules +var dropdown_style = __webpack_require__(68018); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/index.js +var dropdown = __webpack_require__(13013); +// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules +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/antd/es/breadcrumb/style/index.js + 1 modules +var breadcrumb_style = __webpack_require__(63102); +// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/index.js + 3 modules +var breadcrumb = __webpack_require__(58492); // EXTERNAL MODULE: ./node_modules/antd/es/message/style/index.js + 1 modules -var style = __webpack_require__(14934); +var message_style = __webpack_require__(14934); // EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules var message = __webpack_require__(12461); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js -var createForOfIteratorHelper = __webpack_require__(74704); -var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); +// EXTERNAL MODULE: ./node_modules/antd/es/menu/style/index.js + 1 modules +var menu_style = __webpack_require__(83736); +// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 5 modules +var menu = __webpack_require__(66516); +// 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/modal/style/index.js + 1 modules +var modal_style = __webpack_require__(35611); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules +var es_modal = __webpack_require__(85402); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(42122); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js var slicedToArray = __webpack_require__(27424); var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); @@ -2384,422 +2725,145 @@ var objectWithoutProperties = __webpack_require__(70215); var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); // EXTERNAL MODULE: ./node_modules/react/index.js 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'] -}; -var javaLangage = { - quickKey: [{ - label: "main", - content: ['public static void main(String[] args) {', '\t$0', '}'].join('\n') - }, { - label: "System.out.println", - content: ['System.out.println($0)'].join('\n') - }, { - label: "System.out.print", - content: ['System.out.print($0)'].join('\n') - }], - keywords: ['abstract', 'continue', 'for', 'new', 'switch', 'assert', 'default', 'goto', 'package', 'synchronized', 'boolean', 'do', 'if', 'private', 'this', 'break', 'double', 'implements', 'protected', 'throw', 'byte', 'else', 'import', 'public', 'throws', 'case', 'enum', 'instanceof', 'return', 'transient', 'catch', 'extends', 'int', 'short', 'try', 'char', 'final', 'interface', 'static', 'void', 'class', 'finally', 'long', 'strictfp', 'volatile', 'const', 'float', 'native', 'super', 'while', 'true', 'false'] -}; -var cppLangage = { - keywords: ['abstract', 'amp', 'array', 'auto', 'bool', 'break', 'case', 'catch', 'char', 'class', 'const', 'constexpr', 'const_cast', 'continue', 'cpu', 'decltype', 'default', 'delegate', 'delete', 'do', 'double', 'dynamic_cast', 'each', 'else', 'enum', 'event', 'explicit', 'export', 'extern', 'false', 'final', 'finally', 'float', 'friend', 'gcnew', 'generic', 'goto', 'in', 'initonly', 'inline', 'int', 'interface', 'interior_ptr', 'internal', 'literal', 'long', 'mutable', 'namespace', 'new', 'noexcept', 'nullptr', '__nullptr', 'operator', 'override', 'partial', 'pascal', 'pin_ptr', 'private', 'property', 'protected', 'public', 'ref', 'register', 'reinterpret_cast', 'restrict', 'return', 'safe_cast', 'sealed', 'short', 'signed', 'sizeof', 'static', 'static_assert', 'static_cast', 'struct', 'switch', 'template', 'this', 'thread_local', 'throw', 'tile_static', 'true', 'try', 'typedef', 'typeid', 'typename', 'union', 'unsigned', 'using', 'virtual', 'void', 'volatile', 'wchar_t', 'where', 'while', '_asm', '_based', '_cdecl', '_declspec', '_fastcall', '_if_exists', '_if_not_exists', '_inline', '_multiple_inheritance', '_pascal', '_single_inheritance', '_stdcall', '_virtual_inheritance', '_w64', '__abstract', '__alignof', '__asm', '__assume', '__based', '__box', '__builtin_alignof', '__cdecl', '__clrcall', '__declspec', '__delegate', '__event', '__except', '__fastcall', '__finally', '__forceinline', '__gc', '__hook', '__identifier', '__if_exists', '__if_not_exists', '__inline', '__int128', '__int16', '__int32', '__int64', '__int8', '__interface', '__leave', '__m128', '__m128d', '__m128i', '__m256', '__m256d', '__m256i', '__m64', '__multiple_inheritance', '__newslot', '__nogc', '__noop', '__nounwind', '__novtordisp', '__pascal', '__pin', '__pragma', '__property', '__ptr32', '__ptr64', '__raise', '__restrict', '__resume', '__sealed', '__single_inheritance', '__stdcall', '__super', '__thiscall', '__try', '__try_cast', '__typeof', '__unaligned', '__unhook', '__uuidof', '__value', '__virtual_inheritance', '__w64', '__wchar_t'], - operators: ['=', '>', '<', '!', '~', '?', ':', '==', '<=', '>=', '!=', '&&', '||', '++', '--', '+', '-', '*', '/', '&', '|', '^', '%', '<<', '>>', '>>>', '+=', '-=', '*=', '/=', '&=', '|=', '^=', '%=', '<<=', '>>=', '>>>='], - quickKey: [{ - label: "ifelse", - content: ['if (${1:condition}) {', '\t$0', '} else {', '\t', '}'].join('\n') - }, { - label: "include", - content: 'include<$0>' - }, { - label: "printf", - content: 'printf($0)' - }, { - label: "system", - content: 'system("$0")' - }, { - label: "main", - content: ['int main () {', '\t$0', '}'].join('\n') - }, { - label: "if", - content: ['if () {', '\t$0', '}'].join('\n') - }, { - label: "for", - content: ['for(int j=0 ; j<10; j++){', '\t$0', '}'].join('\n') - }, { - label: "trycatch", - content: ['try{', '\t$0', '}catch(ExceptionName e){', '}'].join('\n') - }, { - label: "using namespace std;", - content: ['using namespace std;'].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }] -}; -var pythonLangage = { - keywords: ['and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'exec', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'None', 'not', 'or', 'pass', 'raise', 'return', 'self', 'try', 'while', 'with', 'yield', 'int', 'float', 'long', 'complex', 'hex', 'abs', 'all', 'any', 'apply', 'basestring', 'bin', 'bool', 'buffer', 'bytearray', 'callable', 'chr', 'classmethod', 'cmp', 'coerce', 'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'execfile', 'file', 'filter', 'format', 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'help', 'id', 'input', 'intern', 'isinstance', 'issubclass', 'iter', 'len', 'locals', 'list', 'map', 'max', 'memoryview', 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'print', 'property', 'reversed', 'range', 'raw_input', 'reduce', 'reload', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'unichr', 'unicode', 'vars', 'xrange', 'zip', 'True', 'False', '__dict__', '__methods__', '__members__', '__class__', '__bases__', '__name__', '__mro__', '__subclasses__', '__init__', '__import__'], - quickKey: [{ - label: "print", - content: ['print($0)'].join('\n') - } - // { label: "#include", content: '#include ""' }, - // { label: "printf", content: 'printf("")' }, - ] -}; +// EXTERNAL MODULE: ./src/utils/fetch.ts +var fetch = __webpack_require__(84519); +// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules +var _umi_production_exports = __webpack_require__(89214); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js + 1 modules +var ArrowLeftOutlined = __webpack_require__(82826); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/DeliveredProcedureOutlined.js + 1 modules +var DeliveredProcedureOutlined = __webpack_require__(95604); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/CaretDownOutlined.js +var CaretDownOutlined = __webpack_require__(95025); +// EXTERNAL MODULE: ./src/service/exercise.ts +var service_exercise = __webpack_require__(51412); +// EXTERNAL MODULE: ./src/utils/util.tsx +var util = __webpack_require__(29427); +// EXTERNAL MODULE: ./src/utils/export.ts +var utils_export = __webpack_require__(12034); +// EXTERNAL MODULE: ./node_modules/antd/es/radio/style/index.js + 1 modules +var radio_style = __webpack_require__(83822); +// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules +var es_radio = __webpack_require__(29924); +// EXTERNAL MODULE: ./node_modules/antd/es/pagination/style/index.js + 1 modules +var pagination_style = __webpack_require__(14182); +// EXTERNAL MODULE: ./node_modules/antd/es/pagination/index.js + 10 modules +var pagination = __webpack_require__(260); +// EXTERNAL MODULE: ./node_modules/antd/es/input-number/style/index.js + 1 modules +var input_number_style = __webpack_require__(25359); +// EXTERNAL MODULE: ./node_modules/antd/es/input-number/index.js + 9 modules +var input_number = __webpack_require__(87799); +// 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/antd/es/checkbox/style/index.js + 1 modules +var checkbox_style = __webpack_require__(82000); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 2 modules +var es_checkbox = __webpack_require__(32808); +// EXTERNAL MODULE: ./node_modules/antd/es/switch/style/index.js + 1 modules +var switch_style = __webpack_require__(5812); +// EXTERNAL MODULE: ./node_modules/antd/es/switch/index.js + 1 modules +var es_switch = __webpack_require__(94594); +// EXTERNAL MODULE: ./node_modules/antd/es/row/style/index.js +var row_style = __webpack_require__(13062); +// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js +var row = __webpack_require__(71230); +// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js +var col_style = __webpack_require__(89032); +// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js +var col = __webpack_require__(15746); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules +var tooltip_style = __webpack_require__(38390); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(84908); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js +var defineProperty = __webpack_require__(38416); +var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty); +// EXTERNAL MODULE: ./node_modules/antd/es/form/style/index.js + 1 modules +var form_style = __webpack_require__(75627); +// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules +var es_form = __webpack_require__(51018); +// EXTERNAL MODULE: ./node_modules/moment/moment.js +var moment = __webpack_require__(30381); +var moment_default = /*#__PURE__*/__webpack_require__.n(moment); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/WorkList/components/Redo.tsx -var scalaLangage = { - keywords: ['asInstanceOf', 'catch', 'class', 'classOf', 'def', 'do', 'else', 'extends', 'finally', 'for', 'foreach', 'forSome', 'if', 'import', 'isInstanceOf', 'macro', 'match', 'new', 'object', 'package', 'return', 'throw', 'trait', 'try', 'type', 'until', 'val', 'var', 'while', 'with', 'yield', - // Dotty-specific: - 'given', 'enum', 'then'], - quickKey: [{ - label: "println", - content: ['println($0)'].join('\n') - } - // { label: "#include", content: '#include ""' }, - // { label: "printf", content: 'printf("")' }, - ] -}; -// EXTERNAL MODULE: ./node_modules/js-beautify/js/index.js -var js = __webpack_require__(84204); -var js_default = /*#__PURE__*/__webpack_require__.n(js); -;// CONCATENATED MODULE: ./src/components/monaco-editor/monaco-suggest-config.tsx -var baseConfig = { - languages: ['c', 'abap', 'apex', 'azcli', 'bat', 'cameligo', 'clojure', 'coffee', 'cpp', 'csharp', 'csp', 'css', 'dockerfile', 'fsharp', 'go', 'graphql', 'handlebars', 'html', 'ini', 'java', 'javascript', 'json', 'kotlin', 'less', 'lua', 'markdown', 'mips', 'msdax', 'mysql', 'objective-c', 'pascal', 'pascaligo', 'perl', 'pgsql', 'php', 'postiats', 'powerquery', 'powershell', 'pug', 'python', 'r', 'razor', 'redis', 'redshift', 'restructuredtext', 'ruby', 'rust', 'sb', 'scheme', 'scss', 'shell', 'solidity', 'sophia', 'sql', 'st', 'swift', 'tcl', 'twig', 'vb', 'xml', "yaml'"], - tables: { - users: ["name", "id", "email", "phone", "password"], - roles: ["id", "name", "order", "created_at", "updated_at", "deleted_at"] - } -}; -var getKeywordsSuggest = function getKeywordsSuggest(monaco, keywords) { - return keywords.map(function (key) { - return { - label: key, - // 显示的名称 - kind: monaco.languages.CompletionItemKind.Keyword, - insertText: key // 真实补全的值 - }; - }); -}; -var getTableSuggest = function getTableSuggest(monaco) { - return Object.keys(baseConfig.tables).map(function (key) { - return { - label: key, - // 显示的名称 - kind: monaco.languages.CompletionItemKind.Variable, - insertText: key // 真实补全的值 - }; - }); -}; -var getFieldsSuggest = function getFieldsSuggest(tableName, monaco) { - var fields = baseConfig.tables[tableName]; - if (!fields) { - return []; - } - return fields.map(function (name) { - return { - label: name, - kind: monaco.languages.CompletionItemKind.Field, - insertText: name - }; + + + +var DelShixun = function DelShixun(_ref) { + var shixunHomeworks = _ref.shixunHomeworks, + dispatch = _ref.dispatch; + var params = (0,_umi_production_exports.useParams)(); + return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_modal/* default */.Z, { + centered: true, + title: "\u63D0\u793A", + open: shixunHomeworks.actionTabs.key === '打回重做' ? true : false, + okText: "\u786E\u5B9A", + cancelText: "\u53D6\u6D88", + onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return (0,fetch/* default */.ZP)("/api/myshixuns/".concat(shixunHomeworks.actionTabs.selectArrs.myshixun_identifier, "/reset_my_game.json"), { + method: 'post', + body: { + course_id: params.coursesId + } + }); + case 2: + res = _context.sent; + if (res.status === 0) { + message/* default.success */.ZP.success('删除成功'); + dispatch({ + type: 'shixunHomeworks/setActionTabs', + payload: {} + }); + dispatch({ + type: 'shixunHomeworks/getWorkList', + payload: objectSpread2_default()({}, shixunHomeworks.actionTabs.params) + }); + } + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })), + onCancel: function onCancel() { + dispatch({ + type: 'shixunHomeworks/setActionTabs', + payload: {} + }); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { + children: "\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + children: "\u786E\u5B9A\u6253\u56DE?" + })] }); }; -function getSuggestions(monaco, model, position, keywords, snippts) { - var word = model.getWordUntilPosition(position); - var range = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn +/* harmony default export */ var Redo = ((0,_umi_production_exports.connect)(function (_ref3) { + var shixunHomeworks = _ref3.shixunHomeworks; + return { + shixunHomeworks: shixunHomeworks }; - var rs = keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Keyword, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: range - }; - }); - snippts.map(function (item) { - rs.push(_objectSpread(_objectSpread({}, item), {}, { - range: range - })); - }); - return rs; -} -/* harmony default export */ var monaco_suggest_config = (function (monaco) { - baseConfig.languages.map(function (item) { - monaco.languages.registerDocumentFormattingEditProvider(item, { - provideDocumentFormattingEdits: function provideDocumentFormattingEdits(model, options, token) { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var formattedText; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - formattedText = js_default()(model.getValue(), { - "indent_size": "2", - "indent_char": " ", - "max_preserve_newlines": "2", - "preserve_newlines": true, - "keep_array_indentation": true, - "break_chained_methods": false, - "indent_scripts": "normal", - "brace_style": "collapse", - "space_before_conditional": true, - "unescape_strings": false, - "jslint_happy": false, - "end_with_newline": true, - "wrap_line_length": "0", - "indent_inner_html": false, - "comma_first": false, - "e4x": false, - "indent_empty_lines": false - }); - return _context.abrupt("return", [{ - range: model.getFullModelRange(), - text: formattedText - }]); - case 2: - case "end": - return _context.stop(); - } - }, _callee); - }))(); - } - }); - return item; - }); - var cppKeyPrompt = cppLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - var pythonKeyPrompt = pythonLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - var javaKeyPrompt = javaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - monaco.languages.registerCompletionItemProvider('cpp', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(cppLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(cppLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('c', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - return { - suggestions: toConsumableArray_default()(cLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })) - }; - } - }); - monaco.languages.registerCompletionItemProvider('java', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(javaLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(javaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('scala', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(scalaLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(scalaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('python', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(pythonLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(pythonLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); -}); -var tipTxt = '该任务关卡设置了禁止复制粘贴,请手动输入代码。'; -// EXTERNAL MODULE: ./node_modules/monaco-editor/esm/vs/platform/actions/common/actions.js -var actions = __webpack_require__(84144); -// EXTERNAL MODULE: ./node_modules/lodash/lodash.js -var lodash = __webpack_require__(96486); -;// CONCATENATED MODULE: ./src/components/monaco-editor/index.css -// extracted by mini-css-extract-plugin +})(DelShixun)); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/WorkList/components/ChangeScore.tsx -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/monaco-editor/index.jsx @@ -2807,7 +2871,6 @@ 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"]; @@ -2816,846 +2879,35 @@ var _excluded = ["width", "height", "value", "language", "style", "options", "ov -function processSize(size) { - return !/^\d+$/.test(size) ? size : "".concat(size, "px"); -} -function noop() {} -var __prevent_trigger_change_event = false; -var DICT = { - 'Python3.6': 'python', - 'Python2.7': 'python', - Dynamips: 'cpp', - Java: 'java', - Web: 'php', - Html: 'html', - Hive: 'sql', - Hadoop: 'java', - SDL: 'cpp', - PHP: 'php', - Matlab: 'python', - Git: 'python', - Python: 'python', - 'C/C++': 'cpp', - 'C++': 'cpp', - C: 'cpp', - Ruby: 'ruby', - Shell: 'shell', - JavaScript: 'javascript', - Perl6: 'perl', - Kotlin: 'kotlin', - Elixir: 'elixir', - Android: 'java', - JavaWeb: 'java', - Go: 'go', - Spark: 'sql', - MachineLearning: 'python', - Verilog: 'xml', - 'Verilog/VNC': 'xml', - Docker: 'dockerfile', - 'C#': 'csharp', - SQLite3: 'sql', - Oracle: 'sql', - Vhdl: 'vhdl', - R: 'r', - Swift: 'swift', - SQLServer: 'mysql', - MySQL: 'mysql', - Mongo: 'sql', - PostgreSql: 'pgsql', - Hbase: 'powershell', - Sqoop: 'sql', - Nasm: 'cpp', - Kafka: 'java', - Flink: 'java', - Sml: 'javascript', - OpenGL: 'cpp', - Perl5: 'perl', - Orange: 'python', - Scala: "scale" -}; -function getLanguageByMirrorName() { - var mirror_name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var lang = mirror_name; - if (Array.isArray(mirror_name)) { - for (var i = 0; i < mirror_name.length; i++) { - var languageVal = DICT[mirror_name[i]]; - if (languageVal) { - return languageVal; - } - } - return lang[0]; - } - return DICT[lang] || lang; -} -//onCodeChange 必须是幂等的,因为只会注册一次,如果有变化,会响应旧的,产生脏数据 -var monaco = null; -/* harmony default export */ var monaco_editor = (function (_ref) { - var _ref$width = _ref.width, - width = _ref$width === void 0 ? '100%' : _ref$width, - _ref$height = _ref.height, - height = _ref$height === void 0 ? '100%' : _ref$height, - value = _ref.value, - _ref$language = _ref.language, - language = _ref$language === void 0 ? 'javascript' : _ref$language, - _ref$style = _ref.style, - style = _ref$style === void 0 ? {} : _ref$style, - _ref$options = _ref.options, - options = _ref$options === void 0 ? {} : _ref$options, - _ref$overrideServices = _ref.overrideServices, - overrideServices = _ref$overrideServices === void 0 ? {} : _ref$overrideServices, - _ref$theme = _ref.theme, - theme = _ref$theme === void 0 ? 'vs-dark' : _ref$theme, - onEditBlur = _ref.onEditBlur, - onSave = _ref.onSave, - _ref$autoHeight = _ref.autoHeight, - autoHeight = _ref$autoHeight === void 0 ? false : _ref$autoHeight, - _ref$forbidCopy = _ref.forbidCopy, - forbidCopy = _ref$forbidCopy === void 0 ? false : _ref$forbidCopy, - _ref$onChange = _ref.onChange, - onChange = _ref$onChange === void 0 ? noop : _ref$onChange, - _ref$editorDidMount = _ref.editorDidMount, - editorDidMount = _ref$editorDidMount === void 0 ? noop : _ref$editorDidMount, - _ref$onFocus = _ref.onFocus, - onFocus = _ref$onFocus === void 0 ? noop : _ref$onFocus, - _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, - 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 inputLock = (0,react.useRef)(false); - var inputLockTime = (0,react.useRef)(); - var _useState = (0,react.useState)(false), - _useState2 = slicedToArray_default()(_useState, 2), - init = _useState2[0], - setInit = _useState2[1]; - function onLayout() { - var ro; - if (editorEl.current) { - ro = new ResizeObserver_es/* default */.Z(function (entries) { - var _iterator = createForOfIteratorHelper_default()(entries), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var entry = _step.value; - if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) { - editor.current.instance.layout(); - } - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - }); - ro.observe(editorEl.current); - } - return ro; - } - function tipWarn() { - message/* default.warn */.ZP.warn({ - content: decodeURIComponent(tipTxt), - key: "monaco-editor-tip" - }); - } - var setCodeValue = function setCodeValue() { - var instance = editor.current.instance; - if (value != null && instance && init) { - var model = instance.getModel(); - if (model && value !== model.getValue()) { - __prevent_trigger_change_event = true; - model.setValue(value); - instance.layout(); - __prevent_trigger_change_event = false; - } - } - }; - (0,react.useEffect)(function () { - var _instance$updateOptio; - var instance = editor.current.instance; - if (timeRef.current) clearTimeout(timeRef.current); - timeRef.current = setTimeout(function () { - setCodeValue(); - }, 500); - instance === null || instance === void 0 ? void 0 : (_instance$updateOptio = instance.updateOptions) === null || _instance$updateOptio === void 0 ? void 0 : _instance$updateOptio.call(instance, { - lineNumbersMinChars: Math.max(Math.floor(Math.log10(value.split(/\r\n|\r|\n/g).length)) + 3, 5) - }); - }, [value, init, editor.current]); - (0,react.useEffect)(function () { - if (errorLine && editor.current && editor.current.instance) { - var instance = editor.current.instance; - instance.changeViewZones(function (changeAccessor) { - var domNode = document.createElement('div'); - domNode.style.padding = '10px 20px'; - domNode.style.width = 'calc(100% - 20px)'; - domNode.className = 'my-error-line-wrp'; - domNode.innerHTML = errorContent; - changeAccessor.addZone({ - afterLineNumber: errorLine || 11, - heightInLines: 3, - domNode: domNode - }); - }); - var overlayWidget = { - domNode: null, - getId: function getId() { - return 'my.overlay.widget'; - }, - getDomNode: function getDomNode() { - if (!this.domNode) { - this.domNode = document.createElement('div'); - this.domNode.innerHTML = ''; - this.domNode.style.width = '100%'; - this.domNode.style.padding = '20px 100px'; - this.domNode.style.right = '0px'; - this.domNode.style.top = '50px'; - this.domNode.style.position = 'relative'; - this.domNode.style.color = '#333'; - } - return this.domNode; - }, - getPosition: function getPosition() { - return null; - } - }; - instance.addOverlayWidget(overlayWidget); - // instance.revealPositionInCenter(11,1); - instance.revealPositionInCenter({ - lineNumber: 20, - column: 1 - }); - } - }, [errorLine, editor.current, init]); - function onPaste() { - var instance = editor.current.instance; - if (instance) { - var selection = instance.getSelection(); - var pastePos = editor.current.pastePos || {}; - var range = new monaco.Range(pastePos.startLineNumber || selection.endLineNumber, pastePos.startColumn || selection.endColumn, pastePos.endLineNumber || selection.endLineNumber, pastePos.endColumn || selection.endColumn); - setTimeout(function () { - instance.executeEdits('', [{ - range: range, - text: '' - }]); - }, 300); - } - } - function onSaveHandler(e) { - if ((window.navigator.platform.match('Mac') ? e.metaKey : e.ctrlKey) && e.keyCode == 83) { - e.preventDefault(); - onSave(); - } - } - var autoCalcHeight = function autoCalcHeight() { - if (autoHeight && editor.current.instance) { - var _height = editor.current.instance.getContentHeight(); - setFixedHeight(_height < height ? height : _height); - } else { - setFixedHeight(height); - } - }; - function fakeClick(obj) { - var ev = document.createEvent('MouseEvents'); - ev.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); - obj.dispatchEvent(ev); - } - var checkPaste = function checkPaste(event) { - var keyCode = event.keyCode, - ctrlKey = event.ctrlKey, - metaKey = event.metaKey, - target = event.target, - type = event.type; - if ((type === "paste" || (keyCode === 67 || keyCode === 86) && (metaKey || ctrlKey)) && target.nodeName === "TEXTAREA") { - tipWarn(); - event.preventDefault(); - } - return false; - }; - function exportRaw(name, data) { - var urlObject = window.URL || window.webkitURL || window; - var export_blob = new Blob([data]); - var save_link = document.createElementNS('http://www.w3.org/1999/xhtml', 'a'); - save_link.href = urlObject.createObjectURL(export_blob); - save_link.download = name; - fakeClick(save_link); - } - (0,react.useEffect)(function () { - autoCalcHeight(); - }, [autoCalcHeight]); - (0,react.useEffect)(function () { - if (editorEl.current && !init) { - // require.config({ paths: { vs: 'monaco-editor/min/vs' } }); - // require.config({ - // 'vs/nls': { - // availableLanguages: { - // '*': 'de', - // }, - // }, - // }); - Promise.all(/*! import() | monaco-editor */[__webpack_require__.e(48764), __webpack_require__.e(39404)]).then(__webpack_require__.bind(__webpack_require__, /*! monaco-editor/esm/vs/editor/editor.api.js */ 26565)).then(function (mod) { - try { - monaco = mod; - editor.current.instance = monaco.editor.create(editorEl.current, { - value: value, - language: getLanguageByMirrorName(language), - theme: theme, - requireConfig: { - 'vs/nls': { - availableLanguages: { - '*': 'zh-cn' - } - } - }, - wordWrap: true, - autoIndent: true, - contextmenu: true, - // formatOnPaste: true, - formatOnType: true - }, overrideServices); - var instance = editor.current.instance; - var menus = actions/* MenuRegistry._menuItems */.BH._menuItems; - var contextMenuEntry = toConsumableArray_default()(menus).find(function (entry) { - return entry[0]._debugName == "EditorContext"; - }); - var contextMenuLinks = contextMenuEntry[1]; - var removableIds = ["editor.action.clipboardCopyWithSyntaxHighlightingAction", "editor.action.quickCommand", "editor.action.clipboardCopyAction", "editor.action.clipboardPasteAction", "editor.action.clipboardCutAction"]; - var removeById = function removeById(list, ids) { - var node = list._first; - do { - var _node$element, _node$element$command; - var shouldRemove = ids.includes((_node$element = node.element) === null || _node$element === void 0 ? void 0 : (_node$element$command = _node$element.command) === null || _node$element$command === void 0 ? void 0 : _node$element$command.id); - if (shouldRemove) { - list._remove(node); - } - } while (node = node.next); - }; - editorDidMount(instance, monaco); - setTimeout(function () { - autoCalcHeight(); - editor.current.instance.addAction({ - id: 'd123123', - label: 'Download File', - contextMenuGroupId: '9_cutcopypaste', - run: function run() { - exportRaw(filename || 'educoder.txt', instance.getValue()); - } - }); - instance.getDomNode().addEventListener('input', function () { - if (optionsRef.current.autoFormat) instance.getAction('editor.action.formatDocument').run(); - }); - }, 500); - editor.current.subscription = instance.onDidChangeModelContent(function (event) { - if (!inputLock.current) { - autoCalcHeight(); - onChange(instance.getValue(), event); - } else { - clearTimeout(inputLockTime.current); - } - inputLockTime.current = setTimeout(function () { - inputLock.current = false; - }, 500); - }); - if (!window.Monaco) monaco_suggest_config(monaco, getLanguageByMirrorName(language)); - if (forbidCopy) { - removeById(contextMenuLinks, removableIds); - editorEl.current.classList.add("noCopyPaste"); - window.removeEventListener("keydown", checkPaste); - window.removeEventListener("paste", checkPaste); - window.addEventListener("keydown", checkPaste); - window.addEventListener("paste", checkPaste); - } - window.Monaco = monaco; - if (onEditBlur) { - instance.onDidBlurEditorWidget(function () { - onEditBlur(instance.getValue()); - }); - } - if (onFocus) { - instance.onDidFocusEditorText(function () { - onFocus(instance.getValue()); - }); - } - if (forbidCopy) { - try { - window.addEventListener('paste', onPaste); - } catch (e) {} - } - var ro = onLayout(); - setInit(true); - return function () { - var el = editor.current.instance; - el.dispose(); - var model = el.getModel(); - if (model) { - model.dispose(); - } - if (editor.current.subscription) { - editor.current.subscription.dispose(); - } - if (forbidCopy) { - window.removeEventListener('paste', onPaste); - } - ro.unobserve(editorEl.current); - }; - } catch (e) { - // ; - } - }); - } - }, []); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - document.addEventListener('keydown', onSaveHandler, false); - return function () { - document.removeEventListener('keydown', onSaveHandler); - }; - } - }, [onSave, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - var lang = getLanguageByMirrorName(language); - monaco.editor.setModelLanguage(instance.getModel(), lang); - } - }, [language, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - monaco.editor.setTheme(theme); - } - }, [theme, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - optionsRef.current = options; - if (instance && init) { - instance.updateOptions(objectSpread2_default()({}, options)); - setTimeout(function () { - instance.getModel().updateOptions(objectSpread2_default()({}, options)); - }, 200); - } - }, [JSON.stringify(options), init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - instance.layout(); - } - }, [width, height, init]); - // const fixedWidth = processSize(width); - // const fixedHeight = processSize(height); - - var _useState3 = (0,react.useState)(processSize(width)), - _useState4 = slicedToArray_default()(_useState3, 2), - fixedWidth = _useState4[0], - setFixedWidth = _useState4[1]; - var _useState5 = (0,react.useState)(processSize(height)), - _useState6 = slicedToArray_default()(_useState5, 2), - fixedHeight = _useState6[0], - setFixedHeight = _useState6[1]; - var mergeStyle = objectSpread2_default()(objectSpread2_default()({}, style), {}, { - width: fixedWidth, - height: fixedHeight - }); - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "my-monaco-editor", - ref: editorEl, - 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; - var editorEl = (0,react.useRef)(); - var _useState7 = (0,react.useState)(null), - _useState8 = slicedToArray_default()(_useState7, 2), - instance = _useState8[0], - setInstance = _useState8[1]; - function onLayout(instance) { - var ro; - if (editorEl.current) { - ro = new ResizeObserver_es/* default */.Z(function (entries) { - var _iterator2 = createForOfIteratorHelper_default()(entries), - _step2; - try { - for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { - var entry = _step2.value; - if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) { - instance.layout(); - } - } - } catch (err) { - _iterator2.e(err); - } finally { - _iterator2.f(); - } - }); - ro.observe(editorEl.current); - } - return ro; - } - (0,react.useEffect)(function () { - if (editorEl.current) { - Promise.all(/*! import() | monaco-editor */[__webpack_require__.e(48764), __webpack_require__.e(39404)]).then(__webpack_require__.bind(__webpack_require__, /*! monaco-editor/esm/vs/editor/editor.api.js */ 26565)).then(function (mod) { - monaco = mod; - var instance = monaco.editor.createDiffEditor(editorEl.current, objectSpread2_default()(objectSpread2_default()({ - enableSplitViewResizing: false, - scrollBeyondLastLine: false, - roundedSelection: false, - renderIndicators: false, - useShadows: false, - horizontal: 'hidden', - lineNumbers: 'off', - wordWrap: "off", - ignoreTrimWhitespace: false, - 'semanticHighlighting.enabled': true, - followsCaret: true, - // resets the navigator state when the user selects something in the editor - ignoreCharChanges: true, - // jump from line to line, - minimap: { - enabled: false - }, - readOnly: true - }, options), {}, { - wordWrap: true - })); - setInstance(instance); - var ro = onLayout(instance); - return function () { - instance.dispose(); - var model = instance.getModel(); - if (model) { - model.dispose(); - } - ro.unobserve(editorEl.current); - }; - }); - } - return function () { - window.removeEventListener("keydown", checkPaste); - window.removeEventListener("paste", checkPaste); - }; - }, []); - (0,react.useEffect)(function () { - if (instance) { - instance.setModel({ - original: monaco.editor.createModel(original, language), - modified: monaco.editor.createModel(modified, language) - }); - } - }, [original, modified, language, instance]); - var fixedWidth = processSize(width); - var fixedHeight = processSize(height); - var style = { - width: fixedWidth, - height: fixedHeight - }; - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "my-diff-editor", - ref: editorEl, - style: style - }); -} -/***/ }), -/***/ 61891: -/*!****************************************!*\ - !*** ./src/components/useInterval.tsx ***! - \****************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": function() { return /* binding */ useInterval; } -/* harmony export */ }); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -function useInterval(callback, delay) { - var savedCallback = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(); - // 保存新回调 - (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () { - savedCallback.current = callback; - }); - // 建立 interval - (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () { - function tick() { - savedCallback.current(); - } - if (delay !== null) { - var id = setInterval(tick, delay); - return function () { - return clearInterval(id); - }; - } - }, [delay]); -} - -/***/ }), - -/***/ 34971: -/*!***************************************************************************!*\ - !*** ./src/pages/Classrooms/Lists/Exercise/Detail/index.tsx + 45 modules ***! - \***************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -// ESM COMPAT FLAG -__webpack_require__.r(__webpack_exports__); - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "default": function() { return /* binding */ Detail; } -}); - -// EXTERNAL MODULE: ./node_modules/antd/es/table/style/index.js + 1 modules -var style = __webpack_require__(71854); -// EXTERNAL MODULE: ./node_modules/antd/es/table/index.js + 58 modules -var table = __webpack_require__(67250); -// EXTERNAL MODULE: ./node_modules/antd/es/tabs/style/index.js + 1 modules -var tabs_style = __webpack_require__(99558); -// EXTERNAL MODULE: ./node_modules/antd/es/tabs/index.js + 22 modules -var es_tabs = __webpack_require__(3381); -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules -var dropdown_style = __webpack_require__(68018); -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/index.js -var dropdown = __webpack_require__(13013); -// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules -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/antd/es/breadcrumb/style/index.js + 1 modules -var breadcrumb_style = __webpack_require__(63102); -// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/index.js + 3 modules -var breadcrumb = __webpack_require__(58492); -// EXTERNAL MODULE: ./node_modules/antd/es/message/style/index.js + 1 modules -var message_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/menu/style/index.js + 1 modules -var menu_style = __webpack_require__(83736); -// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 5 modules -var menu = __webpack_require__(66516); -// 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/modal/style/index.js + 1 modules -var modal_style = __webpack_require__(35611); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules -var es_modal = __webpack_require__(85402); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(70215); -var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./src/utils/fetch.ts -var fetch = __webpack_require__(84519); -// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules -var _umi_production_exports = __webpack_require__(89214); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js + 1 modules -var ArrowLeftOutlined = __webpack_require__(82826); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/DeliveredProcedureOutlined.js + 1 modules -var DeliveredProcedureOutlined = __webpack_require__(95604); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/CaretDownOutlined.js -var CaretDownOutlined = __webpack_require__(95025); -// EXTERNAL MODULE: ./src/service/exercise.ts -var service_exercise = __webpack_require__(51412); -// EXTERNAL MODULE: ./src/utils/util.tsx -var util = __webpack_require__(29427); -// EXTERNAL MODULE: ./src/utils/export.ts -var utils_export = __webpack_require__(12034); -// EXTERNAL MODULE: ./node_modules/antd/es/radio/style/index.js + 1 modules -var radio_style = __webpack_require__(83822); -// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules -var es_radio = __webpack_require__(29924); -// EXTERNAL MODULE: ./node_modules/antd/es/pagination/style/index.js + 1 modules -var pagination_style = __webpack_require__(14182); -// EXTERNAL MODULE: ./node_modules/antd/es/pagination/index.js + 10 modules -var pagination = __webpack_require__(260); -// EXTERNAL MODULE: ./node_modules/antd/es/input-number/style/index.js + 1 modules -var input_number_style = __webpack_require__(25359); -// EXTERNAL MODULE: ./node_modules/antd/es/input-number/index.js + 9 modules -var input_number = __webpack_require__(87799); -// 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/antd/es/checkbox/style/index.js + 1 modules -var checkbox_style = __webpack_require__(82000); -// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 2 modules -var es_checkbox = __webpack_require__(32808); -// EXTERNAL MODULE: ./node_modules/antd/es/switch/style/index.js + 1 modules -var switch_style = __webpack_require__(5812); -// EXTERNAL MODULE: ./node_modules/antd/es/switch/index.js + 1 modules -var es_switch = __webpack_require__(94594); -// EXTERNAL MODULE: ./node_modules/antd/es/row/style/index.js -var row_style = __webpack_require__(13062); -// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js -var row = __webpack_require__(71230); -// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js -var col_style = __webpack_require__(89032); -// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js -var col = __webpack_require__(15746); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules -var tooltip_style = __webpack_require__(38390); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules -var tooltip = __webpack_require__(84908); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js -var defineProperty = __webpack_require__(38416); -var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty); -// EXTERNAL MODULE: ./node_modules/antd/es/form/style/index.js + 1 modules -var form_style = __webpack_require__(75627); -// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules -var es_form = __webpack_require__(51018); -// EXTERNAL MODULE: ./node_modules/moment/moment.js -var moment = __webpack_require__(30381); -var moment_default = /*#__PURE__*/__webpack_require__.n(moment); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/WorkList/components/Redo.tsx - - - - - - - - - - - - -var DelShixun = function DelShixun(_ref) { - var shixunHomeworks = _ref.shixunHomeworks, - dispatch = _ref.dispatch; - var params = (0,_umi_production_exports.useParams)(); - return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_modal/* default */.Z, { - centered: true, - title: "\u63D0\u793A", - open: shixunHomeworks.actionTabs.key === '打回重做' ? true : false, - okText: "\u786E\u5B9A", - cancelText: "\u53D6\u6D88", - onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,fetch/* default */.ZP)("/api/myshixuns/".concat(shixunHomeworks.actionTabs.selectArrs.myshixun_identifier, "/reset_my_game.json"), { - method: 'post', - body: { - course_id: params.coursesId - } - }); - case 2: - res = _context.sent; - if (res.status === 0) { - message/* default.success */.ZP.success('删除成功'); - dispatch({ - type: 'shixunHomeworks/setActionTabs', - payload: {} - }); - dispatch({ - type: 'shixunHomeworks/getWorkList', - payload: objectSpread2_default()({}, shixunHomeworks.actionTabs.params) - }); - } - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })), - onCancel: function onCancel() { - dispatch({ - type: 'shixunHomeworks/setActionTabs', - payload: {} - }); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { - children: "\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - children: "\u786E\u5B9A\u6253\u56DE?" - })] - }); -}; -/* harmony default export */ var Redo = ((0,_umi_production_exports.connect)(function (_ref3) { - var shixunHomeworks = _ref3.shixunHomeworks; - return { - shixunHomeworks: shixunHomeworks - }; -})(DelShixun)); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/WorkList/components/ChangeScore.tsx - - - - - - - - - - - - - - - - - - - - - - - - -var ChangeScore_DelShixun = function DelShixun(_ref) { - var _actionTabs$selectArr7, _actionTabs$selectArr8, _actionTabs$selectArr9, _actionTabs$selectArr10, _actionTabs$selectArr11, _actionTabs$selectArr12, _actionTabs$selectArr13, _actionTabs$selectArr14; - var exercise = _ref.exercise, - dispatch = _ref.dispatch; - var params = (0,_umi_production_exports.useParams)(); - var _useState = (0,react.useState)(true), - _useState2 = slicedToArray_default()(_useState, 2), - coverAll = _useState2[0], - setCoverAll = _useState2[1]; - var _Form$useForm = es_form/* default.useForm */.Z.useForm(), - _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), - form = _Form$useForm2[0]; - var actionTabs = exercise.actionTabs; - (0,react.useEffect)(function () { - if (exercise.actionTabs.key === '更改评阅') { - var _actionTabs$selectArr, _actionTabs$selectArr2, _actionTabs$selectArr3, _actionTabs$selectArr4; - form.resetFields(); - form.setFieldsValue({ - subjective_score: actionTabs === null || actionTabs === void 0 ? void 0 : (_actionTabs$selectArr = actionTabs.selectArrs) === null || _actionTabs$selectArr === void 0 ? void 0 : (_actionTabs$selectArr2 = _actionTabs$selectArr.record) === null || _actionTabs$selectArr2 === void 0 ? void 0 : _actionTabs$selectArr2.subjective_score, - objective_score: actionTabs === null || actionTabs === void 0 ? void 0 : (_actionTabs$selectArr3 = actionTabs.selectArrs) === null || _actionTabs$selectArr3 === void 0 ? void 0 : (_actionTabs$selectArr4 = _actionTabs$selectArr3.record) === null || _actionTabs$selectArr4 === void 0 ? void 0 : _actionTabs$selectArr4.objective_score - }); +var ChangeScore_DelShixun = function DelShixun(_ref) { + var _actionTabs$selectArr7, _actionTabs$selectArr8, _actionTabs$selectArr9, _actionTabs$selectArr10, _actionTabs$selectArr11, _actionTabs$selectArr12, _actionTabs$selectArr13, _actionTabs$selectArr14; + var exercise = _ref.exercise, + dispatch = _ref.dispatch; + var params = (0,_umi_production_exports.useParams)(); + var _useState = (0,react.useState)(true), + _useState2 = slicedToArray_default()(_useState, 2), + coverAll = _useState2[0], + setCoverAll = _useState2[1]; + var _Form$useForm = es_form/* default.useForm */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + var actionTabs = exercise.actionTabs; + (0,react.useEffect)(function () { + if (exercise.actionTabs.key === '更改评阅') { + var _actionTabs$selectArr, _actionTabs$selectArr2, _actionTabs$selectArr3, _actionTabs$selectArr4; + form.resetFields(); + form.setFieldsValue({ + subjective_score: actionTabs === null || actionTabs === void 0 ? void 0 : (_actionTabs$selectArr = actionTabs.selectArrs) === null || _actionTabs$selectArr === void 0 ? void 0 : (_actionTabs$selectArr2 = _actionTabs$selectArr.record) === null || _actionTabs$selectArr2 === void 0 ? void 0 : _actionTabs$selectArr2.subjective_score, + objective_score: actionTabs === null || actionTabs === void 0 ? void 0 : (_actionTabs$selectArr3 = actionTabs.selectArrs) === null || _actionTabs$selectArr3 === void 0 ? void 0 : (_actionTabs$selectArr4 = _actionTabs$selectArr3.record) === null || _actionTabs$selectArr4 === void 0 ? void 0 : _actionTabs$selectArr4.objective_score + }); } }, [exercise.actionTabs.key]); var cancel = function cancel() { @@ -8162,21 +7414,5385 @@ var CameraMonitoring = function CameraMonitoring(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsx)(image_preview/* default */.Z, {})] }); }; -/* harmony default export */ var components_CameraMonitoring = ((0,_umi_production_exports.connect)(function (_ref6) { - var exercise = _ref6.exercise, - user = _ref6.user; +/* harmony default export */ var components_CameraMonitoring = ((0,_umi_production_exports.connect)(function (_ref6) { + var exercise = _ref6.exercise, + user = _ref6.user; + return { + exercise: exercise, + user: user + }; +})(CameraMonitoring)); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var DuplicateCheckingmodules = ({"flex_box_center":"flex_box_center___xF1ge","flex_space_between":"flex_space_between___YGq9c","flex_box_vertical_center":"flex_box_vertical_center___wd_iR","flex_box_center_end":"flex_box_center_end___HoL5p","flex_box_column":"flex_box_column___Oy7FC","warp":"warp____YDkr","header":"header___BRNBu","empty":"empty___iwhMt"}); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/components/SubjectTable/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var SubjectTablemodules = ({"flex_box_center":"flex_box_center___Xa_jj","flex_space_between":"flex_space_between___N_2qI","flex_box_vertical_center":"flex_box_vertical_center___wGZOw","flex_box_center_end":"flex_box_center_end___GYY4W","flex_box_column":"flex_box_column___jR_ZX","subjectTable":"subjectTable___WrGqf","title":"title___ZCcfg","customTable":"customTable___xSvZm","row":"row___Acnda","line":"line___nmQeX"}); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/components/SubjectTable/index.tsx + + + + + + + + + + + + + +var SubjectTable = function SubjectTable(_ref) { + var index = _ref.index, + bottomLine = _ref.bottomLine, + gather = _ref.gather, + search = _ref.search; + var _useState = (0,react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + list = _useState2[0], + setList = _useState2[1]; + var _useState3 = (0,react.useState)(false), + _useState4 = slicedToArray_default()(_useState3, 2), + loading = _useState4[0], + setLoading = _useState4[1]; + var _useState5 = (0,react.useState)(false), + _useState6 = slicedToArray_default()(_useState5, 2), + drop = _useState6[0], + setDrop = _useState6[1]; + var urlParams = (0,_umi_production_exports.useParams)(); + var location = (0,_umi_production_exports.useLocation)(); + var _useSearchParams = (0,_umi_production_exports.useSearchParams)(), + _useSearchParams2 = slicedToArray_default()(_useSearchParams, 1), + searchParams = _useSearchParams2[0]; + var _useState7 = (0,react.useState)({ + page: 1, + limit: 6, + total: 0 + }), + _useState8 = slicedToArray_default()(_useState7, 2), + params = _useState8[0], + setParams = _useState8[1]; + (0,react.useEffect)(function () { + console.log(gather, 'gather'); + if (index === 0) { + setDrop(true); + } + }, []); + (0,react.useEffect)(function () { + if (drop) { + getData(); + } + }, [drop]); + var columns = [{ + title: '序号', + dataIndex: 'index', + key: 'index', + align: 'left', + ellipsis: true, + render: function render(a, b, i) { + return params.limit * (params.page - 1) + i + 1; + } + }, { + title: '姓名', + dataIndex: 'username', + key: 'username', + align: 'left', + ellipsis: true + }, { + title: '班级', + dataIndex: 'user_group_name', + key: 'user_group_name', + align: 'left', + render: function render(a) { + return a || '--'; + } + }, { + title: '学号', + dataIndex: 'student_id', + key: 'student_id', + align: 'left' + }, { + title: '相似度', + dataIndex: 'code_rate', + key: 'code_rate', + align: 'left', + render: function render(a) { + return a + '%'; + } + }, { + title: '操作', + dataIndex: 'id', + key: 'id', + align: 'left', + render: function render(v) { + var url = "/classrooms/".concat(urlParams === null || urlParams === void 0 ? void 0 : urlParams.coursesId, "/exercise/").concat(urlParams === null || urlParams === void 0 ? void 0 : urlParams.categoryId, "/detail/").concat(v, "/review_detail"); + if (searchParams.get("random")) { + url = url + "?random=".concat(searchParams.get("random")); + } + return /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { + to: url, + target: "_blank", + children: "\u67E5\u770B" + }); + } + }]; + var getData = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(record) { + var initParams, body, res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + setLoading(true); + initParams = record || { + page: 1, + limit: 10, + total: 0 + }; + body = objectSpread2_default()({ + id: urlParams === null || urlParams === void 0 ? void 0 : urlParams.categoryId, + question_id: gather === null || gather === void 0 ? void 0 : gather.question_id, + search: search + }, initParams); + _context.next = 5; + return (0,fetch/* default */.ZP)("/api/courses/".concat(urlParams === null || urlParams === void 0 ? void 0 : urlParams.coursesId, "/exercises/code_review_users.json"), { + method: 'get', + params: body + }); + case 5: + res = _context.sent; + if (res) { + setList(res === null || res === void 0 ? void 0 : res.users); + setLoading(false); + setParams(objectSpread2_default()(objectSpread2_default()({}, initParams), {}, { + total: (res === null || res === void 0 ? void 0 : res.count) || 0 + })); + } + case 7: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function getData(_x) { + return _ref2.apply(this, arguments); + }; + }(); + var handleChangePage = function handleChangePage(page) { + var newParams = objectSpread2_default()(objectSpread2_default()({}, params), {}, { + page: page + }); + setParams(newParams); + getData(newParams); + }; + var handleDrop = function handleDrop() { + setDrop(!drop); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: SubjectTablemodules.subjectTable, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: SubjectTablemodules.title, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "c-light-primary", + children: [index + 1, "\u3001", (gather === null || gather === void 0 ? void 0 : gather.question_type) === 5 ? '实训题' : '编程题'] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "c-grey-333", + children: ["\uFF08", gather === null || gather === void 0 ? void 0 : gather.score, "\u5206\uFF09\uFF1A", gather === null || gather === void 0 ? void 0 : gather.question_title] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "ml40 c-grey-999", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", { + className: "c-red-ee4", + children: gather === null || gather === void 0 ? void 0 : gather.checked_count + }), "\xA0\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08\u5171", gather === null || gather === void 0 ? void 0 : gather.total_count, "\u4E2A\u4F5C\u54C1\uFF09"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + onClick: handleDrop, + style: { + marginLeft: 'auto', + cursor: 'pointer', + color: '#0152d9' + }, + children: [drop ? '收起' : '展开', drop ? /*#__PURE__*/(0,jsx_runtime.jsx)(UpOutlined/* default */.Z, {}) : /*#__PURE__*/(0,jsx_runtime.jsx)(DownOutlined/* default */.Z, {})] + }), (gather === null || gather === void 0 ? void 0 : gather.question_type) === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + style: { + marginLeft: 20 + }, + target: "_blank", + href: "/shixuns/".concat(gather === null || gather === void 0 ? void 0 : gather.shixun_identifier, "/challenges"), + children: "\u5B9E\u8BAD\u8BE6\u60C5" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + className: SubjectTablemodules.customTable, + style: { + display: drop ? 'block' : 'none' + }, + dataSource: list, + bordered: false, + rowKey: function rowKey(v) { + return v.id; + }, + rowClassName: SubjectTablemodules.row, + columns: columns, + loading: loading, + pagination: { + pageSize: params.limit, + total: params.total, + current: params.page, + onChange: handleChangePage, + showQuickJumper: true, + showSizeChanger: false, + hideOnSinglePage: true, + position: ["bottomCenter"] + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: SubjectTablemodules.line, + style: { + visibility: bottomLine ? 'hidden' : 'visible' + } + })] + }); +}; +/* harmony default export */ var components_SubjectTable = (SubjectTable); +// EXTERNAL MODULE: ./src/components/ImagesIcon/index.ts + 31 modules +var ImagesIcon = __webpack_require__(44190); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/index.tsx + + + + + + + + + + + + + + + +var DuplicateChecking = function DuplicateChecking(_ref) { + var exercise = _ref.exercise, + globalSetting = _ref.globalSetting, + dispatch = _ref.dispatch; + var _useState = (0,react.useState)(''), + _useState2 = slicedToArray_default()(_useState, 2), + value = _useState2[0], + setValue = _useState2[1]; + var _useState3 = (0,react.useState)([]), + _useState4 = slicedToArray_default()(_useState3, 2), + data = _useState4[0], + setData = _useState4[1]; + var _useState5 = (0,react.useState)(''), + _useState6 = slicedToArray_default()(_useState5, 2), + date = _useState6[0], + setDate = _useState6[1]; + var _useState7 = (0,react.useState)(false), + _useState8 = slicedToArray_default()(_useState7, 2), + loading = _useState8[0], + setLoading = _useState8[1]; + var urlParams = (0,_umi_production_exports.useParams)(); + (0,react.useEffect)(function () { + getData(); + }, []); + var getData = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(record) { + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + setLoading(true); + _context.next = 3; + return (0,fetch/* default */.ZP)("/api/courses/".concat(urlParams === null || urlParams === void 0 ? void 0 : urlParams.coursesId, "/exercises/code_review_results.json"), { + method: 'get', + params: { + id: urlParams === null || urlParams === void 0 ? void 0 : urlParams.categoryId, + search: value + } + }); + case 3: + res = _context.sent; + if (!((res === null || res === void 0 ? void 0 : res.status) === -2)) { + _context.next = 7; + break; + } + getData(); + return _context.abrupt("return"); + case 7: + if (res) { + setLoading(false); + setData((res === null || res === void 0 ? void 0 : res.exercise_questions) || []); + setDate(res === null || res === void 0 ? void 0 : res.last_review_time); + } + case 8: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function getData(_x) { + return _ref2.apply(this, arguments); + }; + }(); + var handleSearch = function handleSearch() { + // if (value === '') { + // message.info('请输入字符'); + // return; + // } + // setValue(''); + getData(); + }; + var renderEmpty = function renderEmpty() { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: DuplicateCheckingmodules.empty, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: ImagesIcon/* emptyIcon */.x7, + width: "258" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-grey-c", + children: "\u6682\u65E0\u6570\u636E" + })] + }); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: DuplicateCheckingmodules.warp, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: DuplicateCheckingmodules.header, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u67E5\u91CD\u65F6\u95F4\uFF1A", date || '--'] + }), !!date && /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + value: value, + onChange: function onChange(e) { + return setValue(e.target.value); + }, + suffix: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: handleSearch, + className: "iconfont icon-sousuo2 c-grey-c" + }), + bordered: false, + placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u641C\u7D22", + onPressEnter: handleSearch + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(skeleton/* default */.Z, { + loading: loading, + active: true, + paragraph: { + rows: 5 + }, + children: data.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + className: DuplicateCheckingmodules.subject, + children: data.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(components_SubjectTable, { + index: index, + bottomLine: index === data.length - 1, + gather: item, + search: value + }, index); + }) + }) : renderEmpty() + })] + }); +}; +/* harmony default export */ var components_DuplicateChecking = ((0,_umi_production_exports.connect)(function (_ref3) { + var exercise = _ref3.exercise, + globalSetting = _ref3.globalSetting; + return { + exercise: exercise, + globalSetting: globalSetting + }; +})(DuplicateChecking)); +// EXTERNAL MODULE: ./node_modules/antd/es/divider/style/index.js + 1 modules +var divider_style = __webpack_require__(98541); +// EXTERNAL MODULE: ./node_modules/antd/es/divider/index.js +var divider = __webpack_require__(27049); +// EXTERNAL MODULE: ./src/components/markdown-editor/index.tsx + 10 modules +var markdown_editor = __webpack_require__(55373); +// EXTERNAL MODULE: ./src/components/Editor/NullMDEditor.js +var NullMDEditor = __webpack_require__(37863); +// EXTERNAL MODULE: ./src/components/Editor/NullChildEditor/index.jsx + 1 modules +var NullChildEditor = __webpack_require__(2977); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/editor.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var editormodules = ({"flex_box_center":"flex_box_center___epJYP","flex_space_between":"flex_space_between___SU6BD","flex_box_vertical_center":"flex_box_vertical_center___Qes2t","flex_box_center_end":"flex_box_center_end___hGppz","flex_box_column":"flex_box_column___uzhhO","wrap":"wrap___rEjJ0","modal":"modal___gRDV9","titleWrap":"titleWrap___MK_OO","required":"required___Hja3H","title":"title___vMFKz","colorGray":"colorGray___hNhIL","choiceWrap":"choiceWrap___Xx5du","answer":"answer___cbuNE","activeAnswer":"activeAnswer___LwFG7","deleteIcon":"deleteIcon____HG4s","addIcon":"addIcon___r_Vhy","editorWrap":"editorWrap___OYwur","htmlWrap":"htmlWrap___qXHYn","radio":"radio___urtyZ","color333":"color333___Lah7k","color999":"color999___TmkZt","questionType":"questionType___r_bKw","questionChoices":"questionChoices___LA7VM","action":"action___fTTDM","difficult":"difficult___Mg7lT","fold":"fold___oVjRI","head":"head___fpwmn"}); +// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 1 modules +var RenderHtml = __webpack_require__(12768); +// EXTERNAL MODULE: ./src/components/Knowledge/index.tsx + 1 modules +var Knowledge = __webpack_require__(73221); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/CompletionEditor/index.tsx + + + + + + + + + + + + + + + + + + + + + + + + + + + + +var CompletionEditor_excluded = ["problemset", "globalSetting", "exercise", "loading", "dispatch", "editData", "editKey", "setEditKey", "cancelAdd", "addCallback", "reload", "setIsClaer"]; + + + + + + + + + + + + + +var tagList = (/* unused pure expression or super */ null && (['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])); +var NULL_CH = '▁'; +var CompletionEditor = function CompletionEditor(_ref, ref) { + var problemset = _ref.problemset, + globalSetting = _ref.globalSetting, + exercise = _ref.exercise, + loading = _ref.loading, + dispatch = _ref.dispatch, + editData = _ref.editData, + editKey = _ref.editKey, + _ref$setEditKey = _ref.setEditKey, + setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, + _ref$cancelAdd = _ref.cancelAdd, + cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, + _ref$addCallback = _ref.addCallback, + addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback, + _ref$reload = _ref.reload, + reload = _ref$reload === void 0 ? function () {} : _ref$reload, + _ref$setIsClaer = _ref.setIsClaer, + setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, + props = objectWithoutProperties_default()(_ref, CompletionEditor_excluded); + var _useState = (0,react.useState)(''), + _useState2 = slicedToArray_default()(_useState, 2), + title = _useState2[0], + setTitle = _useState2[1]; + var _useState3 = (0,react.useState)(''), + _useState4 = slicedToArray_default()(_useState3, 2), + analysis = _useState4[0], + setAnalysis = _useState4[1]; + var _useState5 = (0,react.useState)([]), + _useState6 = slicedToArray_default()(_useState5, 2), + answerList = _useState6[0], + setAnswerList = _useState6[1]; + var _useState7 = (0,react.useState)(''), + _useState8 = slicedToArray_default()(_useState7, 2), + activeOptionErrorIndex = _useState8[0], + setActiveOptionErrorIndex = _useState8[1]; + var _useState9 = (0,react.useState)(), + _useState10 = slicedToArray_default()(_useState9, 2), + checked = _useState10[0], + setChecked = _useState10[1]; + var _useState11 = (0,react.useState)(false), + _useState12 = slicedToArray_default()(_useState11, 2), + firstSetAnswerFlag = _useState12[0], + setFirstSetAnswerFlag = _useState12[1]; + var _useState13 = (0,react.useState)(), + _useState14 = slicedToArray_default()(_useState13, 2), + score = _useState14[0], + setScore = _useState14[1]; + var _useState15 = (0,react.useState)(0), + _useState16 = slicedToArray_default()(_useState15, 2), + totalBlanks = _useState16[0], + setTotalBlanks = _useState16[1]; + var _useState17 = (0,react.useState)(false), + _useState18 = slicedToArray_default()(_useState17, 2), + isEdit = _useState18[0], + setIsEdit = _useState18[1]; + var _useState19 = (0,react.useState)(false), + _useState20 = slicedToArray_default()(_useState19, 2), + btnSave = _useState20[0], + setBtnSave = _useState20[1]; + var _useState21 = (0,react.useState)([]), + _useState22 = slicedToArray_default()(_useState21, 2), + knowledge = _useState22[0], + setKnowledge = _useState22[1]; + var _useState23 = (0,react.useState)(1), + _useState24 = slicedToArray_default()(_useState23, 2), + difficulty = _useState24[0], + setdifficult = _useState24[1]; + var _useState25 = (0,react.useState)(false), + _useState26 = slicedToArray_default()(_useState25, 2), + repeat_answer = _useState26[0], + setrepeat_answer = _useState26[1]; + var freeze = (0,react.useRef)(false); + var params = (0,_umi_production_exports.useParams)(); + var _useState27 = (0,react.useState)([]), + _useState28 = slicedToArray_default()(_useState27, 2), + knowledgeOptions = _useState28[0], + setKnowledgeOptions = _useState28[1]; + var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { + setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); + }; + (0,react.useEffect)(function () { + if (freeze.current) return; + if (!(editData !== null && editData !== void 0 && editData.question_title)) { + setIsEdit(true); + setTitle(''); + setChecked(false); + setScore(2); + setAnswerList([]); + setActiveOptionErrorIndex(''); + setFirstSetAnswerFlag(false); + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); + setChecked(editData === null || editData === void 0 ? void 0 : editData.is_ordered); + setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); + setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); + setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); + var answer = editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item) { + return item.answer_text; + }); + setAnswerList(toConsumableArray_default()(answer)); + setKnowledge(editData.tag_discipline_ids); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + }, [editData, isEdit]); + (0,react.useEffect)(function () { + setFirstSetAnswerFlag(false); + if (isEdit) { + init(); + } + function init() { + return _init.apply(this, arguments); + } + function _init() { + _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _exercise$editData, _exercise$editData$ex; + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return (0,service_exercise/* getTagDiscipline */.YY)({ + sub_discipline_id: (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.sub_discipline_id + }); + case 2: + res = _context.sent; + setKnowledgeOptions(res.tag_disciplines); + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _init.apply(this, arguments); + } + }, [isEdit]); + (0,react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + isEdit: isEdit + }; + }); + (0,react.useEffect)(function () { + var _exercise$tagDiscipli; + var data = exercise !== null && exercise !== void 0 && (_exercise$tagDiscipli = exercise.tagDisciplineData) !== null && _exercise$tagDiscipli !== void 0 && _exercise$tagDiscipli.tag_disciplines && Array.isArray(exercise.tagDisciplineData.tag_disciplines) ? exercise.tagDisciplineData.tag_disciplines : []; + setKnowledgeOptions(data); + }, [exercise.tagDisciplineData]); + var repeal = function repeal(res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default.success */.ZP.success("保存成功"); + setIsEdit(false); + setEditKey(-1); + freeze.current = false; + reload(); + } + }; + var onSave = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + var answerArray, isEmpty, res, _exercise$editData4, _exercise$editData4$e, _exercise$editData5, _exercise$editData5$e; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + answerArray = []; + isEmpty = false; + setBtnSave(true); //保存的时候不弹出删除框 + answerList.forEach(function (answers, index) { + answerArray.push({ + choice_id: index + 1, + answer_text: [] + }); + answers.forEach(function (item, itemIndex) { + answerArray[index].answer_text.push(item); + if (!item || !(0,util/* validateLength */.eR)(item, 10000)) { + setActiveOptionErrorIndex("".concat(index, "-").concat(itemIndex)); + message/* default.info */.ZP.info(!item ? "\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A" : "答案不能超过10000字符"); + isEmpty = true; + } + }); + }); + if (!isEmpty) { + _context4.next = 7; + break; + } + setBtnSave(false); + return _context4.abrupt("return", false); + case 7: + // if (knowledge.length < 1) { + // message.info("请选择知识点"); + // return false; + // } + freeze.current = true; + if (!editData.question_id) { + _context4.next = 19; + break; + } + if (!((editData === null || editData === void 0 ? void 0 : editData.is_my) === 1)) { + _context4.next = 13; + break; + } + es_modal/* default.confirm */.Z.confirm({ + title: '提示', + content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', + okText: '覆盖原题', + cancelText: '不覆盖', + keyboard: false, + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var _exercise$editData2, _exercise$editData2$e; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "question_type": 3, + "question_score": score, + "is_ordered": checked, + "standard_answers": answerArray, + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.sub_discipline_id, + "difficulty": difficulty, + 'is_cover': 1, + "repeat_answer": !repeat_answer, + analysis: analysis + } + }); + case 2: + res = _context2.sent; + repeal(res); + case 4: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }(), + onCancel: function () { + var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + var _exercise$editData3, _exercise$editData3$e; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "question_type": 3, + "question_score": score, + "is_ordered": checked, + "standard_answers": answerArray, + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.sub_discipline_id, + "difficulty": difficulty, + "repeat_answer": !repeat_answer, + analysis: analysis + } + }); + case 2: + res = _context3.sent; + repeal(res); + case 4: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onCancel() { + return _onCancel.apply(this, arguments); + } + return onCancel; + }() + }); + _context4.next = 17; + break; + case 13: + _context4.next = 15; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "question_type": 3, + "question_score": score, + "is_ordered": checked, + "standard_answers": answerArray, + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.sub_discipline_id, + "difficulty": difficulty, + "repeat_answer": !repeat_answer, + analysis: analysis + } + }); + case 15: + res = _context4.sent; + repeal(res); + case 17: + _context4.next = 23; + break; + case 19: + _context4.next = 21; + return dispatch({ + type: "exercise/addExerciseQuestion", + payload: { + insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, + "categoryId": params.categoryId, + "question_title": title, + "question_type": 3, + "question_score": score, + "is_ordered": checked, + "standard_answers": answerArray, + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.sub_discipline_id, + "difficulty": difficulty, + "repeat_answer": !repeat_answer, + analysis: analysis + } + }); + case 21: + res = _context4.sent; + repeal(res); + case 23: + setBtnSave(false); + return _context4.abrupt("return", { + name: title, + analysis: analysis, + standard_answers: answerArray, + is_ordered: checked + }); + case 25: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return function onSave() { + return _ref2.apply(this, arguments); + }; + }(); + var handlePlaceholderChange = function handlePlaceholderChange(placeholderCountBefore, placeholderCountInRange, totalPlaceholderCount) { + var newStandardAnswers = answerList.slice(); + if (placeholderCountInRange) { + newStandardAnswers.splice(placeholderCountBefore, placeholderCountInRange); + } + if (totalPlaceholderCount && firstSetAnswerFlag || !editData.question_id) { + for (var i = 0; i < totalPlaceholderCount; i++) { + newStandardAnswers.splice(placeholderCountBefore + i, 0, [""]); + } + } + setTotalBlanks(newStandardAnswers === null || newStandardAnswers === void 0 ? void 0 : newStandardAnswers.length); + setFirstSetAnswerFlag(true); + console.log(newStandardAnswers, 'newStandardAnswers'); + setAnswerList(newStandardAnswers); + }; + var handleAnswerChange = function handleAnswerChange(index, itemIndex, val) { + setActiveOptionErrorIndex(''); + var newStandardAnswers = answerList.slice(); + newStandardAnswers[index][itemIndex] = val; + setAnswerList(newStandardAnswers); + }; + var handleAddChildAnswer = function handleAddChildAnswer(index) { + var newStandardAnswers = answerList.slice(); + newStandardAnswers[index] = [].concat(toConsumableArray_default()(newStandardAnswers[index]), ['']); + setAnswerList(newStandardAnswers); + }; + var handleDeleteChildAnswer = function handleDeleteChildAnswer(index, childIndex) { + var newStandardAnswers = answerList.slice(); + if (!newStandardAnswers[index][childIndex]) { + newStandardAnswers[index] = newStandardAnswers[index].filter(function (_, key) { + return key !== childIndex; + }); + setAnswerList(newStandardAnswers); + return; + } + es_modal/* default.confirm */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '提示', + content: '确认要删除这个参考答案吗?', + className: editormodules.modal, + onOk: function onOk() { + newStandardAnswers[index] = newStandardAnswers[index].filter(function (_, key) { + return key !== childIndex; + }); + setAnswerList(newStandardAnswers); + } + }); + }; + var handleDeleteChildAnswermain = function handleDeleteChildAnswermain(index) { + es_modal/* default.confirm */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '提示', + content: '确认要删除这个参考答案吗?', + className: editormodules.modal, + onOk: function onOk() { + var key = 0; + setTitle(title.replace(/\▁/g, function (item) { + key++; + if (key - 1 === index) { + return ""; + } else { + return item; + } + })); + setTimeout(function () { + var newStandardAnswers = answerList.slice(); + newStandardAnswers = answerList.filter(function (_, key) { + return index !== key; + }); + setAnswerList(newStandardAnswers); + }, 500); + } + }); + }; + var onChange = function onChange() {}; + var showEdit = function showEdit() { + var _exercise$editData6, _exercise$editData6$e, _exercise$editData7, _exercise$editData7$e, _exercise$editData9, _exercise$editData9$e; + console.log(answerList, 'answers'); + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font16 c-blue", + children: "\u586B\u7A7A\u9898" + }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848 \uFF1B\u652F\u6301\u6700\u591A5\u4E2A\u7A7A\uFF0C\u6BCF\u7A7A\u5F97\u5206\u6309\u7167\u672C\u9898\u7684\u603B\u5206\u5E73\u5747\u8BA1\u7B97\uFF09"] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(NullMDEditor/* default */.Z, { + id: "completion-question-tittle", + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE", + height: 155, + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + }, + showNullButton: ((_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.exercise_status) === 1 ? true : false, + deleteEmptyDisabled: (((_exercise$editData7 = exercise.editData) === null || _exercise$editData7 === void 0 ? void 0 : (_exercise$editData7$e = _exercise$editData7.exercise) === null || _exercise$editData7$e === void 0 ? void 0 : _exercise$editData7$e.exercise_status) === 1 ? false : true) || btnSave, + onPlaceholderChange: handlePlaceholderChange + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt20", + children: answerList.map(function (answers, index) { + var _exercise$editData8, _exercise$editData8$e; + return /*#__PURE__*/(0,jsx_runtime.jsx)(NullChildEditor/* default */.Z, { + answers: answers, + index: index, + is_md: true, + exerciseIsPublish: ((_exercise$editData8 = exercise.editData) === null || _exercise$editData8 === void 0 ? void 0 : (_exercise$editData8$e = _exercise$editData8.exercise) === null || _exercise$editData8$e === void 0 ? void 0 : _exercise$editData8$e.exercise_status) !== 1, + activeOptionErrorIndex: activeOptionErrorIndex, + onAnswerChange: handleAnswerChange, + addChildAnswer: handleAddChildAnswer, + deleteChildAnswer: handleDeleteChildAnswer, + deleteChildAnswermain: handleDeleteChildAnswermain + }, index); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt20", + children: answerList.length > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { + checked: checked, + onChange: function onChange(e) { + return setChecked(e.target.checked); + }, + className: "".concat(editormodules.color333, " font14"), + children: "\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(editormodules.color999, " font12"), + children: "\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: "", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: 'red' + }, + children: "*" + }), "\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + value: score, + max: 10000, + min: 0, + onChange: function onChange(value) { + setScore(value); + } + }), " \u5206 \xA0 ", !!score && !!totalBlanks && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + color: 'red' + }, + children: ["(\u6839\u636E\u5747\u5206\u89C4\u5219\uFF0C\u672C\u9898\u6BCF\u7A7A", (score / totalBlanks).toFixed(1), "\u5206)"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + marginLeft: '30px' + }, + className: editormodules.difficult, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { + style: { + color: 'red' + }, + children: "*" + }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + value: difficulty, + onChange: function onChange(e) { + setdifficult(e.target.value); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 1, + children: "\u7B80\u5355" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 2, + children: "\u9002\u4E2D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 3, + children: "\u56F0\u96BE" + })] + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "".concat(editormodules.title), + children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { + value: knowledge, + selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, + onChange: setKnowledge, + subId: (_exercise$editData9 = exercise.editData) === null || _exercise$editData9 === void 0 ? void 0 : (_exercise$editData9$e = _exercise$editData9.exercise) === null || _exercise$editData9$e === void 0 ? void 0 : _exercise$editData9$e.sub_discipline_id, + knowledgeOptions: knowledgeOptions, + onAddKnowledgeFinish: handleAddKnowledgeFinish + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginTop: 10 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginRight: 10 + }, + children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { + checked: repeat_answer, + onChange: function onChange(e) { + setrepeat_answer(e); + } + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: "tr", + children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + type: "default", + onClick: function onClick() { + cancelAdd(); + setIsEdit(false); + }, + children: "\u53D6\u6D88" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: "ml20", + type: "primary", + onClick: function onClick() { + onSave(); + }, + children: "\u4FDD\u5B58" + })] + })] + }); + }; + var actionArr = [{ + name: "删除", + icon: "iconfont c-light-black ml30 icon-shanchu current", + id: "del" + }, + // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, + // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, + { + name: "(向下插入单选题)", + icon: "iconfont c-light-primary ml30 icon-tianjia current", + id: "add" + }, { + name: "编辑", + icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", + id: "edit" + }].filter(function (item) { + var _exercise$editData10, _exercise$editData10$; + if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData10 = exercise.editData) === null || _exercise$editData10 === void 0 ? void 0 : (_exercise$editData10$ = _exercise$editData10.exercise) === null || _exercise$editData10$ === void 0 ? void 0 : _exercise$editData10$.exercise_status) === 1) { + return item; + } else { + return item.id !== 'del' && item.id !== 'add'; + } + }); + var actionClick = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) { + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { + case 0: + if (!(editKey !== -1)) { + _context6.next = 3; + break; + } + message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); + return _context6.abrupt("return"); + case 3: + _context6.t0 = item.id; + _context6.next = _context6.t0 === "del" ? 6 : _context6.t0 === "up" ? 8 : _context6.t0 === "down" ? 8 : _context6.t0 === "edit" ? 12 : _context6.t0 === "add" ? 15 : 17; + break; + case 6: + es_modal/* default.confirm */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '确认要删除这个试题吗?', + onOk: function onOk() { + return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + _context5.next = 2; + return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ + id: editData.question_id + }); + case 2: + dispatch({ + type: "exercise/editExercise", + payload: objectSpread2_default()({}, params) + }); + case 3: + case "end": + return _context5.stop(); + } + }, _callee5); + }))(); + } + }); + return _context6.abrupt("break", 17); + case 8: + _context6.next = 10; + return dispatch({ + type: "exercise/exeriseMoveUpDown", + payload: { + id: editData.question_id, + opr: item.id + } + }); + case 10: + dispatch({ + type: "exercise/editExercise", + payload: objectSpread2_default()({}, params) + }); + return _context6.abrupt("break", 17); + case 12: + setEditKey(editData.dragKey); + setIsEdit(true); + return _context6.abrupt("break", 17); + case 15: + addCallback({ + key: editData.key, + insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, + question_type: 3 + }); + return _context6.abrupt("break", 17); + case 17: + case "end": + return _context6.stop(); + } + }, _callee6); + })); + return function actionClick(_x) { + return _ref3.apply(this, arguments); + }; + }(); + var showList = function showList() { + var _editData$standard_an; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font16 c-blue", + children: [editData.key, "\u3001\u586B\u7A7A\u9898"] + }), "\uFF08", editData.question_score, "\u5206\uFF09"] + }) + }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font18", + children: [editData.key, "."] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font16", + children: ["\uFF08", editData.question_score, "\u5206\uFF09"] + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionChoices, + children: editData === null || editData === void 0 ? void 0 : (_editData$standard_an = editData.standard_answer) === null || _editData$standard_an === void 0 ? void 0 : _editData$standard_an.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + children: ["\u7B54\u6848\uFF08\u586B\u7A7A", item.choice_id, "\uFF09\uFF1A"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: "1", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + align: "middle", + gutter: [1, 1], + children: item.answer_text.map(function (val, key) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 24, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + checked: editData.standard_answer.includes(index), + disabled: true, + value: val + }, index) + }, key); + }) + }) + })] + }, index); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.action, + children: !editData.hideAction && actionArr.map(function (item, index) { + if (item.id === "up" && editData.key === 1) return null; + if (item.id === "down" && editData.key === editData.len) return null; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "bottom", + title: item.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + return actionClick(item); + }, + className: item.icon + }) + }, index); + }) + })] + }); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [!isEdit && showList(), isEdit && showEdit()] + }); +}; +/* harmony default export */ var components_CompletionEditor = ((0,_umi_production_exports.connect)(function (_ref4) { + var problemset = _ref4.problemset, + loading = _ref4.loading, + exercise = _ref4.exercise, + globalSetting = _ref4.globalSetting; + return { + problemset: problemset, + globalSetting: globalSetting, + exercise: exercise, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,react.forwardRef)(CompletionEditor))); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/JudgmentEditor/index.tsx + + + + + + + + + + + + + + + + + + + + +var JudgmentEditor_excluded = ["problemset", "globalSetting", "exercise", "loading", "dispatch", "onRef", "editData", "editKey", "setEditKey", "cancelAdd", "reload", "addCallback", "setIsClaer"]; + + + + + + + + + + +var JudgmentEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; +var JudgmentEditor = function JudgmentEditor(_ref, ref) { + var problemset = _ref.problemset, + globalSetting = _ref.globalSetting, + exercise = _ref.exercise, + loading = _ref.loading, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + editData = _ref.editData, + editKey = _ref.editKey, + _ref$setEditKey = _ref.setEditKey, + setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, + _ref$cancelAdd = _ref.cancelAdd, + cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, + _ref$reload = _ref.reload, + reload = _ref$reload === void 0 ? function () {} : _ref$reload, + _ref$addCallback = _ref.addCallback, + addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback, + _ref$setIsClaer = _ref.setIsClaer, + setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, + props = objectWithoutProperties_default()(_ref, JudgmentEditor_excluded); + var _useState = (0,react.useState)(), + _useState2 = slicedToArray_default()(_useState, 2), + activeAnswer = _useState2[0], + setActiveAnswer = _useState2[1]; + var _useState3 = (0,react.useState)(''), + _useState4 = slicedToArray_default()(_useState3, 2), + title = _useState4[0], + setTitle = _useState4[1]; + var _useState5 = (0,react.useState)(false), + _useState6 = slicedToArray_default()(_useState5, 2), + isEdit = _useState6[0], + setIsEdit = _useState6[1]; + var _useState7 = (0,react.useState)(), + _useState8 = slicedToArray_default()(_useState7, 2), + score = _useState8[0], + setScore = _useState8[1]; + var _useState9 = (0,react.useState)([]), + _useState10 = slicedToArray_default()(_useState9, 2), + knowledge = _useState10[0], + setKnowledge = _useState10[1]; + var _useState11 = (0,react.useState)([]), + _useState12 = slicedToArray_default()(_useState11, 2), + knowledgeOptions = _useState12[0], + setKnowledgeOptions = _useState12[1]; + var _useState13 = (0,react.useState)(1), + _useState14 = slicedToArray_default()(_useState13, 2), + difficulty = _useState14[0], + setdifficult = _useState14[1]; + var _useState15 = (0,react.useState)(false), + _useState16 = slicedToArray_default()(_useState15, 2), + repeat_answer = _useState16[0], + setrepeat_answer = _useState16[1]; + var _useState17 = (0,react.useState)(''), + _useState18 = slicedToArray_default()(_useState17, 2), + analysis = _useState18[0], + setAnalysis = _useState18[1]; + var freeze = (0,react.useRef)(false); + var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { + setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); + }; + var params = (0,_umi_production_exports.useParams)(); + (0,react.useEffect)(function () { + if (freeze.current) return; + if (!(editData !== null && editData !== void 0 && editData.question_choices)) { + setIsEdit(true); + setTitle(''); + setScore(2); + setActiveAnswer(''); + return; + } + setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); + setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); + setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); + setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); + // const answer = editData?.question_choices.find(item => item.is_answer); + setActiveAnswer(editData.standard_answer[0] + ''); + setKnowledge(editData.tag_discipline_ids); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + }, [editData, isEdit]); + (0,react.useEffect)(function () { + if (isEdit) { + init(); + } + function init() { + return _init.apply(this, arguments); + } + function _init() { + _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _exercise$editData, _exercise$editData$ex; + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return (0,service_exercise/* getTagDiscipline */.YY)({ + sub_discipline_id: (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.sub_discipline_id + }); + case 2: + res = _context.sent; + setKnowledgeOptions(res.tag_disciplines); + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _init.apply(this, arguments); + } + }, [isEdit]); + (0,react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + isEdit: isEdit + }; + }); + (0,react.useEffect)(function () { + var _exercise$tagDiscipli; + var data = exercise !== null && exercise !== void 0 && (_exercise$tagDiscipli = exercise.tagDisciplineData) !== null && _exercise$tagDiscipli !== void 0 && _exercise$tagDiscipli.tag_disciplines && Array.isArray(exercise.tagDisciplineData.tag_disciplines) ? exercise.tagDisciplineData.tag_disciplines : []; + setKnowledgeOptions(data); + }, [exercise.tagDisciplineData]); + var repeal = function repeal(res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default.success */.ZP.success("保存成功"); + setIsEdit(false); + setEditKey(-1); + freeze.current = false; + reload(); + } + }; + var onSave = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + var choices, res, _exercise$editData4, _exercise$editData4$e, _exercise$editData5, _exercise$editData5$e; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + if (title) { + _context4.next = 3; + break; + } + message/* default.info */.ZP.info("请您输入题干"); + return _context4.abrupt("return", false); + case 3: + if (activeAnswer) { + _context4.next = 6; + break; + } + message/* default.info */.ZP.info("请先点击选择本选择题的正确选项"); + return _context4.abrupt("return", false); + case 6: + // if (knowledge.length < 1) { + // message.info("请选择知识点"); + // return false; + // } + choices = [{ + choice_text: "正确", + is_answer: activeAnswer === "1" ? 1 : 0 + }, { + choice_text: "错误", + is_answer: activeAnswer === "2" ? 2 : 0 + }]; + freeze.current = true; + if (!editData.question_id) { + _context4.next = 19; + break; + } + if (!((editData === null || editData === void 0 ? void 0 : editData.is_my) === 1)) { + _context4.next = 13; + break; + } + es_modal/* default.confirm */.Z.confirm({ + title: '提示', + content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', + okText: '覆盖原题', + cancelText: '不覆盖', + keyboard: false, + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var _exercise$editData2, _exercise$editData2$e; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "question_type": 2, + "question_score": score, + "question_choices": choices.map(function (item) { + return item.choice_text; + }), + "standard_answers": choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }), + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.sub_discipline_id, + "difficulty": difficulty, + 'is_cover': 1, + "repeat_answer": !repeat_answer, + analysis: analysis + } + }); + case 2: + res = _context2.sent; + repeal(res); + case 4: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }(), + onCancel: function () { + var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + var _exercise$editData3, _exercise$editData3$e; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "question_type": 2, + "question_score": score, + "question_choices": choices.map(function (item) { + return item.choice_text; + }), + "standard_answers": choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }), + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.sub_discipline_id, + "difficulty": difficulty, + "repeat_answer": !repeat_answer, + analysis: analysis + } + }); + case 2: + res = _context3.sent; + repeal(res); + case 4: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onCancel() { + return _onCancel.apply(this, arguments); + } + return onCancel; + }() + }); + _context4.next = 17; + break; + case 13: + _context4.next = 15; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "question_type": 2, + "question_score": score, + "question_choices": choices.map(function (item) { + return item.choice_text; + }), + "standard_answers": choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }), + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.sub_discipline_id, + "difficulty": difficulty, + "repeat_answer": !repeat_answer, + analysis: analysis + } + }); + case 15: + res = _context4.sent; + repeal(res); + case 17: + _context4.next = 23; + break; + case 19: + _context4.next = 21; + return dispatch({ + type: "exercise/addExerciseQuestion", + payload: { + insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, + "categoryId": params.categoryId, + "question_title": title, + "question_type": 2, + "question_score": score, + "question_choices": choices.map(function (item) { + return item.choice_text; + }), + "standard_answers": choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }), + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.sub_discipline_id, + "difficulty": difficulty, + "repeat_answer": !repeat_answer, + analysis: analysis + } + }); + case 21: + res = _context4.sent; + repeal(res); + case 23: + return _context4.abrupt("return", { + name: title, + choices: choices + }); + case 24: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return function onSave() { + return _ref2.apply(this, arguments); + }; + }(); + var actionArr = [{ + name: "删除", + icon: "iconfont c-light-black ml30 icon-shanchu current", + id: "del" + }, + // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, + // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, + { + name: "(向下插入单选题)", + icon: "iconfont c-light-primary ml30 icon-tianjia current", + id: "add" + }, { + name: "编辑", + icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", + id: "edit" + }].filter(function (item) { + var _exercise$editData6, _exercise$editData6$e; + if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.exercise_status) === 1) { + return item; + } else { + return item.id !== 'del' && item.id !== 'add'; + } + }); + var actionClick = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) { + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { + case 0: + if (!(editKey !== -1)) { + _context6.next = 3; + break; + } + message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); + return _context6.abrupt("return"); + case 3: + _context6.t0 = item.id; + _context6.next = _context6.t0 === "del" ? 6 : _context6.t0 === "up" ? 8 : _context6.t0 === "down" ? 8 : _context6.t0 === "edit" ? 12 : _context6.t0 === "add" ? 15 : 17; + break; + case 6: + es_modal/* default.confirm */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '确认要删除这个试题吗?', + onOk: function onOk() { + return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + _context5.next = 2; + return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ + id: editData.question_id + }); + case 2: + dispatch({ + type: "exercise/editExercise", + payload: objectSpread2_default()({}, params) + }); + case 3: + case "end": + return _context5.stop(); + } + }, _callee5); + }))(); + } + }); + return _context6.abrupt("break", 17); + case 8: + _context6.next = 10; + return dispatch({ + type: "exercise/exeriseMoveUpDown", + payload: { + id: editData.question_id, + opr: item.id + } + }); + case 10: + dispatch({ + type: "exercise/editExercise", + payload: objectSpread2_default()({}, params) + }); + return _context6.abrupt("break", 17); + case 12: + setEditKey(editData.dragKey); + setIsEdit(true); + return _context6.abrupt("break", 17); + case 15: + addCallback({ + key: editData.key, + insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, + question_type: 2 + }); + return _context6.abrupt("break", 17); + case 17: + case "end": + return _context6.stop(); + } + }, _callee6); + })); + return function actionClick(_x) { + return _ref3.apply(this, arguments); + }; + }(); + var showList = function showList() { + var _editData$question_ch; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font16 c-blue", + children: [editData.key, "\u3001\u5224\u65AD\u9898"] + }), "\uFF08", editData.question_score, "\u5206\uFF09"] + }) + }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font18", + children: [editData.key, "."] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font16", + children: ["\uFF08", editData.question_score, "\u5206\uFF09"] + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionChoices, + children: editData === null || editData === void 0 ? void 0 : (_editData$question_ch = editData.question_choices) === null || _editData$question_ch === void 0 ? void 0 : _editData$question_ch.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { + checked: editData.standard_answer.includes(index + 1), + disabled: true, + children: [JudgmentEditor_tagList[index], ". ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-black font14", + children: item.choice_text + })] + }, index); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.action, + children: !editData.hideAction && actionArr.map(function (item, index) { + if (item.id === "up" && editData.key === 1) return null; + if (item.id === "down" && editData.key === editData.len) return null; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "bottom", + title: item.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + return actionClick(item); + }, + className: item.icon + }) + }, index); + }) + })] + }); + }; + var showEdit = function showEdit() { + var _exercise$editData7, _exercise$editData7$e; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font16 c-blue", + children: "\u5224\u65AD\u9898" + }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: editormodules.title, + children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + buttonStyle: "solid", + value: activeAnswer, + onChange: function onChange(e) { + return setActiveAnswer(e.target.value); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: "1", + className: "".concat(editormodules.radio, " mr40"), + children: "\u6B63\u786E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: "2", + className: editormodules.radio, + children: "\u9519\u8BEF" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: "c-orange", + children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\uFF0C\u53EF\u4EE5\u76F4\u63A5\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: "", + children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + value: score, + max: 10000, + min: 0, + onChange: function onChange(value) { + setScore(value); + } + }), " \u5206", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + marginLeft: '30px' + }, + className: editormodules.difficult, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { + style: { + color: 'red' + }, + children: "*" + }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + value: difficulty, + onChange: function onChange(e) { + setdifficult(e.target.value); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 1, + children: "\u7B80\u5355" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 2, + children: "\u9002\u4E2D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 3, + children: "\u56F0\u96BE" + })] + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "".concat(editormodules.title), + children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { + value: knowledge, + selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, + onChange: setKnowledge, + subId: (_exercise$editData7 = exercise.editData) === null || _exercise$editData7 === void 0 ? void 0 : (_exercise$editData7$e = _exercise$editData7.exercise) === null || _exercise$editData7$e === void 0 ? void 0 : _exercise$editData7$e.sub_discipline_id, + knowledgeOptions: knowledgeOptions, + onAddKnowledgeFinish: handleAddKnowledgeFinish + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginTop: 10 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginRight: 10 + }, + children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { + checked: repeat_answer, + onChange: function onChange(e) { + setrepeat_answer(e); + } + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: "tr", + children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + type: "default", + onClick: function onClick() { + cancelAdd(); + setIsEdit(false); + }, + children: "\u53D6\u6D88" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: "ml20", + type: "primary", + onClick: function onClick() { + onSave(); + }, + children: "\u4FDD\u5B58" + })] + })] + }); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [!isEdit && showList(), isEdit && showEdit()] + }); +}; +/* harmony default export */ var components_JudgmentEditor = ((0,_umi_production_exports.connect)(function (_ref4) { + var problemset = _ref4.problemset, + loading = _ref4.loading, + exercise = _ref4.exercise, + globalSetting = _ref4.globalSetting; + return { + problemset: problemset, + globalSetting: globalSetting, + exercise: exercise, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,react.forwardRef)(JudgmentEditor))); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/MultipleEditor/index.tsx + + + + + + + + + + + + + + + + + + + + + + + + + + +var MultipleEditor_excluded = ["problemset", "globalSetting", "exercise", "loading", "dispatch", "onRef", "editData", "cancelAdd", "editKey", "setEditKey", "setIsClaer", "addCallback", "reload"]; + + + + + + + + + + + +var MultipleEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; +var MultipleEditor = /*#__PURE__*/(0,react.forwardRef)(function (_ref, ref) { + var problemset = _ref.problemset, + globalSetting = _ref.globalSetting, + exercise = _ref.exercise, + loading = _ref.loading, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + editData = _ref.editData, + _ref$cancelAdd = _ref.cancelAdd, + cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, + editKey = _ref.editKey, + _ref$setEditKey = _ref.setEditKey, + setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, + _ref$setIsClaer = _ref.setIsClaer, + setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, + _ref$addCallback = _ref.addCallback, + addCallback = _ref$addCallback === void 0 ? function (value) {} : _ref$addCallback, + _ref$reload = _ref.reload, + reload = _ref$reload === void 0 ? function () {} : _ref$reload, + props = objectWithoutProperties_default()(_ref, MultipleEditor_excluded); + var _useState = (0,react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + questionChoiceList = _useState2[0], + setQuestionChoiceList = _useState2[1]; + var _useState3 = (0,react.useState)(), + _useState4 = slicedToArray_default()(_useState3, 2), + activeEditor = _useState4[0], + setActiveEditor = _useState4[1]; + var _useState5 = (0,react.useState)([]), + _useState6 = slicedToArray_default()(_useState5, 2), + activeAnswer = _useState6[0], + setActiveAnswer = _useState6[1]; + var _useState7 = (0,react.useState)(''), + _useState8 = slicedToArray_default()(_useState7, 2), + title = _useState8[0], + setTitle = _useState8[1]; + var _useState9 = (0,react.useState)(), + _useState10 = slicedToArray_default()(_useState9, 2), + score = _useState10[0], + setScore = _useState10[1]; + var _useState11 = (0,react.useState)(false), + _useState12 = slicedToArray_default()(_useState11, 2), + isEdit = _useState12[0], + setIsEdit = _useState12[1]; + var _useState13 = (0,react.useState)([]), + _useState14 = slicedToArray_default()(_useState13, 2), + knowledge = _useState14[0], + setKnowledge = _useState14[1]; + var _useState15 = (0,react.useState)(1), + _useState16 = slicedToArray_default()(_useState15, 2), + difficulty = _useState16[0], + setdifficult = _useState16[1]; + var _useState17 = (0,react.useState)(false), + _useState18 = slicedToArray_default()(_useState17, 2), + repeat_answer = _useState18[0], + setrepeat_answer = _useState18[1]; + var _useState19 = (0,react.useState)(''), + _useState20 = slicedToArray_default()(_useState19, 2), + analysis = _useState20[0], + setAnalysis = _useState20[1]; + var _useState21 = (0,react.useState)([]), + _useState22 = slicedToArray_default()(_useState21, 2), + knowledgeOptions = _useState22[0], + setKnowledgeOptions = _useState22[1]; + var freeze = (0,react.useRef)(false); + var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { + setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); + }; + var params = (0,_umi_production_exports.useParams)(); + (0,react.useEffect)(function () { + setQuestionChoiceList(['', '', '', '']); + }, []); + (0,react.useEffect)(function () { + if (freeze.current) return; + if (!(editData !== null && editData !== void 0 && editData.question_choices)) { + setIsEdit(true); + setTitle(''); + setScore(5); + setQuestionChoiceList(['', '', '', '']); + setActiveAnswer([]); + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); + setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); + setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); + setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); + setQuestionChoiceList(editData === null || editData === void 0 ? void 0 : editData.question_choices.map(function (item) { + return item.choice_text; + })); + var answerIndexs = []; + editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item, index) { + answerIndexs.push(item - 1); + }); + setActiveAnswer(answerIndexs); + setKnowledge(editData.tag_discipline_ids); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + }, [editData, isEdit]); + (0,react.useEffect)(function () { + if (isEdit) { + init(); + } + function init() { + return _init.apply(this, arguments); + } + function _init() { + _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _exercise$editData, _exercise$editData$ex; + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return (0,service_exercise/* getTagDiscipline */.YY)({ + sub_discipline_id: (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.sub_discipline_id + }); + case 2: + res = _context.sent; + setKnowledgeOptions(res.tag_disciplines); + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _init.apply(this, arguments); + } + }, [isEdit]); + (0,react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + isEdit: isEdit + }; + }); + (0,react.useEffect)(function () { + var _exercise$tagDiscipli; + var data = exercise !== null && exercise !== void 0 && (_exercise$tagDiscipli = exercise.tagDisciplineData) !== null && _exercise$tagDiscipli !== void 0 && _exercise$tagDiscipli.tag_disciplines && Array.isArray(exercise.tagDisciplineData.tag_disciplines) ? exercise.tagDisciplineData.tag_disciplines : []; + setKnowledgeOptions(data); + }, [exercise.tagDisciplineData]); + var repeal = function repeal(res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default.success */.ZP.success("保存成功"); + setIsEdit(false); + setEditKey(-1); + freeze.current = false; + reload(); + } + }; + var onSave = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + var findNotAnswerIndex, choices, res, _exercise$editData4, _exercise$editData4$e, _exercise$editData5, _exercise$editData5$e; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + if (title) { + _context4.next = 3; + break; + } + message/* default.info */.ZP.info('请您输入题目'); + return _context4.abrupt("return", false); + case 3: + findNotAnswerIndex = questionChoiceList.findIndex(function (item) { + return !item; + }); + if (!(findNotAnswerIndex > -1)) { + _context4.next = 7; + break; + } + message/* default.info */.ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(MultipleEditor_tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9")); + return _context4.abrupt("return", false); + case 7: + if (activeAnswer.length) { + _context4.next = 10; + break; + } + message/* default.info */.ZP.info('请设置本题的正确答案,点击选项A/B...即可完成设置'); + return _context4.abrupt("return", false); + case 10: + if (!(activeAnswer.length < 1)) { + _context4.next = 13; + break; + } + message/* default.info */.ZP.info('请选择答案'); + return _context4.abrupt("return", false); + case 13: + // if (knowledge.length < 1) { + // message.info("请选择知识点"); + // return false; + // } + choices = questionChoiceList.map(function (item, index) { + return { + choice_text: item, + is_answer: activeAnswer.includes(index) ? index + 1 : 0 + }; + }); + freeze.current = true; + if (!editData.question_id) { + _context4.next = 26; + break; + } + if (!((editData === null || editData === void 0 ? void 0 : editData.is_my) === 1)) { + _context4.next = 20; + break; + } + es_modal/* default.confirm */.Z.confirm({ + title: '提示', + content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', + okText: '覆盖原题', + cancelText: '不覆盖', + keyboard: false, + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var _exercise$editData2, _exercise$editData2$e; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return dispatch({ + type: 'exercise/editExerciseQuestion', + payload: { + id: editData.question_id, + question_title: title, + question_type: 1, + question_score: score, + question_choices: choices.map(function (item) { + return item.choice_text; + }), + standard_answers: choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }), + tag_discipline_ids: knowledge, + sub_discipline_id: (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.sub_discipline_id, + difficulty: difficulty, + is_cover: 1, + repeat_answer: !repeat_answer, + analysis: analysis + } + }); + case 2: + res = _context2.sent; + repeal(res); + case 4: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }(), + onCancel: function () { + var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + var _exercise$editData3, _exercise$editData3$e; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return dispatch({ + type: 'exercise/editExerciseQuestion', + payload: { + id: editData.question_id, + question_title: title, + question_type: 1, + question_score: score, + question_choices: choices.map(function (item) { + return item.choice_text; + }), + standard_answers: choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }), + tag_discipline_ids: knowledge, + sub_discipline_id: (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.sub_discipline_id, + difficulty: difficulty, + repeat_answer: !repeat_answer, + analysis: analysis + } + }); + case 2: + res = _context3.sent; + repeal(res); + case 4: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onCancel() { + return _onCancel.apply(this, arguments); + } + return onCancel; + }() + }); + _context4.next = 24; + break; + case 20: + _context4.next = 22; + return dispatch({ + type: 'exercise/editExerciseQuestion', + payload: { + id: editData.question_id, + question_title: title, + question_type: 1, + question_score: score, + question_choices: choices.map(function (item) { + return item.choice_text; + }), + standard_answers: choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }), + tag_discipline_ids: knowledge, + sub_discipline_id: (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.sub_discipline_id, + difficulty: difficulty, + repeat_answer: !repeat_answer, + analysis: analysis + } + }); + case 22: + res = _context4.sent; + repeal(res); + case 24: + _context4.next = 30; + break; + case 26: + _context4.next = 28; + return dispatch({ + type: 'exercise/addExerciseQuestion', + payload: { + insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, + categoryId: params.categoryId, + question_title: title, + question_type: 1, + question_score: score, + question_choices: choices.map(function (item) { + return item.choice_text; + }), + standard_answers: choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }), + tag_discipline_ids: knowledge, + sub_discipline_id: (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.sub_discipline_id, + difficulty: difficulty, + repeat_answer: !repeat_answer, + analysis: analysis + } + }); + case 28: + res = _context4.sent; + repeal(res); + case 30: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return function onSave() { + return _ref2.apply(this, arguments); + }; + }(); + var actionArr = [{ + name: '删除', + icon: 'iconfont c-light-black ml30 icon-shanchu current', + id: 'del' + }, + // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, + // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, + { + name: '(向下插入单选题)', + icon: 'iconfont c-light-primary ml30 icon-tianjia current', + id: 'add' + }, { + name: '编辑', + icon: 'iconfont c-light-primary ml30 icon-bianjishijuan3x current', + id: 'edit' + }].filter(function (item) { + var _exercise$editData6, _exercise$editData6$e; + if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.exercise_status) === 1) { + return item; + } else { + return item.id !== 'del' && item.id !== 'add'; + } + }); + var actionClick = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) { + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { + case 0: + if (!(editKey !== -1)) { + _context6.next = 3; + break; + } + message/* default.error */.ZP.error('请先保存或取消当前正在编辑的问题。'); + return _context6.abrupt("return"); + case 3: + _context6.t0 = item.id; + _context6.next = _context6.t0 === 'del' ? 6 : _context6.t0 === 'up' ? 8 : _context6.t0 === 'down' ? 8 : _context6.t0 === 'edit' ? 12 : _context6.t0 === 'add' ? 15 : 17; + break; + case 6: + es_modal/* default.confirm */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '确认要删除这个试题吗?', + onOk: function onOk() { + return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + _context5.next = 2; + return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ + id: editData.question_id + }); + case 2: + dispatch({ + type: 'exercise/editExercise', + payload: objectSpread2_default()({}, params) + }); + case 3: + case "end": + return _context5.stop(); + } + }, _callee5); + }))(); + } + }); + return _context6.abrupt("break", 17); + case 8: + _context6.next = 10; + return dispatch({ + type: 'exercise/exeriseMoveUpDown', + payload: { + id: editData.question_id, + opr: item.id + } + }); + case 10: + dispatch({ + type: 'exercise/editExercise', + payload: objectSpread2_default()({}, params) + }); + return _context6.abrupt("break", 17); + case 12: + setEditKey(editData.dragKey); + setIsEdit(true); + return _context6.abrupt("break", 17); + case 15: + addCallback({ + key: editData.key, + insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, + question_type: 1 + }); + return _context6.abrupt("break", 17); + case 17: + case "end": + return _context6.stop(); + } + }, _callee6); + })); + return function actionClick(_x) { + return _ref3.apply(this, arguments); + }; + }(); + var showList = function showList() { + var _editData$question_ch; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font16 c-blue", + children: [editData.key, "\u3001\u591A\u9009\u9898"] + }), "\uFF08", editData.question_score, "\u5206\uFF09"] + }) + }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font18", + children: [editData.key, "."] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font16", + children: ["\uFF08", editData.question_score, "\u5206\uFF09"] + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionChoices, + children: editData === null || editData === void 0 ? void 0 : (_editData$question_ch = editData.question_choices) === null || _editData$question_ch === void 0 ? void 0 : _editData$question_ch.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, { + checked: editData.standard_answer.includes(index + 1), + disabled: true, + children: [MultipleEditor_tagList[index], "."] + }, index) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: "1", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-black font14", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.choice_text + }) + }) + })] + }, index); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.action, + children: !editData.hideAction && actionArr.map(function (item, index) { + if (item.id === 'up' && editData.key === 1) return null; + if (item.id === 'down' && editData.key === editData.len) return null; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "bottom", + title: item.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + return actionClick(item); + }, + className: item.icon + }) + }, index); + }) + })] + }); + }; + var showEdit = function showEdit() { + var _exercise$editData8, _exercise$editData8$e; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font16 c-blue", + children: "\u9009\u62E9\u9898" + }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: editormodules.title, + children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" + })] + })] + }), questionChoiceList.map(function (item, index) { + var _exercise$editData7, _exercise$editData7$e; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.choiceWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", + placement: "left", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(editormodules.answer, " ").concat(activeAnswer.includes(index) ? editormodules.activeAnswer : ''), + onClick: function onClick() { + if (activeAnswer.includes(index)) { + setActiveAnswer(activeAnswer.filter(function (item) { + return item !== index; + })); + } else { + setActiveAnswer([].concat(toConsumableArray_default()(activeAnswer), [index])); + } + }, + children: MultipleEditor_tagList[index] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.editorWrap, + children: activeEditor === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-option-".concat(index), + watch: true, + isFocus: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", + defaultValue: item, + onChange: function onChange(value) { + questionChoiceList[index] = value; + setQuestionChoiceList(questionChoiceList); + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.htmlWrap, + onClick: function onClick() { + return setActiveEditor(index); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item + }) + }) + }), ((_exercise$editData7 = exercise.editData) === null || _exercise$editData7 === void 0 ? void 0 : (_exercise$editData7$e = _exercise$editData7.exercise) === null || _exercise$editData7$e === void 0 ? void 0 : _exercise$editData7$e.exercise_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5220\u9664", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.deleteIcon, " iconfont icon-htmal5icon19"), + onClick: function onClick() { + return setQuestionChoiceList(questionChoiceList.filter(function (_, key) { + return key !== index; + })); + } + }) + }), index < 7 && index === questionChoiceList.length - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.addIcon, " iconfont icon-roundaddfill ml6"), + onClick: function onClick() { + return setQuestionChoiceList([].concat(toConsumableArray_default()(questionChoiceList), [''])); + } + }) + })] + })] + }, index); + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: "c-orange", + children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: "", + children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + value: score, + max: 10000, + min: 0, + onChange: function onChange(value) { + setScore(value); + } + }), ' ', "\u5206", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + marginLeft: '30px' + }, + className: editormodules.difficult, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { + style: { + color: 'red' + }, + children: "*" + }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + value: difficulty, + onChange: function onChange(e) { + setdifficult(e.target.value); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 1, + children: "\u7B80\u5355" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 2, + children: "\u9002\u4E2D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 3, + children: "\u56F0\u96BE" + })] + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "".concat(editormodules.title), + children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { + value: knowledge, + selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, + onChange: setKnowledge, + subId: (_exercise$editData8 = exercise.editData) === null || _exercise$editData8 === void 0 ? void 0 : (_exercise$editData8$e = _exercise$editData8.exercise) === null || _exercise$editData8$e === void 0 ? void 0 : _exercise$editData8$e.sub_discipline_id, + knowledgeOptions: knowledgeOptions, + onAddKnowledgeFinish: handleAddKnowledgeFinish + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginTop: 10 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginRight: 10 + }, + children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { + checked: repeat_answer, + onChange: function onChange(e) { + setrepeat_answer(e); + } + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: "tr", + children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + type: "default", + onClick: function onClick() { + cancelAdd(); + setIsEdit(false); + }, + children: "\u53D6\u6D88" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: "ml20", + type: "primary", + onClick: function onClick() { + onSave(); + }, + children: "\u4FDD\u5B58" + })] + })] + }); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [!isEdit && showList(), isEdit && showEdit()] + }); +}); +/* harmony default export */ var components_MultipleEditor = ((0,_umi_production_exports.connect)(function (_ref4) { + var problemset = _ref4.problemset, + loading = _ref4.loading, + exercise = _ref4.exercise, + globalSetting = _ref4.globalSetting; + return { + problemset: problemset, + globalSetting: globalSetting, + exercise: exercise, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})(MultipleEditor)); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/ShixunEditor/index.tsx + + + + + + + + + + + + + + + + + + + + + + + +var ShixunEditor_excluded = ["problemset", "globalSetting", "exercise", "loading", "dispatch", "editData", "cancelAdd", "editKey", "setEditKey", "addCallback", "reload", "setIsClaer"]; + + + + + + + + +var ShixunEditor_tagList = (/* unused pure expression or super */ null && (['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])); +var ShixunEditor = function ShixunEditor(_ref, ref) { + var problemset = _ref.problemset, + globalSetting = _ref.globalSetting, + exercise = _ref.exercise, + loading = _ref.loading, + dispatch = _ref.dispatch, + editData = _ref.editData, + _ref$cancelAdd = _ref.cancelAdd, + cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, + editKey = _ref.editKey, + _ref$setEditKey = _ref.setEditKey, + setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, + _ref$addCallback = _ref.addCallback, + addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback, + _ref$reload = _ref.reload, + reload = _ref$reload === void 0 ? function () {} : _ref$reload, + _ref$setIsClaer = _ref.setIsClaer, + setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, + props = objectWithoutProperties_default()(_ref, ShixunEditor_excluded); + var _useState = (0,react.useState)(''), + _useState2 = slicedToArray_default()(_useState, 2), + name = _useState2[0], + setName = _useState2[1]; + var _useState3 = (0,react.useState)(''), + _useState4 = slicedToArray_default()(_useState3, 2), + title = _useState4[0], + setTitle = _useState4[1]; + var _useState5 = (0,react.useState)(''), + _useState6 = slicedToArray_default()(_useState5, 2), + analysis = _useState6[0], + setAnalysis = _useState6[1]; + var _useState7 = (0,react.useState)([]), + _useState8 = slicedToArray_default()(_useState7, 2), + answerList = _useState8[0], + setAnswerList = _useState8[1]; + var _useState9 = (0,react.useState)(''), + _useState10 = slicedToArray_default()(_useState9, 2), + activeOptionErrorIndex = _useState10[0], + setActiveOptionErrorIndex = _useState10[1]; + var _useState11 = (0,react.useState)(), + _useState12 = slicedToArray_default()(_useState11, 2), + checked = _useState12[0], + setChecked = _useState12[1]; + var _useState13 = (0,react.useState)(false), + _useState14 = slicedToArray_default()(_useState13, 2), + firstSetAnswerFlag = _useState14[0], + setFirstSetAnswerFlag = _useState14[1]; + var _useState15 = (0,react.useState)([]), + _useState16 = slicedToArray_default()(_useState15, 2), + score = _useState16[0], + setScore = _useState16[1]; + var _useState17 = (0,react.useState)(false), + _useState18 = slicedToArray_default()(_useState17, 2), + isEdit = _useState18[0], + setIsEdit = _useState18[1]; + var _useState19 = (0,react.useState)(false), + _useState20 = slicedToArray_default()(_useState19, 2), + btnLoading = _useState20[0], + setBtnLoading = _useState20[1]; + var params = (0,_umi_production_exports.useParams)(); + var freeze = (0,react.useRef)(false); + (0,react.useEffect)(function () { + var _editData$shixun; + if (freeze.current) return; + if (editData.edit) { + setIsEdit(true); + setTitle(''); + setName(''); + setScore([]); + } + setName(editData.shixun_name); + setTitle(editData.question_title); + var arr = []; + (_editData$shixun = editData.shixun) === null || _editData$shixun === void 0 ? void 0 : _editData$shixun.map(function (item) { + arr.push(item.challenge_score); + }); + setScore(arr); + }, [editData]); + (0,react.useEffect)(function () { + setFirstSetAnswerFlag(false); + }, [isEdit]); + (0,react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + isEdit: isEdit + }; + }); + var repeal = function repeal(res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default.success */.ZP.success("保存成功"); + setIsEdit(false); + setEditKey(-1); + freeze.current = false; + reload(); + } + }; + var onSave = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var answerArray, isEmpty, res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + answerArray = []; + isEmpty = false; + if (!isEmpty) { + _context.next = 4; + break; + } + return _context.abrupt("return", false); + case 4: + freeze.current = true; + setBtnLoading(true); + if (!editData.question_id) { + _context.next = 12; + break; + } + _context.next = 9; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "shixun_name": name, + "shixun_id": editData.shixun_id, + "question_type": 5, + "question_scores": score + } + }); + case 9: + res = _context.sent; + _context.next = 15; + break; + case 12: + _context.next = 14; + return dispatch({ + type: "exercise/addExerciseQuestion", + payload: { + insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, + "categoryId": params.categoryId, + "question_title": title, + "shixun_name": name, + "shixun_id": editData.shixun_id, + "question_type": 5, + "question_scores": score, + "is_copy": editData.is_copy + } + }); + case 14: + res = _context.sent; + case 15: + repeal(res); + setBtnLoading(false); + return _context.abrupt("return", { + name: title, + analysis: analysis, + standard_answers: answerArray, + is_ordered: checked + }); + case 18: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function onSave() { + return _ref2.apply(this, arguments); + }; + }(); + var showEdit = function showEdit() { + var _editData$shixun2; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font16 c-blue", + children: "\u5B9E\u8BAD\u9898" + }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF09"] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt10", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + defaultValue: name, + onChange: function onChange(e) { + ; + setName(e.target.value); + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt10", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-option-0", + height: 155, + placeholder: "\u8BF7\u8F93\u5165\u5B9E\u8BAD\u9898\u5B8C\u6210\u8981\u6C42", + defaultValue: title, + onChange: function onChange(value) { + setTitle(value); + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt20", + children: (_editData$shixun2 = editData.shixun) === null || _editData$shixun2 === void 0 ? void 0 : _editData$shixun2.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + gutter: [20, 20], + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + flex: "1", + children: [index + 1, ".", item.challenge_name] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + defaultValue: score[index], + onChange: function onChange(value) { + score[index] = value; + setScore(score); + console.log("srore:L", score[index]); + } + }), " \u5206"] + })] + }); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt20", + children: answerList.length > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { + checked: checked, + onChange: function onChange(e) { + return setChecked(e.target.checked); + }, + className: "".concat(editormodules.color333, " font14"), + children: "\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(editormodules.color999, " font12"), + children: "\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: "tr", + children: [(editKey !== -1 || !(editData !== null && editData !== void 0 && editData.edit)) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + type: "default", + onClick: function onClick() { + cancelAdd(); + setIsEdit(false); + }, + children: "\u53D6\u6D88" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + loading: btnLoading, + className: "ml20", + type: "primary", + onClick: function onClick() { + onSave(); + }, + children: "\u4FDD\u5B58" + })] + })] + }); + }; + var actionArr = [{ + name: "删除", + icon: "iconfont c-light-black ml30 icon-shanchu current", + id: "del" + }, + // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, + // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, + { + name: "(向下插入实训题)", + icon: "iconfont c-light-primary ml30 icon-tianjia current", + id: "add" + }, { + name: "编辑", + icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", + id: "edit" + }].filter(function (item) { + var _exercise$editData, _exercise$editData$ex; + if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.exercise_status) === 1) { + return item; + } else { + return item.id !== 'del' && item.id !== 'add'; + } + }); + var actionClick = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(item) { + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + if (!(editKey !== -1)) { + _context3.next = 3; + break; + } + message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); + return _context3.abrupt("return"); + case 3: + _context3.t0 = item.id; + _context3.next = _context3.t0 === "del" ? 6 : _context3.t0 === "up" ? 8 : _context3.t0 === "down" ? 8 : _context3.t0 === "edit" ? 12 : _context3.t0 === "add" ? 15 : 17; + break; + case 6: + es_modal/* default.confirm */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '确认要删除这个试题吗?', + onOk: function onOk() { + return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ + id: editData.question_id + }); + case 2: + dispatch({ + type: "exercise/editExercise", + payload: objectSpread2_default()({}, params) + }); + case 3: + case "end": + return _context2.stop(); + } + }, _callee2); + }))(); + } + }); + return _context3.abrupt("break", 17); + case 8: + _context3.next = 10; + return dispatch({ + type: "exercise/exeriseMoveUpDown", + payload: { + id: editData.question_id, + opr: item.id + } + }); + case 10: + dispatch({ + type: "exercise/editExercise", + payload: objectSpread2_default()({}, params) + }); + return _context3.abrupt("break", 17); + case 12: + setEditKey(editData.dragKey); + setIsEdit(true); + return _context3.abrupt("break", 17); + case 15: + dispatch({ + type: "classroomList/setActionTabs", + payload: { + key: "选用实践项目", + editData: { + key: editData.key, + insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, + question_type: 5 + } + } + }); + return _context3.abrupt("break", 17); + case 17: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function actionClick(_x) { + return _ref3.apply(this, arguments); + }; + }(); + var showList = function showList() { + var _editData$schools, _editData$shixun3; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font16 c-blue", + children: [editData.key, "\u3001\u5B9E\u8BAD\u9898"] + }), "\uFF08", editData.question_score, "\u5206\uFF09"] + }) + }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font18", + children: [editData.key, "."] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.shixun_name + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font16", + children: ["\uFF08", editData.question_score, "\u5206\uFF09"] + }), !!((_editData$schools = editData.schools) !== null && _editData$schools !== void 0 && _editData$schools.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u8BE5\u5B9E\u8BAD\u9898\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-zhidinggongkai1 font18 line24 c-orange" + }) + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.shixun_name + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt30" + }), (_editData$shixun3 = editData.shixun) === null || _editData$shixun3 === void 0 ? void 0 : _editData$shixun3.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u7B2C", index + 1, "\u5173 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "ml10", + children: item.challenge_name + }), " ", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "ml10", + children: [item.challenge_score, " \u5206"] + })] + }, index); + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.action, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { + target: "_blank", + to: "/shixuns/".concat(editData.shixun_identifier, "/challenges?exercise=true"), + children: "\u5B9E\u8BAD\u8BE6\u60C5" + }), !editData.hideAction && actionArr.map(function (item, index) { + if (item.id === "up" && editData.key === 1) return null; + if (item.id === "down" && editData.key === editData.len) return null; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "bottom", + title: item.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + return actionClick(item); + }, + className: item.icon + }) + }, index); + })] + })] + }); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [!isEdit && showList(), isEdit && showEdit()] + }); +}; +// export default connect( +// ({ +// problemset, +// loading, +// globalSetting, +// }: { +// problemset: ProblemsetModelState; +// loading: Loading; +// globalSetting: GlobalSettingModelState; +// }) => ({ +// problemset, +// globalSetting, +// loading: loading.effects, +// }), +// )(ShixunEditor); +/* harmony default export */ var components_ShixunEditor = ((0,_umi_production_exports.connect)(function (_ref4) { + var problemset = _ref4.problemset, + loading = _ref4.loading, + globalSetting = _ref4.globalSetting, + exercise = _ref4.exercise; + return { + problemset: problemset, + globalSetting: globalSetting, + exercise: exercise, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,react.forwardRef)(ShixunEditor))); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/SingleEditor/index.tsx + + + + + + + + + + + + + + + + + + + + + + + + +var SingleEditor_excluded = ["problemset", "exercise", "globalSetting", "loading", "dispatch", "onRef", "editData", "cancelAdd", "editKey", "setEditKey", "setIsClaer", "reload", "addCallback"]; + + + + + + + + + + + +var SingleEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; +var SingleEditor = function SingleEditor(_ref, ref) { + var problemset = _ref.problemset, + exercise = _ref.exercise, + globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + editData = _ref.editData, + _ref$cancelAdd = _ref.cancelAdd, + cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, + editKey = _ref.editKey, + _ref$setEditKey = _ref.setEditKey, + setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, + _ref$setIsClaer = _ref.setIsClaer, + setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, + _ref$reload = _ref.reload, + reload = _ref$reload === void 0 ? function () {} : _ref$reload, + _ref$addCallback = _ref.addCallback, + addCallback = _ref$addCallback === void 0 ? function (data) {} : _ref$addCallback, + props = objectWithoutProperties_default()(_ref, SingleEditor_excluded); + var _useState = (0,react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + questionChoiceList = _useState2[0], + setQuestionChoiceList = _useState2[1]; + var _useState3 = (0,react.useState)(), + _useState4 = slicedToArray_default()(_useState3, 2), + activeEditor = _useState4[0], + setActiveEditor = _useState4[1]; + var _useState5 = (0,react.useState)([]), + _useState6 = slicedToArray_default()(_useState5, 2), + activeAnswer = _useState6[0], + setActiveAnswer = _useState6[1]; + var _useState7 = (0,react.useState)(''), + _useState8 = slicedToArray_default()(_useState7, 2), + title = _useState8[0], + setTitle = _useState8[1]; + var _useState9 = (0,react.useState)(), + _useState10 = slicedToArray_default()(_useState9, 2), + score = _useState10[0], + setScore = _useState10[1]; + var _useState11 = (0,react.useState)([]), + _useState12 = slicedToArray_default()(_useState11, 2), + knowledge = _useState12[0], + setKnowledge = _useState12[1]; + var _useState13 = (0,react.useState)(false), + _useState14 = slicedToArray_default()(_useState13, 2), + isEdit = _useState14[0], + setIsEdit = _useState14[1]; + var _useState15 = (0,react.useState)(1), + _useState16 = slicedToArray_default()(_useState15, 2), + difficulty = _useState16[0], + setdifficult = _useState16[1]; + var _useState17 = (0,react.useState)(false), + _useState18 = slicedToArray_default()(_useState17, 2), + repeat_answer = _useState18[0], + setrepeat_answer = _useState18[1]; + var _useState19 = (0,react.useState)(''), + _useState20 = slicedToArray_default()(_useState19, 2), + analysis = _useState20[0], + setAnalysis = _useState20[1]; + var params = (0,_umi_production_exports.useParams)(); + var dom = (0,react.useRef)(null); + var freeze = (0,react.useRef)(false); + var _useState21 = (0,react.useState)([]), + _useState22 = slicedToArray_default()(_useState21, 2), + knowledgeOptions = _useState22[0], + setKnowledgeOptions = _useState22[1]; + var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { + setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); + }; + (0,react.useEffect)(function () { + setQuestionChoiceList(['', '', '', '']); + }, []); + (0,react.useEffect)(function () { + if (freeze.current) return; + if (!(editData !== null && editData !== void 0 && editData.question_choices)) { + setIsEdit(true); + setTitle(''); + setScore(5); + setQuestionChoiceList(['', '', '', '']); + setActiveAnswer([]); + // dom.current?.scrollIntoView() + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); + setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); + setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); + setQuestionChoiceList(editData === null || editData === void 0 ? void 0 : editData.question_choices.map(function (item) { + return item.choice_text; + })); + var answerIndexs = []; + editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item, index) { + answerIndexs.push(item - 1); + }); + setKnowledge(editData.tag_discipline_ids); + setActiveAnswer(answerIndexs); + }, [editData, isEdit]); + (0,react.useEffect)(function () { + if (isEdit) { + init(); + } + function init() { + return _init.apply(this, arguments); + } + function _init() { + _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _exercise$editData, _exercise$editData$ex; + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return (0,service_exercise/* getTagDiscipline */.YY)({ + sub_discipline_id: (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.sub_discipline_id + }); + case 2: + res = _context.sent; + setKnowledgeOptions(res.tag_disciplines); + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _init.apply(this, arguments); + } + }, [isEdit]); + (0,react.useEffect)(function () { + var _exercise$tagDiscipli; + var data = exercise !== null && exercise !== void 0 && (_exercise$tagDiscipli = exercise.tagDisciplineData) !== null && _exercise$tagDiscipli !== void 0 && _exercise$tagDiscipli.tag_disciplines && Array.isArray(exercise.tagDisciplineData.tag_disciplines) ? exercise.tagDisciplineData.tag_disciplines : []; + setKnowledgeOptions(data); + }, [exercise.tagDisciplineData]); + (0,react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + isEdit: isEdit + }; + }); + var repeal = function repeal(res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default.success */.ZP.success("保存成功"); + setIsEdit(false); + setEditKey(-1); + freeze.current = false; + reload(); + } + }; + var onSave = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + var findNotAnswerIndex, choices, res, _exercise$editData4, _exercise$editData4$e, _exercise$editData5, _exercise$editData5$e; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + if (title) { + _context4.next = 3; + break; + } + message/* default.info */.ZP.info("请您输入题目"); + return _context4.abrupt("return", false); + case 3: + findNotAnswerIndex = questionChoiceList.findIndex(function (item) { + return !item; + }); + if (!(findNotAnswerIndex > -1)) { + _context4.next = 7; + break; + } + message/* default.info */.ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(SingleEditor_tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9")); + return _context4.abrupt("return", false); + case 7: + if (activeAnswer.length) { + _context4.next = 10; + break; + } + message/* default.info */.ZP.info("请设置本题的正确答案,点击选项A/B...即可完成设置"); + return _context4.abrupt("return", false); + case 10: + if (!(activeAnswer.length < 1)) { + _context4.next = 13; + break; + } + message/* default.info */.ZP.info("请选择答案"); + return _context4.abrupt("return", false); + case 13: + // if (knowledge.length < 1) { + // message.info("请选择知识点"); + // return false; + // } + choices = questionChoiceList.map(function (item, index) { + return { + choice_text: item, + is_answer: activeAnswer.includes(index) ? index + 1 : 0 + }; + }); + freeze.current = true; + if (!editData.question_id) { + _context4.next = 26; + break; + } + if (!((editData === null || editData === void 0 ? void 0 : editData.is_my) === 1)) { + _context4.next = 20; + break; + } + es_modal/* default.confirm */.Z.confirm({ + title: '提示', + content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', + okText: '覆盖原题', + cancelText: '不覆盖', + keyboard: false, + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var _exercise$editData2, _exercise$editData2$e; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "question_type": 1, + "question_score": score, + "question_choices": choices.map(function (item) { + return item.choice_text; + }), + "standard_answers": choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }), + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.sub_discipline_id, + "difficulty": difficulty, + "is_cover": 1, + "repeat_answer": !repeat_answer, + analysis: analysis + } + }); + case 2: + res = _context2.sent; + repeal(res); + case 4: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }(), + onCancel: function () { + var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + var _exercise$editData3, _exercise$editData3$e; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "question_type": 1, + "question_score": score, + "question_choices": choices.map(function (item) { + return item.choice_text; + }), + "standard_answers": choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }), + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.sub_discipline_id, + "difficulty": difficulty, + "repeat_answer": !repeat_answer, + analysis: analysis + } + }); + case 2: + res = _context3.sent; + repeal(res); + case 4: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onCancel() { + return _onCancel.apply(this, arguments); + } + return onCancel; + }() + }); + _context4.next = 24; + break; + case 20: + _context4.next = 22; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "question_type": 1, + "question_score": score, + "question_choices": choices.map(function (item) { + return item.choice_text; + }), + "standard_answers": choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }), + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.sub_discipline_id, + "difficulty": difficulty, + "repeat_answer": !repeat_answer, + analysis: analysis + } + }); + case 22: + res = _context4.sent; + repeal(res); + case 24: + _context4.next = 30; + break; + case 26: + _context4.next = 28; + return dispatch({ + type: "exercise/addExerciseQuestion", + payload: { + insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, + "categoryId": params.categoryId, + "question_title": title, + "question_type": 1, + "question_score": score, + "question_choices": choices.map(function (item) { + return item.choice_text; + }), + "standard_answers": choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }), + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.sub_discipline_id, + "difficulty": difficulty, + "repeat_answer": !repeat_answer, + analysis: analysis + } + }); + case 28: + res = _context4.sent; + repeal(res); + case 30: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return function onSave() { + return _ref2.apply(this, arguments); + }; + }(); + var actionArr = [{ + name: "删除", + icon: "iconfont c-light-black ml30 icon-shanchu current", + id: "del" + }, + // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, + // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, + { + name: "(向下插入单选题)", + icon: "iconfont c-light-primary ml30 icon-tianjia current", + id: "add" + }, { + name: "编辑", + icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", + id: "edit" + }].filter(function (item) { + var _exercise$editData6, _exercise$editData6$e; + if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.exercise_status) === 1) { + return item; + } else { + return item.id !== 'del' && item.id !== 'add'; + } + }); + var actionClick = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) { + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { + case 0: + if (!(editKey !== -1)) { + _context6.next = 3; + break; + } + message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); + return _context6.abrupt("return"); + case 3: + _context6.t0 = item.id; + _context6.next = _context6.t0 === "del" ? 6 : _context6.t0 === "up" ? 8 : _context6.t0 === "down" ? 8 : _context6.t0 === "edit" ? 12 : _context6.t0 === "add" ? 15 : 17; + break; + case 6: + es_modal/* default.confirm */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '确认要删除这个试题吗?', + onOk: function onOk() { + return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + _context5.next = 2; + return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ + id: editData.question_id + }); + case 2: + dispatch({ + type: "exercise/editExercise", + payload: objectSpread2_default()({}, params) + }); + case 3: + case "end": + return _context5.stop(); + } + }, _callee5); + }))(); + } + }); + return _context6.abrupt("break", 17); + case 8: + _context6.next = 10; + return dispatch({ + type: "exercise/exeriseMoveUpDown", + payload: { + id: editData.question_id, + opr: item.id + } + }); + case 10: + dispatch({ + type: "exercise/editExercise", + payload: objectSpread2_default()({}, params) + }); + return _context6.abrupt("break", 17); + case 12: + setEditKey(editData.dragKey); + setIsEdit(true); + return _context6.abrupt("break", 17); + case 15: + addCallback({ + key: editData.key, + insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, + question_type: 0 + }); + return _context6.abrupt("break", 17); + case 17: + case "end": + return _context6.stop(); + } + }, _callee6); + })); + return function actionClick(_x) { + return _ref3.apply(this, arguments); + }; + }(); + var showList = function showList() { + var _editData$question_ch; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + ref: dom, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font16 c-blue", + children: [editData.key, "\u3001\u5355\u9009\u9898"] + }), "\uFF08", editData.question_score, "\u5206\uFF09"] + }) + }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex', + alignItems: "flex-start" + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font18", + children: [editData.key, "."] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font16", + children: ["\uFF08", editData.question_score, "\u5206\uFF09"] + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionChoices, + children: editData === null || editData === void 0 ? void 0 : (_editData$question_ch = editData.question_choices) === null || _editData$question_ch === void 0 ? void 0 : _editData$question_ch.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { + checked: editData.standard_answer.includes(index + 1), + disabled: true, + children: [SingleEditor_tagList[index], "."] + }, index) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: "1", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-black font14", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.choice_text + }) + }) + })] + }, index); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.action, + children: !editData.hideAction && actionArr.map(function (item, index) { + if (item.id === "up" && editData.key === 1) return null; + if (item.id === "down" && editData.key === editData.len) return null; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "bottom", + title: item.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + return actionClick(item); + }, + className: item.icon + }) + }, index); + }) + })] + }); + }; + var showEdit = function showEdit() { + var _exercise$editData8, _exercise$editData8$e; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font16 c-blue", + children: "\u9009\u62E9\u9898" + }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: editormodules.title, + children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" + })] + })] + }), questionChoiceList.map(function (item, index) { + var _exercise$editData7, _exercise$editData7$e; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.choiceWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", + placement: "left", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(editormodules.answer, " ").concat(activeAnswer.includes(index) ? editormodules.activeAnswer : ''), + onClick: function onClick() { + if (activeAnswer.includes(index)) { + setActiveAnswer(activeAnswer.filter(function (item) { + return item !== index; + })); + } else { + setActiveAnswer([].concat(toConsumableArray_default()(activeAnswer), [index])); + } + }, + children: SingleEditor_tagList[index] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.editorWrap, + children: activeEditor === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-option-".concat(index), + watch: true, + isFocus: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", + defaultValue: item, + onChange: function onChange(value) { + questionChoiceList[index] = value; + setQuestionChoiceList(questionChoiceList); + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.htmlWrap, + onClick: function onClick() { + return setActiveEditor(index); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item + }) + }) + }), ((_exercise$editData7 = exercise.editData) === null || _exercise$editData7 === void 0 ? void 0 : (_exercise$editData7$e = _exercise$editData7.exercise) === null || _exercise$editData7$e === void 0 ? void 0 : _exercise$editData7$e.exercise_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5220\u9664", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.deleteIcon, " iconfont icon-htmal5icon19"), + onClick: function onClick() { + return setQuestionChoiceList(questionChoiceList.filter(function (_, key) { + return key !== index; + })); + } + }) + }), index < 7 && index === questionChoiceList.length - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.addIcon, " iconfont icon-roundaddfill ml6"), + onClick: function onClick() { + return setQuestionChoiceList([].concat(toConsumableArray_default()(questionChoiceList), [''])); + } + }) + })] + })] + }, index); + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: "c-orange", + children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginBottom: 14 + }, + children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + value: score, + max: 10000, + min: 0, + onChange: function onChange(value) { + setScore(value); + } + }), " \u5206", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + marginLeft: '30px' + }, + className: editormodules.difficult, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { + style: { + color: 'red' + }, + children: "*" + }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + value: difficulty, + onChange: function onChange(e) { + setdifficult(e.target.value); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 1, + children: "\u7B80\u5355" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 2, + children: "\u9002\u4E2D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 3, + children: "\u56F0\u96BE" + })] + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "".concat(editormodules.title), + children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { + selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, + value: knowledge, + onChange: setKnowledge, + subId: (_exercise$editData8 = exercise.editData) === null || _exercise$editData8 === void 0 ? void 0 : (_exercise$editData8$e = _exercise$editData8.exercise) === null || _exercise$editData8$e === void 0 ? void 0 : _exercise$editData8$e.sub_discipline_id, + knowledgeOptions: knowledgeOptions, + onAddKnowledgeFinish: handleAddKnowledgeFinish + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginTop: 10 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginRight: 10 + }, + children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { + checked: repeat_answer, + onChange: function onChange(e) { + setrepeat_answer(e); + } + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: "tr", + children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + type: "default", + onClick: function onClick() { + cancelAdd(); + setIsEdit(false); + }, + children: "\u53D6\u6D88" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: "ml20", + type: "primary", + onClick: function onClick() { + onSave(); + }, + children: "\u4FDD\u5B58" + })] + })] + }); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [!isEdit && showList(), isEdit && showEdit()] + }); +}; +/* harmony default export */ var components_SingleEditor = ((0,_umi_production_exports.connect)(function (_ref4) { + var problemset = _ref4.problemset, + loading = _ref4.loading, + globalSetting = _ref4.globalSetting, + exercise = _ref4.exercise; + return { + problemset: problemset, + globalSetting: globalSetting, + exercise: exercise, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,react.forwardRef)(SingleEditor))); +// 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); +;// CONCATENATED MODULE: ./src/components/EditorKeyword/index.tsx + + + + + + + + + + + + + + + +var EditorKeyword = function EditorKeyword(_ref) { + var _value$2, _value$5; + var _ref$value = _ref.value, + value = _ref$value === void 0 ? [[], []] : _ref$value, + onChange = _ref.onChange; + var _useState = (0,react.useState)(''), + _useState2 = slicedToArray_default()(_useState, 2), + valueOne = _useState2[0], + setValueOne = _useState2[1]; + var _useState3 = (0,react.useState)(''), + _useState4 = slicedToArray_default()(_useState3, 2), + valueTwo = _useState4[0], + setValueTwo = _useState4[1]; + var test = function test(str) { + if (!str) { + return false; + } + // let containSpecial = RegExp(/[(\ )(\~)(\!)(\@)(\#)(\$)(\%)(\^)(\&)(\*)(\()(\))(\-)(\_)(\+)(\=)(\[)(\])(\{)(\})(\\)(\;)(\:)(\')(\")(\,)(\.)(\/)(\<)(\>)(\?)(\)]+/); + var containSpecial = new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~!@#¥……&*()—【】‘;:”“。,、?「」『』_\\+\\-·%《》]|[\\\\/]"); + if (containSpecial.test(str)) { + message/* default.warn */.ZP.warn("关键词不能含有特殊字符!"); + return false; + } + if (str === '|') { + message/* default.warn */.ZP.warn("关键词不能只输入一个“|”字符!"); + return false; + } + return true; + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: "font14", + children: ["\u5173\u952E\u8BCD", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-grey-999", + children: "\uFF08\u5173\u952E\u8BCD\u53EF\u7528\u4E8E\u81EA\u52A8\u5224\u5206\uFF09" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + overlayStyle: { + maxWidth: 350 + }, + title: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u6BCF\u4E2A\u6838\u5FC3\u5173\u952E\u8BCD\u7684\u5206\u6570\u662F\u666E\u901A\u5173\u952E\u8BCD\u5206\u6570\u7684\u4E24\u500D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u4F8B\u5982\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u672C\u989810\u5206\uFF0C\u666E\u901A\u5173\u952E\u8BCD1\u4E2A\uFF0C\u6838\u5FC3\u5173\u952E\u8BCD2\u4E2A\uFF0C\u5219\u6BCF\u4E2A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u666E\u901A\u5173\u952E\u8BCD2\u5206\uFF0C\u6BCF\u4E2A\u6838\u5FC3\u5173\u952E\u8BCD4\u5206" + })] + }), + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "iconfont icon-a-wenhaobeifen2 font14" + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + className: "font14", + children: ["\u666E\u901A\u5173\u952E\u8BCD\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + value: valueOne, + onChange: function onChange(e) { + setValueOne(e.target.value); + }, + maxLength: 50, + allowClear: true, + onPressEnter: function onPressEnter(e) { + var _e$target; + var v = (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value; + if (test(v)) { + var _value$, _v$split; + (_value$ = value[0]) === null || _value$ === void 0 ? void 0 : _value$.push(v === null || v === void 0 ? void 0 : (_v$split = v.split('|')) === null || _v$split === void 0 ? void 0 : _v$split.filter(function (k) { + return !!k; + })); + onChange(toConsumableArray_default()(value)); + setValueOne(''); + } + }, + style: { + width: 800 + }, + className: "ml5 mr10", + placeholder: "\u652F\u6301\u4FDD\u5B58\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u7528\u201D|\u201D\u5206\u5272\u3002" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-grey-999", + children: "\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + paddingLeft: 89 + }, + className: "mt10", + children: value === null || value === void 0 ? void 0 : (_value$2 = value[0]) === null || _value$2 === void 0 ? void 0 : _value$2.map(function (tag, k) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_tag/* default */.Z, { + className: "mb10", + closable: true, + onClose: function onClose(e) { + var _value$3; + e.preventDefault(); + value[0] = (_value$3 = value[0]) === null || _value$3 === void 0 ? void 0 : _value$3.filter(function (e, i) { + return i !== k; + }); + onChange(toConsumableArray_default()(value)); + }, + children: tag === null || tag === void 0 ? void 0 : tag.join(' 或 ') + }, k); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + className: "font14", + children: ["\u6838\u5FC3\u5173\u952E\u8BCD\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + value: valueTwo, + onChange: function onChange(e) { + setValueTwo(e.target.value); + }, + maxLength: 50, + allowClear: true, + onPressEnter: function onPressEnter(e) { + var _e$target2; + var v = (_e$target2 = e.target) === null || _e$target2 === void 0 ? void 0 : _e$target2.value; + if (test(v)) { + var _value$4, _v$split2; + (_value$4 = value[1]) === null || _value$4 === void 0 ? void 0 : _value$4.push(v === null || v === void 0 ? void 0 : (_v$split2 = v.split('|')) === null || _v$split2 === void 0 ? void 0 : _v$split2.filter(function (k) { + return !!k; + })); + onChange(toConsumableArray_default()(value)); + setValueTwo(''); + } + }, + style: { + width: 800 + }, + className: "ml5 mr10", + placeholder: "\u652F\u6301\u4FDD\u5B58\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u7528\u201D|\u201D\u5206\u5272\u3002" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-grey-999", + children: "\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + paddingLeft: 89 + }, + className: "mt10", + children: value === null || value === void 0 ? void 0 : (_value$5 = value[1]) === null || _value$5 === void 0 ? void 0 : _value$5.map(function (tag, k) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_tag/* default */.Z, { + className: "mb10", + closable: true, + onClose: function onClose(e) { + var _value$6; + e.preventDefault(); + value[1] = (_value$6 = value[1]) === null || _value$6 === void 0 ? void 0 : _value$6.filter(function (e, i) { + return i !== k; + }); + onChange(toConsumableArray_default()(value)); + }, + children: tag === null || tag === void 0 ? void 0 : tag.join(' 或 ') + }, k); + }) + })] + }); +}; +/* harmony default export */ var components_EditorKeyword = (EditorKeyword); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/SubjectiveEditor/index.tsx + + + + + + + + + + + + + + + + + + + + +var SubjectiveEditor_excluded = ["problemset", "exercise", "globalSetting", "loading", "dispatch", "onRef", "editData", "cancelAdd", "editKey", "setEditKey", "reload", "addCallback", "setIsClaer"]; + + + + + + + + + + + +var SubjectiveEditor_tagList = (/* unused pure expression or super */ null && (['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])); +var SubjectiveEditor = function SubjectiveEditor(_ref, ref) { + var problemset = _ref.problemset, + exercise = _ref.exercise, + globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + editData = _ref.editData, + _ref$cancelAdd = _ref.cancelAdd, + cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, + editKey = _ref.editKey, + _ref$setEditKey = _ref.setEditKey, + setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, + _ref$reload = _ref.reload, + reload = _ref$reload === void 0 ? function () {} : _ref$reload, + _ref$addCallback = _ref.addCallback, + addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback, + _ref$setIsClaer = _ref.setIsClaer, + setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, + props = objectWithoutProperties_default()(_ref, SubjectiveEditor_excluded); + var _useState = (0,react.useState)(''), + _useState2 = slicedToArray_default()(_useState, 2), + title = _useState2[0], + setTitle = _useState2[1]; + var _useState3 = (0,react.useState)(''), + _useState4 = slicedToArray_default()(_useState3, 2), + analysis = _useState4[0], + setAnalysis = _useState4[1]; + var _useState5 = (0,react.useState)(''), + _useState6 = slicedToArray_default()(_useState5, 2), + answer = _useState6[0], + setAnswer = _useState6[1]; + var _useState7 = (0,react.useState)(), + _useState8 = slicedToArray_default()(_useState7, 2), + score = _useState8[0], + setScore = _useState8[1]; + var _useState9 = (0,react.useState)(false), + _useState10 = slicedToArray_default()(_useState9, 2), + isEdit = _useState10[0], + setIsEdit = _useState10[1]; + var _useState11 = (0,react.useState)([]), + _useState12 = slicedToArray_default()(_useState11, 2), + knowledge = _useState12[0], + setKnowledge = _useState12[1]; + var _useState13 = (0,react.useState)(1), + _useState14 = slicedToArray_default()(_useState13, 2), + difficulty = _useState14[0], + setdifficult = _useState14[1]; + var _useState15 = (0,react.useState)(false), + _useState16 = slicedToArray_default()(_useState15, 2), + repeat_answer = _useState16[0], + setrepeat_answer = _useState16[1]; + var _useState17 = (0,react.useState)([[], []]), + _useState18 = slicedToArray_default()(_useState17, 2), + keyword = _useState18[0], + setKeyword = _useState18[1]; + var freeze = (0,react.useRef)(false); + var params = (0,_umi_production_exports.useParams)(); + var _useState19 = (0,react.useState)([]), + _useState20 = slicedToArray_default()(_useState19, 2), + knowledgeOptions = _useState20[0], + setKnowledgeOptions = _useState20[1]; + var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { + setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); + }; + (0,react.useEffect)(function () { + var _editData$standard_an; + if (freeze.current) return; + if (!(editData !== null && editData !== void 0 && editData.question_title)) { + setIsEdit(true); + setTitle(''); + setAnswer(''); + setScore(10); + return; + } + setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); + setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); + setAnswer(editData === null || editData === void 0 ? void 0 : (_editData$standard_an = editData.standard_answer) === null || _editData$standard_an === void 0 ? void 0 : _editData$standard_an[0]); + setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); + setKnowledge(editData.tag_discipline_ids); + setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + setKeyword([editData === null || editData === void 0 ? void 0 : editData.normal_keywords, editData === null || editData === void 0 ? void 0 : editData.main_keywords]); + }, [problemset.editData, isEdit]); + (0,react.useEffect)(function () { + var _exercise$tagDiscipli; + var data = exercise !== null && exercise !== void 0 && (_exercise$tagDiscipli = exercise.tagDisciplineData) !== null && _exercise$tagDiscipli !== void 0 && _exercise$tagDiscipli.tag_disciplines && Array.isArray(exercise.tagDisciplineData.tag_disciplines) ? exercise.tagDisciplineData.tag_disciplines : []; + setKnowledgeOptions(data); + }, [exercise.tagDisciplineData]); + (0,react.useEffect)(function () { + if (isEdit) { + init(); + } + function init() { + return _init.apply(this, arguments); + } + function _init() { + _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _exercise$editData, _exercise$editData$ex; + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return (0,service_exercise/* getTagDiscipline */.YY)({ + sub_discipline_id: (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.sub_discipline_id + }); + case 2: + res = _context.sent; + setKnowledgeOptions(res.tag_disciplines); + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _init.apply(this, arguments); + } + }, [isEdit]); + (0,react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + isEdit: isEdit + }; + }); + var repeal = function repeal(res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default.success */.ZP.success("保存成功"); + setIsEdit(false); + setEditKey(-1); + freeze.current = false; + reload(); + } + }; + var onSave = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + var normal_keywords, main_keywords, res, _exercise$editData4, _exercise$editData4$e, _exercise$editData5, _exercise$editData5$e; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + if (title) { + _context4.next = 3; + break; + } + message/* default.info */.ZP.info("请您输入题干"); + return _context4.abrupt("return", false); + case 3: + // if (knowledge.length < 1) { + // message.info("请选择知识点"); + // return false; + // } + normal_keywords = keyword[0]; + main_keywords = keyword[1]; + freeze.current = true; + if (!editData.question_id) { + _context4.next = 17; + break; + } + if (!((editData === null || editData === void 0 ? void 0 : editData.is_my) === 1)) { + _context4.next = 11; + break; + } + es_modal/* default.confirm */.Z.confirm({ + title: '提示', + content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', + okText: '覆盖原题', + cancelText: '不覆盖', + keyboard: false, + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var _exercise$editData2, _exercise$editData2$e; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "question_type": 4, + "question_score": score, + "standard_answers": [answer], + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.sub_discipline_id, + "difficulty": difficulty, + 'is_cover': 1, + "repeat_answer": !repeat_answer, + analysis: analysis, + normal_keywords: normal_keywords, + main_keywords: main_keywords + } + }); + case 2: + res = _context2.sent; + repeal(res); + case 4: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }(), + onCancel: function () { + var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + var _exercise$editData3, _exercise$editData3$e; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "question_type": 4, + "question_score": score, + "standard_answers": [answer], + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.sub_discipline_id, + "difficulty": difficulty, + "repeat_answer": !repeat_answer, + analysis: analysis, + normal_keywords: normal_keywords, + main_keywords: main_keywords + } + }); + case 2: + res = _context3.sent; + repeal(res); + case 4: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onCancel() { + return _onCancel.apply(this, arguments); + } + return onCancel; + }() + }); + _context4.next = 15; + break; + case 11: + _context4.next = 13; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "question_type": 4, + "question_score": score, + "standard_answers": [answer], + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.sub_discipline_id, + "difficulty": difficulty, + "repeat_answer": !repeat_answer, + analysis: analysis, + normal_keywords: normal_keywords, + main_keywords: main_keywords + } + }); + case 13: + res = _context4.sent; + repeal(res); + case 15: + _context4.next = 21; + break; + case 17: + _context4.next = 19; + return dispatch({ + type: "exercise/addExerciseQuestion", + payload: { + insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, + "categoryId": params.categoryId, + "exercise_bank_id": params.categoryId, + "question_title": title, + "question_type": 4, + "question_score": score, + "standard_answers": [answer], + "tag_discipline_ids": knowledge, + "sub_discipline_id": (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.sub_discipline_id, + "difficulty": difficulty, + "repeat_answer": !repeat_answer, + analysis: analysis, + normal_keywords: normal_keywords, + main_keywords: main_keywords + } + }); + case 19: + res = _context4.sent; + repeal(res); + case 21: + return _context4.abrupt("return", { + name: title, + answer_texts: [answer], + analysis: analysis, + normal_keywords: normal_keywords, + main_keywords: main_keywords + }); + case 22: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return function onSave() { + return _ref2.apply(this, arguments); + }; + }(); + var showEdit = function showEdit() { + var _exercise$editData6, _exercise$editData6$e; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font16 c-blue", + children: "\u4E3B\u89C2\u9898" + }), "\uFF08\u4E3B\u89C2\u9898\uFF0C\u672A\u4F5C\u7B54\u7684\u60C5\u51B5\u4E0B\u81EA\u52A8\u8BC4\u4E3A\u96F6\u5206\uFF09"] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u53C2\u8003\u7B54\u6848\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-reference-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848", + defaultValue: answer, + onChange: function onChange(value) { + return setAnswer(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)(components_EditorKeyword, { + value: keyword, + onChange: setKeyword + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: "", + children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + value: score, + max: 10000, + min: 0, + onChange: function onChange(value) { + setScore(value); + } + }), " \u5206", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + marginLeft: '30px' + }, + className: editormodules.difficult, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { + style: { + color: 'red' + }, + children: "*" + }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + value: difficulty, + onChange: function onChange(e) { + setdifficult(e.target.value); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 1, + children: "\u7B80\u5355" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 2, + children: "\u9002\u4E2D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 3, + children: "\u56F0\u96BE" + })] + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "".concat(editormodules.title), + children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { + value: knowledge, + selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, + onChange: setKnowledge, + subId: (_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.sub_discipline_id, + knowledgeOptions: knowledgeOptions, + onAddKnowledgeFinish: handleAddKnowledgeFinish + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginTop: 10 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginRight: 10 + }, + children: "\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, { + checked: repeat_answer, + onChange: function onChange(e) { + setrepeat_answer(e); + } + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: "tr", + children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + type: "default", + onClick: function onClick() { + cancelAdd(); + setIsEdit(false); + }, + children: "\u53D6\u6D88" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: "ml20", + type: "primary", + onClick: function onClick() { + onSave(); + }, + children: "\u4FDD\u5B58" + })] + })] + }); + }; + var actionArr = [{ + name: "删除", + icon: "iconfont c-light-black ml30 icon-shanchu current", + id: "del" + }, + // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, + // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, + { + name: "(向下插入单选题)", + icon: "iconfont c-light-primary ml30 icon-tianjia current", + id: "add" + }, { + name: "编辑", + icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", + id: "edit" + }].filter(function (item) { + var _exercise$editData7, _exercise$editData7$e; + if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData7 = exercise.editData) === null || _exercise$editData7 === void 0 ? void 0 : (_exercise$editData7$e = _exercise$editData7.exercise) === null || _exercise$editData7$e === void 0 ? void 0 : _exercise$editData7$e.exercise_status) === 1) { + return item; + } else { + return item.id !== 'del' && item.id !== 'add'; + } + }); + var actionClick = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) { + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { + case 0: + if (!(editKey !== -1)) { + _context6.next = 3; + break; + } + message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); + return _context6.abrupt("return"); + case 3: + _context6.t0 = item.id; + _context6.next = _context6.t0 === "del" ? 6 : _context6.t0 === "up" ? 8 : _context6.t0 === "down" ? 8 : _context6.t0 === "edit" ? 12 : _context6.t0 === "add" ? 15 : 17; + break; + case 6: + es_modal/* default.confirm */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '确认要删除这个试题吗?', + onOk: function onOk() { + return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + _context5.next = 2; + return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ + id: editData.question_id + }); + case 2: + dispatch({ + type: "exercise/editExercise", + payload: objectSpread2_default()({}, params) + }); + case 3: + case "end": + return _context5.stop(); + } + }, _callee5); + }))(); + } + }); + return _context6.abrupt("break", 17); + case 8: + _context6.next = 10; + return dispatch({ + type: "exercise/exeriseMoveUpDown", + payload: { + id: editData.question_id, + opr: item.id + } + }); + case 10: + dispatch({ + type: "exercise/editExercise", + payload: objectSpread2_default()({}, params) + }); + return _context6.abrupt("break", 17); + case 12: + setEditKey(editData.dragKey); + setIsEdit(true); + return _context6.abrupt("break", 17); + case 15: + addCallback({ + key: editData.key, + insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, + question_type: 4 + }); + return _context6.abrupt("break", 17); + case 17: + case "end": + return _context6.stop(); + } + }, _callee6); + })); + return function actionClick(_x) { + return _ref3.apply(this, arguments); + }; + }(); + var showList = function showList() { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font16 c-blue", + children: [editData.key, "\u3001\u7B80\u7B54\u9898"] + }), "\uFF08", editData.question_score, "\u5206\uFF09"] + }) + }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font18", + children: [editData.key, "."] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font16", + children: ["\uFF08", editData.question_score, "\u5206\uFF09"] + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.questionChoices, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { + children: "\u53C2\u8003\u7B54\u6848\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: answer || '' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.action, + children: !editData.hideAction && actionArr.map(function (item, index) { + if (item.id === "up" && editData.key === 1) return null; + if (item.id === "down" && editData.key === editData.len) return null; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "bottom", + title: item.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + return actionClick(item); + }, + className: item.icon + }) + }, index); + }) + })] + }); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [!isEdit && showList(), isEdit && showEdit()] + }); +}; +/* harmony default export */ var components_SubjectiveEditor = ((0,_umi_production_exports.connect)(function (_ref4) { + var problemset = _ref4.problemset, + loading = _ref4.loading, + exercise = _ref4.exercise, + globalSetting = _ref4.globalSetting; + return { + problemset: problemset, + globalSetting: globalSetting, + exercise: exercise, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,react.forwardRef)(SubjectiveEditor))); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/ProgrammingEditor/index.tsx + + + + + + + + + + + +var ProgrammingEditor_excluded = ["problemset", "exercise", "globalSetting", "loading", "dispatch", "onRef", "editData", "cancelAdd", "editKey", "setEditKey", "addCallback", "setIsClaer"]; + + + + + + + + +var ProgrammingEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; +var ProgrammingEditor_SingleEditor = function SingleEditor(_ref, ref) { + var problemset = _ref.problemset, + exercise = _ref.exercise, + globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + editData = _ref.editData, + _ref$cancelAdd = _ref.cancelAdd, + cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, + editKey = _ref.editKey, + _ref$setEditKey = _ref.setEditKey, + setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, + _ref$addCallback = _ref.addCallback, + addCallback = _ref$addCallback === void 0 ? function () {} : _ref$addCallback, + _ref$setIsClaer = _ref.setIsClaer, + setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, + props = objectWithoutProperties_default()(_ref, ProgrammingEditor_excluded); + var _useState = (0,react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + questionChoiceList = _useState2[0], + setQuestionChoiceList = _useState2[1]; + var _useState3 = (0,react.useState)(), + _useState4 = slicedToArray_default()(_useState3, 2), + activeEditor = _useState4[0], + setActiveEditor = _useState4[1]; + var _useState5 = (0,react.useState)([]), + _useState6 = slicedToArray_default()(_useState5, 2), + activeAnswer = _useState6[0], + setActiveAnswer = _useState6[1]; + var _useState7 = (0,react.useState)(''), + _useState8 = slicedToArray_default()(_useState7, 2), + title = _useState8[0], + setTitle = _useState8[1]; + var _useState9 = (0,react.useState)(5), + _useState10 = slicedToArray_default()(_useState9, 2), + score = _useState10[0], + setScore = _useState10[1]; + var _useState11 = (0,react.useState)(false), + _useState12 = slicedToArray_default()(_useState11, 2), + isEdit = _useState12[0], + setIsEdit = _useState12[1]; + var params = (0,_umi_production_exports.useParams)(); + (0,react.useEffect)(function () { + setQuestionChoiceList(['', '', '', '']); + }, []); + (0,react.useEffect)(function () { + if (!(editData !== null && editData !== void 0 && editData.question_choices)) { + setIsEdit(true); + setTitle(''); + setScore(5); + setQuestionChoiceList(['', '', '', '']); + setActiveAnswer([]); + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.question_title); + setScore(editData === null || editData === void 0 ? void 0 : editData.question_score); + setQuestionChoiceList(editData === null || editData === void 0 ? void 0 : editData.question_choices.map(function (item) { + return item.choice_text; + })); + var answerIndexs = []; + editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item, index) { + answerIndexs.push(item - 1); + }); + setActiveAnswer(answerIndexs); + }, [editData]); + (0,react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + isEdit: isEdit + }; + }); + var onSave = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var findNotAnswerIndex, choices, res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (title) { + _context.next = 3; + break; + } + message/* default.info */.ZP.info("请您输入题目"); + return _context.abrupt("return", false); + case 3: + findNotAnswerIndex = questionChoiceList.findIndex(function (item) { + return !item; + }); + if (!(findNotAnswerIndex > -1)) { + _context.next = 7; + break; + } + message/* default.info */.ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(ProgrammingEditor_tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9")); + return _context.abrupt("return", false); + case 7: + if (activeAnswer.length) { + _context.next = 10; + break; + } + message/* default.info */.ZP.info("请设置本题的正确答案,点击选项A/B...即可完成设置"); + return _context.abrupt("return", false); + case 10: + if (!(activeAnswer.length < 1)) { + _context.next = 13; + break; + } + message/* default.info */.ZP.info("请选择答案"); + return _context.abrupt("return", false); + case 13: + choices = questionChoiceList.map(function (item, index) { + return { + choice_text: item, + is_answer: activeAnswer.includes(index) ? index + 1 : 0 + }; + }); + if (!editData.question_id) { + _context.next = 20; + break; + } + _context.next = 17; + return dispatch({ + type: "exercise/editExerciseQuestion", + payload: { + "id": editData.question_id, + "question_title": title, + "question_type": 1, + "question_score": score, + "question_choices": choices.map(function (item) { + return item.choice_text; + }), + "standard_answers": choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }) + } + }); + case 17: + res = _context.sent; + _context.next = 23; + break; + case 20: + _context.next = 22; + return dispatch({ + type: "exercise/addExerciseQuestion", + payload: { + insert_id: editData === null || editData === void 0 ? void 0 : editData.insert_id, + "categoryId": params.categoryId, + "question_title": title, + "question_type": 1, + "question_score": "5.0", + "question_choices": choices.map(function (item) { + return item.choice_text; + }), + "standard_answers": choices.filter(function (item) { + return item.is_answer; + }).map(function (item) { + return item.is_answer; + }) + } + }); + case 22: + res = _context.sent; + case 23: + if (res.status === 0) { + message/* default.success */.ZP.success("保存成功"); + setIsEdit(false); + dispatch({ + type: "exercise/editExercise", + payload: objectSpread2_default()({}, params) + }); + } + case 24: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function onSave() { + return _ref2.apply(this, arguments); + }; + }(); + var actionArr = [{ + name: "删除", + icon: "iconfont c-light-black ml30 icon-shanchu current", + id: "del" + }, + // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, + // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, + { + name: "(向下插入单选题)", + icon: "iconfont c-light-primary ml30 icon-tianjia current", + id: "add" + }, { + name: "编辑", + icon: "iconfont c-light-primary ml30 icon-bianjishijuan3x current", + id: "edit" + }].filter(function (item) { + var _exercise$editData, _exercise$editData$ex; + if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.exercise_status) === 1) { + return item; + } else { + return item.id !== 'del' && item.id !== 'add'; + } + }); + var actionClick = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(item) { + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + if (!(editKey !== -1)) { + _context3.next = 3; + break; + } + message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); + return _context3.abrupt("return"); + case 3: + _context3.t0 = item.id; + _context3.next = _context3.t0 === "del" ? 6 : _context3.t0 === "up" ? 8 : _context3.t0 === "down" ? 8 : _context3.t0 === "edit" ? 12 : _context3.t0 === "add" ? 14 : 16; + break; + case 6: + es_modal/* default.confirm */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '确认要删除这个试题吗?', + onOk: function onOk() { + return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ + id: editData.question_id + }); + case 2: + dispatch({ + type: "exercise/editExercise", + payload: objectSpread2_default()({}, params) + }); + case 3: + case "end": + return _context2.stop(); + } + }, _callee2); + }))(); + } + }); + return _context3.abrupt("break", 16); + case 8: + _context3.next = 10; + return dispatch({ + type: "exercise/exeriseMoveUpDown", + payload: { + id: editData.question_id, + opr: item.id + } + }); + case 10: + dispatch({ + type: "exercise/editExercise", + payload: objectSpread2_default()({}, params) + }); + return _context3.abrupt("break", 16); + case 12: + _umi_production_exports.history.push("/problems/".concat(editData === null || editData === void 0 ? void 0 : editData.hack_identifier, "/edit?type=exercises&express_id=").concat(params.categoryId, "&question_id=").concat(editData === null || editData === void 0 ? void 0 : editData.question_id, "&score=").concat(editData === null || editData === void 0 ? void 0 : editData.question_score, "&exercise=true&callback_url=").concat(location.pathname)); + return _context3.abrupt("break", 16); + case 14: + addCallback({ + key: editData.key, + insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, + question_type: 6 + }); + return _context3.abrupt("break", 16); + case 16: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function actionClick(_x) { + return _ref3.apply(this, arguments); + }; + }(); + var handleClick = /*#__PURE__*/function () { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(e) { + var res; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + e.preventDefault(); + _context4.next = 3; + return (0,service_exercise/* startProgram */.nF)({ + id: editData === null || editData === void 0 ? void 0 : editData.hack_identifier + }); + case 3: + res = _context4.sent; + res.status === 0 && (0,util/* openNewWindow */.xg)("/myproblems/".concat(res === null || res === void 0 ? void 0 : res.identifier)); + case 5: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return function handleClick(_x2) { + return _ref4.apply(this, arguments); + }; + }(); + var showList = function showList() { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font16 c-blue", + children: [editData.key, "\u3001\u7F16\u7A0B\u9898"] + }), "\uFF08", editData.question_score, "\u5206\uFF09"] + }) + }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font18", + children: [editData.key, "."] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font16", + children: ["\uFF08", editData.question_score, "\u5206\uFF09"] + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionChoices, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.description || '' + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.action, + children: !editData.hideAction && actionArr.map(function (item, index) { + if (item.id === "up" && editData.key === 1) return null; + if (item.id === "down" && editData.key === editData.len) return null; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "bottom", + title: item.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + return actionClick(item); + }, + className: item.icon + }) + }, index); + }) + })] + }); + }; + return /*#__PURE__*/(0,jsx_runtime.jsx)("section", { + className: editormodules.wrap, + children: showList() + }); +}; +/* harmony default export */ var ProgrammingEditor = ((0,_umi_production_exports.connect)(function (_ref5) { + var problemset = _ref5.problemset, + loading = _ref5.loading, + globalSetting = _ref5.globalSetting, + exercise = _ref5.exercise; return { + problemset: problemset, + globalSetting: globalSetting, exercise: exercise, - user: user + loading: loading.effects }; -})(CameraMonitoring)); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var DuplicateCheckingmodules = ({"flex_box_center":"flex_box_center___xF1ge","flex_space_between":"flex_space_between___YGq9c","flex_box_vertical_center":"flex_box_vertical_center___wd_iR","flex_box_center_end":"flex_box_center_end___HoL5p","flex_box_column":"flex_box_column___Oy7FC","warp":"warp____YDkr","header":"header___BRNBu","empty":"empty___iwhMt"}); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/components/SubjectTable/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var SubjectTablemodules = ({"flex_box_center":"flex_box_center___Xa_jj","flex_space_between":"flex_space_between___N_2qI","flex_box_vertical_center":"flex_box_vertical_center___wGZOw","flex_box_center_end":"flex_box_center_end___GYY4W","flex_box_column":"flex_box_column___jR_ZX","subjectTable":"subjectTable___WrGqf","title":"title___ZCcfg","customTable":"customTable___xSvZm","row":"row___Acnda","line":"line___nmQeX"}); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/components/SubjectTable/index.tsx +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,react.forwardRef)(ProgrammingEditor_SingleEditor))); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/CombinationEditor/index.tsx @@ -8190,218 +12806,869 @@ var CameraMonitoring = function CameraMonitoring(_ref) { -var SubjectTable = function SubjectTable(_ref) { - var index = _ref.index, - bottomLine = _ref.bottomLine, - gather = _ref.gather, - search = _ref.search; + + + + + + + + + +var CombinationEditor_excluded = ["problemset", "exercise", "globalSetting", "loading", "dispatch", "onRef", "editData", "cancelAdd", "editKey", "setEditKey", "setIsClaer", "addCallback", "reload"]; + + + + + + + + + + + +var CombinationEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; +var CombinationEditor = function CombinationEditor(_ref, ref) { + var problemset = _ref.problemset, + exercise = _ref.exercise, + globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + editData = _ref.editData, + _ref$cancelAdd = _ref.cancelAdd, + cancelAdd = _ref$cancelAdd === void 0 ? function () {} : _ref$cancelAdd, + editKey = _ref.editKey, + _ref$setEditKey = _ref.setEditKey, + setEditKey = _ref$setEditKey === void 0 ? function () {} : _ref$setEditKey, + _ref$setIsClaer = _ref.setIsClaer, + setIsClaer = _ref$setIsClaer === void 0 ? function () {} : _ref$setIsClaer, + _ref$addCallback = _ref.addCallback, + addCallback = _ref$addCallback === void 0 ? function (data) {} : _ref$addCallback, + _ref$reload = _ref.reload, + reload = _ref$reload === void 0 ? function () {} : _ref$reload, + props = objectWithoutProperties_default()(_ref, CombinationEditor_excluded); var _useState = (0,react.useState)([]), _useState2 = slicedToArray_default()(_useState, 2), - list = _useState2[0], - setList = _useState2[1]; + knowledge = _useState2[0], + setKnowledge = _useState2[1]; var _useState3 = (0,react.useState)(false), _useState4 = slicedToArray_default()(_useState3, 2), - loading = _useState4[0], - setLoading = _useState4[1]; - var _useState5 = (0,react.useState)(false), + isEdit = _useState4[0], + setIsEdit = _useState4[1]; + var _useState5 = (0,react.useState)(true), _useState6 = slicedToArray_default()(_useState5, 2), - drop = _useState6[0], - setDrop = _useState6[1]; - var urlParams = (0,_umi_production_exports.useParams)(); - var location = (0,_umi_production_exports.useLocation)(); - var _useSearchParams = (0,_umi_production_exports.useSearchParams)(), - _useSearchParams2 = slicedToArray_default()(_useSearchParams, 1), - searchParams = _useSearchParams2[0]; - var _useState7 = (0,react.useState)({ - page: 1, - limit: 6, - total: 0 - }), + show = _useState6[0], + setShow = _useState6[1]; + var _useState7 = (0,react.useState)(1), _useState8 = slicedToArray_default()(_useState7, 2), - params = _useState8[0], - setParams = _useState8[1]; + difficulty = _useState8[0], + setdifficult = _useState8[1]; + var _useState9 = (0,react.useState)(false), + _useState10 = slicedToArray_default()(_useState9, 2), + repeat_answer = _useState10[0], + setrepeat_answer = _useState10[1]; + var _useState11 = (0,react.useState)([]), + _useState12 = slicedToArray_default()(_useState11, 2), + knowledgeOptions = _useState12[0], + setKnowledgeOptions = _useState12[1]; + var params = (0,_umi_production_exports.useParams)(); + var dom = (0,react.useRef)(null); + var _useState13 = (0,react.useState)(''), + _useState14 = slicedToArray_default()(_useState13, 2), + name = _useState14[0], + setName = _useState14[1]; + var _useState15 = (0,react.useState)([]), + _useState16 = slicedToArray_default()(_useState15, 2), + questionList = _useState16[0], + setQuestionList = _useState16[1]; + var freeze = (0,react.useRef)(false); + var handleAddKnowledgeFinish = function handleAddKnowledgeFinish(item) { + setKnowledgeOptions([].concat(toConsumableArray_default()(knowledgeOptions), [objectSpread2_default()({}, item)])); + }; (0,react.useEffect)(function () { - console.log(gather, 'gather'); - if (index === 0) { - setDrop(true); + var _editData$sub_exercis; + if (freeze.current) return; + if (!(editData !== null && editData !== void 0 && editData.question_title)) { + setIsEdit(true); + setName(''); + return; } - }, []); + setName(editData === null || editData === void 0 ? void 0 : editData.question_title); + setrepeat_answer(!(editData !== null && editData !== void 0 && editData.repeat_answer)); + setdifficult(editData === null || editData === void 0 ? void 0 : editData.difficulty); + setKnowledge(editData.tag_discipline_ids); + var list = editData === null || editData === void 0 ? void 0 : (_editData$sub_exercis = editData.sub_exercise_questions) === null || _editData$sub_exercis === void 0 ? void 0 : _editData$sub_exercis.map(function (k) { + var _k$question_choices, _ref2, _k$question_choices2; + return objectSpread2_default()(objectSpread2_default()({}, k), {}, { + id: k.question_id, + name: k.question_title, + open: false, + score: k.question_score, + qusList: k === null || k === void 0 ? void 0 : (_k$question_choices = k.question_choices) === null || _k$question_choices === void 0 ? void 0 : _k$question_choices.map(function (e) { + return e.choice_text; + }), + activeQusEditor: null, + qusAnswer: (_ref2 = [k === null || k === void 0 ? void 0 : (_k$question_choices2 = k.question_choices) === null || _k$question_choices2 === void 0 ? void 0 : _k$question_choices2.findIndex(function (e) { + return e.standard_boolean; + })]) === null || _ref2 === void 0 ? void 0 : _ref2.filter(function (k) { + return k !== -1; + }) + }); + }); + setQuestionList(list); + }, [editData, isEdit]); (0,react.useEffect)(function () { - if (drop) { - getData(); - } - }, [drop]); - var columns = [{ - title: '序号', - dataIndex: 'index', - key: 'index', - align: 'left', - ellipsis: true, - render: function render(a, b, i) { - return params.limit * (params.page - 1) + i + 1; + if (isEdit) { + init(); } - }, { - title: '姓名', - dataIndex: 'username', - key: 'username', - align: 'left', - ellipsis: true - }, { - title: '班级', - dataIndex: 'user_group_name', - key: 'user_group_name', - align: 'left', - render: function render(a) { - return a || '--'; + function init() { + return _init.apply(this, arguments); } - }, { - title: '学号', - dataIndex: 'student_id', - key: 'student_id', - align: 'left' - }, { - title: '相似度', - dataIndex: 'code_rate', - key: 'code_rate', - align: 'left', - render: function render(a) { - return a + '%'; + function _init() { + _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _exercise$editData, _exercise$editData$ex; + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return (0,service_exercise/* getTagDiscipline */.YY)({ + sub_discipline_id: (_exercise$editData = exercise.editData) === null || _exercise$editData === void 0 ? void 0 : (_exercise$editData$ex = _exercise$editData.exercise) === null || _exercise$editData$ex === void 0 ? void 0 : _exercise$editData$ex.sub_discipline_id + }); + case 2: + res = _context.sent; + setKnowledgeOptions(res.tag_disciplines); + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _init.apply(this, arguments); } - }, { - title: '操作', - dataIndex: 'id', - key: 'id', - align: 'left', - render: function render(v) { - var url = "/classrooms/".concat(urlParams === null || urlParams === void 0 ? void 0 : urlParams.coursesId, "/exercise/").concat(urlParams === null || urlParams === void 0 ? void 0 : urlParams.categoryId, "/detail/").concat(v, "/review_detail"); - if (searchParams.get("random")) { - url = url + "?random=".concat(searchParams.get("random")); - } - return /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: url, - target: "_blank", - children: "\u67E5\u770B" - }); + }, [isEdit]); + (0,react.useEffect)(function () { + var _exercise$tagDiscipli; + var data = exercise !== null && exercise !== void 0 && (_exercise$tagDiscipli = exercise.tagDisciplineData) !== null && _exercise$tagDiscipli !== void 0 && _exercise$tagDiscipli.tag_disciplines && Array.isArray(exercise.tagDisciplineData.tag_disciplines) ? exercise.tagDisciplineData.tag_disciplines : []; + setKnowledgeOptions(data); + }, [exercise.tagDisciplineData]); + (0,react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + isEdit: isEdit + }; + }); + var repeal = function repeal(res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default.success */.ZP.success("保存成功"); + setIsEdit(false); + setEditKey(-1); + freeze.current = false; + reload(); } - }]; - var getData = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(record) { - var initParams, body, res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { + }; + var onSave = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + var i, _param$qusList, param, findNotAnswerIndex, sub_questions, res, _exercise$editData4, _exercise$editData4$e; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { case 0: - setLoading(true); - initParams = record || { - page: 1, - limit: 10, - total: 0 - }; - body = objectSpread2_default()({ - id: urlParams === null || urlParams === void 0 ? void 0 : urlParams.categoryId, - question_id: gather === null || gather === void 0 ? void 0 : gather.question_id, - search: search - }, initParams); - _context.next = 5; - return (0,fetch/* default */.ZP)("/api/courses/".concat(urlParams === null || urlParams === void 0 ? void 0 : urlParams.coursesId, "/exercises/code_review_users.json"), { - method: 'get', - params: body + if (name) { + _context4.next = 3; + break; + } + message/* default.info */.ZP.info('请您输入题干'); + return _context4.abrupt("return", false); + case 3: + if (!(questionList.length === 0)) { + _context4.next = 6; + break; + } + message/* default.info */.ZP.info('请您添加小题'); + return _context4.abrupt("return", false); + case 6: + i = 0; + case 7: + if (!(i < questionList.length)) { + _context4.next = 25; + break; + } + param = questionList[i]; + if (param !== null && param !== void 0 && param.name) { + _context4.next = 12; + break; + } + message/* default.info */.ZP.info("\u8BF7\u60A8\u8F93\u5165\u7B2C".concat(i + 1, "\u5C0F\u9898\u9898\u5E72")); + return _context4.abrupt("return", false); + case 12: + if (param !== null && param !== void 0 && param.score) { + _context4.next = 15; + break; + } + message/* default.info */.ZP.info("\u7B2C".concat(i + 1, "\u5C0F\u9898\u5206\u6570\u4E0D\u80FD\u4E3A0\u6216\u7A7A")); + return _context4.abrupt("return", false); + case 15: + findNotAnswerIndex = param === null || param === void 0 ? void 0 : (_param$qusList = param.qusList) === null || _param$qusList === void 0 ? void 0 : _param$qusList.findIndex(function (item) { + return !item; }); - case 5: - res = _context.sent; - if (res) { - setList(res === null || res === void 0 ? void 0 : res.users); - setLoading(false); - setParams(objectSpread2_default()(objectSpread2_default()({}, initParams), {}, { - total: (res === null || res === void 0 ? void 0 : res.count) || 0 - })); + if (!(findNotAnswerIndex > -1)) { + _context4.next = 19; + break; + } + message/* default.info */.ZP.info("\u8BF7\u5148\u8F93\u5165\u7B2C".concat(i + 1, "\u5C0F\u9898").concat(CombinationEditor_tagList[findNotAnswerIndex], "\u9009\u9879\u7684\u5185\u5BB9")); + return _context4.abrupt("return", false); + case 19: + if (param !== null && param !== void 0 && param.qusAnswer.length) { + _context4.next = 22; + break; + } + message/* default.info */.ZP.info("\u8BF7\u8BBE\u7F6E\u7B2C".concat(i + 1, "\u5C0F\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E")); + return _context4.abrupt("return", false); + case 22: + i++; + _context4.next = 7; + break; + case 25: + sub_questions = questionList.map(function (e) { + var _e$qusAnswer; + return { + id: e.id > 1 ? e.id : null, + question_title: e.name, + question_type: 1, + question_choices: e.qusList, + question_score: e.score, + standard_answers: [((_e$qusAnswer = e.qusAnswer) === null || _e$qusAnswer === void 0 ? void 0 : _e$qusAnswer[0]) + 1] + }; + }); + freeze.current = true; + if (!editData.question_id) { + _context4.next = 36; + break; + } + if (!((editData === null || editData === void 0 ? void 0 : editData.is_my) === 1)) { + _context4.next = 32; + break; + } + es_modal/* default.confirm */.Z.confirm({ + title: '提示', + content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', + okText: '覆盖原题', + cancelText: '不覆盖', + keyboard: false, + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var _exercise$editData2, _exercise$editData2$e; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return dispatch({ + type: 'exercise/editExerciseQuestion', + payload: { + id: editData.question_id, + question_title: name, + question_type: 7, + sub_questions: sub_questions, + tag_discipline_ids: knowledge, + sub_discipline_id: (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : (_exercise$editData2$e = _exercise$editData2.exercise) === null || _exercise$editData2$e === void 0 ? void 0 : _exercise$editData2$e.sub_discipline_id, + difficulty: difficulty, + is_cover: 1, + repeat_answer: !repeat_answer + } + }); + case 2: + res = _context2.sent; + repeal(res); + case 4: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }(), + onCancel: function () { + var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + var _exercise$editData3, _exercise$editData3$e; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return dispatch({ + type: 'exercise/editExerciseQuestion', + payload: { + id: editData.question_id, + question_title: name, + question_type: 7, + sub_questions: sub_questions, + tag_discipline_ids: knowledge, + sub_discipline_id: (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : (_exercise$editData3$e = _exercise$editData3.exercise) === null || _exercise$editData3$e === void 0 ? void 0 : _exercise$editData3$e.sub_discipline_id, + difficulty: difficulty, + repeat_answer: !repeat_answer + } + }); + case 2: + res = _context3.sent; + repeal(res); + case 4: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onCancel() { + return _onCancel.apply(this, arguments); + } + return onCancel; + }() + }); + _context4.next = 36; + break; + case 32: + _context4.next = 34; + return dispatch({ + type: 'exercise/editExerciseQuestion', + payload: { + id: editData.question_id, + question_title: name, + question_type: 7, + sub_questions: sub_questions, + tag_discipline_ids: knowledge, + sub_discipline_id: (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.sub_discipline_id, + difficulty: difficulty, + repeat_answer: !repeat_answer + } + }); + case 34: + res = _context4.sent; + repeal(res); + case 36: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return function onSave() { + return _ref3.apply(this, arguments); + }; + }(); + var actionArr = [{ + name: '删除', + icon: 'iconfont c-light-black ml30 icon-shanchu current', + id: 'del' + }, + // { name: "上移", icon: "iconfont c-green ml30 icon-shangyi_Hover", id: "up" }, + // { name: "下移", icon: "iconfont c-green ml30 icon-xiayi_moren", id: "down" }, + // { name: "(向下插入单选题)", icon: "iconfont c-light-primary ml30 icon-tianjia current", id: "add" }, + { + name: '编辑', + icon: 'iconfont c-light-primary ml30 icon-bianjishijuan3x current', + id: 'edit' + }].filter(function (item) { + var _exercise$editData5, _exercise$editData5$e; + if ((exercise === null || exercise === void 0 ? void 0 : (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.exercise_status) === 1) { + return item; + } else { + return item.id !== 'del' && item.id !== 'add'; + } + }); + var actionClick = /*#__PURE__*/function () { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) { + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { + case 0: + if (!(editKey !== -1)) { + _context6.next = 3; + break; } - case 7: + message/* default.error */.ZP.error('请先保存或取消当前正在编辑的问题。'); + return _context6.abrupt("return"); + case 3: + _context6.t0 = item.id; + _context6.next = _context6.t0 === 'del' ? 6 : _context6.t0 === 'up' ? 8 : _context6.t0 === 'down' ? 8 : _context6.t0 === 'edit' ? 12 : _context6.t0 === 'add' ? 15 : 17; + break; + case 6: + es_modal/* default.confirm */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '确认要删除这个试题吗?', + onOk: function onOk() { + return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + _context5.next = 2; + return (0,service_exercise/* exeriseQuestionDelete */.Fl)({ + id: editData.question_id + }); + case 2: + dispatch({ + type: 'exercise/editExercise', + payload: objectSpread2_default()({}, params) + }); + case 3: + case "end": + return _context5.stop(); + } + }, _callee5); + }))(); + } + }); + return _context6.abrupt("break", 17); + case 8: + _context6.next = 10; + return dispatch({ + type: 'exercise/exeriseMoveUpDown', + payload: { + id: editData.question_id, + opr: item.id + } + }); + case 10: + dispatch({ + type: 'exercise/editExercise', + payload: objectSpread2_default()({}, params) + }); + return _context6.abrupt("break", 17); + case 12: + setEditKey(editData.dragKey); + setIsEdit(true); + return _context6.abrupt("break", 17); + case 15: + addCallback({ + key: editData.key, + insert_id: editData === null || editData === void 0 ? void 0 : editData.question_id, + question_type: 0 + }); + return _context6.abrupt("break", 17); + case 17: case "end": - return _context.stop(); + return _context6.stop(); } - }, _callee); + }, _callee6); })); - return function getData(_x) { - return _ref2.apply(this, arguments); + return function actionClick(_x) { + return _ref4.apply(this, arguments); }; }(); - var handleChangePage = function handleChangePage(page) { - var newParams = objectSpread2_default()(objectSpread2_default()({}, params), {}, { - page: page - }); - setParams(newParams); - getData(newParams); - }; - var handleDrop = function handleDrop() { - setDrop(!drop); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: SubjectTablemodules.subjectTable, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: SubjectTablemodules.title, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "c-light-primary", - children: [index + 1, "\u3001", (gather === null || gather === void 0 ? void 0 : gather.question_type) === 5 ? '实训题' : '编程题'] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "c-grey-333", - children: ["\uFF08", gather === null || gather === void 0 ? void 0 : gather.score, "\u5206\uFF09\uFF1A", gather === null || gather === void 0 ? void 0 : gather.question_title] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "ml40 c-grey-999", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", { - className: "c-red-ee4", - children: gather === null || gather === void 0 ? void 0 : gather.checked_count - }), "\xA0\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08\u5171", gather === null || gather === void 0 ? void 0 : gather.total_count, "\u4E2A\u4F5C\u54C1\uFF09"] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - onClick: handleDrop, + var showList = function showList() { + var _editData$sub_exercis2; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + ref: dom, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: !(editData !== null && editData !== void 0 && editData.isPreview) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font16 c-blue", + children: [editData.key, "\u3001\u7EC4\u5408\u9898"] + }), "\uFF08", editData.question_score, "\u5206\uFF09"] + }) + }), editData !== null && editData !== void 0 && editData.isPreview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { - marginLeft: 'auto', - cursor: 'pointer', - color: '#0152d9' + display: 'flex', + alignItems: 'flex-start' }, - children: [drop ? '收起' : '展开', drop ? /*#__PURE__*/(0,jsx_runtime.jsx)(UpOutlined/* default */.Z, {}) : /*#__PURE__*/(0,jsx_runtime.jsx)(DownOutlined/* default */.Z, {})] - }), (gather === null || gather === void 0 ? void 0 : gather.question_type) === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font18", + children: [editData.key, "."] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font16", + children: ["\uFF08\u5171", editData === null || editData === void 0 ? void 0 : editData.sub_q_count, "\u5C0F\u9898\uFF0C", editData.question_score, "\u5206\uFF09"] + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: editData.question_title + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { style: { - marginLeft: 20 + display: show ? 'block' : 'none' }, - target: "_blank", - href: "/shixuns/".concat(gather === null || gather === void 0 ? void 0 : gather.shixun_identifier, "/challenges"), - children: "\u5B9E\u8BAD\u8BE6\u60C5" + className: editormodules.questionChoices, + children: editData === null || editData === void 0 ? void 0 : (_editData$sub_exercis2 = editData.sub_exercise_questions) === null || _editData$sub_exercis2 === void 0 ? void 0 : _editData$sub_exercis2.map(function (e, i) { + var _e$question_choices; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex', + alignItems: 'flex-start' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font18", + children: [editData.key, ".", i + 1, '(单选题)'] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: e.question_title + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + flexShrink: 0 + }, + className: "font16", + children: ["\uFF08", e.question_score, "\u5206\uFF09"] + })] + }), e === null || e === void 0 ? void 0 : (_e$question_choices = e.question_choices) === null || _e$question_choices === void 0 ? void 0 : _e$question_choices.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { + checked: e.standard_answer.includes(index + 1), + disabled: true, + children: [CombinationEditor_tagList[index], "."] + }, index) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: "1", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-black font14", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.choice_text + }) + }) + })] + }, index); + })] + }, i); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.action, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-light-primary current", + onClick: function onClick() { + return setShow(!show); + }, + style: {}, + children: show ? '收起' : '展开' + }), !editData.hideAction && actionArr.map(function (item, index) { + if (item.id === 'up' && editData.key === 1) return null; + if (item.id === 'down' && editData.key === editData.len) return null; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "bottom", + title: item.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + return actionClick(item); + }, + className: item.icon + }) + }, index); + })] })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - className: SubjectTablemodules.customTable, - style: { - display: drop ? 'block' : 'none' - }, - dataSource: list, - bordered: false, - rowKey: function rowKey(v) { - return v.id; - }, - rowClassName: SubjectTablemodules.row, - columns: columns, - loading: loading, - pagination: { - pageSize: params.limit, - total: params.total, - current: params.page, - onChange: handleChangePage, - showQuickJumper: true, - showSizeChanger: false, - hideOnSinglePage: true, - position: ["bottomCenter"] - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: SubjectTablemodules.line, - style: { - visibility: bottomLine ? 'hidden' : 'visible' - } - })] + }); + }; + var showEdit = function showEdit() { + var _exercise$editData6, _exercise$editData6$e; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.questionType, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font16 c-blue", + children: "\u9009\u62E9\u9898" + }), "\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + style: { + padding: 0 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "combination-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: name, + onChange: function onChange(value) { + return setName(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + children: ["\u5C0F\u9898\u6570\uFF1A", questionList === null || questionList === void 0 ? void 0 : questionList.length] + }), questionList === null || questionList === void 0 ? void 0 : questionList.map(function (e, j) { + var _e$qusList; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.fold, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + return handleQuestionList('open', j); + }, + className: editormodules.head, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-sanjiaoxing", + style: { + transform: e.open ? 'initial' : 'rotate(270deg) translate(2px, 4px)' + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: ["\u7B2C", j + 1, "\u5C0F\u9898\uFF08\u5355\u9009\u9898\uFF09"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("b", { + onClick: function onClick(e) { + e.stopPropagation(); + handleQuestionList('delete', j); + }, + className: "iconfont icon-shanchu8" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "mb10", + style: { + display: e.open ? 'block' : 'none' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: e === null || e === void 0 ? void 0 : e.name, + onChange: function onChange(value) { + return handleQuestionList('value', j, value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: editormodules.title, + children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" + })] + })] + }), e === null || e === void 0 ? void 0 : (_e$qusList = e.qusList) === null || _e$qusList === void 0 ? void 0 : _e$qusList.map(function (item, index) { + var _e$qusAnswer2, _e$qusList2; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.choiceWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", + placement: "left", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(editormodules.answer, " ").concat(e !== null && e !== void 0 && (_e$qusAnswer2 = e.qusAnswer) !== null && _e$qusAnswer2 !== void 0 && _e$qusAnswer2.includes(index) ? editormodules.activeAnswer : ''), + onClick: function onClick() { + return handleQuestionList('answer', j, index); + }, + children: CombinationEditor_tagList[index] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.editorWrap, + children: (e === null || e === void 0 ? void 0 : e.activeQusEditor) === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-option-".concat(index), + watch: true, + height: 155, + isFocus: true, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", + defaultValue: item, + onChange: function onChange(value) { + return handleQuestionList('details', j, value); + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.htmlWrap, + onClick: function onClick() { + return handleQuestionList('edit', j, index); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item + }) + }) + }), index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5220\u9664", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.deleteIcon, " iconfont icon-htmal5icon19"), + onClick: function onClick() { + return handleQuestionList('deleteQus', j, index); + } + }) + }), index < 7 && index === (e === null || e === void 0 ? void 0 : (_e$qusList2 = e.qusList) === null || _e$qusList2 === void 0 ? void 0 : _e$qusList2.length) - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.addIcon, " iconfont icon-roundaddfill ml6"), + onClick: function onClick() { + return handleQuestionList('addQus', j); + } + }) + })] + }, index); + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: "mt10", + children: ["\u5206\u503C\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + value: e.score, + max: 10000, + min: 0, + onChange: function onChange(value) { + return handleQuestionList('score', j, value); + } + }), ' ', "\u5206"] + })] + })] + }, e.id); + }), questionList.length < 20 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + type: "primary", + onClick: handleAdd, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-tianjiatimu mr5 font14" + }), "\u6DFB\u52A0\u5C0F\u9898"] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: "mt10", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: editormodules.difficult, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { + style: { + color: 'red' + }, + children: "*" + }), " \u96BE\u5EA6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + value: difficulty, + onChange: function onChange(e) { + setdifficult(e.target.value); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 1, + children: "\u7B80\u5355" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 2, + children: "\u9002\u4E2D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 3, + children: "\u56F0\u96BE" + })] + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "".concat(editormodules.title), + children: ["\u77E5\u8BC6\u70B9\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88ABEduCoder\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt5", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { + selectvalues: editData === null || editData === void 0 ? void 0 : editData.tag_discipline_ids, + value: knowledge, + onChange: setKnowledge, + subId: (_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.sub_discipline_id, + knowledgeOptions: knowledgeOptions, + onAddKnowledgeFinish: handleAddKnowledgeFinish + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: "tr", + children: [(editKey !== -1 || editData.question_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + type: "default", + onClick: function onClick() { + cancelAdd(); + setIsEdit(false); + }, + children: "\u53D6\u6D88" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: "ml20", + type: "primary", + onClick: function onClick() { + onSave(); + }, + children: "\u4FDD\u5B58" + })] + })] + }); + }; + var handleAdd = function handleAdd() { + var param = { + id: Math.random(), + item_type: 'SINGLE', + open: false, + name: '', + qusList: ['', '', '', ''], + activeQusEditor: null, + qusAnswer: [], + analysis: '' + }; + setQuestionList(questionList.concat(param)); + }; + var handleQuestionList = function handleQuestionList(type, i, value) { + var cloneQuestionList = (0,lodash.cloneDeep)(questionList); + if (type === 'open') { + cloneQuestionList[i].open = !cloneQuestionList[i].open; + } + if (type === 'delete') { + cloneQuestionList.splice(i, 1); + } + if (type === 'value') { + cloneQuestionList[i].name = value; + } + if (type === 'answer') { + cloneQuestionList[i].qusAnswer = [value]; + } + if (type === 'edit') { + cloneQuestionList[i].activeQusEditor = value; + } + if (type === 'details') { + cloneQuestionList[i].qusList[cloneQuestionList[i].activeQusEditor] = value; + } + if (type === 'addQus') { + cloneQuestionList[i].qusList = cloneQuestionList[i].qusList.concat(''); + } + if (type === 'deleteQus') { + var _cloneQuestionList$i$; + cloneQuestionList[i].qusList = cloneQuestionList[i].qusList.filter(function (_, c) { + return c !== value; + }); + cloneQuestionList[i].qusAnswer = (_cloneQuestionList$i$ = cloneQuestionList[i].qusAnswer) === null || _cloneQuestionList$i$ === void 0 ? void 0 : _cloneQuestionList$i$.filter(function (k) { + return k !== value; + }); + } + if (type === 'analysis') { + cloneQuestionList[i].analysis = value; + } + if (type === 'score') { + cloneQuestionList[i].score = value; + } + setQuestionList(cloneQuestionList); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [!isEdit && showList(), isEdit && showEdit()] }); }; -/* harmony default export */ var components_SubjectTable = (SubjectTable); -// EXTERNAL MODULE: ./src/components/ImagesIcon/index.ts + 31 modules -var ImagesIcon = __webpack_require__(44190); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/index.tsx +/* harmony default export */ var components_CombinationEditor = ((0,_umi_production_exports.connect)(function (_ref5) { + var problemset = _ref5.problemset, + loading = _ref5.loading, + globalSetting = _ref5.globalSetting, + exercise = _ref5.exercise; + return { + problemset: problemset, + globalSetting: globalSetting, + exercise: exercise, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,react.forwardRef)(CombinationEditor))); +// EXTERNAL MODULE: ./node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js + 27 modules +var react_beautiful_dnd_esm = __webpack_require__(66012); +;// CONCATENATED MODULE: ./src/components/DragSubject/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var DragSubjectmodules = ({"flex_box_center":"flex_box_center___dDNpp","flex_space_between":"flex_space_between___ovpjv","flex_box_vertical_center":"flex_box_vertical_center___oqAEt","flex_box_center_end":"flex_box_center_end___mHCIK","flex_box_column":"flex_box_column___GZMP2","posWarp":"posWarp___ZUxXl","pos":"pos___A7NKx","tips":"tips___ap6NV","markWrongBtnWrapper":"markWrongBtnWrapper___oAKlK"}); +;// CONCATENATED MODULE: ./src/components/DragSubject/index.tsx @@ -8417,142 +13684,388 @@ var ImagesIcon = __webpack_require__(44190); -var DuplicateChecking = function DuplicateChecking(_ref) { - var exercise = _ref.exercise, - globalSetting = _ref.globalSetting, - dispatch = _ref.dispatch; - var _useState = (0,react.useState)(''), - _useState2 = slicedToArray_default()(_useState, 2), - value = _useState2[0], - setValue = _useState2[1]; - var _useState3 = (0,react.useState)([]), - _useState4 = slicedToArray_default()(_useState3, 2), - data = _useState4[0], - setData = _useState4[1]; - var _useState5 = (0,react.useState)(''), - _useState6 = slicedToArray_default()(_useState5, 2), - date = _useState6[0], - setDate = _useState6[1]; - var _useState7 = (0,react.useState)(false), - _useState8 = slicedToArray_default()(_useState7, 2), - loading = _useState8[0], - setLoading = _useState8[1]; - var urlParams = (0,_umi_production_exports.useParams)(); - (0,react.useEffect)(function () { - getData(); - }, []); - var getData = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(record) { - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - setLoading(true); - _context.next = 3; - return (0,fetch/* default */.ZP)("/api/courses/".concat(urlParams === null || urlParams === void 0 ? void 0 : urlParams.coursesId, "/exercises/code_review_results.json"), { - method: 'get', - params: { - id: urlParams === null || urlParams === void 0 ? void 0 : urlParams.categoryId, - search: value - } - }); - case 3: - res = _context.sent; - if (!((res === null || res === void 0 ? void 0 : res.status) === -2)) { - _context.next = 7; - break; - } - getData(); - return _context.abrupt("return"); - case 7: - if (res) { - setLoading(false); - setData((res === null || res === void 0 ? void 0 : res.exercise_questions) || []); - setDate(res === null || res === void 0 ? void 0 : res.last_review_time); - } - case 8: - case "end": - return _context.stop(); + + + + + + + + + + + + + + +var DragSubject = function DragSubject(_ref) { + var data = _ref.data, + _ref$isDragDisabled = _ref.isDragDisabled, + isDragDisabled = _ref$isDragDisabled === void 0 ? false : _ref$isDragDisabled, + _ref$editorProps = _ref.editorProps, + editorProps = _ref$editorProps === void 0 ? {} : _ref$editorProps, + _ref$onDragEnd = _ref.onDragEnd, + onDragEnd = _ref$onDragEnd === void 0 ? function () {} : _ref$onDragEnd, + dispatch = _ref.dispatch, + _ref$markBtnVisible = _ref.markBtnVisible, + markBtnVisible = _ref$markBtnVisible === void 0 ? false : _ref$markBtnVisible, + _ref$batchScore = _ref.batchScore, + batchScore = _ref$batchScore === void 0 ? [] : _ref$batchScore, + _ref$reload = _ref.reload, + reload = _ref$reload === void 0 ? function () {} : _ref$reload; + var score = (0,react.useRef)(); + var params = (0,_umi_production_exports.useParams)(); + var classifyType = function classifyType() { + var _data$exercise_types, _data$exercise_types2, _data$exercise_types3, _data$exercise_types4, _data$exercise_types5, _data$exercise_types6, _data$exercise_types7, _data$exercise_types8, _data$exercise_types9, _data$exercise_types10, _data$exercise_types11, _data$exercise_types12, _data$exercise_types13, _data$exercise_types14, _data$exercise_types15, _data$exercise_types16; + var array = [{ + name: '单选题', + type: 0, + count: data === null || data === void 0 ? void 0 : (_data$exercise_types = data.exercise_types) === null || _data$exercise_types === void 0 ? void 0 : _data$exercise_types['q_singles'], + score: data === null || data === void 0 ? void 0 : (_data$exercise_types2 = data.exercise_types) === null || _data$exercise_types2 === void 0 ? void 0 : _data$exercise_types2['q_singles_scores'], + items: [] + }, { + name: '多选题', + type: 1, + count: data === null || data === void 0 ? void 0 : (_data$exercise_types3 = data.exercise_types) === null || _data$exercise_types3 === void 0 ? void 0 : _data$exercise_types3['q_doubles'], + score: data === null || data === void 0 ? void 0 : (_data$exercise_types4 = data.exercise_types) === null || _data$exercise_types4 === void 0 ? void 0 : _data$exercise_types4['q_doubles_scores'], + items: [] + }, { + name: '判断题', + type: 2, + count: data === null || data === void 0 ? void 0 : (_data$exercise_types5 = data.exercise_types) === null || _data$exercise_types5 === void 0 ? void 0 : _data$exercise_types5['q_judges'], + score: data === null || data === void 0 ? void 0 : (_data$exercise_types6 = data.exercise_types) === null || _data$exercise_types6 === void 0 ? void 0 : _data$exercise_types6['q_judges_scores'], + items: [] + }, { + name: '填空题', + type: 3, + count: data === null || data === void 0 ? void 0 : (_data$exercise_types7 = data.exercise_types) === null || _data$exercise_types7 === void 0 ? void 0 : _data$exercise_types7['q_nulls'], + score: data === null || data === void 0 ? void 0 : (_data$exercise_types8 = data.exercise_types) === null || _data$exercise_types8 === void 0 ? void 0 : _data$exercise_types8['q_nulls_scores'], + items: [] + }, { + name: '简答题', + type: 4, + count: data === null || data === void 0 ? void 0 : (_data$exercise_types9 = data.exercise_types) === null || _data$exercise_types9 === void 0 ? void 0 : _data$exercise_types9['q_mains'], + score: data === null || data === void 0 ? void 0 : (_data$exercise_types10 = data.exercise_types) === null || _data$exercise_types10 === void 0 ? void 0 : _data$exercise_types10['q_mains_scores'], + items: [] + }, { + name: '实训题', + type: 5, + count: data === null || data === void 0 ? void 0 : (_data$exercise_types11 = data.exercise_types) === null || _data$exercise_types11 === void 0 ? void 0 : _data$exercise_types11['q_shixuns'], + score: data === null || data === void 0 ? void 0 : (_data$exercise_types12 = data.exercise_types) === null || _data$exercise_types12 === void 0 ? void 0 : _data$exercise_types12['q_shixuns_scores'], + items: [] + }, { + name: '编程题', + type: 6, + count: data === null || data === void 0 ? void 0 : (_data$exercise_types13 = data.exercise_types) === null || _data$exercise_types13 === void 0 ? void 0 : _data$exercise_types13['q_pros'], + score: data === null || data === void 0 ? void 0 : (_data$exercise_types14 = data.exercise_types) === null || _data$exercise_types14 === void 0 ? void 0 : _data$exercise_types14['q_pros_scores'], + items: [] + }, { + name: '组合题', + type: 7, + count: data === null || data === void 0 ? void 0 : (_data$exercise_types15 = data.exercise_types) === null || _data$exercise_types15 === void 0 ? void 0 : _data$exercise_types15['q_combinations'], + score: data === null || data === void 0 ? void 0 : (_data$exercise_types16 = data.exercise_types) === null || _data$exercise_types16 === void 0 ? void 0 : _data$exercise_types16['q_combination_scores'], + items: [] + }]; + return array; + }; + + //过滤函数 + var reorder = function reorder(list, startIndex, endIndex) { + var result = Array.from(list); + var _result$splice = result.splice(startIndex, 1), + _result$splice2 = slicedToArray_default()(_result$splice, 1), + removed = _result$splice2[0]; + result.splice(endIndex, 0, removed); + return result; + }; + var handleDragEnd = function handleDragEnd(result, list, type) { + if (!result.destination) { + return; + } + var items = reorder(list, result.source.index, result.destination.index); + onDragEnd(items, type); + }; + + //打开标记错题弹窗 + var handleMarkWrongQuestion = function handleMarkWrongQuestion(params) { + dispatch({ + type: 'exercise/setActionTabs', + payload: { + key: '标记错题', + params: params + } + }); + }; + var renderSubject = function renderSubject(v, type) { + if (type === 0) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(components_SingleEditor, objectSpread2_default()({ + reload: reload, + editData: v + }, v)); + } + if (type === 1) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(components_MultipleEditor, objectSpread2_default()({ + reload: reload, + editData: v + }, v)); + } + if (type === 2) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(components_JudgmentEditor, objectSpread2_default()({ + reload: reload, + editData: v + }, v)); + } + if (type === 3) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(components_CompletionEditor, objectSpread2_default()({ + reload: reload, + editData: v + }, v)); + } + if (type === 4) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(components_SubjectiveEditor, objectSpread2_default()({ + reload: reload, + editData: v + }, v)); + } + if (type === 5) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(components_ShixunEditor, objectSpread2_default()({ + reload: reload, + editData: v + }, v)); + } + if (type === 6) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(ProgrammingEditor, objectSpread2_default()({ + editData: v + }, v)); + } + if (type === 7) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(components_CombinationEditor, objectSpread2_default()({ + reload: reload, + editData: v + }, v)); + } + }; + var renderMapDom = function renderMapDom(list, type, name) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* DragDropContext */.Z5, { + onDragEnd: function onDragEnd(result) { + return handleDragEnd(result, list, type); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Droppable */.bK, { + droppableId: "droppable", + children: function children(provided, snapshot) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({ + ref: provided.innerRef + }, provided.droppableProps), {}, { + style: { + width: '100%' + }, + children: [list === null || list === void 0 ? void 0 : list.map(function (item, k) { + var _v$question_id; + var v = objectSpread2_default()(objectSpread2_default()({}, item), {}, { + key: k + 1, + hideAction: true, + isPreview: true, + dragKey: type + '-' + k + }, editorProps); + return /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Draggable */._l, { + draggableId: v === null || v === void 0 ? void 0 : (_v$question_id = v.question_id) === null || _v$question_id === void 0 ? void 0 : _v$question_id.toString(), + index: k, + isDragDisabled: isDragDisabled //是否允许拖拽 + , + children: function children(provided, snapshot) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("aside", objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({ + ref: provided.innerRef + }, provided.draggableProps), provided.dragHandleProps), {}, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: DragSubjectmodules.posWarp, + id: v.dragKey, + children: [renderSubject(v, type), markBtnVisible && /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + className: DragSubjectmodules.markWrongBtnWrapper, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + onClick: function onClick() { + return handleMarkWrongQuestion({ + value: v, + type: type + }); + }, + children: v !== null && v !== void 0 && v.is_wrong ? '取消标记错题' : '标记错题' + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {}), !isDragDisabled && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: DragSubjectmodules.pos, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: DragSubjectmodules.tips, + children: "\u62D6\u52A8\u53EF\u4EE5\u6539\u53D8\u8BD5\u9898\u663E\u793A\u987A\u5E8F" + }) + })] + }) + })); + } + }, v === null || v === void 0 ? void 0 : v.question_id); + }), provided.placeholder] + })); } - }, _callee); - })); - return function getData(_x) { - return _ref2.apply(this, arguments); + }) + }); + }; + + //转换中文 + var toChinesNum = function toChinesNum(num) { + var changeNum = ['零', '一', '二', '三', '四', '五', '六', '七', '八', '九']; //changeNum[0] = "零" + var unit = ['', '十', '百', '千', '万']; + num = parseInt(num); + var getWan = function getWan(temp) { + var strArr = temp.toString().split('').reverse(); + var newNum = ''; + for (var i = 0; i < strArr.length; i++) { + newNum = (i == 0 && strArr[i] == 0 ? '' : i > 0 && strArr[i] == 0 && strArr[i - 1] == 0 ? '' : changeNum[strArr[i]] + (strArr[i] == 0 ? unit[0] : unit[i])) + newNum; + } + return newNum; }; - }(); - var handleSearch = function handleSearch() { - // if (value === '') { - // message.info('请输入字符'); - // return; - // } - // setValue(''); - getData(); + var overWan = Math.floor(num / 10000); + var noWan = num % 10000; + if (noWan.toString().length < 4) noWan = '0' + noWan; + return overWan ? getWan(overWan) + '万' + getWan(noWan) : getWan(num); }; - var renderEmpty = function renderEmpty() { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: DuplicateCheckingmodules.empty, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { - src: ImagesIcon/* emptyIcon */.x7, - width: "258" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-grey-c", - children: "\u6682\u65E0\u6570\u636E" - })] + var formatTypeNameToDefaultScore = function formatTypeNameToDefaultScore(typeName) { + var mapping = { + '单选题': 2, + '多选题': 5, + '填空题': 2, + '判断题': 2, + '简答题': 10, + '编程题': 10, + '实训题': 5, + '组合题': 10 + }; + return mapping[typeName] || 0; + }; + var handleBatchSetScore = function handleBatchSetScore(type, typeName) { + score.current = formatTypeNameToDefaultScore(typeName); + es_modal/* default.confirm */.Z.confirm({ + centered: true, + title: '批量设置分数', + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: '', + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [typeName === "组合题" ? '组合题中的每小题' : typeName, "\uFF1A"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + min: 1, + defaultValue: score.current, + onChange: function onChange(value) { + score.current = value; + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "ml5", + children: "\u5206/\u9898" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), typeName === "填空题" && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + color: 'rgb(255, 0, 0)' + }, + children: "\u6BCF\u7A7A\u5206\u503C\u6309\u6BCF\u9898\u5206\u503C\u53D6\u5E73\u5747\u5206\u8BA1\u7B97" + })] + }), + okText: '确认', + cancelText: '取消', + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return (0,fetch/* default */.ZP)("/api/exercises/".concat(params.categoryId, "/batch_set_score.json"), { + method: 'post', + body: { + question_type: type, + score: score.current + } + }); + case 2: + res = _context.sent; + if (res.status !== -1) { + reload(); + } + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }() }); }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: DuplicateCheckingmodules.warp, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: DuplicateCheckingmodules.header, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: ["\u67E5\u91CD\u65F6\u95F4\uFF1A", date || '--'] - }), !!date && /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - value: value, - onChange: function onChange(e) { - return setValue(e.target.value); - }, - suffix: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - onClick: handleSearch, - className: "iconfont icon-sousuo2 c-grey-c" - }), - bordered: false, - placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u641C\u7D22", - onPressEnter: handleSearch - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(skeleton/* default */.Z, { - loading: loading, - active: true, - paragraph: { - rows: 5 - }, - children: data.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: DuplicateCheckingmodules.subject, - children: data.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(components_SubjectTable, { - index: index, - bottomLine: index === data.length - 1, - gather: item, - search: value - }, index); - }) - }) : renderEmpty() - })] + var renderClassifyQuestion = function renderClassifyQuestion() { + var _data$exercise_questi; + var array = classifyType(); + data === null || data === void 0 ? void 0 : (_data$exercise_questi = data.exercise_questions) === null || _data$exercise_questi === void 0 ? void 0 : _data$exercise_questi.forEach(function (v, k) { + if (v.question_type === 0) { + var _array$v$question_typ, _array$v$question_typ2; + (_array$v$question_typ = array[v.question_type]) === null || _array$v$question_typ === void 0 ? void 0 : (_array$v$question_typ2 = _array$v$question_typ.items) === null || _array$v$question_typ2 === void 0 ? void 0 : _array$v$question_typ2.push(v); + } + if (v.question_type === 1) { + var _array$v$question_typ3, _array$v$question_typ4; + (_array$v$question_typ3 = array[v.question_type]) === null || _array$v$question_typ3 === void 0 ? void 0 : (_array$v$question_typ4 = _array$v$question_typ3.items) === null || _array$v$question_typ4 === void 0 ? void 0 : _array$v$question_typ4.push(v); + } + if (v.question_type === 2) { + var _array$v$question_typ5, _array$v$question_typ6; + (_array$v$question_typ5 = array[v.question_type]) === null || _array$v$question_typ5 === void 0 ? void 0 : (_array$v$question_typ6 = _array$v$question_typ5.items) === null || _array$v$question_typ6 === void 0 ? void 0 : _array$v$question_typ6.push(v); + } + if (v.question_type === 3) { + var _array$v$question_typ7, _array$v$question_typ8; + (_array$v$question_typ7 = array[v.question_type]) === null || _array$v$question_typ7 === void 0 ? void 0 : (_array$v$question_typ8 = _array$v$question_typ7.items) === null || _array$v$question_typ8 === void 0 ? void 0 : _array$v$question_typ8.push(v); + } + if (v.question_type === 4) { + var _array$v$question_typ9, _array$v$question_typ10; + (_array$v$question_typ9 = array[v.question_type]) === null || _array$v$question_typ9 === void 0 ? void 0 : (_array$v$question_typ10 = _array$v$question_typ9.items) === null || _array$v$question_typ10 === void 0 ? void 0 : _array$v$question_typ10.push(v); + } + if (v.question_type === 5) { + var _array$v$question_typ11, _array$v$question_typ12; + (_array$v$question_typ11 = array[v.question_type]) === null || _array$v$question_typ11 === void 0 ? void 0 : (_array$v$question_typ12 = _array$v$question_typ11.items) === null || _array$v$question_typ12 === void 0 ? void 0 : _array$v$question_typ12.push(v); + } + if (v.question_type === 6) { + var _array$v$question_typ13, _array$v$question_typ14; + (_array$v$question_typ13 = array[v.question_type]) === null || _array$v$question_typ13 === void 0 ? void 0 : (_array$v$question_typ14 = _array$v$question_typ13.items) === null || _array$v$question_typ14 === void 0 ? void 0 : _array$v$question_typ14.push(v); + } + if (v.question_type === 7) { + var _array$v$question_typ15, _array$v$question_typ16; + (_array$v$question_typ15 = array[v.question_type]) === null || _array$v$question_typ15 === void 0 ? void 0 : (_array$v$question_typ16 = _array$v$question_typ15.items) === null || _array$v$question_typ16 === void 0 ? void 0 : _array$v$question_typ16.push(v); + } + }); + var dom = data === null || data === void 0 ? void 0 : data.map(function (er, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "pl20", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font16 c-light-primary", + children: [toChinesNum(index + 1), "\u3001", er.name] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "c-grey-999", + children: ["\uFF08\u5171", er.count, "\u9898", (er === null || er === void 0 ? void 0 : er.question_type) === 7 ? "\uFF0C\u5305\u542B".concat(er.sub_count, "\u5C0F\u9898") : '', "\uFF1B\u5171", er.score, "\u5206\uFF09"] + }), (batchScore === null || batchScore === void 0 ? void 0 : batchScore.includes(er === null || er === void 0 ? void 0 : er.name)) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + onClick: function onClick() { + return handleBatchSetScore(er === null || er === void 0 ? void 0 : er.question_type, er === null || er === void 0 ? void 0 : er.name); + }, + style: { + "float": 'right' + }, + type: "primary", + ghost: true, + children: "\u6279\u91CF\u8BBE\u7F6E\u5F97\u5206" + })] + }), renderMapDom(er.items, er === null || er === void 0 ? void 0 : er.question_type, er === null || er === void 0 ? void 0 : er.name)] + }, index); + }); + return dom; + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [" ", renderClassifyQuestion(), " "] }); }; -/* harmony default export */ var components_DuplicateChecking = ((0,_umi_production_exports.connect)(function (_ref3) { - var exercise = _ref3.exercise, - globalSetting = _ref3.globalSetting; - return { - exercise: exercise, - globalSetting: globalSetting - }; -})(DuplicateChecking)); -// EXTERNAL MODULE: ./node_modules/antd/es/divider/style/index.js + 1 modules -var divider_style = __webpack_require__(98541); -// EXTERNAL MODULE: ./node_modules/antd/es/divider/index.js -var divider = __webpack_require__(27049); -// EXTERNAL MODULE: ./src/components/DragSubject/index.tsx + 20 modules -var DragSubject = __webpack_require__(78218); +/* harmony default export */ var components_DragSubject = ((0,_umi_production_exports.connect)()(DragSubject)); // EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Export/components/Head/index.tsx + 1 modules var Head = __webpack_require__(21066); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/ReferenceAnswer/index.tsx @@ -8642,7 +14155,7 @@ var ReferenceAnswer_WorkList = function WorkList(_ref) { isPreview: true, activeTabs: activeTabs, showExportBtn: true - }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(DragSubject/* default */.Z, { + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_DragSubject, { data: editData === null || editData === void 0 ? void 0 : editData.exercise_question_types, isDragDisabled: true, markBtnVisible: exercise_status === 3 && ((editData === null || editData === void 0 ? void 0 : (_editData$exercise = editData.exercise) === null || _editData$exercise === void 0 ? void 0 : _editData$exercise.is_creator) || (0,authority/* isSuperAdmins */.Ny)()) @@ -9556,10 +15069,6 @@ var PlusCircleOutlined = __webpack_require__(64789); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/ConfigWorks/index.less?modules // extracted by mini-css-extract-plugin /* harmony default export */ var ConfigWorksmodules = ({"flex_box_center":"flex_box_center___Onpg9","flex_space_between":"flex_space_between___nYRpC","flex_box_vertical_center":"flex_box_vertical_center___NGA7H","flex_box_center_end":"flex_box_center_end___a2dUm","flex_box_column":"flex_box_column___c5CN2","form":"form___TDc55","scoreSettingWrapper":"scoreSettingWrapper___L7weV","ipItem":"ipItem___nAf_u","ipWrp":"ipWrp___x3LTQ","tagWrap":"tagWrap___PMN4b","tag":"tag___Auf1J","padding":"padding___veqnd","unlockKeyWrapper":"unlockKeyWrapper___UOERJ","unlockKeyInput":"unlockKeyInput___ItI9I","mb40":"mb40___eMjps","mb28":"mb28___ZxJPY","mainRuleText":"mainRuleText___U5cJS","minorRuleText":"minorRuleText___aZezx","contentInterval":"contentInterval___slPV9","numberInput":"numberInput____ONIt","publishRuleIndex":"publishRuleIndex___s2cVA","publishRuleContent":"publishRuleContent___HohmS","groupSelector":"groupSelector___Zxqsw","addAndDelete":"addAndDelete___saTVM","deleteIcon":"deleteIcon___vnkck","addIcon":"addIcon___Yz7Ef","cancelBtn":"cancelBtn___p8Klw","submitBtn":"submitBtn___pmm2G"}); -// 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 tag = __webpack_require__(20550); // EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/QuestionCircleOutlined.js var QuestionCircleOutlined = __webpack_require__(63783); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/ConfigWorks/components/MakeUp.tsx @@ -10076,7 +15585,7 @@ var AddIPRange = function AddIPRange(_ref) { padding: '0 4px' }, children: (_item$students = item.students) === null || _item$students === void 0 ? void 0 : _item$students.map(function (v, k) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tag/* default */.Z, { + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_tag/* default */.Z, { closable: v.add || commonHeader.exercise_status > 2, onClose: function onClose() { item.students.splice(k, 1); @@ -13088,8 +18597,6 @@ var ConfigWorks_WorkList = function WorkList(_ref) { var progress_style = __webpack_require__(57273); // EXTERNAL MODULE: ./node_modules/antd/es/progress/index.js + 10 modules var progress = __webpack_require__(97910); -// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 1 modules -var RenderHtml = __webpack_require__(12768); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/StatisticsResult/index.less?modules // extracted by mini-css-extract-plugin /* harmony default export */ var StatisticsResultmodules = ({"title":"title___cJ2wS","wrap":"wrap___y4Bkb"}); diff --git a/p__Classrooms__Lists__Exercise__Detail__index.chunk.css b/p__Classrooms__Lists__Exercise__Detail__index.chunk.css index ccd58d82c1..887b0d7561 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.chunk.css +++ b/p__Classrooms__Lists__Exercise__Detail__index.chunk.css @@ -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 ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Exercise__Edit__index.async.js b/p__Classrooms__Lists__Exercise__Edit__index.async.js deleted file mode 100644 index 90b990507a..0000000000 --- a/p__Classrooms__Lists__Exercise__Edit__index.async.js +++ /dev/null @@ -1,4305 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[5641,60696,56369],{ - -/***/ 56369: -/*!********************************************************!*\ - !*** ./src/components/AddPoints/index.tsx + 2 modules ***! - \********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ AddPoints; } -}); - -// 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/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -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/asyncToGenerator.js -var asyncToGenerator = __webpack_require__(17156); -var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js + 1 modules -var style = __webpack_require__(82000); -// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 2 modules -var es_checkbox = __webpack_require__(32808); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules -var _umi_production_exports = __webpack_require__(89214); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.js + 1 modules -var MinusCircleOutlined = __webpack_require__(3089); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/PlusCircleOutlined.js + 1 modules -var PlusCircleOutlined = __webpack_require__(64789); -// EXTERNAL MODULE: ./src/utils/fetch.ts -var fetch = __webpack_require__(84519); -// EXTERNAL MODULE: ./node_modules/antd/es/select/style/index.js + 1 modules -var select_style = __webpack_require__(95985); -// EXTERNAL MODULE: ./node_modules/antd/es/select/index.js -var es_select = __webpack_require__(34041); -// EXTERNAL MODULE: ./node_modules/antd/es/form/style/index.js + 1 modules -var form_style = __webpack_require__(75627); -// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules -var es_form = __webpack_require__(51018); -;// CONCATENATED MODULE: ./src/components/AddPoints/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var AddPointsmodules = ({}); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/AddPoints/item.tsx - - - - - - - - - - - - - - - - -var CheckboxGroup = es_checkbox/* default.Group */.Z.Group; -var ShixunsListPage = function ShixunsListPage(_ref) { - var _params$zydatas, _params$zydatas2, _params$jbdatas, _params$jbdatas2, _params$kcdatas, _params$kcdatas2, _params$zsdatas, _params$zsdatas2; - var classroomList = _ref.classroomList, - loading = _ref.loading, - user = _ref.user, - _ref$exercise_id = _ref.exercise_id, - exercise_id = _ref$exercise_id === void 0 ? null : _ref$exercise_id, - _ref$homework_common_ = _ref.homework_common_id, - homework_common_id = _ref$homework_common_ === void 0 ? null : _ref$homework_common_, - setitem = _ref.setitem, - item = _ref.item, - type = _ref.type, - rz = _ref.rz, - dispatch = _ref.dispatch; - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - datas = _useState2[0], - setdatas = _useState2[1]; - var _useState3 = (0,react.useState)({ - zydatas: [], - jbdatas: [], - kcdatas: [], - zsdatas: [], - page: 1, - per_page: 20 - }), - _useState4 = slicedToArray_default()(_useState3, 2), - params = _useState4[0], - setparams = _useState4[1]; - var param = (0,_umi_production_exports.useParams)(); - var _useState5 = (0,react.useState)(false), - _useState6 = slicedToArray_default()(_useState5, 2), - isshowmodal = _useState6[0], - setisshowmodal = _useState6[1]; - var _useState7 = (0,react.useState)(false), - _useState8 = slicedToArray_default()(_useState7, 2), - isloading = _useState8[0], - setisloading = _useState8[1]; - var _Form$useForm = es_form/* default.useForm */.Z.useForm(), - _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), - form = _Form$useForm2[0]; - - // // console.log(params); - // useEffect(()=>{ - // if(homework_common_id||exercise_id){ - // getdatas(); - // // getrz(); - - // } - // },[exercise_id,homework_common_id]) - - (0,react.useEffect)(function () { - if (rz) { - // getrz(); - params.zydatas = rz; - setparams(objectSpread2_default()({}, params)); - if (item !== null && item !== void 0 && item.ec_course_id) { - setdata(); - } - } - }, [item, rz]); - function setdata() { - return _setdata.apply(this, arguments); - } //获取认证届别 - function _setdata() { - _setdata = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - console.log('----', item); - _context3.next = 3; - return getjb(item === null || item === void 0 ? void 0 : item.ec_major_school_id); - case 3: - _context3.next = 5; - return getcourse(item === null || item === void 0 ? void 0 : item.ec_year_id); - case 5: - _context3.next = 7; - return getec_points(item === null || item === void 0 ? void 0 : item.ec_course_id); - case 7: - form.setFieldsValue({ - ec_course_id: item === null || item === void 0 ? void 0 : item.ec_course_id, - ec_major_school_id: item === null || item === void 0 ? void 0 : item.ec_major_school_id, - ec_point_ids: item === null || item === void 0 ? void 0 : item.ec_point_ids, - ec_year_id: item === null || item === void 0 ? void 0 : item.ec_year_id - }); - case 8: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return _setdata.apply(this, arguments); - } - function getjb(_x) { - return _getjb.apply(this, arguments); - } //获取关联课程 - function _getjb() { - _getjb = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(key) { - var res; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - _context4.next = 2; - return (0,fetch/* default */.ZP)("/api/ec_major_schools/".concat(key, "/ec_years/get_year_list.json"), { - method: 'get' - }); - case 2: - res = _context4.sent; - params.jbdatas = res === null || res === void 0 ? void 0 : res.data; - setparams(objectSpread2_default()({}, params)); - form.setFieldsValue({ - ec_year_id: '', - ec_course_id: '', - ec_point_ids: [] - }); - case 6: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return _getjb.apply(this, arguments); - } - function getcourse(_x2) { - return _getcourse.apply(this, arguments); - } //获取知识点 - function _getcourse() { - _getcourse = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(key) { - var res; - return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { - case 0: - _context5.next = 2; - return (0,fetch/* default */.ZP)("/api/ec_years/".concat(key, "/ec_courses/get_courses.json"), { - method: 'get' - }); - case 2: - res = _context5.sent; - params.kcdatas = res === null || res === void 0 ? void 0 : res.data; - setparams(objectSpread2_default()({}, params)); - form.setFieldsValue({ - ec_course_id: '', - ec_point_ids: [] - }); - case 6: - case "end": - return _context5.stop(); - } - }, _callee5); - })); - return _getcourse.apply(this, arguments); - } - var getec_points = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(record) { - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,fetch/* default */.ZP)("/api/ec_courses/".concat(record, "/ec_points.json"), { - method: 'get', - params: { - ec_course_id: record - } - }); - case 2: - res = _context.sent; - params.zsdatas = res === null || res === void 0 ? void 0 : res.data; - setparams(objectSpread2_default()({}, params)); - case 5: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function getec_points(_x3) { - return _ref2.apply(this, arguments); - }; - }(); - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: AddPointsmodules.from, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { - form: form, - layout: "inline", - onValuesChange: function onValuesChange(value) { - console.log('----', value); - if (value.ec_major_school_id) { - params.jbdatas = []; - params.kcdatas = []; - params.zsdatas = []; - setparams(objectSpread2_default()({}, params)); - getjb(value.ec_major_school_id); - } - if (value.ec_year_id) { - params.kcdatas = []; - params.zsdatas = []; - setparams(objectSpread2_default()({}, params)); - getcourse(value.ec_year_id); - } - if (value.ec_course_id) { - params.zsdatas = []; - setparams(objectSpread2_default()({}, params)); - getec_points(value.ec_course_id); - } - }, - onFinish: /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(value) { - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - setitem(value); - case 1: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function (_x4) { - return _ref3.apply(this, arguments); - }; - }(), - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u8BA4\u8BC1\u4E13\u4E1A", - name: "ec_major_school_id", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { - style: { - width: 150 - }, - disabled: ((_params$zydatas = params.zydatas) === null || _params$zydatas === void 0 ? void 0 : _params$zydatas.length) <= 0, - placeholder: "\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A", - children: params === null || params === void 0 ? void 0 : (_params$zydatas2 = params.zydatas) === null || _params$zydatas2 === void 0 ? void 0 : _params$zydatas2.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { - value: item === null || item === void 0 ? void 0 : item.ec_major_school_id, - children: item === null || item === void 0 ? void 0 : item.name - }, index); - }) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u8BA4\u8BC1\u5C4A\u522B", - name: "ec_year_id", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { - style: { - width: 150 - }, - disabled: ((_params$jbdatas = params.jbdatas) === null || _params$jbdatas === void 0 ? void 0 : _params$jbdatas.length) <= 0, - placeholder: "\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B", - children: params === null || params === void 0 ? void 0 : (_params$jbdatas2 = params.jbdatas) === null || _params$jbdatas2 === void 0 ? void 0 : _params$jbdatas2.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { - value: item === null || item === void 0 ? void 0 : item.ec_year_id, - children: item === null || item === void 0 ? void 0 : item.year - }, index); - }) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u8BFE\u7A0B", - name: "ec_course_id", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { - style: { - width: 150 - }, - disabled: ((_params$kcdatas = params.kcdatas) === null || _params$kcdatas === void 0 ? void 0 : _params$kcdatas.length) <= 0, - placeholder: "\u8BF7\u9009\u62E9\u8BFE\u7A0B", - children: params === null || params === void 0 ? void 0 : (_params$kcdatas2 = params.kcdatas) === null || _params$kcdatas2 === void 0 ? void 0 : _params$kcdatas2.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { - value: item === null || item === void 0 ? void 0 : item.id, - children: item === null || item === void 0 ? void 0 : item.name - }, index); - }) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u77E5\u8BC6\u70B9", - name: "ec_point_ids", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { - onChange: function onChange() { - form.submit(); - }, - style: { - width: 150 - }, - mode: "multiple", - disabled: ((_params$zsdatas = params.zsdatas) === null || _params$zsdatas === void 0 ? void 0 : _params$zsdatas.length) <= 0, - placeholder: "\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9", - children: params === null || params === void 0 ? void 0 : (_params$zsdatas2 = params.zsdatas) === null || _params$zsdatas2 === void 0 ? void 0 : _params$zsdatas2.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { - value: item === null || item === void 0 ? void 0 : item.id, - children: item === null || item === void 0 ? void 0 : item.name - }, index); - }) - }) - })] - }) - }); -}; -/* harmony default export */ var AddPoints_item = ((0,_umi_production_exports.connect)(function (_ref4) { - var classroomList = _ref4.classroomList, - loading = _ref4.loading, - globalSetting = _ref4.globalSetting, - user = _ref4.user; - return { - classroomList: classroomList, - globalSetting: globalSetting, - loading: loading.effects, - user: user - }; -})(ShixunsListPage)); -;// CONCATENATED MODULE: ./src/components/AddPoints/index.tsx - - - - - - - - - - - - - - -var AddPoints_CheckboxGroup = es_checkbox/* default.Group */.Z.Group; -var AddPoints_ShixunsListPage = function ShixunsListPage(_ref) { - var _user$userInfo2, _user$userInfo2$cours, _user$userInfo$course2; - var classroomList = _ref.classroomList, - loading = _ref.loading, - user = _ref.user, - _ref$exercise_id = _ref.exercise_id, - exercise_id = _ref$exercise_id === void 0 ? null : _ref$exercise_id, - _ref$homework_common_ = _ref.homework_common_id, - homework_common_id = _ref$homework_common_ === void 0 ? null : _ref$homework_common_, - _setitem = _ref.setitem, - type = _ref.type, - dispatch = _ref.dispatch; - var _useState = (0,react.useState)([{}]), - _useState2 = slicedToArray_default()(_useState, 2), - datas = _useState2[0], - setdatas = _useState2[1]; - var _useState3 = (0,react.useState)([]), - _useState4 = slicedToArray_default()(_useState3, 2), - rz = _useState4[0], - setrz = _useState4[1]; - function getdatas() { - return _getdatas.apply(this, arguments); - } - function _getdatas() { - _getdatas = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _res$data; - var res, _res$data2, _res$data3, ec_point_ids; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,fetch/* default */.ZP)("/api/ec_courses/".concat(0, "/ec_points/get_work_points.json"), { - method: 'get', - params: { - exercise_id: exercise_id, - homework_common_id: homework_common_id - } - }); - case 2: - res = _context.sent; - // console.log(res?.data?.[0]); - - if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.length) > 0) { - ec_point_ids = []; - res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.map(function (ite) { - var _ite$ec_point_ids2; - ite === null || ite === void 0 ? void 0 : (_ite$ec_point_ids2 = ite.ec_point_ids) === null || _ite$ec_point_ids2 === void 0 ? void 0 : _ite$ec_point_ids2.map(function (j) { - ec_point_ids.push(j); - }); - }); - _setitem(objectSpread2_default()(objectSpread2_default()({}, res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3[0]), {}, { - ec_point_ids: ec_point_ids - })); - // setitem({...res?.data?.[0]}); - setdatas(res === null || res === void 0 ? void 0 : res.data); - } - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _getdatas.apply(this, arguments); - } - (0,react.useEffect)(function () { - var _user$userInfo, _user$userInfo$course; - if (user !== null && user !== void 0 && (_user$userInfo = user.userInfo) !== null && _user$userInfo !== void 0 && (_user$userInfo$course = _user$userInfo.course) !== null && _user$userInfo$course !== void 0 && _user$userInfo$course.course_school_id) { - getrz(); - } - }, [user === null || user === void 0 ? void 0 : (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : (_user$userInfo2$cours = _user$userInfo2.course) === null || _user$userInfo2$cours === void 0 ? void 0 : _user$userInfo2$cours.course_school_id]); - function getrz() { - return _getrz.apply(this, arguments); - } - function _getrz() { - _getrz = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var _user$userInfo3, _user$userInfo3$cours; - var res; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return (0,fetch/* default */.ZP)("/api/schools/".concat(user === null || user === void 0 ? void 0 : (_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : (_user$userInfo3$cours = _user$userInfo3.course) === null || _user$userInfo3$cours === void 0 ? void 0 : _user$userInfo3$cours.course_school_id, "/ec_majors/get_major_list.json"), { - method: 'get' - }); - case 2: - res = _context2.sent; - setrz(res === null || res === void 0 ? void 0 : res.data); - if (homework_common_id || exercise_id) { - getdatas(); - // getrz(); - } - case 5: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return _getrz.apply(this, arguments); - } - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: (_user$userInfo$course2 = user.userInfo.course) !== null && _user$userInfo$course2 !== void 0 && _user$userInfo$course2.is_openengineering ? '' : 'none' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { - style: { - fontSize: '16px', - fontWeight: 400 - }, - children: "\u5DE5\u7A0B\u8BA4\u8BC1\u8003\u6838\u77E5\u8BC6\u70B9" - }), datas === null || datas === void 0 ? void 0 : datas.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - alignItems: 'center', - marginBottom: '10px' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(AddPoints_item, { - rz: rz, - item: item, - type: index, - setitem: function setitem(value) { - // item=value - // console.log('---',item,datas); - datas.splice(index, 1, value); - setdatas(toConsumableArray_default()(datas)); - var ec_point_ids = []; - datas === null || datas === void 0 ? void 0 : datas.map(function (ite) { - var _ite$ec_point_ids; - ite === null || ite === void 0 ? void 0 : (_ite$ec_point_ids = ite.ec_point_ids) === null || _ite$ec_point_ids === void 0 ? void 0 : _ite$ec_point_ids.map(function (j) { - ec_point_ids.push(j); - }); - }); - _setitem(objectSpread2_default()(objectSpread2_default()({}, value), {}, { - ec_point_ids: ec_point_ids - })); - } - }), index != 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(MinusCircleOutlined/* default */.Z, { - onClick: function onClick() { - datas.splice(index, 1); - setdatas(toConsumableArray_default()(datas)); - }, - style: { - marginLeft: 10, - fontSize: '20px' - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)(PlusCircleOutlined/* default */.Z, { - onClick: function onClick() { - datas.push({}); - setdatas(toConsumableArray_default()(datas)); - }, - style: { - marginLeft: 10, - fontSize: '20px' - } - })] - }); - })] - }); -}; -/* harmony default export */ var AddPoints = ((0,_umi_production_exports.connect)(function (_ref2) { - var classroomList = _ref2.classroomList, - loading = _ref2.loading, - globalSetting = _ref2.globalSetting, - user = _ref2.user; - return { - classroomList: classroomList, - globalSetting: globalSetting, - loading: loading.effects, - user: user - }; -})(AddPoints_ShixunsListPage)); - -/***/ }), - -/***/ 33722: -/*!*********************************************************!*\ - !*** ./src/components/FormSearch/index.tsx + 1 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ components_FormSearch; } -}); - -// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules -var style = __webpack_require__(29913); -// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js -var es_button = __webpack_require__(71577); -// 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/antd/es/form/style/index.js + 1 modules -var form_style = __webpack_require__(75627); -// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules -var es_form = __webpack_require__(51018); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./src/components/FormSearch/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var FormSearchmodules = ({"search":"search___JA0r9","btn":"btn___GGtZC"}); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/FormSearch/index.tsx - - - - - - - - - - - -var FormSearch = function FormSearch(_ref) { - var value = _ref.value, - onChange = _ref.onChange; - var _Form$useForm = es_form/* default.useForm */.Z.useForm(), - _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), - form = _Form$useForm2[0]; - (0,react.useEffect)(function () { - if (!!value) { - form.setFieldsValue(value); - } - }, value); - var handleFinish = function handleFinish(v) { - onChange(v); - }; - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: FormSearchmodules.search, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { - className: FormSearchmodules.formWrap, - colon: false, - form: form, - size: "large", - layout: "inline", - onFinish: handleFinish, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u5B9E\u8BAD\u4FE1\u606F", - name: "keyword", - initialValue: "", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - style: { - width: 280, - height: 40 - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u5B66\u6821/\u5355\u4F4D", - name: "schools", - initialValue: "", - style: { - margin: '0 40px' - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - style: { - width: 280, - height: 40 - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u521B\u5EFA\u8005", - name: "creator", - initialValue: "", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - style: { - width: 200, - height: 40 - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: FormSearchmodules.btn, - type: "primary", - htmlType: "submit", - children: "\u641C\u7D22" - })] - }) - }); -}; -/* harmony default export */ var components_FormSearch = (FormSearch); - -/***/ }), - -/***/ 60696: -/*!***************************************************************!*\ - !*** ./src/components/ReuseShixunModal/index.tsx + 1 modules ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ components_ReuseShixunModal; }, - "P": function() { return /* binding */ useReuseModal; } -}); - -// EXTERNAL MODULE: ./node_modules/antd/es/table/style/index.js + 1 modules -var style = __webpack_require__(71854); -// EXTERNAL MODULE: ./node_modules/antd/es/table/index.js + 58 modules -var table = __webpack_require__(67250); -// 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/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/@babel/runtime/helpers/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(70215); -var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/style/index.js + 1 modules -var modal_style = __webpack_require__(35611); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules -var modal = __webpack_require__(85402); -// EXTERNAL MODULE: ./node_modules/antd/es/radio/style/index.js + 1 modules -var radio_style = __webpack_require__(83822); -// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules -var es_radio = __webpack_require__(29924); -// 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/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); -// 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/form/style/index.js + 1 modules -var form_style = __webpack_require__(75627); -// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules -var es_form = __webpack_require__(51018); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./src/components/ReuseShixunModal/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var ReuseShixunModalmodules = ({"brief":"brief___LOzpE","contentTitle":"contentTitle___xkdcN","content":"content___Vtri0","tips":"tips___tuAtH","antdTable":"antdTable___s8T2N","tableCell":"tableCell___kN9Fw","antdModal":"antdModal___WVBk3","orangeColor":"orangeColor___ryB2u"}); -// EXTERNAL MODULE: ./src/service/shixuns.ts -var shixuns = __webpack_require__(56088); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/ReuseShixunModal/index.tsx - - - - - - - - - - - - - - - - -var _excluded = ["isImportMultipleCourse"]; - - - - - - -var StudentInfo = function StudentInfo(_ref) { - var studentNames = _ref.studentNames, - total = _ref.total; - var Map = ['', '一', '两', '三']; - return total > 3 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: ["\u8BFE\u5802\u5185\u6709", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: studentNames === null || studentNames === void 0 ? void 0 : studentNames.join('、') - }), "\u7B49", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: total - }), "\u540D\u5B66\u751F"] - }) : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: ["\u8BFE\u5802\u5185\u6709", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: studentNames === null || studentNames === void 0 ? void 0 : studentNames.join('、') - }), Map[total], "\u540D\u5B66\u751F"] - }); -}; - -//根据使用场景区分文案 -var generateBrief = function generateBrief(_ref2) { - var used = _ref2.used, - copy = _ref2.copy, - canNotCopy = _ref2.canNotCopy, - studentNames = _ref2.studentNames, - studentCount = _ref2.studentCount, - inPaper = _ref2.inPaper, - _ref2$position = _ref2.position, - position = _ref2$position === void 0 ? '' : _ref2$position; - var copyStatusDescribe = function copyStatusDescribe() { - if (copy > 0 && canNotCopy > 0) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: ["\u5176\u4E2D", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: copy - }), "\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: canNotCopy - }), "\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236"] - }); - } else if (copy > 0 && canNotCopy === 0) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: ["\u5176\u4E2D", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: copy - }), "\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236"] - }); - } else if (copy === 0 && canNotCopy > 0) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: ["\u5176\u4E2D", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: canNotCopy - }), "\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236"] - }); - } - }; - var currentPosition = position || (inPaper ? '试卷' : '课程'); - return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(StudentInfo, { - studentNames: studentNames, - total: studentCount - }), "\u5B66\u4E60\u8FC7", currentPosition, "\u4E2D\u7684", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: used - }), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"] - }); -}; - -//单个实训时的情况 -var ReuseSingleShixunModal = function ReuseSingleShixunModal(_ref3) { - var onCancel = _ref3.onCancel, - onOk = _ref3.onOk, - visible = _ref3.visible, - inPaper = _ref3.inPaper, - renderData = _ref3.renderData, - type = _ref3.type, - _ref3$isMultipleCours = _ref3.isMultipleCourse, - isMultipleCourse = _ref3$isMultipleCours === void 0 ? false : _ref3$isMultipleCours; - var _Form$useForm = es_form/* default.useForm */.Z.useForm(), - _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), - form = _Form$useForm2[0]; - var _useState = (0,react.useState)(1), - _useState2 = slicedToArray_default()(_useState, 2), - radioValue = _useState2[0], - setRadioValue = _useState2[1]; - var _useState3 = (0,react.useState)(false), - _useState4 = slicedToArray_default()(_useState3, 2), - confirmLoading = _useState4[0], - setConfirmLoading = _useState4[1]; - var canCopy = (0,react.useMemo)(function () { - return (renderData === null || renderData === void 0 ? void 0 : renderData.total_num) === 1 && (renderData === null || renderData === void 0 ? void 0 : renderData.can_copy_num) === 1; - }, [renderData]); - var courseDataList = (0,react.useMemo)(function () { - var _renderData$course_da; - return renderData === null || renderData === void 0 ? void 0 : (_renderData$course_da = renderData.course_data_list) === null || _renderData$course_da === void 0 ? void 0 : _renderData$course_da.filter(function (e) { - return e.is_show; - }); - }, [renderData]); - return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: canCopy ? /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { - centered: true, - closable: true, - open: visible, - destroyOnClose: true, - title: "\u63D0\u793A", - className: ReuseShixunModalmodules.antdModal, - width: 682, - confirmLoading: confirmLoading, - onCancel: onCancel, - onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var data, _renderData$course_da2, param; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - setConfirmLoading(true); - data = radioValue; - if (isMultipleCourse) { - param = objectSpread2_default()({}, form.getFieldsValue()); - data = renderData === null || renderData === void 0 ? void 0 : (_renderData$course_da2 = renderData.course_data_list) === null || _renderData$course_da2 === void 0 ? void 0 : _renderData$course_da2.map(function (e) { - if (param[e.id] !== undefined) { - return objectSpread2_default()(objectSpread2_default()({}, e), {}, { - is_copy: param[e.id] - }); - } - return e; - }); - } - _context.next = 5; - return onOk(data); - case 5: - setConfirmLoading(false); - case 6: - case "end": - return _context.stop(); - } - }, _callee); - })), - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.content, - style: { - marginBottom: 20 - }, - children: isMultipleCourse ? '检测到以下课堂已在教学课堂中使用,请问是否复制成新的实训发送至教学课堂中?' : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(StudentInfo, { - studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names, - total: renderData === null || renderData === void 0 ? void 0 : renderData.student_count - }), "\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"] - }) - }), isMultipleCourse ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { - form: form, - preserve: false, - children: courseDataList === null || courseDataList === void 0 ? void 0 : courseDataList.map(function (item) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h3", { - className: "ml15 mb5", - children: item.name - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: item.id, - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - className: ReuseShixunModalmodules.content, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - style: { - color: '#464f66' - }, - children: "\u590D\u5236\u5B9E\u8BAD" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - style: { - color: '#464f66' - }, - children: "\u4E0D\u590D\u5236\u5B9E\u8BAD" - })] - }) - })] - }, item.id); - }) - }) : /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: radioValue, - onChange: function onChange(e) { - return setRadioValue(e.target.value); - }, - className: ReuseShixunModalmodules.content, - style: { - marginBottom: 30 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - style: { - color: '#464f66' - }, - children: "\u590D\u5236" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - style: { - color: '#464f66' - }, - children: "\u4E0D\u590D\u5236" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.content, - style: { - marginBottom: 10 - }, - children: "* \u8BF4\u660E\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.content, - style: { - marginBottom: 20 - }, - children: "1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(ReuseShixunModalmodules.content, " ").concat(ReuseShixunModalmodules.orangeColor), - children: "2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002" - })] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - centered: true, - closable: true, - destroyOnClose: true, - open: visible, - confirmLoading: confirmLoading, - title: "\u63D0\u793A", - width: 682, - onCancel: onCancel, - onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var data, _renderData$course_da3, param; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - setConfirmLoading(true); - data = 0; - if (isMultipleCourse) { - param = objectSpread2_default()({}, form.getFieldsValue()); - data = renderData === null || renderData === void 0 ? void 0 : (_renderData$course_da3 = renderData.course_data_list) === null || _renderData$course_da3 === void 0 ? void 0 : _renderData$course_da3.map(function (e) { - if (param[e.id] !== undefined) { - return objectSpread2_default()(objectSpread2_default()({}, e), {}, { - is_use: param[e.id] - }); - } - return e; - }); - } - _context2.next = 5; - return onOk(data); - case 5: - setConfirmLoading(false); - case 6: - case "end": - return _context2.stop(); - } - }, _callee2); - })), - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: ReuseShixunModalmodules.content, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(StudentInfo, { - studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names, - total: renderData === null || renderData === void 0 ? void 0 : renderData.student_count - }), "\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002", isMultipleCourse ? /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { - form: form, - preserve: false, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h3", { - children: "\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528" - }), courseDataList === null || courseDataList === void 0 ? void 0 : courseDataList.map(function (item) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h3", { - className: "ml15 mb5", - children: item.name - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: item.id, - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - className: ReuseShixunModalmodules.content, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - style: { - color: '#464f66' - }, - children: "\u7EE7\u7EED\u4F7F\u7528" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - style: { - color: '#464f66' - }, - children: "\u4E0D\u4F7F\u7528" - })] - }) - })] - }, item.id); - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: ["\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: "\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002" - }), "\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"] - })] - }) - }) - }); -}; -var useReuseModal = function useReuseModal() { - var _useState5 = (0,react.useState)(false), - _useState6 = slicedToArray_default()(_useState5, 2), - modalVisible = _useState6[0], - setModalVisible = _useState6[1]; - var _useState7 = (0,react.useState)(), - _useState8 = slicedToArray_default()(_useState7, 2), - renderData = _useState8[0], - setRenderData = _useState8[1]; - var closeModalFn = function closeModalFn() { - return setModalVisible(false); - }; - var showModal = /*#__PURE__*/function () { - var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(reqParams) { - var _reqParams$isImportMu, isImportMultipleCourse, param, res, _res$course_data_list, isModalVisible; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _reqParams$isImportMu = reqParams.isImportMultipleCourse, isImportMultipleCourse = _reqParams$isImportMu === void 0 ? false : _reqParams$isImportMu, param = objectWithoutProperties_default()(reqParams, _excluded); - _context3.next = 3; - return (0,shixuns/* checkShixunCopy */.Tr)(param); - case 3: - res = _context3.sent; - if (!('status' in res)) { - _context3.next = 6; - break; - } - return _context3.abrupt("return", false); - case 6: - if (!isImportMultipleCourse) { - _context3.next = 13; - break; - } - isModalVisible = res === null || res === void 0 ? void 0 : (_res$course_data_list = res.course_data_list) === null || _res$course_data_list === void 0 ? void 0 : _res$course_data_list.some(function (e) { - return e.is_show; - }); - if (!isModalVisible) { - _context3.next = 12; - break; - } - setRenderData(res); - setModalVisible(true); - return _context3.abrupt("return", true); - case 12: - return _context3.abrupt("return", res.course_data_list || []); - case 13: - if (!(res.student_count === 0)) { - _context3.next = 15; - break; - } - return _context3.abrupt("return", false); - case 15: - setRenderData(res); - setModalVisible(true); - return _context3.abrupt("return", true); - case 18: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return function showModal(_x) { - return _ref6.apply(this, arguments); - }; - }(); - return [modalVisible, closeModalFn, renderData, showModal]; -}; - -//多个实训时的情况 -var ReuseMultipleShixunModal = function ReuseMultipleShixunModal(props) { - var _Form$useForm3 = es_form/* default.useForm */.Z.useForm(), - _Form$useForm4 = slicedToArray_default()(_Form$useForm3, 1), - form = _Form$useForm4[0]; - var _useState9 = (0,react.useState)(false), - _useState10 = slicedToArray_default()(_useState9, 2), - confirmLoading = _useState10[0], - setConfirmLoading = _useState10[1]; - var onCancel = props.onCancel, - onOk = props.onOk, - visible = props.visible, - _props$inPaper = props.inPaper, - inPaper = _props$inPaper === void 0 ? false : _props$inPaper, - renderData = props.renderData, - type = props.type, - _props$isMultipleCour = props.isMultipleCourse, - isMultipleCourse = _props$isMultipleCour === void 0 ? false : _props$isMultipleCour, - position = props.position; - var reproducibleShixunColumns = (0,react.useMemo)(function () { - return inPaper ? [{ - title: '实践项目名称', - dataIndex: 'name', - width: 424, - align: 'center', - ellipsis: true, - className: ReuseShixunModalmodules.tableCell, - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/shixuns/".concat(record.identifier, "/challenges"), - target: "_blank", - children: text - }); - } - }, { - title: '是否复制', - dataIndex: 'is_copy', - align: 'center', - render: function render(value, record) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - children: "\u662F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - children: "\u5426" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], - hidden: true, - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - type: "hidden" - }) - })] - }); - } - }] : [{ - title: '实践项目名称', - dataIndex: 'name', - width: 424, - align: 'center', - ellipsis: true, - className: ReuseShixunModalmodules.tableCell, - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/shixuns/".concat(record.identifier, "/challenges"), - target: "_blank", - children: text - }); - } - }, { - title: '是否使用', - dataIndex: 'is_use', - align: 'center', - render: function render(value, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - children: "\u662F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - children: "\u5426" - })] - }) - }); - } - }, { - title: '是否复制', - dataIndex: 'is_copy', - align: 'center', - render: function render(value, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - children: "\u662F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - children: "\u5426" - })] - }) - }); - } - }]; - }, [inPaper]); - var irreproducibleShixunColumns = (0,react.useMemo)(function () { - return inPaper ? [{ - title: '实践项目名称', - dataIndex: 'name', - width: 424, - className: ReuseShixunModalmodules.tableCell, - align: 'center', - ellipsis: true, - render: function render(value, record) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/shixuns/".concat(record.identifier, "/challenges"), - target: "_blank", - children: value - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], - hidden: true, - initialValue: 0, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - type: "hidden" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], - hidden: true, - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - type: "hidden" - }) - })] - }); - } - }] : [{ - title: '实践项目名称', - dataIndex: 'name', - width: 424, - className: ReuseShixunModalmodules.tableCell, - ellipsis: true, - align: 'center', - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/shixuns/".concat(record.identifier, "/challenges"), - target: "_blank", - children: text - }); - } - }, { - title: '是否使用', - dataIndex: 'is_use', - align: 'center', - render: function render(value, record) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], - initialValue: 0, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - children: "\u662F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - children: "\u5426" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], - hidden: true, - initialValue: 0, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - type: "hidden" - }) - })] - }); - } - }]; - }, [inPaper]); - - //可以选择多个课堂的时候 - if (isMultipleCourse) { - var param = { - title: '课堂名称', - ellipsis: true, - dataIndex: 'course_name', - width: 190, - align: 'center', - className: ReuseShixunModalmodules.tableCell, - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/classrooms/".concat(record.course_id), - children: text - }); - } - }; - reproducibleShixunColumns = [param].concat(toConsumableArray_default()(reproducibleShixunColumns)); - irreproducibleShixunColumns = [param].concat(toConsumableArray_default()(irreproducibleShixunColumns)); - } - var dynamicBrief = (0,react.useMemo)(function () { - return generateBrief({ - used: renderData === null || renderData === void 0 ? void 0 : renderData.repeat_shixun_num, - copy: renderData === null || renderData === void 0 ? void 0 : renderData.can_copy_num, - canNotCopy: renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_num, - studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names, - studentCount: renderData === null || renderData === void 0 ? void 0 : renderData.student_count, - inPaper: inPaper, - position: position - }); - }, [renderData, inPaper, position]); - return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - title: "\u63D0\u793A", - centered: true, - open: visible, - confirmLoading: confirmLoading, - onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { - var formValues, ids; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - setConfirmLoading(true); - formValues = form.getFieldsValue(); - ids = Object.keys(formValues).map(function (key) { - return { - id: parseInt(key.split('_')[0]), - course_id: parseInt(key.split('_')[1]), - is_use: formValues[key].is_use, - is_copy: formValues[key].is_copy - }; - }); - _context4.next = 5; - return onOk(ids); - case 5: - setConfirmLoading(false); - case 6: - case "end": - return _context4.stop(); - } - }, _callee4); - })), - onCancel: onCancel, - width: 880, - okText: "\u786E\u8BA4", - className: ReuseShixunModalmodules.antdModal, - destroyOnClose: true, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { - form: form, - preserve: false, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.brief, - children: dynamicBrief - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginBottom: 30 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - marginBottom: 20 - }, - children: "* \u8BF4\u660E" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - marginBottom: 20 - }, - children: "1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.orangeColor, - children: "2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002" - })] - }), (renderData === null || renderData === void 0 ? void 0 : renderData.can_copy_num) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.contentTitle, - children: "\u652F\u6301\u590D\u5236\u7684\u9879\u76EE" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - columns: reproducibleShixunColumns, - className: ReuseShixunModalmodules.antdTable, - dataSource: renderData === null || renderData === void 0 ? void 0 : renderData.can_copy_list, - rowKey: type === 'subject' ? "stage_shixun_id" : 'id', - pagination: false, - scroll: { - y: 240 - }, - bordered: true - })] - }), (renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_num) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.contentTitle, - children: "\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - columns: irreproducibleShixunColumns, - className: ReuseShixunModalmodules.antdTable, - dataSource: renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_list, - rowKey: type === 'subject' ? "stage_shixun_id" : 'id', - pagination: false, - scroll: { - y: 200 - }, - bordered: true - })] - }), (renderData === null || renderData === void 0 ? void 0 : renderData.no_use_list.length) > 0 && (renderData === null || renderData === void 0 ? void 0 : renderData.no_use_list.map(function (record) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], - hidden: true, - initialValue: 0, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - type: "hidden" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], - hidden: true, - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - type: "hidden" - }) - })] - }, type === 'subject' ? record.stage_shixun_id : record.shixun_course_id || record.id); - }))] - }) - }); -}; -var ReuseShixunModal = function ReuseShixunModal(props) { - var modalType = props.modalType; - return modalType === 'multiple' ? /*#__PURE__*/(0,jsx_runtime.jsx)(ReuseMultipleShixunModal, objectSpread2_default()({}, props)) : /*#__PURE__*/(0,jsx_runtime.jsx)(ReuseSingleShixunModal, objectSpread2_default()({}, props)); -}; -/* harmony default export */ var components_ReuseShixunModal = (ReuseShixunModal); - -/***/ }), - -/***/ 41850: -/*!*************************************************************************************************!*\ - !*** ./src/pages/Classrooms/Lists/Exercise/Edit/components/DragQuestions/index.tsx + 1 modules ***! - \*************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ components_DragQuestions; } -}); - -// EXTERNAL MODULE: ./node_modules/antd/es/modal/style/index.js + 1 modules -var style = __webpack_require__(35611); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules -var modal = __webpack_require__(85402); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); -// EXTERNAL MODULE: ./node_modules/antd/es/row/style/index.js -var row_style = __webpack_require__(13062); -// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js -var row = __webpack_require__(71230); -// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js -var col_style = __webpack_require__(89032); -// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js -var col = __webpack_require__(15746); -// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules -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/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js + 27 modules -var react_beautiful_dnd_esm = __webpack_require__(66012); -// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules -var _umi_production_exports = __webpack_require__(89214); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/DragQuestions/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var DragQuestionsmodules = ({"content":"content___IPcn9"}); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/DragQuestions/index.tsx - - - - - - - - - - - - - - - - - -var DragQuestions = function DragQuestions(_ref) { - var visible = _ref.visible, - onOk = _ref.onOk, - onCancel = _ref.onCancel, - data = _ref.data; - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - list = _useState2[0], - setList = _useState2[1]; - var _useState3 = (0,react.useState)(false), - _useState4 = slicedToArray_default()(_useState3, 2), - loading = _useState4[0], - setLoading = _useState4[1]; - var params = (0,_umi_production_exports.useParams)(); - (0,react.useEffect)(function () { - if (!visible) { - setList([]); - setLoading(false); - return; - } - setList(toConsumableArray_default()(data) || []); - }, [visible]); - var handleOk = function handleOk() { - setLoading(true); - onOk(list, function () { - setLoading(false); - }); - }; - var handleCancel = function handleCancel() { - onCancel(); - }; - - //过滤函数 - var reorder = function reorder(list, startIndex, endIndex) { - var result = Array.from(list); - var _result$splice = result.splice(startIndex, 1), - _result$splice2 = slicedToArray_default()(_result$splice, 1), - removed = _result$splice2[0]; - result.splice(endIndex, 0, removed); - return result; - }; - var handleDragEnd = function handleDragEnd(result, list) { - if (!result.destination) { - return; - } - var items = reorder(list, result.source.index, result.destination.index); - setList(items); - }; - return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - title: "\u9898\u578B\u6392\u5E8F", - open: visible, - centered: true, - onCancel: handleCancel, - footer: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - "float": 'left', - color: '#999', - paddingTop: 5 - }, - children: "\u63D0\u793A:\u53EF\u5BF9\u9898\u578B\u8FDB\u884C\u4E0A\u4E0B\u62D6\u52A8\u6392\u5E8F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - onClick: handleCancel, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "primary", - loading: loading, - onClick: handleOk, - children: "\u786E\u8BA4" - })] - }), - width: "680px", - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: DragQuestionsmodules.content, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 12, - children: "\u5E8F\u53F7" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 12, - children: "\u9898\u578B\u540D\u79F0" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* DragDropContext */.Z5, { - onDragEnd: function onDragEnd(result) { - return handleDragEnd(result, list); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Droppable */.bK, { - droppableId: "droppable", - children: function children(provided, snapshot) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({ - ref: provided.innerRef - }, provided.droppableProps), {}, { - style: { - width: '100%' - }, - children: list.map(function (item, k) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Draggable */._l, { - draggableId: k.toString(), - index: k, - children: function children(provided, snapshot) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("aside", objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({ - ref: provided.innerRef - }, provided.draggableProps), provided.dragHandleProps), {}, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - style: { - backgroundColor: k % 2 === 0 ? '#f5f5f5' : '#fff' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 12, - children: k + 1 - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 12, - children: item - })] - }) - }) - })); - } - }, k); - }) - })); - } - }) - })] - }) - }); -}; -/* harmony default export */ var components_DragQuestions = (DragQuestions); - -/***/ }), - -/***/ 82278: -/*!***************************************************************************************************!*\ - !*** ./src/pages/Classrooms/Lists/Exercise/Edit/components/UploadQuestions/index.tsx + 1 modules ***! - \***************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ components_UploadQuestions; } -}); - -// EXTERNAL MODULE: ./node_modules/antd/es/modal/style/index.js + 1 modules -var style = __webpack_require__(35611); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules -var modal = __webpack_require__(85402); -// EXTERNAL MODULE: ./node_modules/antd/es/upload/style/index.js + 1 modules -var upload_style = __webpack_require__(13759); -// EXTERNAL MODULE: ./node_modules/antd/es/upload/index.js + 20 modules -var upload = __webpack_require__(7426); -// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules -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/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules -var env = __webpack_require__(59758); -// EXTERNAL MODULE: ./src/utils/util.tsx -var util = __webpack_require__(29427); -// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules -var _umi_production_exports = __webpack_require__(89214); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/UploadQuestions/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var UploadQuestionsmodules = ({"customModal":"customModal___bVzUV","content":"content___oKhZq","upload":"upload___nPxEL","infoText":"infoText___gZEJF","okBtn":"okBtn___CVo2A","fileList":"fileList___tauGN","fileName":"fileName___T_8JX"}); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/UploadQuestions/index.tsx - - - - - - - - - - - - - - -var UploadQuestions = function UploadQuestions(_ref) { - var visible = _ref.visible, - onOk = _ref.onOk, - onCancel = _ref.onCancel; - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - fileList = _useState2[0], - setFileList = _useState2[1]; - var _useState3 = (0,react.useState)(false), - _useState4 = slicedToArray_default()(_useState3, 2), - loading = _useState4[0], - setLoading = _useState4[1]; - // const fileList = useRef([]) - var params = (0,_umi_production_exports.useParams)(); - (0,react.useEffect)(function () { - if (!visible) { - setFileList([]); - setLoading(false); - } - }, [visible]); - var handleOk = function handleOk() { - setLoading(true); - onOk(fileList, function () { - setLoading(false); - }); - }; - var handleCancel = function handleCancel() { - onCancel(); - }; - // const handleChange = (info: any) => { - // const newFileList = info?.fileList || []; - // if (newFileList.every((item: any) => item.status !== 'uploading')) { - // setLoading(false) - // } else { - // setLoading(true) - // } - // fileList.current = newFileList - // } - - var down = function down() { - var url = "".concat(env/* default.API_SERVER */.Z.API_SERVER, "/api/courses/").concat(params.coursesId, "/exercises/down_template"); - (0,util/* downLoadLink */.Nd)(null, url); - }; - var handleBeforeUpload = function handleBeforeUpload(info) { - var param = { - name: info.name, - uid: info.uid, - file: info - }; - setFileList([param]); - return false; - }; - var handleRemove = function handleRemove() { - setFileList([]); - }; - return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - title: "\u5BFC\u5165\u8BD5\u9898", - open: visible, - onOk: handleOk, - centered: true, - wrapClassName: UploadQuestionsmodules.customModal, - onCancel: handleCancel, - width: 663, - okText: "\u786E\u8BA4", - okButtonProps: { - className: UploadQuestionsmodules.okBtn - }, - cancelText: "\u53D6\u6D88", - confirmLoading: loading, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: UploadQuestionsmodules.content, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - fontWeight: 600 - }, - children: "\u6B65\u9AA41" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: '#5F6367' - }, - children: "\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: "#0152d9", - cursor: 'pointer', - marginLeft: 20 - }, - onClick: down, - children: "\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-xiazai4 ml10", - onClick: down, - style: { - fontSize: 14, - cursor: 'pointer', - color: "#0152d9" - } - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - style: { - color: "#FA6400" - }, - className: "mt10", - children: "\u63D0\u793A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: UploadQuestionsmodules.infoText, - children: "1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B " - }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: UploadQuestionsmodules.infoText, - children: "2\u3001\u4E0D\u652F\u6301\u7F16\u7A0B\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: UploadQuestionsmodules.infoText, - children: "3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: UploadQuestionsmodules.infoText, - children: "4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63015\u4E2A\u586B\u7A7A\u9879\u3002" - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - style: { - marginTop: 22 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - fontWeight: 600 - }, - children: "\u6B65\u9AA42" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { - style: { - flex: 1 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", { - style: { - color: '#5F6367' - }, - children: "\u4E0A\u4F20\u7F16\u8F91\u597D\u7684\u8BD5\u9898\u6587\u6863\uFF0C\u786E\u5B9A\u5BFC\u5165" - }), visible && /*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z, { - action: "".concat(env/* default.API_SERVER */.Z.API_SERVER, "/api/attachments.json"), - beforeUpload: handleBeforeUpload, - onRemove: handleRemove, - withCredentials: true, - fileList: fileList, - accept: ".xls,.xlsx", - showUploadList: false, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: UploadQuestionsmodules.upload, - type: "primary", - icon: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-shangchuan3", - style: { - fontSize: 14, - marginRight: 6 - } - }), - children: "\u4E0A\u4F20\u6587\u4EF6" - }) - }), fileList.map(function (fileItem, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: UploadQuestionsmodules.fileList, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: UploadQuestionsmodules.fileName, - children: fileItem === null || fileItem === void 0 ? void 0 : fileItem.name - }), /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-shanchu12", - style: { - color: '#F65160', - fontSize: 16, - cursor: 'pointer' - }, - onClick: handleRemove - })] - }, index); - })] - })] - })] - }) - }); -}; -/* harmony default export */ var components_UploadQuestions = (UploadQuestions); - -/***/ }), - -/***/ 99542: -/*!************************************************************************!*\ - !*** ./src/pages/Classrooms/Lists/Exercise/Edit/index.tsx + 5 modules ***! - \************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -// ESM COMPAT FLAG -__webpack_require__.r(__webpack_exports__); - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "default": function() { return /* binding */ Edit; } -}); - -// EXTERNAL MODULE: ./node_modules/antd/es/spin/style/index.js + 1 modules -var style = __webpack_require__(22536); -// EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js -var spin = __webpack_require__(11382); -// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules -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/antd/es/radio/style/index.js + 1 modules -var radio_style = __webpack_require__(83822); -// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules -var es_radio = __webpack_require__(29924); -// EXTERNAL MODULE: ./node_modules/antd/es/input-number/style/index.js + 1 modules -var input_number_style = __webpack_require__(25359); -// EXTERNAL MODULE: ./node_modules/antd/es/input-number/index.js + 9 modules -var input_number = __webpack_require__(87799); -// 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/antd/es/cascader/style/index.js + 1 modules -var cascader_style = __webpack_require__(95847); -// EXTERNAL MODULE: ./node_modules/antd/es/cascader/index.js + 17 modules -var cascader = __webpack_require__(45239); -// EXTERNAL MODULE: ./node_modules/antd/es/row/style/index.js -var row_style = __webpack_require__(13062); -// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js -var row = __webpack_require__(71230); -// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js -var col_style = __webpack_require__(89032); -// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js -var col = __webpack_require__(15746); -// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules -var breadcrumb_style = __webpack_require__(63102); -// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/index.js + 3 modules -var breadcrumb = __webpack_require__(58492); -// EXTERNAL MODULE: ./node_modules/antd/es/message/style/index.js + 1 modules -var message_style = __webpack_require__(14934); -// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules -var message = __webpack_require__(12461); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); -// 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/@babel/runtime/helpers/toConsumableArray.js -var toConsumableArray = __webpack_require__(861); -var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); -// EXTERNAL MODULE: ./node_modules/antd/es/form/style/index.js + 1 modules -var form_style = __webpack_require__(75627); -// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules -var es_form = __webpack_require__(51018); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules -var _umi_production_exports = __webpack_require__(89214); -// EXTERNAL MODULE: ./src/utils/fetch.ts -var fetch = __webpack_require__(84519); -// EXTERNAL MODULE: ./node_modules/lodash/lodash.js -var lodash = __webpack_require__(96486); -// EXTERNAL MODULE: ./src/service/exercise.ts -var service_exercise = __webpack_require__(51412); -// EXTERNAL MODULE: ./node_modules/antd/es/drawer/style/index.js + 1 modules -var drawer_style = __webpack_require__(11400); -// EXTERNAL MODULE: ./node_modules/antd/es/drawer/index.js + 6 modules -var drawer = __webpack_require__(63463); -// EXTERNAL MODULE: ./node_modules/antd/es/pagination/style/index.js + 1 modules -var pagination_style = __webpack_require__(14182); -// EXTERNAL MODULE: ./node_modules/antd/es/pagination/index.js + 10 modules -var pagination = __webpack_require__(260); -// EXTERNAL MODULE: ./node_modules/antd/es/divider/style/index.js + 1 modules -var divider_style = __webpack_require__(98541); -// EXTERNAL MODULE: ./node_modules/antd/es/divider/index.js -var divider = __webpack_require__(27049); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules -var tooltip_style = __webpack_require__(38390); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules -var tooltip = __webpack_require__(84908); -// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js + 1 modules -var checkbox_style = __webpack_require__(82000); -// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 2 modules -var es_checkbox = __webpack_require__(32808); -// EXTERNAL MODULE: ./src/utils/authority.ts -var authority = __webpack_require__(7); -// EXTERNAL MODULE: ./src/components/FormSearch/index.tsx + 1 modules -var FormSearch = __webpack_require__(33722); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/SelectShixuns/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var SelectShixunsmodules = ({"flex_box_center":"flex_box_center___MTe00","flex_space_between":"flex_space_between___ks5rN","flex_box_vertical_center":"flex_box_vertical_center___jGHgJ","flex_box_center_end":"flex_box_center_end___FZXA7","flex_box_column":"flex_box_column___tkMdG","wrp":"wrp___JHBdl","drawer":"drawer___hKLNc","menu":"menu___hYC7e","actived":"actived___ydbaU","actived2":"actived2___P8ueW","listItem":"listItem___W5_Tc","info":"info___haUFD","title":"title___WVJko","titleLeft":"titleLeft___E3SlF","titleRight":"titleRight___CYLFw","search":"search___bOdx_","description":"description____rvlb","menuCourse":"menuCourse___nSeps","menut":"menut___DH9qr","actived3":"actived3___jLAMP","actived4":"actived4___ENKg1","subTag":"subTag___vbqKW"}); -// EXTERNAL MODULE: ./src/utils/verifyLogin.tsx + 2 modules -var verifyLogin = __webpack_require__(7303); -// EXTERNAL MODULE: ./src/components/ReuseShixunModal/index.tsx + 1 modules -var ReuseShixunModal = __webpack_require__(60696); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/SelectShixuns/index.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var Search = input/* default.Search */.Z.Search; -var shixunFilter = [{ - id: 'type', - name: '来源', - children: [{ - name: '全部', - id: 'all', - type: 'type' - }, { - name: '我的', - id: 'mine', - type: 'type' - }] -}]; -var shixunFulter2 = [{ - id: 'diff', - name: '难度', - children: [{ - name: '全部', - id: '', - type: 'diff' - }, { - name: '初级', - id: 1, - type: 'diff' - }, { - name: '中级', - id: 2, - type: 'diff' - }, { - name: '中高级', - id: 3, - type: 'diff' - }, { - name: '高级', - id: 4, - type: 'diff' - }] -}]; -var PublishShixun = function PublishShixun(_ref) { - var _shixunLists$shixun_l2; - var classroomList = _ref.classroomList, - shixunsList = _ref.shixunsList, - pathsList = _ref.pathsList, - loading = _ref.loading, - dispatch = _ref.dispatch, - callback = _ref.callback; - var _useState = (0,react.useState)(objectSpread2_default()({}, (0,_umi_production_exports.useParams)())), - _useState2 = slicedToArray_default()(_useState, 2), - params = _useState2[0], - setParams = _useState2[1]; - var location = (0,_umi_production_exports.useLocation)(); - var actionTabs = classroomList.actionTabs; - var _Form$useForm = es_form/* default.useForm */.Z.useForm(), - _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), - form = _Form$useForm2[0]; - var shixunLists = classroomList.shixunLists; - var _useState3 = (0,react.useState)([]), - _useState4 = slicedToArray_default()(_useState3, 2), - selectArrs = _useState4[0], - setSelectArrs = _useState4[1]; - var _useState5 = (0,react.useState)([]), - _useState6 = slicedToArray_default()(_useState5, 2), - groupsData = _useState6[0], - setGroupsData = _useState6[1]; - var _useState7 = (0,react.useState)(''), - _useState8 = slicedToArray_default()(_useState7, 2), - searchValue = _useState8[0], - setSearchValue = _useState8[1]; - var _useState9 = (0,react.useState)({ - page: 1, - type: 'all', - diff: '', - status: 'published', - order: 'desc', - limit: 20, - sort: 'myshixuns_count', - no_jupyter: 1, - keyword: '', - group_id: null - }), - _useState10 = slicedToArray_default()(_useState9, 2), - query = _useState10[0], - setQuery = _useState10[1]; - (0,react.useEffect)(function () { - if (classroomList.actionTabs.key === '选用实践项目') { - document.body.setAttribute('data-custom', 'height'); - } else { - document.body.removeAttribute('data-custom'); - } - return function () { - document.body.removeAttribute('data-custom'); - }; - }, [classroomList.actionTabs.key]); - var isVisible = classroomList.actionTabs.key === '选用实践项目'; - (0,react.useEffect)(function () { - if (isVisible) { - dispatch({ - type: 'classroomList/getShixunLists', - payload: objectSpread2_default()({}, query) - }); - } - }, [params.categoryId, isVisible]); - (0,react.useEffect)(function () { - dispatch({ - type: 'shixunsList/getMenus', - payload: {} - }); - }, []); - (0,react.useEffect)(function () { - setSelectArrs([]); - }, [classroomList.actionTabs.key]); - (0,react.useEffect)(function () { - getData(); - }, [params]); - var getData = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var result; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,fetch/* default */.ZP)("/api/users/user_setting_groups.json", { - method: 'get', - params: { - type: 'Shixun' - } - }); - case 2: - result = _context.sent; - setGroupsData([{ - id: null, - name: "全部" - }, { - id: -1, - name: "未加入目录" - }].concat(toConsumableArray_default()((result === null || result === void 0 ? void 0 : result.groups) || []))); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function getData() { - return _ref2.apply(this, arguments); - }; - }(); - var _useReuseModal = (0,ReuseShixunModal/* useReuseModal */.P)(), - _useReuseModal2 = slicedToArray_default()(_useReuseModal, 4), - reuseModalVisible = _useReuseModal2[0], - closeReuseModal = _useReuseModal2[1], - renderData = _useReuseModal2[2], - showReuseModal = _useReuseModal2[3]; - var menuChange = function menuChange(tag_level, sub_discipline_id, discipline_id) { - query.tag_level = tag_level; - query.sub_discipline_id = sub_discipline_id; - query.discipline_id = discipline_id; - query.page = 1; - setQuery(objectSpread2_default()({}, query)); - dispatch({ - type: 'classroomList/getShixunLists', - payload: objectSpread2_default()({}, query) - }); - }; - var reuseModalCallback = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(isCopy) { - var _shixunLists$shixun_l, _classroomList$action; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - callback && callback(shixunLists === null || shixunLists === void 0 ? void 0 : (_shixunLists$shixun_l = shixunLists.shixun_list) === null || _shixunLists$shixun_l === void 0 ? void 0 : _shixunLists$shixun_l.filter(function (item) { - return item.identifier === selectArrs[0]; - })[0], (_classroomList$action = classroomList.actionTabs) === null || _classroomList$action === void 0 ? void 0 : _classroomList$action.editData, isCopy); - dispatch({ - type: 'classroomList/setActionTabs', - payload: {} - }); - closeReuseModal(); - case 3: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function reuseModalCallback(_x) { - return _ref3.apply(this, arguments); - }; - }(); - if (classroomList.actionTabs.key !== '选用实践项目') return null; - return /*#__PURE__*/(0,jsx_runtime.jsxs)(drawer/* default */.Z, { - title: "\u9009\u7528\u5B9E\u8DF5\u9879\u76EE", - placement: 'bottom', - height: '100%', - closable: true, - onClose: function onClose() { - dispatch({ - type: 'classroomList/setActionTabs', - payload: { - key: '' - } - }); - }, - open: isVisible ? true : false, - className: SelectShixunsmodules.drawer, - footer: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "tc", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - size: "large", - onClick: function onClick() { - dispatch({ - type: 'classroomList/setActionTabs', - payload: { - key: '' - } - }); - }, - style: { - marginRight: 8 - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - size: "large", - onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var hasUsedShixun; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - if (!(selectArrs.length > 1)) { - _context3.next = 4; - break; - } - message/* default.error */.ZP.error('只能选择一个实践项目'); - _context3.next = 12; - break; - case 4: - if (!(selectArrs.length === 0)) { - _context3.next = 8; - break; - } - message/* default.error */.ZP.error('请选择实践项目'); - _context3.next = 12; - break; - case 8: - _context3.next = 10; - return showReuseModal({ - id: selectArrs[0], - course_id: params.coursesId, - type: 'shixun' - }); - case 10: - hasUsedShixun = _context3.sent; - if (!hasUsedShixun) { - reuseModalCallback(0); - } - case 12: - case "end": - return _context3.stop(); - } - }, _callee3); - })), - type: "primary", - children: "\u786E\u5B9A" - })] - }), - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("section", { - className: "tc", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(FormSearch/* default */.Z, { - onChange: function onChange(v) { - setQuery(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, query), v), {}, { - page: 1 - })); - dispatch({ - type: 'classroomList/getShixunLists', - payload: objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, query), v), {}, { - page: 1 - }) - }); - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: "edu-container", - children: [shixunFilter.map(function (v, k) { - var _v$children; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { - className: SelectShixunsmodules.menu, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", { - children: v.name - }), v === null || v === void 0 ? void 0 : (_v$children = v.children) === null || _v$children === void 0 ? void 0 : _v$children.map(function (val, key) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: query[v.id] == val.id ? SelectShixunsmodules.actived : '', - onClick: function onClick() { - query[v.id] = val.id; - // query['group_id'] = null; - query.page = 1; - setQuery(objectSpread2_default()({}, query)); - dispatch({ - type: 'classroomList/getShixunLists', - payload: objectSpread2_default()({}, query) - }); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - children: val.name - }) - }, key); - })] - }, k); - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { - className: SelectShixunsmodules.menut, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - padding: '18px', - fontWeight: '600' - }, - children: "\u65B9\u5411\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: !query.discipline_id ? SelectShixunsmodules.actived3 : '', - onClick: function onClick() { - menuChange(null, null, null); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - children: "\u5168\u90E8" - }) - }), shixunsList.menus && shixunsList.menus.map(function (v, k) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { - className: query.discipline_id == v.id ? SelectShixunsmodules.actived3 : '', - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - onClick: function onClick() { - menuChange(1, null, v.id); - }, - children: v.name - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: v.sub_repertoires.map(function (val, key) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "mt5", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: query.sub_discipline_id == val.id ? "".concat(SelectShixunsmodules.actived4, " ").concat(SelectShixunsmodules.subTag) : SelectShixunsmodules.subTag, - onClick: function onClick() { - menuChange(2, val.id, v.id); - }, - children: val.name - }), /*#__PURE__*/(0,jsx_runtime.jsx)("ul", { - className: "mt5", - children: val.tags && val.tags.map(function (value, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: query.sub_discipline_id == value.id ? SelectShixunsmodules.actived4 : '', - onClick: function onClick() { - menuChange(3, value.id, v.id); - }, - children: value.name - }, index); - }) - })] - }, key); - }) - })] - }, k); - })] - }), query.type === 'mine' && /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { - className: SelectShixunsmodules.menu, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", { - children: "\u76EE\u5F55\uFF1A" - }), groupsData === null || groupsData === void 0 ? void 0 : groupsData.map(function (val, key) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: query['group_id'] == val.id ? SelectShixunsmodules.actived : '', - onClick: function onClick() { - query['group_id'] = val.id; - query.page = 1; - setQuery(objectSpread2_default()({}, query)); - dispatch({ - type: 'classroomList/getShixunLists', - payload: objectSpread2_default()({}, query) - }); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - children: val.name - }) - }, val.name); - })] - }), shixunFulter2.map(function (v, k) { - var _v$children2; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { - className: SelectShixunsmodules.menu, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", { - children: v.name - }), v === null || v === void 0 ? void 0 : (_v$children2 = v.children) === null || _v$children2 === void 0 ? void 0 : _v$children2.map(function (val, key) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: query[v.id] == val.id ? SelectShixunsmodules.actived : '', - onClick: function onClick() { - query[v.id] = val.id; - query.page = 1; - setQuery(objectSpread2_default()({}, query)); - dispatch({ - type: 'classroomList/getShixunLists', - payload: objectSpread2_default()({}, query) - }); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - children: val.name - }) - }, key); - })] - }, k); - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: SelectShixunsmodules.menuCourse, - style: { - margin: '0px 15px' - }, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { - children: ["\u5DF2\u9009", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-blue", - children: selectArrs.length - }), "\u4E2A\u5B9E\u8BAD"] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { - children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-blue", - children: shixunLists.shixuns_count - }), "\u4E2A\u8BFE\u7A0B"] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { - className: "current", - onClick: function onClick() { - query.order = query.order === 'asc' ? 'desc' : 'asc'; - setQuery(objectSpread2_default()({}, query)); - dispatch({ - type: 'classroomList/getShixunLists', - payload: objectSpread2_default()({}, query) - }); - }, - children: ["\u5B66\u4E60\u4EBA\u6570", /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "edu-sorter current ".concat(query.order), - children: query.order === 'asc' ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "iconfont icon-sanjiaoxing-up" - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "iconfont icon-sanjiaoxing-down" - }) - })] - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, { - style: { - display: 'block' - }, - value: selectArrs, - onChange: function onChange(selectedValues) { - setSelectArrs(selectedValues); - }, - children: shixunLists === null || shixunLists === void 0 ? void 0 : (_shixunLists$shixun_l2 = shixunLists.shixun_list) === null || _shixunLists$shixun_l2 === void 0 ? void 0 : _shixunLists$shixun_l2.map(function (v, k) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: SelectShixunsmodules.listItem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { - value: v.identifier, - disabled: v === null || v === void 0 ? void 0 : v.need_authorize - // onChange={e => { - // let key = selectArrs.indexOf(v.id); - // if (selectArrs.indexOf(v.id) > -1) { - // setSelectArrs( - // selectArrs.filter((val: string) => val !== v.id), - // ); - // } else { - // setSelectArrs(selectArrs.concat(v.id)); - // } - // }} - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: SelectShixunsmodules.info, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: SelectShixunsmodules.title, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: SelectShixunsmodules.titleLeft, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: "/shixuns/".concat(v.identifier, "/challenges"), - target: "_blank", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - className: "font16", - dangerouslySetInnerHTML: { - __html: v.title - } - }) - }), (v === null || v === void 0 ? void 0 : v.need_authorize) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - (0,verifyLogin/* AuthorizeModel */.rX)(false); - }, - style: { - marginRight: 'auto' - }, - className: "tag-style bg-pink current ml10", - children: "\u9700\u6388\u6743" - }), (0,authority/* isSuperAdmins */.Ny)() && (v === null || v === void 0 ? void 0 : v.mark_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: v === null || v === void 0 ? void 0 : v.mark_content, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 'auto', - background: '#2FA34F' - }, - className: "tag-style current ml10", - children: "\u6B63\u5E38" - }) - }), (0,authority/* isSuperAdmins */.Ny)() && (v === null || v === void 0 ? void 0 : v.mark_status) === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: v === null || v === void 0 ? void 0 : v.mark_content, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 'auto', - background: '#FF8C29' - }, - className: "tag-style current ml10", - children: "\u9700\u5B8C\u5584" - }) - }), (0,authority/* isSuperAdmins */.Ny)() && (v === null || v === void 0 ? void 0 : v.mark_status) === 3 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: v === null || v === void 0 ? void 0 : v.mark_content, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 'auto', - background: '#E53333' - }, - className: "tag-style current ml10", - children: "\u65E0\u6CD5\u4F7F\u7528" - }) - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "flex-wrp mt10 font14 c-light-black", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: SelectShixunsmodules.description, - dangerouslySetInnerHTML: { - __html: v.description - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "flex-wrp mt15", - children: v.challenge_names.map(function (val, key) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "mr30", - children: ["\u7B2C", key + 1, "\u5173 ", val, ' '] - }, key); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, { - dashed: true - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "c-light-black mt20", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: v.author_name - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "ml15 mr15", - children: "|" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: v.author_school_name - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "ml15 mr15", - children: "|" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: ["\u96BE\u5EA6\u7CFB\u6570 ", v.level] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "ml15 mr15", - children: "|" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "\u5B66\u4E60\u4EBA\u6570 " - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: v.study_count - })] - })] - })] - }, v.identifier); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", {})] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "tc", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { - defaultCurrent: 1, - current: query.page || 1, - hideOnSinglePage: true, - defaultPageSize: 20, - showQuickJumper: true, - showSizeChanger: false, - total: shixunLists === null || shixunLists === void 0 ? void 0 : shixunLists.shixuns_count, - onChange: function onChange(page) { - query.page = page; - setQuery(objectSpread2_default()({}, query)); - dispatch({ - type: 'classroomList/getShixunLists', - payload: objectSpread2_default()({}, query) - }); - setSelectArrs([]); - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(ReuseShixunModal/* default */.Z, { - visible: reuseModalVisible, - onCancel: closeReuseModal, - onOk: reuseModalCallback, - renderData: renderData, - inPaper: true, - modalType: "single", - type: "shixun" - })] - }, 'bottom'); -}; -/* harmony default export */ var SelectShixuns = ((0,_umi_production_exports.connect)(function (_ref5) { - var classroomList = _ref5.classroomList, - loading = _ref5.loading, - shixunsList = _ref5.shixunsList, - pathsList = _ref5.pathsList; - return { - classroomList: classroomList, - pathsList: pathsList, - loading: loading, - shixunsList: shixunsList - }; -})(PublishShixun)); -// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/UploadQuestions/index.tsx + 1 modules -var UploadQuestions = __webpack_require__(82278); -// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/DragQuestions/index.tsx + 1 modules -var DragQuestions = __webpack_require__(41850); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var Editmodules = ({"flex_box_center":"flex_box_center___tQ9kp","flex_space_between":"flex_space_between___Gua_a","flex_box_vertical_center":"flex_box_vertical_center___Ptswq","flex_box_center_end":"flex_box_center_end___OytEE","flex_box_column":"flex_box_column___Lly85","bg":"bg____mu4F","containerTitle":"containerTitle___pfhhj","containerDesc":"containerDesc___AKysy","d1":"d1___u_Jx2","name":"name___w3BI6","diff":"diff___FlyVs","time":"time___eaQ8x","d2":"d2___RxDzv","listItem":"listItem___O8UlH","info":"info___CwLzA","title":"title___hrCD_","titleLeft":"titleLeft___PlqQX","titleRight":"titleRight___IwP1i","acitons":"acitons___iLOeP","formWrap":"formWrap___GlVQo","button":"button___v4_Vu"}); -// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules -var env = __webpack_require__(59758); -// EXTERNAL MODULE: ./src/components/DragSubject/index.tsx + 20 modules -var DragSubject = __webpack_require__(78218); -// EXTERNAL MODULE: ./node_modules/antd/es/table/style/index.js + 1 modules -var table_style = __webpack_require__(71854); -// EXTERNAL MODULE: ./node_modules/antd/es/table/index.js + 58 modules -var table = __webpack_require__(67250); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/Head/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var Headmodules = ({"wrap":"wrap___KOVmj","img":"img___NjhEB","table":"table___IJFj3","totalScore":"totalScore___uo3aB","people":"people___jIZMc","glassSeal":"glassSeal___HTL5m"}); -// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 1 modules -var RenderHtml = __webpack_require__(12768); -// EXTERNAL MODULE: ./src/utils/util.tsx -var util = __webpack_require__(29427); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/Head/index.tsx - - - - - - - - - - - - - - - - - - -var Head = function Head(_ref) { - var _exercise$exerciseExp2, _exercise$exerciseExp3; - var _ref$isPreview = _ref.isPreview, - isPreview = _ref$isPreview === void 0 ? false : _ref$isPreview, - _ref$isExportBlank = _ref.isExportBlank, - isExportBlank = _ref$isExportBlank === void 0 ? false : _ref$isExportBlank, - activeTabs = _ref.activeTabs, - exercise = _ref.exercise, - globalSetting = _ref.globalSetting, - loading = _ref.loading, - user = _ref.user, - dispatch = _ref.dispatch, - setIsEdit = _ref.setIsEdit; - var params = (0,_umi_production_exports.useParams)(); - var userInfo = user.userInfo; - var _useState = (0,react.useState)(), - _useState2 = slicedToArray_default()(_useState, 2), - headData = _useState2[0], - setHeadData = _useState2[1]; - var _useState3 = (0,react.useState)(), - _useState4 = slicedToArray_default()(_useState3, 2), - tableData = _useState4[0], - setTableData = _useState4[1]; - var leftheight = (0,react.useRef)(null); - var _useState5 = (0,react.useState)(21), - _useState6 = slicedToArray_default()(_useState5, 2), - leftheights = _useState6[0], - setleftheights = _useState6[1]; - (0,react.useEffect)(function () { - if ((0,util/* isUnOrNull */.W)(activeTabs)) { - // getData(); - } else { - // 兼容试卷预览tab 切换重新获取数据 - activeTabs === "2" && getData(); - } - }, [params.userId, params.coursesId, params.exerciseId, params.categoryId, activeTabs]); - (0,react.useEffect)(function () { - if (leftheight.current) { - setleftheights(leftheight.current.clientHeight); - } - }, [leftheight.current]); - (0,react.useEffect)(function () { - var _exercise$exerciseExp; - if ((_exercise$exerciseExp = exercise.exerciseExportHeadData) !== null && _exercise$exerciseExp !== void 0 && _exercise$exerciseExp.title) { - var res = exercise.exerciseExportHeadData; - setHeadData(objectSpread2_default()({}, res || {})); - var _ref2 = res || {}, - table = _ref2.table; - var total_score; - var actual_total_score; - if (table !== null && table !== void 0 && table.total_singles_scores || table !== null && table !== void 0 && table.total_doubles_scores || table !== null && table !== void 0 && table.total_nulls_scores || table !== null && table !== void 0 && table.total_judges_scores || table !== null && table !== void 0 && table.total_pros_scores || table !== null && table !== void 0 && table.total_shixuns_scores || table !== null && table !== void 0 && table.total_mains_scores || table !== null && table !== void 0 && table.total_combination_scores) { - total_score = Number(table === null || table === void 0 ? void 0 : table.total_singles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.total_judges_scores) + Number(table === null || table === void 0 ? void 0 : table.total_pros_scores) + Number(table === null || table === void 0 ? void 0 : table.total_shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.total_mains_scores) + Number(table === null || table === void 0 ? void 0 : table.total_combination_scores); - } - if (table !== null && table !== void 0 && table.singles_scores || table !== null && table !== void 0 && table.doubles_scores || table !== null && table !== void 0 && table.nulls_scores || table !== null && table !== void 0 && table.judges_scores || table !== null && table !== void 0 && table.pros_scores || table !== null && table !== void 0 && table.shixuns_scores || table !== null && table !== void 0 && table.mains_scores || table !== null && table !== void 0 && table.combination_scores) { - actual_total_score = Number(table === null || table === void 0 ? void 0 : table.singles_scores) + Number(table === null || table === void 0 ? void 0 : table.doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.judges_scores) + Number(table === null || table === void 0 ? void 0 : table.pros_scores) + Number(table === null || table === void 0 ? void 0 : table.shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.mains_scores) + Number(table === null || table === void 0 ? void 0 : table.combination_scores); - } - var data = [{ - key: '1', - name: '应得分', - singles_score: table === null || table === void 0 ? void 0 : table.total_singles_scores, - doubles_score: table === null || table === void 0 ? void 0 : table.total_doubles_scores, - nulls_score: table === null || table === void 0 ? void 0 : table.total_nulls_scores, - judges_score: table === null || table === void 0 ? void 0 : table.total_judges_scores, - pros_score: table === null || table === void 0 ? void 0 : table.total_pros_scores, - shixuns_score: table === null || table === void 0 ? void 0 : table.total_shixuns_scores, - mains_score: table === null || table === void 0 ? void 0 : table.total_mains_scores, - combinations_score: table === null || table === void 0 ? void 0 : table.total_combination_scores, - total_score: total_score - }, { - key: '2', - name: '实得分', - singles_score: table === null || table === void 0 ? void 0 : table.singles_scores, - doubles_score: table === null || table === void 0 ? void 0 : table.doubles_scores, - nulls_score: table === null || table === void 0 ? void 0 : table.nulls_scores, - judges_score: table === null || table === void 0 ? void 0 : table.judges_scores, - pros_score: table === null || table === void 0 ? void 0 : table.pros_scores, - shixuns_score: table === null || table === void 0 ? void 0 : table.shixuns_scores, - mains_score: table === null || table === void 0 ? void 0 : table.mains_scores, - combinations_score: table === null || table === void 0 ? void 0 : table.combination_scores, - total_score: actual_total_score - }, { - key: '3', - name: '评卷人' - }]; - var blankData = [{ - key: '1', - name: '应得分', - singles_score: table === null || table === void 0 ? void 0 : table.total_singles_scores, - doubles_score: table === null || table === void 0 ? void 0 : table.total_doubles_scores, - nulls_score: table === null || table === void 0 ? void 0 : table.total_nulls_scores, - judges_score: table === null || table === void 0 ? void 0 : table.total_judges_scores, - pros_score: table === null || table === void 0 ? void 0 : table.total_pros_scores, - shixuns_score: table === null || table === void 0 ? void 0 : table.total_shixuns_scores, - mains_score: table === null || table === void 0 ? void 0 : table.total_mains_scores, - combinations_score: table === null || table === void 0 ? void 0 : table.combination_scores, - total_score: total_score - }, { - key: '2', - name: '实得分' - }, { - key: '3', - name: '评卷人' - }]; - setTableData(toConsumableArray_default()(isExportBlank ? blankData : data)); - } - }, [exercise.exerciseExportHeadData]); - var getData = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var query, res, _ref4, table, total_score, actual_total_score, data, blankData; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - query = { - id: params.exerciseId || params.categoryId, - identify: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.login) || null - }; - _context.next = 3; - return (0,service_exercise/* getExerciseExportHeadData */.iw)(query); - case 3: - res = _context.sent; - setHeadData(res || {}); - _ref4 = res || {}, table = _ref4.table; - if (table !== null && table !== void 0 && table.total_singles_scores || table !== null && table !== void 0 && table.total_doubles_scores || table !== null && table !== void 0 && table.total_nulls_scores || table !== null && table !== void 0 && table.total_judges_scores || table !== null && table !== void 0 && table.total_pros_scores || table !== null && table !== void 0 && table.total_shixuns_scores || table !== null && table !== void 0 && table.total_mains_scores || table !== null && table !== void 0 && table.total_combination_scores) { - total_score = Number(table === null || table === void 0 ? void 0 : table.total_singles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.total_judges_scores) + Number(table === null || table === void 0 ? void 0 : table.total_pros_scores) + Number(table === null || table === void 0 ? void 0 : table.total_shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.total_mains_scores) + Number(table === null || table === void 0 ? void 0 : table.total_combination_scores); - } - if (table !== null && table !== void 0 && table.singles_scores || table !== null && table !== void 0 && table.doubles_scores || table !== null && table !== void 0 && table.nulls_scores || table !== null && table !== void 0 && table.judges_scores || table !== null && table !== void 0 && table.pros_scores || table !== null && table !== void 0 && table.shixuns_scores || table !== null && table !== void 0 && table.mains_scores || table !== null && table !== void 0 && table.combinations_score) { - actual_total_score = Number(table === null || table === void 0 ? void 0 : table.singles_scores) + Number(table === null || table === void 0 ? void 0 : table.doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.judges_scores) + Number(table === null || table === void 0 ? void 0 : table.pros_scores) + Number(table === null || table === void 0 ? void 0 : table.shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.mains_scores) + Number(table === null || table === void 0 ? void 0 : table.combinations_score); - } - data = [{ - key: '1', - name: '应得分', - singles_score: table === null || table === void 0 ? void 0 : table.total_singles_scores, - doubles_score: table === null || table === void 0 ? void 0 : table.total_doubles_scores, - nulls_score: table === null || table === void 0 ? void 0 : table.total_nulls_scores, - judges_score: table === null || table === void 0 ? void 0 : table.total_judges_scores, - pros_score: table === null || table === void 0 ? void 0 : table.total_pros_scores, - shixuns_score: table === null || table === void 0 ? void 0 : table.total_shixuns_scores, - combinations_score: table === null || table === void 0 ? void 0 : table.total_combination_scores, - mains_score: table === null || table === void 0 ? void 0 : table.total_mains_scores, - total_score: total_score - }, { - key: '2', - name: '实得分', - singles_score: table === null || table === void 0 ? void 0 : table.singles_scores, - doubles_score: table === null || table === void 0 ? void 0 : table.doubles_scores, - nulls_score: table === null || table === void 0 ? void 0 : table.nulls_scores, - judges_score: table === null || table === void 0 ? void 0 : table.judges_scores, - pros_score: table === null || table === void 0 ? void 0 : table.pros_scores, - shixuns_score: table === null || table === void 0 ? void 0 : table.shixuns_scores, - mains_score: table === null || table === void 0 ? void 0 : table.mains_scores, - combinations_score: table === null || table === void 0 ? void 0 : table.combination_scores, - total_score: actual_total_score - }, { - key: '3', - name: '评卷人' - }]; - blankData = [{ - key: '1', - name: '应得分' - }, { - key: '2', - name: '实得分' - }, { - key: '3', - name: '评卷人' - }]; - setTableData(isExportBlank ? blankData : data); - case 11: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function getData() { - return _ref3.apply(this, arguments); - }; - }(); - var columns = [{ - width: '10%', - title: '题型', - align: 'center', - dataIndex: 'name', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text - }); - } - }, { - width: '10%', - title: '单选题', - align: 'center', - dataIndex: 'singles_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '多选题', - align: 'center', - dataIndex: 'doubles_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '填空题', - align: 'center', - dataIndex: 'nulls_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '判断题', - align: 'center', - dataIndex: 'judges_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '编程题', - align: 'center', - dataIndex: 'pros_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '实训题', - align: 'center', - dataIndex: 'shixuns_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '简答题', - align: 'center', - dataIndex: 'mains_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '组合题', - align: 'center', - dataIndex: 'combinations_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '总分', - align: 'center', - dataIndex: 'total_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }]; - var _ref5 = headData || {}, - exercise_header = _ref5.exercise_header; - return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: "".concat(Headmodules.wrap, " ").concat(isPreview ? 'pl20' : '', " "), - children: [(headData === null || headData === void 0 ? void 0 : headData.photo_url) && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { - className: Headmodules.img, - src: headData === null || headData === void 0 ? void 0 : headData.photo_url - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - width: '100%', - textAlign: 'end' - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - onClick: function onClick() { - return setIsEdit(true); - }, - children: "\u7F16\u8F91\u8BD5\u5377" - }) - }), (exercise_header === null || exercise_header === void 0 ? void 0 : exercise_header.show_title) && /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "font16 tc c-grey-333", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - children: headData === null || headData === void 0 ? void 0 : headData.title - }) - }), (exercise === null || exercise === void 0 ? void 0 : (_exercise$exerciseExp2 = exercise.exerciseExportHeadData) === null || _exercise$exerciseExp2 === void 0 ? void 0 : _exercise$exerciseExp2.exercise_description) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - ref: leftheight, - style: { - justifyContent: leftheights === 21 ? 'center' : 'left', - wordBreak: 'break-all', - display: 'flex', - textAlign: 'left' - }, - className: "tc c-grey-333", - children: "\u8BD5\u5377\u987B\u77E5\uFF1A".concat(exercise === null || exercise === void 0 ? void 0 : (_exercise$exerciseExp3 = exercise.exerciseExportHeadData) === null || _exercise$exerciseExp3 === void 0 ? void 0 : _exercise$exerciseExp3.exercise_description) - }), (exercise_header === null || exercise_header === void 0 ? void 0 : exercise_header.show_info) && /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "tc c-grey-666", - children: ["\u5171:\u3010", headData === null || headData === void 0 ? void 0 : headData.large_counts, "\u5927\u9898\u3011\u3010", headData === null || headData === void 0 ? void 0 : headData.total_count, "\u5C0F\u9898\u3011\u3010 \u6EE1\u5206", headData === null || headData === void 0 ? void 0 : headData.score, "\u5206\u3011 \u8003\u8BD5\u65F6\u95F4\uFF1A\u3010", (headData === null || headData === void 0 ? void 0 : headData.time) > -1 ? "".concat(headData === null || headData === void 0 ? void 0 : headData.time, "\u5206\u949F") : "\u4E0D\u9650", "\u3011"] - }), (exercise_header === null || exercise_header === void 0 ? void 0 : exercise_header.show_desc) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "mt10", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "font16", - children: "\u8003\u8BD5\u8BF4\u660E\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: headData === null || headData === void 0 ? void 0 : headData.description - })] - }), (exercise_header === null || exercise_header === void 0 ? void 0 : exercise_header.show_table) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt10", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - className: Headmodules.table, - columns: columns, - dataSource: toConsumableArray_default()(tableData || []), - bordered: true, - pagination: false - }) - })] - }) - }); -}; -/* harmony default export */ var components_Head = ((0,_umi_production_exports.connect)(function (_ref6) { - var exercise = _ref6.exercise, - loading = _ref6.loading, - user = _ref6.user, - globalSetting = _ref6.globalSetting; - return { - exercise: exercise, - globalSetting: globalSetting, - user: user, - loading: loading.effects - }; -})(Head)); -// EXTERNAL MODULE: ./src/components/AddPoints/index.tsx + 2 modules -var AddPoints = __webpack_require__(56369); -// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/components/util.tsx -var components_util = __webpack_require__(9269); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/index.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var ShixunsListPage = function ShixunsListPage(_ref) { - var _userInfo$course, _exercise$editData17, _exercise$editData17$, _exercise$editData18, _exercise$editData18$, _exercise$editData19, _exercise$editData19$, _exercise$editData20, _exercise$editData20$, _exercise$editData29, _exercise$editData29$, _exercise$editData30, _exercise$editData30$, _exercise$editData31, _exercise$editData31$, _exercise$editData32, _exercise$editData32$, _exercise$editData33, _exercise$editData33$; - var exercise = _ref.exercise, - globalSetting = _ref.globalSetting, - loading = _ref.loading, - user = _ref.user, - problemset = _ref.problemset, - dispatch = _ref.dispatch; - var params = (0,_umi_production_exports.useParams)(); - var userInfo = user.userInfo; - var _Form$useForm = es_form/* default.useForm */.Z.useForm(), - _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), - form = _Form$useForm2[0]; - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - editData = _useState2[0], - setEditData = _useState2[1]; - var _useState3 = (0,react.useState)(false), - _useState4 = slicedToArray_default()(_useState3, 2), - isEdit = _useState4[0], - setIsEdit = _useState4[1]; - var _useState5 = (0,react.useState)(false), - _useState6 = slicedToArray_default()(_useState5, 2), - visible = _useState6[0], - setVisible = _useState6[1]; - var _useState7 = (0,react.useState)(false), - _useState8 = slicedToArray_default()(_useState7, 2), - dragVisible = _useState8[0], - setDragVisible = _useState8[1]; - var _useState9 = (0,react.useState)(-1), - _useState10 = slicedToArray_default()(_useState9, 2), - editKey = _useState10[0], - _setEditKey = _useState10[1]; - var childrenRef = (0,react.useRef)(); - var saveEditData = (0,react.useRef)(editData); - var _useState11 = (0,react.useState)({}), - _useState12 = slicedToArray_default()(_useState11, 2), - items = _useState12[0], - setitems = _useState12[1]; - var questionType = [{ - name: "单选题", - id: 0, - count: "q_singles", - score: "q_singles_scores" - }, { - name: "多选题", - id: 1, - count: "q_doubles", - score: "q_doubles_scores" - }, { - name: "判断题", - id: 2, - count: "q_judges", - score: "q_judges_scores" - }, { - name: "填空题", - id: 3, - count: "q_nulls", - score: "q_nulls_scores" - }, { - name: "简答题", - id: 4, - count: "q_mains", - score: "q_mains_scores" - }, { - name: "实训题", - id: 5, - count: "q_shixuns", - score: "q_shixuns_scores" - }, { - name: "编程题", - id: 6, - count: "q_pros", - score: "q_pros_scores" - }, { - name: "组合题", - id: 7, - count: "q_combinations", - score: "q_combinations_scores" - }]; - (0,react.useEffect)(function () { - dispatch({ - type: 'globalSetting/footerToggle', - payload: false - }); - return function () { - dispatch({ - type: 'globalSetting/footerToggle', - payload: true - }); - }; - }, []); - (0,react.useEffect)(function () { - var _exercise$editData, _exercise$editData10, _exercise$editData10$; - if (exercise !== null && exercise !== void 0 && (_exercise$editData = exercise.editData) !== null && _exercise$editData !== void 0 && _exercise$editData.exercise_question_types) { - var _exercise$editData2, _exercise$editData3, _exercise$editData4, _exercise$editData4$e, _exercise$editData5, _exercise$editData5$e, _exercise$editData6, _exercise$editData6$e, _exercise$editData7, _exercise$editData7$e, _exercise$editData8, _exercise$editData8$e, _exercise$editData9, _exercise$editData9$e; - setEditData((0,lodash.cloneDeep)(exercise === null || exercise === void 0 ? void 0 : (_exercise$editData2 = exercise.editData) === null || _exercise$editData2 === void 0 ? void 0 : _exercise$editData2.exercise_question_types)); - saveEditData.current = (0,lodash.cloneDeep)(exercise === null || exercise === void 0 ? void 0 : (_exercise$editData3 = exercise.editData) === null || _exercise$editData3 === void 0 ? void 0 : _exercise$editData3.exercise_question_types); - var values = { - exercise_name: (_exercise$editData4 = exercise.editData) === null || _exercise$editData4 === void 0 ? void 0 : (_exercise$editData4$e = _exercise$editData4.exercise) === null || _exercise$editData4$e === void 0 ? void 0 : _exercise$editData4$e.exercise_name, - time: (_exercise$editData5 = exercise.editData) === null || _exercise$editData5 === void 0 ? void 0 : (_exercise$editData5$e = _exercise$editData5.exercise) === null || _exercise$editData5$e === void 0 ? void 0 : _exercise$editData5$e.time, - difficulty: (_exercise$editData6 = exercise.editData) === null || _exercise$editData6 === void 0 ? void 0 : (_exercise$editData6$e = _exercise$editData6.exercise) === null || _exercise$editData6$e === void 0 ? void 0 : _exercise$editData6$e.difficulty, - exercise_description: (_exercise$editData7 = exercise.editData) === null || _exercise$editData7 === void 0 ? void 0 : (_exercise$editData7$e = _exercise$editData7.exercise) === null || _exercise$editData7$e === void 0 ? void 0 : _exercise$editData7$e.exercise_description - }; - if (!((_exercise$editData8 = exercise.editData) !== null && _exercise$editData8 !== void 0 && (_exercise$editData8$e = _exercise$editData8.exercise) !== null && _exercise$editData8$e !== void 0 && _exercise$editData8$e.time) || ((_exercise$editData9 = exercise.editData) === null || _exercise$editData9 === void 0 ? void 0 : (_exercise$editData9$e = _exercise$editData9.exercise) === null || _exercise$editData9$e === void 0 ? void 0 : _exercise$editData9$e.time) === -1) { - delete values.time; - } - form.setFieldsValue(values); - } - var id = (_exercise$editData10 = exercise.editData) === null || _exercise$editData10 === void 0 ? void 0 : (_exercise$editData10$ = _exercise$editData10.exercise) === null || _exercise$editData10$ === void 0 ? void 0 : _exercise$editData10$.sub_discipline_id; - id && getTagData(id); - }, [exercise.editData]); - (0,react.useEffect)(function () { - var _exercise$editData11, _exercise$editData11$; - var arr = []; - var id = (_exercise$editData11 = exercise.editData) === null || _exercise$editData11 === void 0 ? void 0 : (_exercise$editData11$ = _exercise$editData11.exercise) === null || _exercise$editData11$ === void 0 ? void 0 : _exercise$editData11$.sub_discipline_id; - problemset.courseOptions.map(function (item) { - var _item$children; - if (item.value === id) { - arr.push(id); - } - item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.map(function (val) { - if (val.value === id) { - arr = [item.value, val.value]; - } - }); - }); - form.setFieldsValue({ - courseid: toConsumableArray_default()(arr) - }); - }, [problemset.courseOptions]); - var getTagData = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(id) { - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return dispatch({ - type: "exercise/getTagDiscipline", - payload: { - sub_discipline_id: id - } - }); - case 2: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function getTagData(_x) { - return _ref2.apply(this, arguments); - }; - }(); - (0,react.useEffect)(function () { - getData(); - }, [params.categoryId]); - var getData = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return (0,components_util/* handleCheckModal */.w)(params.coursesId, params.categoryId, '', 0, 1); - case 2: - _context2.next = 4; - return dispatch({ - type: "exercise/getExerciseExportHeadData", - payload: { - id: params.exerciseId || params.categoryId, - identify: params.userId || null - } - }); - case 4: - _context2.next = 6; - return dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - case 6: - _context2.next = 8; - return dispatch({ - type: 'problemset/getEditDisciplines', - payload: { - source: 'new_question' - } - }); - case 8: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function getData() { - return _ref3.apply(this, arguments); - }; - }(); - var save = /*#__PURE__*/function () { - var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var _exercise$editData12, _exercise$editData12$; - var value; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return form.validateFields(); - case 2: - value = form.getFieldValue(); - value.is_md = true; - value.exerciseId = (_exercise$editData12 = exercise.editData) === null || _exercise$editData12 === void 0 ? void 0 : (_exercise$editData12$ = _exercise$editData12.exercise) === null || _exercise$editData12$ === void 0 ? void 0 : _exercise$editData12$.id; - value.sub_discipline_id = value.courseid[value.courseid.length - 1]; - setIsEdit(false); - _context3.next = 9; - return (0,service_exercise/* putExercise */.wy)(objectSpread2_default()({}, value)); - case 9: - _setEditKey(-1); - dispatch({ - type: "exercise/editExercise", - payload: objectSpread2_default()({}, params) - }); - set_work_points(params.categoryId); - getData(); - case 13: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return function save() { - return _ref4.apply(this, arguments); - }; - }(); - function set_work_points(_x2) { - return _set_work_points.apply(this, arguments); - } - function _set_work_points() { - _set_work_points = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9(id) { - var res; - return regeneratorRuntime_default()().wrap(function _callee9$(_context9) { - while (1) switch (_context9.prev = _context9.next) { - case 0: - if (items !== null && items !== void 0 && items.ec_point_ids) { - _context9.next = 2; - break; - } - return _context9.abrupt("return"); - case 2: - _context9.next = 4; - return (0,fetch/* default */.ZP)("/api/ec_courses/".concat(items === null || items === void 0 ? void 0 : items.ec_course_id, "/ec_points/set_work_points.json"), { - method: 'post', - body: objectSpread2_default()({ - exercise_id: id - }, items) - }); - case 4: - res = _context9.sent; - case 5: - case "end": - return _context9.stop(); - } - }, _callee9); - })); - return _set_work_points.apply(this, arguments); - } - var addQuestion = /*#__PURE__*/function () { - var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(type) { - var _exercise$editData13, _exercise$editData13$, _exercise$editData14, _exercise$editData14$, _p$items$p$count, p, insertParams; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (!(editKey !== -1)) { - _context4.next = 3; - break; - } - message/* default.error */.ZP.error("不能同时编辑两题"); - return _context4.abrupt("return"); - case 3: - if (!(type === 5)) { - _context4.next = 7; - break; - } - dispatch({ - type: "classroomList/setActionTabs", - payload: { - key: "选用实践项目" - } - }); - _context4.next = 22; - break; - case 7: - if (!(type === 6)) { - _context4.next = 11; - break; - } - _umi_production_exports.history.push("/problems/new?difficult=".concat((_exercise$editData13 = exercise.editData) === null || _exercise$editData13 === void 0 ? void 0 : (_exercise$editData13$ = _exercise$editData13.exercise) === null || _exercise$editData13$ === void 0 ? void 0 : _exercise$editData13$.difficulty, "&sub_discipline_id=").concat((_exercise$editData14 = exercise.editData) === null || _exercise$editData14 === void 0 ? void 0 : (_exercise$editData14$ = _exercise$editData14.exercise) === null || _exercise$editData14$ === void 0 ? void 0 : _exercise$editData14$.sub_discipline_id, "&express_id=").concat(params.categoryId, "&callback_url=").concat(location.pathname)); - _context4.next = 22; - break; - case 11: - p = editData.find(function (e) { - return e.question_type === type; - }); - if (p) { - _context4.next = 19; - break; - } - saveEditData.current = (0,lodash.cloneDeep)(editData); - editData.push({ - name: questionType.find(function (er) { - return er.id === type; - }).name, - question_type: type, - count: 0, - score: 0, - items: [{ - key: 1, - insert_id: 1, - question_type: type - }] - }); - setEditData(toConsumableArray_default()(editData)); - _setEditKey("".concat(type, "-", 1)); - setTimeout(function () { - var _document$getElementB; - (_document$getElementB = document.getElementById("".concat(type, "-", 0))) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.scrollIntoView(); - }, 0); - return _context4.abrupt("return"); - case 19: - setTimeout(function () { - var _document$getElementB2; - (_document$getElementB2 = document.getElementById("".concat(type, "-").concat(p.count - 1))) === null || _document$getElementB2 === void 0 ? void 0 : _document$getElementB2.scrollIntoView(); - }, 0); - insertParams = { - key: p.count, - insert_id: (_p$items$p$count = p.items[p.count]) === null || _p$items$p$count === void 0 ? void 0 : _p$items$p$count.question_id, - question_type: type - }; - _addCallback(insertParams); - case 22: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function addQuestion(_x3) { - return _ref5.apply(this, arguments); - }; - }(); - var _cancelAdd = function cancelAdd() { - _setEditKey(-1); - setEditData(saveEditData.current); - }; - var _addCallback = function addCallback() { - var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - saveEditData.current = (0,lodash.cloneDeep)(editData); - if (data.question_type === 6) { - var _exercise$editData15, _exercise$editData15$, _exercise$editData16, _exercise$editData16$; - _umi_production_exports.history.push("/problems/new?difficult=".concat((_exercise$editData15 = exercise.editData) === null || _exercise$editData15 === void 0 ? void 0 : (_exercise$editData15$ = _exercise$editData15.exercise) === null || _exercise$editData15$ === void 0 ? void 0 : _exercise$editData15$.difficulty, "&sub_discipline_id=").concat((_exercise$editData16 = exercise.editData) === null || _exercise$editData16 === void 0 ? void 0 : (_exercise$editData16$ = _exercise$editData16.exercise) === null || _exercise$editData16$ === void 0 ? void 0 : _exercise$editData16$.sub_discipline_id, "&express_id=").concat(params.categoryId, "&callback_url=").concat(location.pathname)); - return false; - } - editData.map(function (item) { - if (item.question_type === data.question_type) { - var newItems = (0,lodash.cloneDeep)(item.items); - newItems.splice(data === null || data === void 0 ? void 0 : data.key, 0, objectSpread2_default()({ - insert_id: data === null || data === void 0 ? void 0 : data.insert_id - }, data)); - item.items = newItems; - } - return item; - }); - setEditData(toConsumableArray_default()(editData)); - _setEditKey("".concat(data.question_type, "-").concat(data.key + 1)); - }; - var editorProps = { - ref: childrenRef, - editKey: editKey, - hideAction: false, - cancelAdd: function cancelAdd() { - return _cancelAdd(); - }, - setEditKey: function setEditKey(key) { - return _setEditKey(key); - }, - addCallback: function addCallback(data) { - return _addCallback(data); - } - }; - var uploadRequest = function uploadRequest(params, url, callback, progressFunction, error) { - var formData = new FormData(); - Object.keys(params).forEach(function (key) { - formData.append(key, params[key]); - }); - var xhr = new window.XMLHttpRequest(); - xhr.withCredentials = true; - xhr.addEventListener('load', function (res) { - var _res$target; - callback(JSON.parse(res === null || res === void 0 ? void 0 : (_res$target = res.target) === null || _res$target === void 0 ? void 0 : _res$target.response)); - }, false); - xhr.addEventListener('error', function (err) { - if (error) { - error(err); - } - }, false); - xhr.upload.onprogress = function (e) { - if (progressFunction) { - progressFunction(e); - } - }; - xhr.open('POST', url); - xhr.send(formData); - return xhr; - }; - var handleOk = /*#__PURE__*/function () { - var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(list, cb) { - var _list$; - var newParams; - return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { - case 0: - if (!(list.length === 0)) { - _context5.next = 4; - break; - } - message/* default.warn */.ZP.warn('请上传文件'); - cb(); - return _context5.abrupt("return"); - case 4: - newParams = { - id: params === null || params === void 0 ? void 0 : params.categoryId, - file: (_list$ = list[0]) === null || _list$ === void 0 ? void 0 : _list$.file - }; - uploadRequest(newParams, "".concat(env/* default.API_SERVER */.Z.API_SERVER, "/api/courses/").concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercises/import_exercise.json"), function (res) { - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - var _res$fail; - var obj = {}; - res === null || res === void 0 ? void 0 : (_res$fail = res.fail) === null || _res$fail === void 0 ? void 0 : _res$fail.forEach(function (e) { - var _Object$keys; - var isExist = (_Object$keys = Object.keys(obj)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.includes(e.message); - if (isExist) { - obj[e.message] = obj[e.message] + 1; - } else { - obj[e.message] = 1; - } - }); - var str = "\u6210\u529F\u5BFC\u5165".concat(res === null || res === void 0 ? void 0 : res.success, "\u6761"); - Object.keys(obj).forEach(function (item) { - str = str + ",".concat(item).concat(obj[item], "\u6761"); - }); - message/* default.success */.ZP.success(str); - setVisible(false); - getData(); - } - if ((res === null || res === void 0 ? void 0 : res.status) === -1) { - message/* default.error */.ZP.error(res === null || res === void 0 ? void 0 : res.message); - cb(); - } - }); - case 6: - case "end": - return _context5.stop(); - } - }, _callee5); - })); - return function handleOk(_x4, _x5) { - return _ref6.apply(this, arguments); - }; - }(); - var handleDragOk = /*#__PURE__*/function () { - var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(list, cb) { - var res; - return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { - case 0: - _context6.next = 2; - return (0,fetch/* default */.ZP)("/api/exercises/".concat(params === null || params === void 0 ? void 0 : params.categoryId, "/sort_question_type.json"), { - method: 'post', - body: { - question_type: list - } - }); - case 2: - res = _context6.sent; - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success(res === null || res === void 0 ? void 0 : res.message); - setDragVisible(false); - getData(); - } - cb(); - case 5: - case "end": - return _context6.stop(); - } - }, _callee6); - })); - return function handleDragOk(_x6, _x7) { - return _ref7.apply(this, arguments); - }; - }(); - var handleIn = function handleIn() { - if (editKey !== -1) { - message/* default.error */.ZP.error("请先保存或取消当前正在编辑的问题。"); - return; - } - setVisible(true); - }; - var handleDragEnd = /*#__PURE__*/function () { - var _ref8 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7(list, type) { - var index, newEditData, res; - return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { - while (1) switch (_context7.prev = _context7.next) { - case 0: - console.log('---', list); - saveEditData.current = (0,lodash.cloneDeep)(editData); - index = editData.findIndex(function (e) { - return e.question_type === type; - }); - newEditData = editData; - newEditData[index].items = list; - setEditData(toConsumableArray_default()(newEditData)); - _context7.next = 8; - return (0,fetch/* default */.ZP)("/api/exercises/".concat(params === null || params === void 0 ? void 0 : params.categoryId, "/adjust_position.json"), { - method: 'post', - body: { - question_ids: list.map(function (e) { - return e === null || e === void 0 ? void 0 : e.question_id; - }) - } - }); - case 8: - res = _context7.sent; - if ((res === null || res === void 0 ? void 0 : res.status) !== 0) { - setEditData(saveEditData.current); - } - case 10: - case "end": - return _context7.stop(); - } - }, _callee7); - })); - return function handleDragEnd(_x8, _x9) { - return _ref8.apply(this, arguments); - }; - }(); - var handleIniateAnswer = /*#__PURE__*/function () { - var _ref9 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() { - var _res$exercise; - var res, _user$userInfo; - return regeneratorRuntime_default()().wrap(function _callee8$(_context8) { - while (1) switch (_context8.prev = _context8.next) { - case 0: - _context8.next = 2; - return (0,service_exercise/* startSimulateAnswer */._F)(objectSpread2_default()(objectSpread2_default()({}, params), {}, { - is_reset: 1 - })); - case 2: - res = _context8.sent; - if (res !== null && res !== void 0 && (_res$exercise = res.exercise) !== null && _res$exercise !== void 0 && _res$exercise.id) { - _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/").concat((_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login, "/initate_answer")); - } - case 4: - case "end": - return _context8.stop(); - } - }, _callee8); - })); - return function handleIniateAnswer() { - return _ref9.apply(this, arguments); - }; - }(); - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: "edu-container minH500", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, { - spinning: loading['exercise/editExercise'] || loading['exercise/getExerciseExportHeadData'], - size: "large", - style: { - position: 'fixed', - maxHeight: '100vh' - }, - className: "mt30", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: "animated fadeIn", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: "mt10", - children: userInfo && /*#__PURE__*/(0,jsx_runtime.jsxs)(breadcrumb/* default */.Z, { - separator: ">", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: "/classrooms/".concat(params.coursesId, "/exercise"), - children: userInfo === null || userInfo === void 0 ? void 0 : (_userInfo$course = userInfo.course) === null || _userInfo$course === void 0 ? void 0 : _userInfo$course.course_name - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: "/classrooms/".concat(params.coursesId, "/exercise"), - children: "\u8BD5\u5377\u5217\u8868" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: "\u7F16\u8F91\u8BD5\u5377" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: [Editmodules.title, 'mt20'].join(' '), - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - style: { - width: "100%" - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - className: "font20 ml5", - children: "\u7F16\u8F91\u8BD5\u5377" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - className: "font16 c-light-black", - to: "/classrooms/".concat(params.coursesId, "/exercise"), - children: "\u8FD4\u56DE" - }) - })] - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: [Editmodules.bg, 'pt30', 'pl30', 'pr30', 'pb60', 'mt20'].join(' '), - children: [!isEdit && /*#__PURE__*/(0,jsx_runtime.jsx)(components_Head, { - setIsEdit: setIsEdit, - isExportBlank: false - }), isEdit && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { - layout: "vertical", - form: form, - className: Editmodules.formWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "方向&课程:", - name: "courseid", - labelCol: { - span: 5 - }, - wrapperCol: { - span: 5 - }, - rules: [{ - required: true, - message: '请选择课程' - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(cascader/* default */.Z, { - disabled: ((_exercise$editData17 = exercise.editData) === null || _exercise$editData17 === void 0 ? void 0 : (_exercise$editData17$ = _exercise$editData17.exercise) === null || _exercise$editData17$ === void 0 ? void 0 : _exercise$editData17$.exercise_status) !== 1, - placeholder: "\u8BF7\u9009\u62E9...", - options: problemset.courseOptions - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: "exercise_name", - label: "\u8BD5\u5377\u540D\u79F0\uFF1A", - rules: [{ - required: true, - message: "请填写试卷名称" - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - maxLength: 60, - placeholder: "\u8BD5\u5377\u6807\u9898\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: "time", - label: "\u7B54\u9898\u65F6\u957F" - // rules={[{message: "请填写考试时长" }]} - , - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - min: 1, - max: 9999, - disabled: ((_exercise$editData18 = exercise.editData) === null || _exercise$editData18 === void 0 ? void 0 : (_exercise$editData18$ = _exercise$editData18.exercise) === null || _exercise$editData18$ === void 0 ? void 0 : _exercise$editData18$.exercise_status) !== 1, - style: { - width: 110 - }, - maxLength: 60, - placeholder: "\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginLeft: "10px", - width: '40px', - lineHeight: '32px', - marginTop: 23 - }, - children: "\u5206\u949F" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u96BE\u5EA6\uFF1A", - name: "difficulty", - rules: [{ - required: true, - message: '请选择难度' - }], - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - disabled: ((_exercise$editData19 = exercise.editData) === null || _exercise$editData19 === void 0 ? void 0 : (_exercise$editData19$ = _exercise$editData19.exercise) === null || _exercise$editData19$ === void 0 ? void 0 : _exercise$editData19$.exercise_status) !== 1, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u8BD5\u5377\u987B\u77E5\uFF1A", - name: "exercise_description", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.TextArea */.Z.TextArea, { - disabled: ((_exercise$editData20 = exercise.editData) === null || _exercise$editData20 === void 0 ? void 0 : (_exercise$editData20$ = _exercise$editData20.exercise) === null || _exercise$editData20$ === void 0 ? void 0 : _exercise$editData20$.exercise_status) !== 1, - maxLength: 65535, - rows: 6, - placeholder: "\u8BF7\u5728\u6B64\u8F93\u5165\u672C\u6B21\u8BD5\u5377\u7B54\u9898\u7684\u76F8\u5173\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u523665535\u4E2A\u5B57\u7B26" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(AddPoints/* default */.Z, { - setitem: function setitem(e) { - return setitems(objectSpread2_default()({}, e)); - }, - exercise_id: params.categoryId - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default.Item */.Z.Item, { - className: "tr", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "primary", - onClick: function onClick() { - save(); - }, - children: "\u4FDD\u5B58" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - style: { - marginLeft: 10 - }, - onClick: function onClick() { - var _exercise$editData21; - setIsEdit(false); - if (exercise !== null && exercise !== void 0 && (_exercise$editData21 = exercise.editData) !== null && _exercise$editData21 !== void 0 && _exercise$editData21.exercise_question_types) { - var _exercise$editData22, _exercise$editData23, _exercise$editData23$, _exercise$editData24, _exercise$editData24$, _exercise$editData25, _exercise$editData25$, _exercise$editData26, _exercise$editData26$, _exercise$editData27, _exercise$editData27$, _exercise$editData28, _exercise$editData28$; - setEditData(toConsumableArray_default()(exercise === null || exercise === void 0 ? void 0 : (_exercise$editData22 = exercise.editData) === null || _exercise$editData22 === void 0 ? void 0 : _exercise$editData22.exercise_question_types)); - var values = { - exercise_name: (_exercise$editData23 = exercise.editData) === null || _exercise$editData23 === void 0 ? void 0 : (_exercise$editData23$ = _exercise$editData23.exercise) === null || _exercise$editData23$ === void 0 ? void 0 : _exercise$editData23$.exercise_name, - time: (_exercise$editData24 = exercise.editData) === null || _exercise$editData24 === void 0 ? void 0 : (_exercise$editData24$ = _exercise$editData24.exercise) === null || _exercise$editData24$ === void 0 ? void 0 : _exercise$editData24$.time, - difficulty: (_exercise$editData25 = exercise.editData) === null || _exercise$editData25 === void 0 ? void 0 : (_exercise$editData25$ = _exercise$editData25.exercise) === null || _exercise$editData25$ === void 0 ? void 0 : _exercise$editData25$.difficulty, - exercise_description: (_exercise$editData26 = exercise.editData) === null || _exercise$editData26 === void 0 ? void 0 : (_exercise$editData26$ = _exercise$editData26.exercise) === null || _exercise$editData26$ === void 0 ? void 0 : _exercise$editData26$.exercise_description - }; - if (!((_exercise$editData27 = exercise.editData) !== null && _exercise$editData27 !== void 0 && (_exercise$editData27$ = _exercise$editData27.exercise) !== null && _exercise$editData27$ !== void 0 && _exercise$editData27$.time) || ((_exercise$editData28 = exercise.editData) === null || _exercise$editData28 === void 0 ? void 0 : (_exercise$editData28$ = _exercise$editData28.exercise) === null || _exercise$editData28$ === void 0 ? void 0 : _exercise$editData28$.time) === -1) { - delete values.time; - } - form.setFieldsValue(values); - } - }, - children: "\u53D6\u6D88" - })] - })] - })] - }), editData != '' && /*#__PURE__*/(0,jsx_runtime.jsx)("section", { - className: [Editmodules.bg, 'pt30', 'pl20', 'pr20', 'pb20', 'mt20'].join(' '), - children: /*#__PURE__*/(0,jsx_runtime.jsx)(DragSubject/* default */.Z, { - data: editData, - editorProps: editorProps, - isDragDisabled: editKey !== -1, - onDragEnd: handleDragEnd, - batchScore: ["单选题", "多选题", "判断题", "填空题", "简答题", "编程题"], - reload: getData - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(SelectShixuns, { - callback: function callback(originData, data, is_copy) { - var _originData$title; - saveEditData.current = (0,lodash.cloneDeep)(editData); - var param = { - shixun: originData.challenge_names.map(function (item) { - return { - challenge_name: item, - challenge_score: 5 - }; - }), - shixun_name: originData === null || originData === void 0 ? void 0 : (_originData$title = originData.title) === null || _originData$title === void 0 ? void 0 : _originData$title.replace(/<.*?>/ig, ""), - shixun_id: originData.id, - question_type: 5, - edit: true, - is_copy: is_copy - }; - if (data) { - editData.map(function (item) { - if (item.question_type === 5) { - var newItems = (0,lodash.cloneDeep)(item.items); - newItems.splice(data === null || data === void 0 ? void 0 : data.key, 0, param); - item.items = newItems; - } - return item; - }); - _setEditKey("5-".concat(editData.key + 1)); - setEditData(toConsumableArray_default()(editData)); - } - if (!data) { - var p = editData.find(function (e) { - return e.question_type === 5; - }); - if (!p) { - editData.push({ - name: questionType.find(function (er) { - return er.id === 5; - }).name, - question_type: 5, - count: 0, - score: 0, - items: [param] - }); - setEditData(toConsumableArray_default()(editData)); - _setEditKey("".concat(5, "-", 1)); - setTimeout(function () { - var _document$getElementB3; - (_document$getElementB3 = document.getElementById("".concat(5, "-", 0))) === null || _document$getElementB3 === void 0 ? void 0 : _document$getElementB3.scrollIntoView(); - }, 0); - return; - } - setTimeout(function () { - var _document$getElementB4; - (_document$getElementB4 = document.getElementById("".concat(5, "-", p.count - 1))) === null || _document$getElementB4 === void 0 ? void 0 : _document$getElementB4.scrollIntoView(); - }, 0); - p.items.push(param); - setEditData(toConsumableArray_default()(editData)); - _setEditKey("".concat(5, "-", p.count)); - } - } - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(UploadQuestions/* default */.Z, { - visible: visible, - onCancel: function onCancel() { - return setVisible(false); - }, - onOk: handleOk - }), /*#__PURE__*/(0,jsx_runtime.jsx)(DragQuestions/* default */.Z, { - visible: dragVisible, - onCancel: function onCancel() { - return setDragVisible(false); - }, - onOk: handleDragOk, - data: (_exercise$editData29 = exercise.editData) === null || _exercise$editData29 === void 0 ? void 0 : (_exercise$editData29$ = _exercise$editData29.exercise) === null || _exercise$editData29$ === void 0 ? void 0 : _exercise$editData29$.sort_by_qustion_type - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("section", { - style: { - display: 'flex', - width: "100%", - position: 'fixed', - bottom: 0, - height: 70, - boxShadow: 'rgb(0 0 0 / 5%) 0px -4px 4px 0px', - zIndex: 666 - }, - className: [Editmodules.bg, 'pt30', 'pl30', 'pr30', 'pb30', 'mt20'].join(' '), - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - width: '1200px', - margin: '0px auto', - display: 'flex', - alignItems: 'center' - }, - children: [((_exercise$editData30 = exercise.editData) === null || _exercise$editData30 === void 0 ? void 0 : (_exercise$editData30$ = _exercise$editData30.exercise) === null || _exercise$editData30$ === void 0 ? void 0 : _exercise$editData30$.exercise_status) == 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - style: { - height: 30, - marginRight: 10, - width: 104 - }, - type: "primary", - onClick: function onClick() { - _umi_production_exports.history.push("/classrooms/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercise/").concat(params === null || params === void 0 ? void 0 : params.categoryId, "/preview_select")); - }, - children: "\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9" - }), ((_exercise$editData31 = exercise.editData) === null || _exercise$editData31 === void 0 ? void 0 : (_exercise$editData31$ = _exercise$editData31.exercise) === null || _exercise$editData31$ === void 0 ? void 0 : _exercise$editData31$.exercise_status) == 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - style: { - height: 30, - marginRight: 27, - width: 104 - }, - type: "primary", - onClick: handleIn, - children: "\u6279\u91CF\u5BFC\u5165\u8BD5\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - marginRight: '27px', - height: '30px', - width: 1, - background: '#F5F5F5' - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - display: 'flex', - marginRight: 27 - }, - children: ((_exercise$editData32 = exercise.editData) === null || _exercise$editData32 === void 0 ? void 0 : (_exercise$editData32$ = _exercise$editData32.exercise) === null || _exercise$editData32$ === void 0 ? void 0 : _exercise$editData32$.exercise_status) === 1 && questionType.map(function (item) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - visibility: item.id === 7 ? 'hidden' : 'visible' - }, - className: Editmodules.button, - onClick: function onClick() { - return addQuestion(item.id); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-tianjiashitixiaojiahao mr5", - style: { - fontSize: '10px', - color: '#B1BACD' - } - }), item.name] - }, item.id); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - marginRight: '25px', - height: '30px', - width: 1, - background: '#F5F5F5' - } - }), ((_exercise$editData33 = exercise.editData) === null || _exercise$editData33 === void 0 ? void 0 : (_exercise$editData33$ = _exercise$editData33.exercise) === null || _exercise$editData33$ === void 0 ? void 0 : _exercise$editData33$.exercise_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { - style: { - width: 96, - height: 30, - border: '1px solid #98BDF7', - color: '#145DFF' - }, - className: "mr8", - onClick: function onClick() { - return setDragVisible(true); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-tixingpaixu mr8", - style: { - fontSize: '14px', - color: '#98BDF7' - } - }), "\u9898\u578B\u6392\u5E8F"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - style: { - width: 96, - height: 30, - border: '1px solid #98BDF7', - color: '#145DFF' - }, - className: "mr8", - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, { - to: "/classrooms/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercise/").concat(params === null || params === void 0 ? void 0 : params.categoryId, "/detail?random=false&tabs=2"), - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-yulan mr8", - style: { - fontSize: '14px', - color: '#98BDF7' - } - }), "\u9884\u89C8"] - }) - }), (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { - style: { - width: 96, - height: 30, - border: '1px solid #98BDF7', - color: '#145DFF' - }, - onClick: (0,lodash.throttle)(handleIniateAnswer, 3500), - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-monikaoshi1 mr8", - style: { - fontSize: '14px', - color: '#98BDF7' - } - }), "\u6A21\u62DF\u8003\u8BD5"] - })] - }) - })] - }); -}; -/* harmony default export */ var Edit = ((0,_umi_production_exports.connect)(function (_ref10) { - var exercise = _ref10.exercise, - loading = _ref10.loading, - user = _ref10.user, - problemset = _ref10.problemset, - globalSetting = _ref10.globalSetting; - return { - exercise: exercise, - globalSetting: globalSetting, - user: user, - problemset: problemset, - loading: loading.effects - }; -})(ShixunsListPage)); - -/***/ }), - -/***/ 9269: -/*!*****************************************************************!*\ - !*** ./src/pages/Classrooms/Lists/Exercise/components/util.tsx ***! - \*****************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "w": function() { return /* binding */ handleCheckModal; } -/* harmony export */ }); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var antd_es_modal_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/modal/style */ 35611); -/* harmony import */ var antd_es_modal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd/es/modal */ 85402); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 84519); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! umi */ 89214); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 85893); - - - - - - - - - -var handleCheckModal = /*#__PURE__*/function () { - var _ref = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(coursesId, categoryId) { - var _result; - var text, - appraise_type, - category, - res, - result, - toSkipUrl, - _args = arguments; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - text = _args.length > 2 && _args[2] !== undefined ? _args[2] : '正在进入评阅,请稍后...'; - appraise_type = _args.length > 3 && _args[3] !== undefined ? _args[3] : 1; - category = _args.length > 4 && _args[4] !== undefined ? _args[4] : 2; - appraise_type === 1 && (0,umi__WEBPACK_IMPORTED_MODULE_5__.getDvaApp)()._store.dispatch({ - type: "globalSetting/setGlobalLoading", - payload: { - show: true, - text: appraise_type === 1 ? text : '正在检测中,请稍后...' - } - }); - _context.next = 6; - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(categoryId, "/user_appraise_status.json"), { - method: 'get', - params: { - appraise_type: appraise_type - } - }); - case 6: - res = _context.sent; - if (!((res === null || res === void 0 ? void 0 : res.status) === -1)) { - _context.next = 11; - break; - } - (0,umi__WEBPACK_IMPORTED_MODULE_5__.getDvaApp)()._store.dispatch({ - type: "globalSetting/setGlobalLoading", - payload: { - show: false - } - }); - return _context.abrupt("return", Promise.reject()); - case 11: - result = { - status: 0 - }; //type 1:直接通过 2:跳转集中阅卷 3:已截止 4: 特殊弹框后端给提示语 - if (!((res === null || res === void 0 ? void 0 : res.type) === 2)) { - _context.next = 16; - break; - } - _context.next = 15; - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(categoryId, "/create_appraise_students.json"), { - method: 'get' - }); - case 15: - result = _context.sent; - case 16: - (0,umi__WEBPACK_IMPORTED_MODULE_5__.getDvaApp)()._store.dispatch({ - type: "globalSetting/setGlobalLoading", - payload: { - show: false, - text: '' - } - }); - if (!(((_result = result) === null || _result === void 0 ? void 0 : _result.status) === -1)) { - _context.next = 19; - break; - } - return _context.abrupt("return", Promise.reject()); - case 19: - if (!((res === null || res === void 0 ? void 0 : res.type) === 2)) { - _context.next = 24; - break; - } - toSkipUrl = function toSkipUrl() { - var _result2; - umi__WEBPACK_IMPORTED_MODULE_5__.history.replace("/classrooms/".concat(coursesId, "/exercise/").concat(categoryId, "/centralizeReview/").concat((_result2 = result) === null || _result2 === void 0 ? void 0 : _result2.login)); - }; - antd_es_modal__WEBPACK_IMPORTED_MODULE_7__/* ["default"].confirm */ .Z.confirm({ - centered: true, - width: 470, - okText: '确定', - cancelText: '取消', - title: '提示', - keyboard: false, - onOk: toSkipUrl, - onCancel: function onCancel() { - if (category === 1) { - umi__WEBPACK_IMPORTED_MODULE_5__.history.replace("/classrooms/".concat(coursesId, "/exercise/").concat(categoryId, "/detail")); - } - }, - content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { - children: ["\u60A8\u5DF2\u6210\u4E3A\u6307\u5B9A\u9605\u5377\u6559\u5E08\uFF0C\u662F\u5426\u73B0\u5728\u524D\u5F80", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("span", { - onClick: toSkipUrl, - className: "ml5 mr5 c-light-primary current", - children: "\u96C6\u4E2D\u9605\u5377" - }), "\u7EE7\u7EED\u8BC4\u9605\uFF1F"] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { - className: "c-grey-999", - children: "\uFF08\u9605\u5377\u7ED3\u675F\u540E\u6062\u590D\u5B66\u751F\u4E2A\u4EBA\u8BC4\u9605\u529F\u80FD\uFF0C\u5E76\u5C55\u793A\u5B66\u751F\u6210\u7EE9\uFF09" - })] - }) - }); - if (!(category !== 3)) { - _context.next = 24; - break; - } - return _context.abrupt("return", Promise.reject()); - case 24: - if (!((res === null || res === void 0 ? void 0 : res.type) === 3)) { - _context.next = 28; - break; - } - antd_es_modal__WEBPACK_IMPORTED_MODULE_7__/* ["default"].info */ .Z.info({ - centered: true, - width: 470, - okText: '确定', - keyboard: false, - title: '提示', - onOk: function onOk() { - if (category === 1) { - umi__WEBPACK_IMPORTED_MODULE_5__.history.replace("/classrooms/".concat(coursesId, "/exercise/").concat(categoryId, "/detail")); - } - }, - content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { - children: (res === null || res === void 0 ? void 0 : res.message) || '' - }) - }); - if (!(category !== 3)) { - _context.next = 28; - break; - } - return _context.abrupt("return", Promise.reject()); - case 28: - if (!((res === null || res === void 0 ? void 0 : res.type) === 4)) { - _context.next = 32; - break; - } - antd_es_modal__WEBPACK_IMPORTED_MODULE_7__/* ["default"].info */ .Z.info({ - centered: true, - width: 470, - okText: '确定', - title: '提示', - keyboard: false, - onOk: function onOk() { - if (category === 1) { - umi__WEBPACK_IMPORTED_MODULE_5__.history.replace("/classrooms/".concat(coursesId, "/exercise/").concat(categoryId, "/detail")); - } - }, - content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { - children: (res === null || res === void 0 ? void 0 : res.message) || '' - }) - }); - if (!(category !== 3)) { - _context.next = 32; - break; - } - return _context.abrupt("return", Promise.reject()); - case 32: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function handleCheckModal(_x, _x2) { - return _ref.apply(this, arguments); - }; -}(); - -/***/ }) - -}]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Exercise__Edit__index.chunk.css b/p__Classrooms__Lists__Exercise__Edit__index.chunk.css deleted file mode 100644 index 4c995bbfc0..0000000000 --- a/p__Classrooms__Lists__Exercise__Edit__index.chunk.css +++ /dev/null @@ -1,1269 +0,0 @@ -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** 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/FormSearch/index.less?modules ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.search___JA0r9 { - display: flex; - align-items: center; - width: 100%; - justify-content: center; - margin: 30px 0; - padding-left: 12px; -} -.search___JA0r9 .ant-form-item-label > label { - height: 40px; -} -.search___JA0r9 .btn___GGtZC { - width: 112px; - height: 46px; - margin-top: -3px; - margin-left: 10px; -} -/* 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/Edit/components/SelectShixuns/index.less?modules ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___MTe00 { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___ks5rN { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___jGHgJ { - align-items: center; - box-align: center; -} -.flex_box_center_end___FZXA7 { - 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___tkMdG { - flex-direction: column; - box-orient: block-axis; -} -.wrp___JHBdl { - background: #fff; - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.04); - padding-top: 10px; -} -.drawer___hKLNc [class='ant-drawer-content'] { - background: #f5f5f5; -} -.drawer___hKLNc [class='ant-drawer-footer'] { - background: #fff; - box-shadow: 0 -4px 4px 0 rgba(0, 0, 0, 0.05); - position: relative; - border: 0; -} -.menu___hYC7e { - padding: 0; - margin: 15px 0; - position: relative; - z-index: 2; -} -.menu___hYC7e:hover { - z-index: 3; -} -.menu___hYC7e > li { - display: inline-block; - position: relative; - margin-right: 10px; - font-size: 14px; - font-weight: 600; - cursor: pointer; - height: 32px; - line-height: 32px; - border-radius: 32px; - padding: 0 18px; -} -.menu___hYC7e > li a { - color: #4b4b4b; -} -.menu___hYC7e > li strong { - cursor: pointer; - font-size: 14px; -} -.menu___hYC7e > li:hover { - color: #fff; - background: #0152d9; -} -.actived___ydbaU { - background: #0152d9; - color: #fff; -} -.actived2___P8ueW { - color: #0152d9 !important; -} -.listItem___W5_Tc { - padding: 25px 30px 25px 30px; - display: box; - display: flex; - background: white; - margin-top: 20px; - cursor: pointer; -} -.listItem___W5_Tc > div { - flex: 1 1; -} -.listItem___W5_Tc:hover { - box-shadow: 0 0 10px #ccc; -} -.info___haUFD { - margin-left: 20px; -} -.info___haUFD p { - margin-top: 18px; -} -.title___WVJko { - display: box; - display: flex; - align-items: center; - box-align: center; -} -.title___WVJko strong { - color: #333; -} -.titleLeft___E3SlF { - flex: 1 1; -} -.titleRight___CYLFw { - margin-top: 18px; -} -.titleRight___CYLFw a { - margin-right: 20px; - font-weight: bold; -} -.search___bOdx_ { - width: 600px !important; - margin: 30px 0 30px 0; -} -.search___bOdx_ input, -.search___bOdx_ [class='ant-input-group-addon'] button { - height: 50px; - line-height: 50px; - padding: 0 30px; - font-size: 16px; -} -.description____rvlb { - -webkit-box-orient: vertical; - display: -webkit-box; - -webkit-line-clamp: 2; - overflow: hidden; -} -.menuCourse___nSeps { - color: #999; -} -.menuCourse___nSeps ul, -.menuCourse___nSeps li { - margin: 0; - padding: 0; - list-style: none; -} -.menuCourse___nSeps li { - display: inline-block; - margin-right: 30px; -} -.menut___DH9qr { - padding: 0; - margin: 15px 0; - display: inline-block; - position: relative; - z-index: 2; -} -.menut___DH9qr:hover { - z-index: 3; -} -.menut___DH9qr > li { - display: inline-block; - position: relative; - margin-right: 10px; - font-size: 14px; - font-weight: 600; - cursor: pointer; - height: 32px; - line-height: 32px; - border-radius: 32px; -} -.menut___DH9qr > li a { - color: #4b4b4b; -} -.menut___DH9qr > li strong { - padding: 6px 15px; - border-radius: 32px; - cursor: pointer; - font-weight: 600; -} -.menut___DH9qr > li:hover { - color: #fff; -} -.menut___DH9qr > li:hover > a > strong, -.menut___DH9qr > li:hover > strong { - color: #fff; - background: #0152d9; -} -.menut___DH9qr > li:hover div { - display: block; -} -.menut___DH9qr > li > div { - display: none; - position: absolute; - left: 0; - top: 30px; - width: 400px; - padding: 10px; - background: #fff; - max-height: 400px; - overflow: auto; - z-index: 8; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); -} -.menut___DH9qr > li > div h2 { - cursor: pointer; - margin: 10px 0; -} -.menut___DH9qr > li > div h2:hover { - color: #0152d9; -} -.menut___DH9qr > li > div ul { - padding-left: 0; -} -.menut___DH9qr > li > div ul li { - cursor: pointer; - display: inline-block; - height: 30px; - line-height: 30px; - margin-right: 20px; - color: #999; -} -.menut___DH9qr > li > div ul li:hover { - color: #0152d9; -} -.actived3___jLAMP strong { - background: #0152d9; - color: #fff; - border-radius: 32px; -} -.actived4___ENKg1 { - color: #0152d9 !important; - border-radius: 32px; -} -.subTag___vbqKW { - color: #05101a; - cursor: pointer; -} -.search___bOdx_ > div:nth-child(1) button { - border-radius: 40px; - box-shadow: none; -} -.search___bOdx_ [class~='ant-btn-default'] { - background: #eee; - border-color: #eee; - color: #999; -} -.search___bOdx_ [class~='ant-btn-primary'] { - background-color: #0152d9; - border-color: #0152d9; -} -.search___bOdx_ [class~='ant-input'] { - border-radius: 4px; -} -.search___bOdx_ [class~='ant-input-search-button'] { - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; -} -/* 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/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/pages/Classrooms/Lists/Exercise/Edit/components/UploadQuestions/index.less?modules ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.customModal___bVzUV .ant-modal-close-x { - width: 86px; - height: 66px; - line-height: 66px; -} -.customModal___bVzUV .ant-modal-content { - border-radius: 4px; - overflow: hidden; -} -.customModal___bVzUV .ant-modal-header { - padding: 22px 40px; -} -.customModal___bVzUV .ant-modal-header .ant-modal-title { - font-size: 16px; - font-weight: 500; -} -.customModal___bVzUV .ant-modal-footer { - padding: 30px 40px; - border: 0; -} -.customModal___bVzUV .ant-modal-footer button { - width: 60px; - height: 32px; - border-radius: 2px; -} -.customModal___bVzUV .ant-modal-footer button:first-child { - margin-right: 12px; - background: #fcfcfe; -} -.customModal___bVzUV .ant-modal-body { - max-height: 500px; - overflow: auto; - padding: 18px 40px 30px 40px; -} -.customModal___bVzUV .content___oKhZq aside { - display: flex; -} -.customModal___bVzUV .content___oKhZq .upload___nPxEL { - margin-top: 20px; - width: 108px; - height: 32px; - border-radius: 2px; - border: none; - background: #3061D0; - box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); - font-size: 14px; - font-weight: 400; - color: #FFFFFF; -} -.customModal___bVzUV ul { - padding-left: 18px; -} -.customModal___bVzUV .infoText___gZEJF { - color: #464F66; - font-size: 12px; - margin-bottom: 8px; -} -.customModal___bVzUV .okBtn___CVo2A { - background-color: #3061D0; - box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); -} -.customModal___bVzUV .fileList___tauGN { - display: flex; - align-items: center; - justify-content: space-between; - margin-top: 14px; -} -.customModal___bVzUV .fileList___tauGN .fileName___T_8JX { - font-size: 14px; - font-weight: 400; - color: #3061D0; -} -/* 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/Edit/components/DragQuestions/index.less?modules ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.content___IPcn9 { - height: 360px; -} -.content___IPcn9 .ant-row { - height: 40px; -} -.content___IPcn9 .ant-row .ant-col { - display: flex; - justify-content: center; - align-items: center; -} -/* 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/Edit/index.less?modules ***! - \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___tQ9kp { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___Gua_a { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___Ptswq { - align-items: center; - box-align: center; -} -.flex_box_center_end___OytEE { - 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___Lly85 { - flex-direction: column; - box-orient: block-axis; -} -.bg____mu4F { - background: white; -} -.containerTitle___pfhhj { - height: 88px; - line-height: 88px; - font-size: 18px; - padding: 0 30px; - color: #333; - border-bottom: 1px solid #eee; - display: box; - display: flex; - align-items: center; - box-align: center; -} -.containerTitle___pfhhj div:nth-child(1) { - flex: 1 1; -} -.containerDesc___AKysy { - display: flex; - justify-content: flex-start; - flex-direction: column; -} -.containerDesc___AKysy .d1___u_Jx2 { - display: flex; - align-items: center; -} -.containerDesc___AKysy .d1___u_Jx2 .name___w3BI6 { - font-size: 16px; - font-weight: 600; - color: #333333; -} -.containerDesc___AKysy .d1___u_Jx2 .diff___FlyVs { - height: 20px; - background: #0152d9; - border-radius: 13px; - font-size: 14px; - color: #ffffff; - line-height: 20px; - text-align: center; - padding: 0 10px; - margin: 0 20px; - flex-shrink: 0; -} -.containerDesc___AKysy .d1___u_Jx2 .time___eaQ8x { - font-size: 14px; - color: #999999; - flex-shrink: 0; - margin-right: 20px; -} -.containerDesc___AKysy .d1___u_Jx2 > span { - margin-left: auto; - cursor: pointer; - flex-shrink: 0; -} -.containerDesc___AKysy .d2___RxDzv { - font-size: 14px; - color: #333333; - margin-top: 20px; - margin-bottom: 10px; -} -.listItem___O8UlH { - padding: 25px 30px 25px 30px; - display: box; - display: flex; - background: white; - margin-top: 20px; - cursor: pointer; -} -.listItem___O8UlH > div { - flex: 1 1; -} -.listItem___O8UlH:hover { - box-shadow: 0 0 10px #ccc; -} -.info___CwLzA { - margin-left: 20px; -} -.info___CwLzA p { - margin-top: 18px; -} -.title___hrCD_ { - display: box; - display: flex; - align-items: center; - box-align: center; -} -.title___hrCD_ strong { - color: #333; -} -.titleLeft___PlqQX { - flex: 1 1; -} -.titleRight___IwP1i a { - margin-right: 20px; - font-weight: bold; -} -.acitons___iLOeP { - height: 70px; - background: white; - margin-top: 20px; - display: box; - display: flex; - align-items: center; - box-align: center; - padding: 0 30px; -} -.acitons___iLOeP > div:nth-child(1) { - flex: 1 1; -} -.acitons___iLOeP > div:nth-child(2) { - display: box; - display: flex; - align-items: center; - box-align: center; -} -.acitons___iLOeP > div:nth-child(2) p { - cursor: pointer; - color: #999; -} -.acitons___iLOeP > div:nth-child(2) p:hover { - color: #333; -} -.acitons___iLOeP > div:nth-child(2) p span { - position: relative; - padding: 0 20px; -} -.acitons___iLOeP > div:nth-child(2) p span:after { - content: ''; - width: 1px; - height: 10px; - background: #ededed; - position: absolute; - right: 0; - top: 50%; - margin-top: -5px; -} -.acitons___iLOeP > div:nth-child(2) p:nth-last-child(1) span { - padding-right: 0; -} -.acitons___iLOeP > div:nth-child(2) p:nth-last-child(1) span:after { - display: none; -} -.formWrap___GlVQo div[class~='ant-form-item-label'] label { - font-size: 14px; -} -.formWrap___GlVQo input[class~='ant-input'] { - line-height: 1.5; - background: transparent; - border-width: 1px; - font-size: 14px; -} -.formWrap___GlVQo 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; -} -.formWrap___GlVQo label[class~='ant-radio-button-wrapper']:not(:first-child)::before { - width: 0px; -} -.formWrap___GlVQo 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; -} -.button___v4_Vu { - width: 72px; - height: 26px; - background: #f5f5f5; - border-radius: 2px; - display: flex; - align-items: center; - justify-content: center; - color: #464f66; - cursor: pointer; - margin-right: 10px; -} -.button___v4_Vu:hover { - width: 72px; - height: 26px; - background: rgba(1, 82, 217, 0.1); - border-radius: 2px; - display: flex; - align-items: center; - justify-content: center; - color: #145dff; - cursor: pointer; - margin-right: 10px; -} -.button___v4_Vu:hover i { - color: #145dff !important; -} -/* 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/Editor/NullChildEditor/index.less?modules ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex___eLcnP { - display: flex; - display: -ms-flex; -} -.flex1___yUTT7 { - flex: 1 1; -} -.color666___TiUhG { - color: #666; -} -.error___gTTtv { - border-color: #f5222d; -} -.deleteIcon___mnZW1 { - cursor: pointer; - color: #ccc; - margin-left: 15px; - font-size: 18px; -} -.addIcon___JC5NS { - cursor: pointer; - color: #29bd8b; - margin-left: 6px; - font-size: 16px; - padding-top: 1px; -} -/* 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/Edit/components/editor.less?modules ***! - \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___epJYP { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___SU6BD { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___Qes2t { - align-items: center; - box-align: center; -} -.flex_box_center_end___hGppz { - 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___uzhhO { - flex-direction: column; - box-orient: block-axis; -} -.wrap___rEjJ0 { - padding: 20px 30px; - box-sizing: border-box; -} -.modal___gRDV9 div[class~='ant-modal-confirm-content'] { - font-size: 16px; - text-align: center; -} -.modal___gRDV9 span[class~='ant-modal-title'] { - font-size: 16px; -} -.titleWrap___MK_OO { - margin: 10px 0px; -} -.required___Hja3H { - margin-right: 4px; - color: #e04040; - font-size: 16px; -} -.title___vMFKz { - font-size: 14px; - color: #333333; -} -.colorGray___hNhIL { - color: #888888; -} -.choiceWrap___Xx5du { - display: flex; - margin-top: 15px; -} -.answer___cbuNE { - 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___LwFG7 { - background: #ff7500; - color: #ffffff; - border: 1px solid #ff7500; -} -.deleteIcon____HG4s { - cursor: pointer; - color: #ccc; - margin-left: 15px; - font-size: 18px; -} -.addIcon___r_Vhy { - cursor: pointer; - color: #29bd8b; - margin-left: 6px; - font-size: 16px; - padding-top: 1px; -} -.editorWrap___OYwur { - flex: 1 1; -} -.htmlWrap___qXHYn { - 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___qXHYn p { - margin: 7px 10px; -} -.radio___urtyZ { - width: 60px; - height: 32px; - line-height: 32px; - text-align: center; -} -.color333___Lah7k { - color: #333; -} -.color999___TmkZt { - color: #999; -} -.questionType___r_bKw { - display: box; - display: flex; -} -.questionType___r_bKw > div { - flex: 1 1; -} -.questionChoices___LA7VM { - margin-top: 15px; -} -.questionChoices___LA7VM > div { - margin: 8px 0; -} -.action___fTTDM { - display: flex; - justify-content: flex-end; - align-items: center; -} -.difficult___Mg7lT 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___Mg7lT label[class~='ant-radio-button-wrapper']:not(:first-child)::before { - width: 0px; -} -.difficult___Mg7lT 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___oVjRI .head___fpwmn { - height: 46px; - background: #f2f2f2; - display: flex; - align-items: center; - padding-left: 10px; - padding-right: 20px; - margin-bottom: 10px; - cursor: pointer; -} -.fold___oVjRI .head___fpwmn span { - font-size: 12px; - color: #333333; - margin-left: 5px; -} -.fold___oVjRI .head___fpwmn i { - display: inline-block; -} -.fold___oVjRI .head___fpwmn 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/components/Knowledge/index.less?modules ***! - \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.wrap___F7E3F .selectWrapper____kESB div[class~='ant-select-selector'] { - height: 46px; -} -.wrap___F7E3F .selectWrapper____kESB div[class~='ant-select-selector'] input[class~='ant-select-selection-search-input'], -.wrap___F7E3F .selectWrapper____kESB div[class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'] { - height: 46px; - line-height: 46px; -} -.wrap___F7E3F .selectWrapper____kESB div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] { - line-height: 46px; -} -.wrap___F7E3F .selectWrapper____kESB span[class~='ant-select-arrow'] { - right: 12px; -} -.wrap___F7E3F .tips___aHjQY { - font-size: 14px; - font-weight: 400; - color: #9096A3; -} -.wrap___F7E3F .linkBtn___uggVr { - font-size: 14px; - font-weight: 400; - color: #3061D0; - cursor: pointer; -} -.mainText____S1I0 { - font-size: 14px; - font-weight: 400; - color: #5F6368; -} -/* 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/DragSubject/index.less?modules ***! - \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___dDNpp { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___ovpjv { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___oqAEt { - align-items: center; - box-align: center; -} -.flex_box_center_end___mHCIK { - 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___GZMP2 { - flex-direction: column; - box-orient: block-axis; -} -.posWarp___ZUxXl { - position: relative; -} -.posWarp___ZUxXl:hover .pos___A7NKx { - display: block; -} -.posWarp___ZUxXl .pos___A7NKx { - position: absolute; - display: none; - z-index: 2; - top: 0; - left: 0; - border: 1px solid #9be5ad; - width: 100%; - height: 100%; - pointer-events: none; -} -.posWarp___ZUxXl .pos___A7NKx .tips___ap6NV { - width: 196px; - height: 32px; - background: #9be5ad; - border-radius: 0px 0px 0px 22px; - float: right; - text-align: center; - line-height: 32px; - color: #fff; - padding-left: 5px; -} -.posWarp___ZUxXl .markWrongBtnWrapper___oAKlK { - padding-left: 30px; -} -/* 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/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/Edit/components/Head/index.less?modules ***! - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.wrap___KOVmj { - position: relative; - font-size: 14px; -} -.wrap___KOVmj [class~='ant-table-footer'] { - background-color: #fff; - padding: 0px; -} -.img___NjhEB { - position: absolute; - height: 100px; - width: 140px; - top: 2px; - left: 2px; -} -.table___IJFj3 a { - color: rgba(0, 0, 0, 0.85); -} -.totalScore___uo3aB { - margin-right: 142px; - padding: 12px 8px; - border-right: 1px solid #f0f0f0; - border-left: 1px solid #f0f0f0; -} -.people___jIZMc { - padding: 12px 8px; - border-right: 1px solid #f0f0f0; -} -.glassSeal___HTL5m { - position: absolute; - font-size: 16px; - left: -480px; - top: 520px; - width: 1000px; - transform: rotate(-90deg); - border-bottom: 2px dashed #fb3226; -} -.glassSeal___HTL5m > span { - padding-right: 50px; - padding-left: 10px; -} -.glassSeal___HTL5m > span:nth-child(1) { - margin-left: 100px; -} -/* 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/AddPoints/index.less?modules ***! - \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - diff --git a/p__Classrooms__Lists__Exercise__Export__index.chunk.css b/p__Classrooms__Lists__Exercise__Export__index.chunk.css index 996f4e9e8a..13068faa01 100644 --- a/p__Classrooms__Lists__Exercise__Export__index.chunk.css +++ b/p__Classrooms__Lists__Exercise__Export__index.chunk.css @@ -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 ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Exercise__ReviewGroup__index.chunk.css b/p__Classrooms__Lists__Exercise__ReviewGroup__index.chunk.css index 25fb49ea43..ad8d63495c 100644 --- a/p__Classrooms__Lists__Exercise__ReviewGroup__index.chunk.css +++ b/p__Classrooms__Lists__Exercise__ReviewGroup__index.chunk.css @@ -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 ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Exercise__Review__index.chunk.css b/p__Classrooms__Lists__Exercise__Review__index.chunk.css index 637e6999d6..d51322d2de 100644 --- a/p__Classrooms__Lists__Exercise__Review__index.chunk.css +++ b/p__Classrooms__Lists__Exercise__Review__index.chunk.css @@ -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 ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Exercise__index.async.js b/p__Classrooms__Lists__Exercise__index.async.js index ebe98fe825..e33417df6f 100644 --- a/p__Classrooms__Lists__Exercise__index.async.js +++ b/p__Classrooms__Lists__Exercise__index.async.js @@ -677,7 +677,7 @@ var CuttOffNowShixun = function CuttOffNowShixun(_ref) { width: 60, align: 'center' }, { - title: "预览", + title: "操作", dataIndex: "is_random", width: 60, align: 'center', diff --git a/p__Classrooms__Lists__GroupHomework__Detail__index.async.js b/p__Classrooms__Lists__GroupHomework__Detail__index.async.js index 5f29dd1269..e13198ca6d 100644 --- a/p__Classrooms__Lists__GroupHomework__Detail__index.async.js +++ b/p__Classrooms__Lists__GroupHomework__Detail__index.async.js @@ -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: "" }); diff --git a/p__Classrooms__Lists__GroupHomework__Detail__index.chunk.css b/p__Classrooms__Lists__GroupHomework__Detail__index.chunk.css index c8bb5102e7..a9821d5969 100644 --- a/p__Classrooms__Lists__GroupHomework__Detail__index.chunk.css +++ b/p__Classrooms__Lists__GroupHomework__Detail__index.chunk.css @@ -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 ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__OnlineLearning__index.chunk.css b/p__Classrooms__Lists__OnlineLearning__index.chunk.css index 4e024209f1..635f687987 100644 --- a/p__Classrooms__Lists__OnlineLearning__index.chunk.css +++ b/p__Classrooms__Lists__OnlineLearning__index.chunk.css @@ -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 ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Polls__Answer__index.chunk.css b/p__Classrooms__Lists__Polls__Answer__index.chunk.css index b2ec289341..70bf360723 100644 --- a/p__Classrooms__Lists__Polls__Answer__index.chunk.css +++ b/p__Classrooms__Lists__Polls__Answer__index.chunk.css @@ -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; +} diff --git a/p__Classrooms__Lists__Polls__Detail__index.chunk.css b/p__Classrooms__Lists__Polls__Detail__index.chunk.css index 9eb2ca57fe..453ff7969b 100644 --- a/p__Classrooms__Lists__Polls__Detail__index.chunk.css +++ b/p__Classrooms__Lists__Polls__Detail__index.chunk.css @@ -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 ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__ProgramHomework__Comment__index.chunk.css b/p__Classrooms__Lists__ProgramHomework__Comment__index.chunk.css index 1c91d065b5..9458b50ce8 100644 --- a/p__Classrooms__Lists__ProgramHomework__Comment__index.chunk.css +++ b/p__Classrooms__Lists__ProgramHomework__Comment__index.chunk.css @@ -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 ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index.chunk.css b/p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index.chunk.css index 77548bdee7..3158591752 100644 --- a/p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index.chunk.css +++ b/p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index.chunk.css @@ -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 ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__ProgramHomework__Detail__answer__index.chunk.css b/p__Classrooms__Lists__ProgramHomework__Detail__answer__index.chunk.css index 43be9b1ea7..c2a0fb83e8 100644 --- a/p__Classrooms__Lists__ProgramHomework__Detail__answer__index.chunk.css +++ b/p__Classrooms__Lists__ProgramHomework__Detail__answer__index.chunk.css @@ -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; +} diff --git a/p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index.chunk.css b/p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index.chunk.css index e4acd0d9d3..602ab75dd4 100644 --- a/p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index.chunk.css +++ b/p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index.chunk.css @@ -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 ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index.chunk.css b/p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index.chunk.css index 67365171c8..341aa3ddb8 100644 --- a/p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index.chunk.css +++ b/p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index.chunk.css @@ -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 ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Statistics__index.async.js b/p__Classrooms__Lists__Statistics__index.async.js index a4a6701e5e..d524b27a40 100644 --- a/p__Classrooms__Lists__Statistics__index.async.js +++ b/p__Classrooms__Lists__Statistics__index.async.js @@ -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 } diff --git a/p__Classrooms__Lists__Template__detail__index.chunk.css b/p__Classrooms__Lists__Template__detail__index.chunk.css index 3b3f5d58bb..ebfb389c4b 100644 --- a/p__Classrooms__Lists__Template__detail__index.chunk.css +++ b/p__Classrooms__Lists__Template__detail__index.chunk.css @@ -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; +} diff --git a/p__Competitions__Detail__index.chunk.css b/p__Competitions__Detail__index.chunk.css index e030171f36..098bad4a3a 100644 --- a/p__Competitions__Detail__index.chunk.css +++ b/p__Competitions__Detail__index.chunk.css @@ -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 ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Demo__index.chunk.css b/p__Demo__index.chunk.css index e9d27225ae..a9ecbfe67a 100644 --- a/p__Demo__index.chunk.css +++ b/p__Demo__index.chunk.css @@ -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; +} diff --git a/p__Engineering__Lists__CurseSetting__index.chunk.css b/p__Engineering__Lists__CurseSetting__index.chunk.css index 08bf2ac687..72f785cdfc 100644 --- a/p__Engineering__Lists__CurseSetting__index.chunk.css +++ b/p__Engineering__Lists__CurseSetting__index.chunk.css @@ -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; +} diff --git a/p__Engineering__Lists__Document__index.chunk.css b/p__Engineering__Lists__Document__index.chunk.css index 1aef8b057b..947a5d7ce1 100644 --- a/p__Engineering__Lists__Document__index.chunk.css +++ b/p__Engineering__Lists__Document__index.chunk.css @@ -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; +} diff --git a/p__Engineering__Lists__TrainingProgram__index.chunk.css b/p__Engineering__Lists__TrainingProgram__index.chunk.css index 76d836f562..217017acca 100644 --- a/p__Engineering__Lists__TrainingProgram__index.chunk.css +++ b/p__Engineering__Lists__TrainingProgram__index.chunk.css @@ -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; +} diff --git a/p__Guidance__index.chunk.css b/p__Guidance__index.chunk.css index 0c54bfc656..4a2655b8f7 100644 --- a/p__Guidance__index.chunk.css +++ b/p__Guidance__index.chunk.css @@ -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; +} diff --git a/p__Help__Index.chunk.css b/p__Help__Index.chunk.css index bd6da2c8b8..08613f1b16 100644 --- a/p__Help__Index.chunk.css +++ b/p__Help__Index.chunk.css @@ -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 ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Innovation__Detail__index.chunk.css b/p__Innovation__Detail__index.chunk.css index b3e25b9c39..d0acff6829 100644 --- a/p__Innovation__Detail__index.chunk.css +++ b/p__Innovation__Detail__index.chunk.css @@ -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 ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__IntrainCourse__index.chunk.css b/p__IntrainCourse__index.chunk.css index 7840809876..9aba87946a 100644 --- a/p__IntrainCourse__index.chunk.css +++ b/p__IntrainCourse__index.chunk.css @@ -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; +} diff --git a/p__Messages__Private__index.chunk.css b/p__Messages__Private__index.chunk.css index a1a839cbf7..3f6ca1f523 100644 --- a/p__Messages__Private__index.chunk.css +++ b/p__Messages__Private__index.chunk.css @@ -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 ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__MoopCases__InfoPanel__index.chunk.css b/p__MoopCases__InfoPanel__index.chunk.css index 94c17439d7..cf8c6bdf78 100644 --- a/p__MoopCases__InfoPanel__index.chunk.css +++ b/p__MoopCases__InfoPanel__index.chunk.css @@ -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 ***! \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__MyProblem__RecordDetail__index.chunk.css b/p__MyProblem__RecordDetail__index.chunk.css index cee1df7e5a..416761d864 100644 --- a/p__MyProblem__RecordDetail__index.chunk.css +++ b/p__MyProblem__RecordDetail__index.chunk.css @@ -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; +} diff --git a/32030.async.js b/p__Paperlibrary__Add__index.async.js similarity index 88% rename from 32030.async.js rename to p__Paperlibrary__Add__index.async.js index 4a22a653c0..fabb8b7d56 100644 --- a/32030.async.js +++ b/p__Paperlibrary__Add__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[32030,12768,67570],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[93260,12768,67570],{ /***/ 96403: /*!*********************************!*\ @@ -162,6 +162,42 @@ var AsyncButton = function AsyncButton(_ref) { /***/ }), +/***/ 73105: +/*!***********************************************************!*\ + !*** ./src/components/DigitalLabel/index.tsx + 1 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ components_DigitalLabel; } +}); + +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./src/components/DigitalLabel/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var DigitalLabelmodules = ({"digitalLabel":"digitalLabel___tImKs","active":"active___Ck70Q"}); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/DigitalLabel/index.tsx + + + +var DigitalLabel = function DigitalLabel(_ref) { + var number = _ref.number, + active = _ref.active, + className = _ref.className; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(DigitalLabelmodules.digitalLabel, " ").concat(active ? DigitalLabelmodules.active : '', " ").concat(className), + children: number + }); +}; +/* harmony default export */ var components_DigitalLabel = (DigitalLabel); + +/***/ }), + /***/ 82982: /*!*****************************************!*\ !*** ./src/components/NoData/index.tsx ***! @@ -3979,7 +4015,7 @@ var UploadQuestions = function UploadQuestions(_ref) { children: "1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B " }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { className: UploadQuestionsmodules.infoText, - children: "2\u3001\u4E0D\u652F\u6301\u7F16\u7A0B\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B" + children: "2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B" }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { className: UploadQuestionsmodules.infoText, children: "3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B" @@ -4052,9 +4088,136 @@ var UploadQuestions = function UploadQuestions(_ref) { /***/ }), -/***/ 83628: +/***/ 65763: +/*!****************************************************!*\ + !*** ./src/pages/Paperlibrary/Add/TitleEditor.tsx ***! + \****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var antd_es_input_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/input/style */ 69463); +/* harmony import */ var antd_es_input__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antd/es/input */ 75008); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var antd_es_message_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! antd/es/message/style */ 14934); +/* harmony import */ var antd_es_message__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd/es/message */ 12461); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var antd_es_tooltip_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/tooltip/style */ 38390); +/* harmony import */ var antd_es_tooltip__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd/es/tooltip */ 84908); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./index.less?modules */ 62038); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + + + + + + + + +var TitleEditor = function TitleEditor(_ref) { + var defaultValue = _ref.defaultValue, + onFinish = _ref.onFinish; + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false), + _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5___default()(_useState, 2), + isEdit = _useState2[0], + setIsEdit = _useState2[1]; + var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(defaultValue), + _useState4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5___default()(_useState3, 2), + value = _useState4[0], + setValue = _useState4[1]; + (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () { + setValue(defaultValue); + }, [defaultValue]); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + children: !isEdit ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("div", { + className: _index_less_modules__WEBPACK_IMPORTED_MODULE_7__/* ["default"].title */ .Z.title, + children: [value, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd_es_tooltip__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, { + title: "\u70B9\u51FB\u7F16\u8F91\u8BD5\u5377\u540D\u79F0", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("i", { + className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_7__/* ["default"].editIcon */ .Z.editIcon, " iconfont icon-bianji_Hover"), + onClick: function onClick() { + return setIsEdit(true); + } + }) + })] + }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd_es_input__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, { + autoFocus: true, + maxLength: 60, + style: { + textAlign: 'center', + marginTop: 20, + marginBottom: 20 + }, + value: value, + onChange: function onChange(e) { + setValue(e.target.value); + }, + onBlur: /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee() { + var _value$replaceAll; + var flag; + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (!((value === null || value === void 0 ? void 0 : (_value$replaceAll = value.replaceAll(' ', '')) === null || _value$replaceAll === void 0 ? void 0 : _value$replaceAll.length) <= 0)) { + _context.next = 3; + break; + } + antd_es_message__WEBPACK_IMPORTED_MODULE_11__/* ["default"].error */ .ZP.error('试卷标题不能为空'); + return _context.abrupt("return"); + case 3: + _context.next = 5; + return onFinish(value); + case 5: + flag = _context.sent; + flag && setIsEdit(false); + case 7: + case "end": + return _context.stop(); + } + }, _callee); + })), + onPressEnter: /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2() { + var _value$replaceAll2; + var flag; + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + if (!((value === null || value === void 0 ? void 0 : (_value$replaceAll2 = value.replaceAll(' ', '')) === null || _value$replaceAll2 === void 0 ? void 0 : _value$replaceAll2.length) <= 0)) { + _context2.next = 3; + break; + } + antd_es_message__WEBPACK_IMPORTED_MODULE_11__/* ["default"].error */ .ZP.error('试卷标题不能为空'); + return _context2.abrupt("return"); + case 3: + _context2.next = 5; + return onFinish(value); + case 5: + flag = _context2.sent; + flag && setIsEdit(false); + case 7: + case "end": + return _context2.stop(); + } + }, _callee2); + })) + }) + }); +}; +/* harmony default export */ __webpack_exports__["Z"] = (TitleEditor); + +/***/ }), + +/***/ 47606: /*!***********************************************************!*\ - !*** ./src/pages/Paperlibrary/Add/index.tsx + 18 modules ***! + !*** ./src/pages/Paperlibrary/Add/index.tsx + 17 modules ***! \***********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -4126,9 +4289,8 @@ var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); var react = __webpack_require__(67294); // EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules var _umi_production_exports = __webpack_require__(89214); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Add/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var Addmodules = ({"flex_box_center":"flex_box_center___ycN2f","flex_space_between":"flex_space_between___LcS9e","flex_box_vertical_center":"flex_box_vertical_center___uwjPm","flex_box_center_end":"flex_box_center_end___Pc903","flex_box_column":"flex_box_column___AXEdv","bg":"bg___fm2Cw","title":"title___J3MCU","titleLeft":"titleLeft___da61c","titleRight":"titleRight___EsdL6","formWrap":"formWrap___YTxC3","baseLineHeight":"baseLineHeight___TprCB","radioBtnWrapper":"radioBtnWrapper___Mt_XG","radiogroup":"radiogroup___EvkWh","easy":"easy___mSxtg","medium":"medium___NIaWN","hard":"hard___mddnD","baseFormItem":"baseFormItem___csbyb","cascaderPopup":"cascaderPopup___BttnF","selectdiv":"selectdiv___TAr4i","divitem":"divitem___iaXB2","bottmodiv":"bottmodiv___bmp6p","cancelBtn":"cancelBtn___Q4ZcL","confirmBtn":"confirmBtn___nRiCD"}); +// EXTERNAL MODULE: ./src/pages/Paperlibrary/Add/index.less?modules +var Addmodules = __webpack_require__(62038); // EXTERNAL MODULE: ./src/service/paperlibrary.ts var paperlibrary = __webpack_require__(24410); // EXTERNAL MODULE: ./src/models/problemset/util.ts @@ -4143,19 +4305,19 @@ var modal = __webpack_require__(85402); var skeleton_style = __webpack_require__(61099); // EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 11 modules var skeleton = __webpack_require__(73481); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules +var tooltip_style = __webpack_require__(38390); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(84908); ;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPotin/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var EditPotinmodules = ({"flex_box_center":"flex_box_center___gi93l","flex_space_between":"flex_space_between___mWMLA","flex_box_vertical_center":"flex_box_vertical_center___rk4nc","flex_box_center_end":"flex_box_center_end___B8XxF","flex_box_column":"flex_box_column___AX3Vm","bg":"bg___Ya739","title":"title___BC46y","bottmodiv":"bottmodiv___L7YJC","addQuestionBtn":"addQuestionBtn___qOlYW","left":"left___i8aTX","scrollWrapper":"scrollWrapper___Jk80T","Button":"Button___auxWm","titleleft":"titleleft___xZGbq","up":"up___tLyCX","down":"down___T5_aj","qcount":"qcount___ID7OA","score":"score___T7dbm","qtitle":"qtitle___qJBFd","qcountclick":"qcountclick___m_VKG","right":"right___CBabI","edit":"edit___WHuql","delete":"delete___Pa6db","shixun":"shixun___oObBe","scoreByBlankRadio":"scoreByBlankRadio___r4AWn","scoreinput":"scoreinput___O8EhL","modalconfirm":"modalconfirm___Ru9B_","scoremodal":"scoremodal___BdW7P","close":"close___blHYk","content":"content___jlm9o","items":"items___i3TrH","bottom":"bottom___zMQZ6","yes":"yes___lOPY6","no":"no___gtzKI","formcenter":"formcenter___fCxkm","radiogroup":"radiogroup___oXWHc","easy":"easy___ANNVD","medium":"medium___ov7N3","hard":"hard___n4afW","formcenterselect":"formcenterselect___lYa4f","selectitems":"selectitems___c9Pt5","morebottom":"morebottom____I_ev","titleTooltip":"titleTooltip___CAyYg"}); +/* harmony default export */ var EditPotinmodules = ({"flex_box_center":"flex_box_center___gi93l","flex_space_between":"flex_space_between___mWMLA","flex_box_vertical_center":"flex_box_vertical_center___rk4nc","flex_box_center_end":"flex_box_center_end___B8XxF","flex_box_column":"flex_box_column___AX3Vm","bg":"bg___Ya739","title":"title___BC46y","bottomdiv":"bottomdiv___uaPr6","spanBtn":"spanBtn___jjgnA","addQuestionBtn":"addQuestionBtn___qOlYW","saveBtn":"saveBtn___ulgem","left":"left___i8aTX","scrollWrapper":"scrollWrapper___Jk80T","Button":"Button___auxWm","iconWrapper":"iconWrapper___h3H1m","up":"up___tLyCX","down":"down___T5_aj","disabled":"disabled___GRBbF","titleleft":"titleleft___xZGbq","qcount":"qcount___ID7OA","score":"score___T7dbm","qtitle":"qtitle___qJBFd","qcountclick":"qcountclick___m_VKG","right":"right___CBabI","edit":"edit___WHuql","delete":"delete___Pa6db","shixun":"shixun___oObBe","scoreByBlankRadio":"scoreByBlankRadio___r4AWn","scoreinput":"scoreinput___O8EhL","modalconfirm":"modalconfirm___Ru9B_","scoremodal":"scoremodal___BdW7P","close":"close___blHYk","content":"content___jlm9o","items":"items___i3TrH","bottom":"bottom___zMQZ6","yes":"yes___lOPY6","no":"no___gtzKI","formcenter":"formcenter___fCxkm","radiogroup":"radiogroup___oXWHc","easy":"easy___ANNVD","medium":"medium___ov7N3","hard":"hard___n4afW","formcenterselect":"formcenterselect___lYa4f","selectitems":"selectitems___c9Pt5","morebottom":"morebottom____I_ev","titleTooltip":"titleTooltip___CAyYg"}); // EXTERNAL MODULE: ./src/utils/util.tsx var utils_util = __webpack_require__(29427); // EXTERNAL MODULE: ./src/utils/fetch.ts var fetch = __webpack_require__(84519); // EXTERNAL MODULE: ./src/components/NoData/index.tsx var NoData = __webpack_require__(82982); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules -var tooltip_style = __webpack_require__(38390); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules -var tooltip = __webpack_require__(84908); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js var toConsumableArray = __webpack_require__(861); var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); @@ -4288,7 +4450,7 @@ var DragQuestions = function DragQuestions(_ref) { setBigqitem(bigitem); (0,utils_util/* scrollToTop */.k3)(); }, - className: item.question_id === (qitem === null || qitem === void 0 ? void 0 : qitem.question_id) ? EditPotinmodules.qcountclick : EditPotinmodules.qcount, + className: "".concat(EditPotinmodules.qcount, " ").concat(item.question_id === (qitem === null || qitem === void 0 ? void 0 : qitem.question_id) ? EditPotinmodules.qcountclick : ''), children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: EditPotinmodules.score, children: [item === null || item === void 0 ? void 0 : item.question_score, "\u5206"] @@ -4647,7 +4809,8 @@ var SingleEditor_DragQuestions = function DragQuestions(_ref) { exerciseitem = _ref.exerciseitem, seveeditor = _ref.seveeditor, deleteitem = _ref.deleteitem, - getTagData = _ref.getTagData; + getTagData = _ref.getTagData, + init = _ref.init; var _Form$useForm = es_form/* default.useForm */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), form = _Form$useForm2[0]; @@ -4681,11 +4844,16 @@ var SingleEditor_DragQuestions = function DragQuestions(_ref) { }, onFinishFailed: /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(errInfo) { + var _errInfo$errorFields, _errInfo$errorFields$; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: message/* default.error */.ZP.error(errInfo.errorFields[0].errors[0]); - case 1: + 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: 'center' + }); + case 2: case "end": return _context.stop(); } @@ -4785,6 +4953,27 @@ var SingleEditor_DragQuestions = function DragQuestions(_ref) { })); }, children: "\u91CD\u7F6E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: EditPotinmodules.no, + onClick: function onClick() { + if (!qitem.isadd) { + var _qitem$question_choic3; + form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { + name: qitem === null || qitem === void 0 ? void 0 : qitem.question_title, + choices: qitem === null || qitem === void 0 ? void 0 : (_qitem$question_choic3 = qitem.question_choices) === null || _qitem$question_choic3 === void 0 ? void 0 : _qitem$question_choic3.map(function (item) { + return objectSpread2_default()(objectSpread2_default()({}, item), {}, { + standard_boolean: item !== null && item !== void 0 && item.standard_boolean ? 1 : 0 + }); + }), + repeat_answer: !(qitem !== null && qitem !== void 0 && qitem.repeat_answer) + })); + setisedit(false); + } else { + setisedit(false); + init(); + } + }, + children: "\u53D6\u6D88" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { className: EditPotinmodules.yes, onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { @@ -4833,9 +5022,11 @@ var CombinationEditor_DragQuestions = function DragQuestions(_ref) { var qitem = _ref.qitem, TagDiscipline = _ref.TagDiscipline, exerciseitem = _ref.exerciseitem, + setisedit = _ref.setisedit, seveeditor = _ref.seveeditor, deleteitem = _ref.deleteitem, - getTagData = _ref.getTagData; + getTagData = _ref.getTagData, + init = _ref.init; var _Form$useForm = es_form/* default.useForm */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), form = _Form$useForm2[0]; @@ -4889,11 +5080,16 @@ var CombinationEditor_DragQuestions = function DragQuestions(_ref) { onFinishFailed: /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(errInfo) { + var _errInfo$errorFields, _errInfo$errorFields$; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: message/* default.error */.ZP.error(errInfo.errorFields[0].errors[0]); - case 1: + 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: 'center' + }); + case 2: case "end": return _context.stop(); } @@ -4998,6 +5194,22 @@ var CombinationEditor_DragQuestions = function DragQuestions(_ref) { })); }, children: "\u91CD\u7F6E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: EditPotinmodules.no, + onClick: function onClick() { + if (!qitem.isadd) { + form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { + standard_answers: qitem.standard_answer, + name: qitem.question_title, + repeat_answer: !qitem.repeat_answer + })); + setisedit(false); + } else { + setisedit(false); + init(); + } + }, + children: "\u53D6\u6D88" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { className: EditPotinmodules.yes, onClick: function onClick() { @@ -5037,7 +5249,8 @@ var JudgmentQuestionEditor_DragQuestions = function DragQuestions(_ref) { exerciseitem = _ref.exerciseitem, seveeditor = _ref.seveeditor, deleteitem = _ref.deleteitem, - getTagData = _ref.getTagData; + getTagData = _ref.getTagData, + init = _ref.init; var _Form$useForm = es_form/* default.useForm */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), form = _Form$useForm2[0]; @@ -5053,7 +5266,6 @@ var JudgmentQuestionEditor_DragQuestions = function DragQuestions(_ref) { }) })); }, [qitem]); - console.log(form.getFieldValue('repeat_answer'), !qitem.repeat_answer); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { form: form, @@ -5063,11 +5275,16 @@ var JudgmentQuestionEditor_DragQuestions = function DragQuestions(_ref) { }, onFinishFailed: /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(errInfo) { + var _errInfo$errorFields, _errInfo$errorFields$; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: message/* default.error */.ZP.error(errInfo.errorFields[0].errors[0]); - case 1: + 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: 'center' + }); + case 2: case "end": return _context.stop(); } @@ -5160,6 +5377,27 @@ var JudgmentQuestionEditor_DragQuestions = function DragQuestions(_ref) { })); }, children: "\u91CD\u7F6E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: EditPotinmodules.no, + onClick: function onClick() { + if (!qitem.isadd) { + var _qitem$question_choic3; + form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { + name: qitem === null || qitem === void 0 ? void 0 : qitem.question_title, + choices: qitem === null || qitem === void 0 ? void 0 : (_qitem$question_choic3 = qitem.question_choices) === null || _qitem$question_choic3 === void 0 ? void 0 : _qitem$question_choic3.map(function (item) { + return objectSpread2_default()(objectSpread2_default()({}, item), {}, { + is_answer: item !== null && item !== void 0 && item.standard_boolean ? 1 : 0 + }); + }), + repeat_answer: !(qitem !== null && qitem !== void 0 && qitem.repeat_answer) + })); + setisedit(false); + } else { + setisedit(false); + init(); + } + }, + children: "\u53D6\u6D88" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { className: EditPotinmodules.yes, onClick: function onClick() { @@ -5199,7 +5437,8 @@ var CombinationQuestionEditor_DragQuestions = function DragQuestions(_ref) { exerciseitem = _ref.exerciseitem, seveeditor = _ref.seveeditor, deleteitem = _ref.deleteitem, - getTagData = _ref.getTagData; + getTagData = _ref.getTagData, + init = _ref.init; var _Form$useForm = es_form/* default.useForm */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), form = _Form$useForm2[0]; @@ -5254,11 +5493,16 @@ var CombinationQuestionEditor_DragQuestions = function DragQuestions(_ref) { }, onFinishFailed: /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(errInfo) { + var _errInfo$errorFields, _errInfo$errorFields$; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: message/* default.error */.ZP.error(errInfo.errorFields[0].errors[0]); - case 1: + 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: 'center' + }); + case 2: case "end": return _context.stop(); } @@ -5353,6 +5597,27 @@ var CombinationQuestionEditor_DragQuestions = function DragQuestions(_ref) { })); }, children: "\u91CD\u7F6E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: EditPotinmodules.no, + onClick: function onClick() { + if (!qitem.isadd) { + var _qitem$question_choic2; + form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { + name: qitem === null || qitem === void 0 ? void 0 : qitem.question_title, + choices: qitem === null || qitem === void 0 ? void 0 : (_qitem$question_choic2 = qitem.question_choices) === null || _qitem$question_choic2 === void 0 ? void 0 : _qitem$question_choic2.map(function (item) { + return objectSpread2_default()(objectSpread2_default()({}, item), {}, { + standard_boolean: item !== null && item !== void 0 && item.standard_boolean ? 1 : 0 + }); + }), + repeat_answer: !(qitem !== null && qitem !== void 0 && qitem.repeat_answer) + })); + setisedit(false); + } else { + setisedit(false); + init(); + } + }, + children: "\u53D6\u6D88" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { className: EditPotinmodules.yes, onClick: function onClick() { @@ -5388,6 +5653,7 @@ var ShixunEditor_DragQuestions = function DragQuestions(_ref) { var _qitem$shixun3; var qitem = _ref.qitem, setqitem = _ref.setqitem, + setisedit = _ref.setisedit, TagDiscipline = _ref.TagDiscipline, exerciseitem = _ref.exerciseitem, seveeditor = _ref.seveeditor, @@ -5433,11 +5699,16 @@ var ShixunEditor_DragQuestions = function DragQuestions(_ref) { }, onFinishFailed: /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(errInfo) { + var _errInfo$errorFields, _errInfo$errorFields$; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: message/* default.error */.ZP.error(errInfo.errorFields[0].errors[0]); - case 1: + 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: 'center' + }); + case 2: case "end": return _context.stop(); } @@ -5594,18 +5865,40 @@ var ShixunEditor_DragQuestions = function DragQuestions(_ref) { setqitem(objectSpread2_default()({}, qitem)); }, children: "\u91CD\u7F6E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: EditPotinmodules.no, + onClick: function onClick() { + var _qitem$question_choic3, _qitem$shixun6; + form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { + name: qitem === null || qitem === void 0 ? void 0 : qitem.question_title, + choices: qitem === null || qitem === void 0 ? void 0 : (_qitem$question_choic3 = qitem.question_choices) === null || _qitem$question_choic3 === void 0 ? void 0 : _qitem$question_choic3.map(function (item) { + return objectSpread2_default()(objectSpread2_default()({}, item), {}, { + standard_boolean: item !== null && item !== void 0 && item.standard_boolean ? 1 : 0 + }); + }), + repeat_answer: !(qitem !== null && qitem !== void 0 && qitem.repeat_answer) + })); + qitem.shixun = qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun6 = qitem.shixun) === null || _qitem$shixun6 === void 0 ? void 0 : _qitem$shixun6.map(function (item) { + return objectSpread2_default()(objectSpread2_default()({}, item), {}, { + challenge_score: item.defaultscore + }); + }); + setqitem(objectSpread2_default()({}, qitem)); + setisedit(false); + }, + children: "\u53D6\u6D88" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { className: EditPotinmodules.yes, onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var _qitem$shixun6, _qitem$shixun6$map, _qitem$shixun7; + var _qitem$shixun7, _qitem$shixun7$map, _qitem$shixun8; return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: - if (!((qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun6 = qitem.shixun) === null || _qitem$shixun6 === void 0 ? void 0 : (_qitem$shixun6$map = _qitem$shixun6.map) === null || _qitem$shixun6$map === void 0 ? void 0 : _qitem$shixun6$map.call(_qitem$shixun6, function (item) { + if (!((qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun7 = qitem.shixun) === null || _qitem$shixun7 === void 0 ? void 0 : (_qitem$shixun7$map = _qitem$shixun7.map) === null || _qitem$shixun7$map === void 0 ? void 0 : _qitem$shixun7$map.call(_qitem$shixun7, function (item) { return item.challenge_score; }).filter(function (item) { return item; - }).length) < (qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun7 = qitem.shixun) === null || _qitem$shixun7 === void 0 ? void 0 : _qitem$shixun7.length))) { + }).length) < (qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun8 = qitem.shixun) === null || _qitem$shixun8 === void 0 ? void 0 : _qitem$shixun8.length))) { _context2.next = 3; break; } @@ -5627,9 +5920,17 @@ var ShixunEditor_DragQuestions = function DragQuestions(_ref) { }); }; /* harmony default export */ var ShixunEditor = (ShixunEditor_DragQuestions); +// EXTERNAL MODULE: ./node_modules/antd/es/row/style/index.js +var row_style = __webpack_require__(13062); +// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js +var row = __webpack_require__(71230); +// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js +var col_style = __webpack_require__(89032); +// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js +var col = __webpack_require__(15746); ;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPotin/components/Saveitem.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var Saveitemmodules = ({"flex_box_center":"flex_box_center___ljmk3","flex_space_between":"flex_space_between___Fy45C","flex_box_vertical_center":"flex_box_vertical_center___SoC1C","flex_box_center_end":"flex_box_center_end___MumBX","flex_box_column":"flex_box_column___cutpt","warp":"warp___w1JUC","redio":"redio___I6tXM","redioitem":"redioitem___cS4Gp","redioitemyes":"redioitemyes___JBDmk","title":"title___XAohQ","titleyes":"titleyes____bNQk","yestag":"yestag___zQnb1","checkbox":"checkbox___MHadU","checkboxitem":"checkboxitem___KX7mB","checkboxitemyes":"checkboxitemyes___MpOWf","bottom":"bottom___FkHfO","bottomitem":"bottomitem___AS0Qp","left":"left___U23z1","right":"right___yJVEk","completion":"completion___Bu5G6","content":"content___LySPW","items":"items___ETMq9","simple":"simple___XX5t0","shixun":"shixun___ePWKn","score":"score___nGh9k","qtitle":"qtitle___DAMW1","combination":"combination___Sw7S6"}); +/* harmony default export */ var Saveitemmodules = ({"flex_box_center":"flex_box_center___ljmk3","flex_space_between":"flex_space_between___Fy45C","flex_box_vertical_center":"flex_box_vertical_center___SoC1C","flex_box_center_end":"flex_box_center_end___MumBX","flex_box_column":"flex_box_column___cutpt","warp":"warp___w1JUC","normalWrap":"normalWrap___pEIzs","redio":"redio___I6tXM","redioitem":"redioitem___cS4Gp","redioitemyes":"redioitemyes___JBDmk","title":"title___XAohQ","titleyes":"titleyes____bNQk","yestag":"yestag___zQnb1","checkbox":"checkbox___MHadU","checkboxitem":"checkboxitem___KX7mB","checkboxitemyes":"checkboxitemyes___MpOWf","bottom":"bottom___FkHfO","bottomitem":"bottomitem___AS0Qp","left":"left___U23z1","right":"right___yJVEk","completion":"completion___Bu5G6","content":"content___LySPW","items":"items___ETMq9","simple":"simple___XX5t0","shixunWrapper":"shixunWrapper___w6oIG","shixun":"shixun___ePWKn","score":"score___nGh9k","qtitle":"qtitle___DAMW1","program":"program___Mm1qL","combination":"combination___Sw7S6","qtype":"qtype___Xdl60"}); // EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 1 modules var RenderHtml = __webpack_require__(12768); ;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPotin/components/SaveItem.tsx @@ -5638,6 +5939,10 @@ var RenderHtml = __webpack_require__(12768); + + + + //数组对应值 var tagDotData = ['A.', 'B.', 'C.', 'D.', 'E.', 'F.', 'G.', 'H.', 'I.', 'J.', 'K.', 'L.', 'M.', 'N.', 'O.', 'P.', 'Q.', 'R.', 'S.', 'T.', 'U.', 'V.', 'W.', 'X.', 'Y.', 'Z.']; var SaveItem_DragQuestions = function DragQuestions(_ref) { @@ -5645,10 +5950,8 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { var qitem = _ref.qitem; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Saveitemmodules.warp, - style: { - padding: ((qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 5 || (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 7) && 0 - }, children: [((qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 0 || (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 2) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Saveitemmodules.normalWrap, children: qitem === null || qitem === void 0 ? void 0 : (_qitem$question_choic = qitem.question_choices) === null || _qitem$question_choic === void 0 ? void 0 : _qitem$question_choic.map(function (item, index) { return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Saveitemmodules.redio, @@ -5658,7 +5961,7 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { className: "".concat(Saveitemmodules.redioitemyes, " icon-duigou1") }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { className: item !== null && item !== void 0 && item.standard_boolean ? Saveitemmodules.titleyes : Saveitemmodules.title, - value: tagDotData[index] + (item === null || item === void 0 ? void 0 : item.choice_text) + value: (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 0 ? tagDotData[index] + (item === null || item === void 0 ? void 0 : item.choice_text) : item === null || item === void 0 ? void 0 : item.choice_text }), (item === null || item === void 0 ? void 0 : item.standard_boolean) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: Saveitemmodules.yestag, children: "\u6B63\u786E\u7B54\u6848" @@ -5666,6 +5969,7 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { }); }) }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Saveitemmodules.normalWrap, children: qitem === null || qitem === void 0 ? void 0 : (_qitem$question_choic2 = qitem.question_choices) === null || _qitem$question_choic2 === void 0 ? void 0 : _qitem$question_choic2.map(function (item, index) { return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Saveitemmodules.checkbox, @@ -5693,13 +5997,16 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: Saveitemmodules.title, children: ["\u586B\u7A7A\u9879", index + 1] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Saveitemmodules.content, - children: item === null || item === void 0 ? void 0 : (_item$answer_text = item.answer_text) === null || _item$answer_text === void 0 ? void 0 : _item$answer_text.map(function (val, vindex) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Saveitemmodules.items, - children: val - }); + }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + gutter: [30, 20], + className: "".concat(Saveitemmodules.content, " mb20"), + children: (_item$answer_text = item.answer_text) === null || _item$answer_text === void 0 ? void 0 : _item$answer_text.map(function (val, vindex) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Saveitemmodules.items, + children: val + }) + }, vindex); }) })] }); @@ -5713,19 +6020,22 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { className: Saveitemmodules.content, value: (qitem === null || qitem === void 0 ? void 0 : (_qitem$standard_answe2 = qitem.standard_answer) === null || _qitem$standard_answe2 === void 0 ? void 0 : _qitem$standard_answe2[0]) || '' })] - }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 5 && (qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun = qitem.shixun) === null || _qitem$shixun === void 0 ? void 0 : _qitem$shixun.map(function (val, vindex) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Saveitemmodules.shixun, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Saveitemmodules.score, - children: val === null || val === void 0 ? void 0 : val.challenge_score - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: Saveitemmodules.qtitle, - children: [(qitem === null || qitem === void 0 ? void 0 : qitem.index) + "." + (vindex + 1), "\u3001", val === null || val === void 0 ? void 0 : val.challenge_name] - })] - }); - })), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 6 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Saveitemmodules.simple, + }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Saveitemmodules.shixunWrapper, + children: qitem === null || qitem === void 0 ? void 0 : (_qitem$shixun = qitem.shixun) === null || _qitem$shixun === void 0 ? void 0 : _qitem$shixun.map(function (val, vindex) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "".concat(Saveitemmodules.shixun, " mb30"), + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: Saveitemmodules.score, + children: ["\uFF08", val === null || val === void 0 ? void 0 : val.challenge_score, "\u5206\uFF09"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: Saveitemmodules.qtitle, + children: [(qitem === null || qitem === void 0 ? void 0 : qitem.index) + "." + (vindex + 1), "\u3001", val === null || val === void 0 ? void 0 : val.challenge_name] + })] + }, vindex); + }) + }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 6 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Saveitemmodules.program, children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { className: Saveitemmodules.content, value: (qitem === null || qitem === void 0 ? void 0 : qitem.description) || '- -' @@ -5738,9 +6048,12 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: Saveitemmodules.score, children: [val === null || val === void 0 ? void 0 : val.question_score, "\u5206"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Saveitemmodules.qtype, + children: "\u5355\u9009\u9898" }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: Saveitemmodules.qtitle, - children: [(qitem === null || qitem === void 0 ? void 0 : qitem.index) + "." + (vndex + 1), "\u3001", val === null || val === void 0 ? void 0 : val.question_title] + children: [vndex + 1, "\u3001", val === null || val === void 0 ? void 0 : val.question_title] })] }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: Saveitemmodules.warp, @@ -5771,7 +6084,7 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { })), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) <= 4 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Saveitemmodules.bottom, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Saveitemmodules.bottomitem, + className: "".concat(Saveitemmodules.bottomitem, " mb30"), children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: Saveitemmodules.left, children: "\u89E3\u6790" @@ -5780,7 +6093,7 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { value: (qitem === null || qitem === void 0 ? void 0 : qitem.analysis) || '' })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Saveitemmodules.bottomitem, + className: "".concat(Saveitemmodules.bottomitem, " mb30"), children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: Saveitemmodules.left, children: "\u96BE\u5EA6" @@ -5832,7 +6145,8 @@ var SubjectiveQuestionEditor_DragQuestions = function DragQuestions(_ref) { exerciseitem = _ref.exerciseitem, seveeditor = _ref.seveeditor, deleteitem = _ref.deleteitem, - getTagData = _ref.getTagData; + getTagData = _ref.getTagData, + init = _ref.init; var _Form$useForm = es_form/* default.useForm */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), form = _Form$useForm2[0]; @@ -5852,11 +6166,15 @@ var SubjectiveQuestionEditor_DragQuestions = function DragQuestions(_ref) { }, onFinishFailed: /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(errInfo) { + var _errInfo$errorFields, _errInfo$errorFields$; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: - console.log('-----', errInfo); 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: 'center' + }); case 2: case "end": return _context.stop(); @@ -5945,6 +6263,22 @@ var SubjectiveQuestionEditor_DragQuestions = function DragQuestions(_ref) { })); }, children: "\u91CD\u7F6E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: EditPotinmodules.no, + onClick: function onClick() { + if (!qitem.isadd) { + form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { + name: qitem === null || qitem === void 0 ? void 0 : qitem.question_title, + answer_texts: qitem.standard_answer || [], + repeat_answer: !(qitem !== null && qitem !== void 0 && qitem.repeat_answer) + })); + setisedit(false); + } else { + setisedit(false); + init(); + } + }, + children: "\u53D6\u6D88" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { className: EditPotinmodules.yes, onClick: function onClick() { @@ -6462,6 +6796,7 @@ var jiangxu = __webpack_require__(9287); + var AddQuestionsModal_AddModal = function AddModal(_ref) { @@ -6565,6 +6900,12 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { value: "COMBINATION", question_type: 7 }]; + var _useState25 = (0,react.useState)([]), + _useState26 = slicedToArray_default()(_useState25, 2), + checkedItemsArr = _useState26[0], + setCheckedItemsArr = _useState26[1]; + var selectedShixunId = (0,react.useRef)(new Set()); + var selectedQuestionId = (0,react.useRef)(new Set()); var difficultyData = [{ name: "简单", value: 1 @@ -6810,6 +7151,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { setparam(objectSpread2_default()({}, param)); getdatas(objectSpread2_default()({}, param)); setcheckitems([]); + setCheckedItemsArr([]); }, items: [{ label: "\u516C\u5171", @@ -6949,7 +7291,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { alignItems: 'center', marginTop: 20, height: 40, - paddingLeft: 12, + paddingLeft: 10, paddingRight: 20 }, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -6966,9 +7308,6 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { page: 1 })); }, - style: { - marginLeft: 32 - }, children: [" ", !param.updated_at ? /*#__PURE__*/(0,jsx_runtime.jsx)("i", { style: { fontSize: "14px" @@ -7028,6 +7367,22 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { })); } setlistitems(toConsumableArray_default()(list)); + var _iterator = createForOfIteratorHelper_default()(checkedItemsArr), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var item = _step.value; + if (item.identifier) { + selectedShixunId.current["delete"](item.id); + } else { + selectedQuestionId.current["delete"](item.id); + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } }, children: "\u6279\u91CF\u79FB\u51FA" }), param.type !== '5' && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { @@ -7038,6 +7393,22 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { setlistitems([].concat(toConsumableArray_default()(listitems), toConsumableArray_default()(checkitems.filter(function (item) { return !listitems.includes(item); })))); + var _iterator2 = createForOfIteratorHelper_default()(checkedItemsArr), + _step2; + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var item = _step2.value; + if (item.identifier) { + selectedShixunId.current.add(item.id); + } else { + selectedQuestionId.current.add(item.id); + } + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } }, style: { marginLeft: 30 @@ -7062,11 +7433,12 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { rowSelection: { type: 'checkbox', selectedRowKeys: checkitems, - onChange: function onChange(selectedRowKeys, selectedRows, info) { + onChange: function onChange(newSelectedRowKeys, selectedRows) { if (isshixun) { - setshixunitems([].concat(toConsumableArray_default()(ShiXunListItems), toConsumableArray_default()(selectedRowKeys))); + setshixunitems([].concat(toConsumableArray_default()(ShiXunListItems), toConsumableArray_default()(newSelectedRowKeys))); } - setcheckitems(selectedRowKeys); + setcheckitems(newSelectedRowKeys); + setCheckedItemsArr(selectedRows); } }, columns: [{ @@ -7142,6 +7514,12 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsxs)("a", { onClick: function onClick() { if (listitems !== null && listitems !== void 0 && listitems.includes(value)) { + //移除 + if (record.identifier) { + selectedShixunId.current["delete"](value); + } else { + selectedQuestionId.current["delete"](value); + } var list = listitems.filter(function (item) { return item !== value; }); @@ -7156,6 +7534,12 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { return; } } else { + //添加 + if (record.identifier) { + selectedShixunId.current.add(value); + } else { + selectedQuestionId.current.add(value); + } setaddcount(1); if (isshixun) { setshixunitems([].concat(toConsumableArray_default()(ShiXunListItems), [value])); @@ -7225,7 +7609,8 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { title: '提示', content: "\u5F53\u524D\u5DF2\u9009\u62E9".concat(listitems === null || listitems === void 0 ? void 0 : listitems.length, "\u9053\u8BD5\u9898\uFF0C\u5DF2\u52A0\u5165\u8FC7\u7684\u8BD5\u9898\u6216\u672A\u53D1\u5E03\u7684\u7F16\u7A0B\u9898\u5C06\u4E0D\u4F1A\u91CD\u590D\u52A0\u5165"), onOk: function onOk() { - _onOk(listitems, ShiXunListItems); + // onOk(listitems, ShiXunListItems) + _onOk(toConsumableArray_default()(selectedQuestionId.current), toConsumableArray_default()(selectedShixunId.current)); } }); case 4: @@ -7257,6 +7642,8 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { }); }; /* harmony default export */ var AddQuestionsModal = (AddQuestionsModal_AddModal); +// EXTERNAL MODULE: ./src/utils/hooks/useOverflow.ts +var useOverflow = __webpack_require__(33483); ;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPotin/index.tsx @@ -7276,6 +7663,8 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { + + // import AddPoints from '@/components/AddPoints'; @@ -7295,6 +7684,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { + var questionType = [{ name: '单选题', id: 0, @@ -7688,6 +8078,10 @@ var AddNewPaper = function AddNewPaper(_ref) { })); return _deleteitem.apply(this, arguments); } + var _useOverflow = (0,useOverflow/* useOverflow */.I)(), + overflow = _useOverflow.overflow, + handleMouseEnter = _useOverflow.handleMouseEnter, + handleMouseLeave = _useOverflow.handleMouseLeave; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: EditPotinmodules.bg, @@ -7728,8 +8122,14 @@ var AddNewPaper = function AddNewPaper(_ref) { children: "\u6279\u91CF\u8BBE\u7F6E\u5206\u503C" }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: EditPotinmodules.scrollWrapper, + style: { + overflow: overflow + }, + onMouseEnter: handleMouseEnter, + onMouseLeave: handleMouseLeave, children: exerciseitem === null || exerciseitem === void 0 ? void 0 : (_exerciseitem$exercis3 = exerciseitem.exercise_question_types) === null || _exerciseitem$exercis3 === void 0 ? void 0 : _exerciseitem$exercis3.map(function (item, index) { return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "mb30", children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: EditPotinmodules.title, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -7748,30 +8148,51 @@ var AddNewPaper = function AddNewPaper(_ref) { }, children: ["\uFF08", item.count, "\u5C0F\u9898\uFF0C\u5171", item.score, "\u5206\uFF09"] })] - }), index !== 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - onClick: function onClick() { - if (isedit) { - message/* default.info */.ZP.info('请先保存或取消当前正在编辑的试题。'); - return; - } - var arr = (0,utils_util/* moveArray */.rz)(exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types, index, index - 1); - sort_question(arr.map(function (item) { - return item.name; - })); - }, - className: "".concat(EditPotinmodules.up, " iconfont icon-xiangshangyidong font12 mr5 ") - }), index !== (exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types.length) - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - onClick: function onClick() { - if (isedit) { - message/* default.info */.ZP.info('请先保存或取消当前正在编辑的试题。'); - return; - } - var arr = (0,utils_util/* moveArray */.rz)(exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types, index, index + 1); - sort_question(arr.map(function (item) { - return item.name; - })); - }, - className: "".concat(EditPotinmodules.down, " iconfont icon-xiangxiayidong font12 mr5 ") + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: index === (exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types.length) - 1 ? '' : '点击下移箭头即可整题下移', + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: EditPotinmodules.iconWrapper, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + if (index === (exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types.length) - 1) { + return; + } + if (isedit) { + message/* default.info */.ZP.info('请先保存或取消当前正在编辑的试题。'); + return; + } + var arr = (0,utils_util/* moveArray */.rz)(exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types, index, index + 1); + sort_question(arr.map(function (item) { + return item.name; + })); + }, + className: "".concat(EditPotinmodules.down, " iconfont icon-xiangxiayidong ").concat(index === (exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types.length) - 1 ? EditPotinmodules.disabled : '') + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: index === 0 ? '' : '点击上移箭头即可整题上移', + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: EditPotinmodules.iconWrapper, + style: { + marginLeft: 1 + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + if (index === 0) { + return; + } + if (isedit) { + message/* default.info */.ZP.info('请先保存或取消当前正在编辑的试题。'); + return; + } + var arr = (0,utils_util/* moveArray */.rz)(exerciseitem === null || exerciseitem === void 0 ? void 0 : exerciseitem.exercise_question_types, index, index - 1); + sort_question(arr.map(function (item) { + return item.name; + })); + }, + className: "".concat(EditPotinmodules.up, " iconfont icon-xiangshangyidong ").concat(index === 0 ? EditPotinmodules.disabled : '') + }) + }) })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(LeftItems, { isedit: isedit, @@ -7877,7 +8298,8 @@ var AddNewPaper = function AddNewPaper(_ref) { exerciseitem: exerciseitem, TagDiscipline: TagDiscipline, setisedit: setisedit, - qitem: qitem + qitem: qitem, + init: init }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)(ShixunEditor, { setqitem: setqitem, deleteitem: deleteitem, @@ -7893,7 +8315,8 @@ var AddNewPaper = function AddNewPaper(_ref) { exerciseitem: exerciseitem, TagDiscipline: TagDiscipline, setisedit: setisedit, - qitem: qitem + qitem: qitem, + init: init }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_JudgmentQuestionEditor, { getTagData: getTagData, deleteitem: deleteitem, @@ -7901,7 +8324,8 @@ var AddNewPaper = function AddNewPaper(_ref) { exerciseitem: exerciseitem, TagDiscipline: TagDiscipline, setisedit: setisedit, - qitem: qitem + qitem: qitem, + init: init }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_SubjectiveQuestionEditor, { getTagData: getTagData, deleteitem: deleteitem, @@ -7909,7 +8333,8 @@ var AddNewPaper = function AddNewPaper(_ref) { exerciseitem: exerciseitem, TagDiscipline: TagDiscipline, setisedit: setisedit, - qitem: qitem + qitem: qitem, + init: init }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 7 && /*#__PURE__*/(0,jsx_runtime.jsx)(Questions_CombinationQuestionEditor, { getTagData: getTagData, deleteitem: deleteitem, @@ -7917,7 +8342,8 @@ var AddNewPaper = function AddNewPaper(_ref) { exerciseitem: exerciseitem, TagDiscipline: TagDiscipline, setisedit: setisedit, - qitem: qitem + qitem: qitem, + init: init })] })] }) @@ -7925,7 +8351,7 @@ var AddNewPaper = function AddNewPaper(_ref) { })] }) }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: EditPotinmodules.bottmodiv, + className: EditPotinmodules.bottomdiv, children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { width: 1200, @@ -7935,9 +8361,7 @@ var AddNewPaper = function AddNewPaper(_ref) { alignItems: 'center' }, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - cursor: 'pointer' - }, + className: EditPotinmodules.spanBtn, onClick: function onClick() { if (isedit) { message/* default.info */.ZP.info('请先保存或取消当前正在编辑的试题。'); @@ -7948,9 +8372,7 @@ var AddNewPaper = function AddNewPaper(_ref) { }, children: "\u9898\u5E93\u9009\u9898" }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - cursor: 'pointer' - }, + className: EditPotinmodules.spanBtn, onClick: function onClick() { if (isedit) { message/* default.info */.ZP.info('请先保存或取消当前正在编辑的试题。'); @@ -7959,6 +8381,44 @@ var AddNewPaper = function AddNewPaper(_ref) { setUploadModalVisible(true); }, children: "\u5BFC\u5165\u8BD5\u9898" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: EditPotinmodules.spanBtn, + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + var res, _user$userInfo; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + if (!isedit) { + _context3.next = 3; + break; + } + message/* default.info */.ZP.info('请先保存或取消当前正在编辑的试题。'); + return _context3.abrupt("return"); + case 3: + _context3.next = 5; + return (0,paperlibrary/* generateExerciseId */.JP)(itemid); + case 5: + res = _context3.sent; + if (res.status === 0) { + window.open("/classrooms/coursesId/exercise/".concat(res.exercise_id, "/").concat((_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login, "/initate_answer")); + } + case 7: + case "end": + return _context3.stop(); + } + }, _callee3); + })), + children: "\u6A21\u62DF\u8003\u8BD5" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: EditPotinmodules.spanBtn, + onClick: function onClick() { + if (isedit) { + message/* default.info */.ZP.info('请先保存或取消当前正在编辑的试题。'); + return; + } + window.open("/paperlibrary/see/".concat(itemid)); + }, + children: "\u8BD5\u5377\u9884\u89C8" }), questionType === null || questionType === void 0 ? void 0 : questionType.map(function (item) { return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { className: EditPotinmodules.addQuestionBtn, @@ -8032,58 +8492,11 @@ var AddNewPaper = function AddNewPaper(_ref) { } }, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-tianjiashitixiaojiahao mr5", - style: { - fontSize: '10px' - } + className: "iconfont icon-tianjiashitixiaojiahao mr5" }), item.name] }); - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - cursor: 'pointer' - }, - onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var res, _user$userInfo; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - if (!isedit) { - _context3.next = 3; - break; - } - message/* default.info */.ZP.info('请先保存或取消当前正在编辑的试题。'); - return _context3.abrupt("return"); - case 3: - _context3.next = 5; - return (0,paperlibrary/* generateExerciseId */.JP)(itemid); - case 5: - res = _context3.sent; - if (res.status === 0) { - window.open("/classrooms/coursesId/exercise/".concat(res.exercise_id, "/").concat((_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login, "/initate_answer")); - } - case 7: - case "end": - return _context3.stop(); - } - }, _callee3); - })), - children: "\u6A21\u62DF\u8003\u8BD5" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - cursor: 'pointer' - }, - onClick: function onClick() { - if (isedit) { - message/* default.info */.ZP.info('请先保存或取消当前正在编辑的试题。'); - return; - } - window.open("/paperlibrary/see/".concat(itemid)); - }, - children: "\u8BD5\u5377\u9884\u89C8" }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - cursor: 'pointer' - }, + className: EditPotinmodules.saveBtn, onClick: function onClick() { if (isedit) { message/* default.info */.ZP.info('请先保存或取消当前正在编辑试题。'); @@ -8095,7 +8508,7 @@ var AddNewPaper = function AddNewPaper(_ref) { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { className: "iconfont icon-baocun1", style: { - fontSize: 14, + fontSize: 15, marginRight: 5 } }), "\u4FDD\u5B58\u8BD5\u5377"] @@ -8112,34 +8525,29 @@ var AddNewPaper = function AddNewPaper(_ref) { ScoreShow: showquestion, isloadings: isloadings, onOk: /*#__PURE__*/function () { - var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(values, ShiXunListItems) { + var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(questionIdArr, shixunIdArr) { var res; return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: - console.log(values); setisloadings(true); - _context4.next = 4; + _context4.next = 3; return (0,fetch/* default */.ZP)("/api/examination_banks/".concat(itemid, "/examination_banks_item_banks.json"), { method: 'post', body: { exam_id: itemid, - item_bank_ids: values.filter(function (item) { - return !ShiXunListItems.includes(item); - }), - shixun_ids: values.filter(function (item) { - return ShiXunListItems.includes(item); - }) + item_bank_ids: questionIdArr, + shixun_ids: shixunIdArr } }); - case 4: + case 3: res = _context4.sent; setisloadings(false); if ((res === null || res === void 0 ? void 0 : res.status) === 0) { init(); setshowquestion(false); } - case 7: + case 6: case "end": return _context4.stop(); } @@ -8166,6 +8574,10 @@ var AddNewPaper = function AddNewPaper(_ref) { dispatch: dispatch }; })(AddNewPaper)); +// EXTERNAL MODULE: ./src/components/DigitalLabel/index.tsx + 1 modules +var DigitalLabel = __webpack_require__(73105); +// EXTERNAL MODULE: ./src/pages/Paperlibrary/Add/TitleEditor.tsx +var TitleEditor = __webpack_require__(65763); ;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Add/index.tsx @@ -8196,6 +8608,8 @@ var AddNewPaper = function AddNewPaper(_ref) { + + @@ -8238,7 +8652,7 @@ var useCourseOptions = function useCourseOptions() { return courseOptions; }; var Add_AddNewPaper = function AddNewPaper(_ref2) { - var _newExercisePaper$edi, _newExercisePaper$edi2, _newExercisePaper$edi3, _newExercisePaper$edi4, _newExercisePaper$edi5, _newExercisePaper$edi6, _newExercisePaper$edi7, _newExercisePaper$edi8, _newExercisePaper$edi9, _newExercisePaper$edi10, _newExercisePaper$edi11, _newExercisePaper$edi12; + var _newExercisePaper$edi, _newExercisePaper$edi2, _newExercisePaper$edi15, _newExercisePaper$edi16, _newExercisePaper$edi17, _newExercisePaper$edi18, _newExercisePaper$edi19, _newExercisePaper$edi20, _newExercisePaper$edi21, _newExercisePaper$edi22, _newExercisePaper$edi23, _newExercisePaper$edi24; var user = _ref2.user, newExercisePaper = _ref2.newExercisePaper, dispatch = _ref2.dispatch; @@ -8279,6 +8693,9 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { (0,react.useEffect)(function () { if (params.id) { //处理表单返填逻辑 + if (!courseOptions.length) { + return; + } var getData = /*#__PURE__*/function () { var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { var _res$exercise, _res$exercise2; @@ -8335,9 +8752,6 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { return _ref3.apply(this, arguments); }; }(); - if (!courseOptions.length) { - return; - } getData(); } else { setInitValue({ @@ -8397,9 +8811,11 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { } setcurrent(1); }, - className: current === 1 ? Addmodules.selectdiv : Addmodules.divitem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-xuanzhong5 font20 mr5 " + className: current === 1 ? Addmodules/* default.selectdiv */.Z.selectdiv : Addmodules/* default.divitem */.Z.divitem, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(DigitalLabel/* default */.Z, { + number: 1, + active: current === 1, + className: "mr10" }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { children: "\u8BD5\u5377\u57FA\u7840\u4FE1\u606F" })] @@ -8422,18 +8838,66 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { } setitemid(params.id); }, - className: current !== 1 ? Addmodules.selectdiv : Addmodules.divitem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-xuanzhong5 font20 mr5 " + className: current !== 1 ? Addmodules/* default.selectdiv */.Z.selectdiv : Addmodules/* default.divitem */.Z.divitem, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(DigitalLabel/* default */.Z, { + number: 2, + active: current !== 1, + className: "mr10" }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { children: "\u6DFB\u52A0\u8BD5\u9898" })] })] }), current === 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: "tc", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: Addmodules.title, - children: newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi = newExercisePaper.editData) === null || _newExercisePaper$edi === void 0 ? void 0 : (_newExercisePaper$edi2 = _newExercisePaper$edi.exercise) === null || _newExercisePaper$edi2 === void 0 ? void 0 : _newExercisePaper$edi2.exercise_name + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(TitleEditor/* default */.Z, { + defaultValue: newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi = newExercisePaper.editData) === null || _newExercisePaper$edi === void 0 ? void 0 : (_newExercisePaper$edi2 = _newExercisePaper$edi.exercise) === null || _newExercisePaper$edi2 === void 0 ? void 0 : _newExercisePaper$edi2.exercise_name, + onFinish: /*#__PURE__*/function () { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(newTitle) { + var _newExercisePaper$edi3, _newExercisePaper$edi4, _newExercisePaper$edi5, _newExercisePaper$edi6, _newExercisePaper$edi7, _newExercisePaper$edi8, _newExercisePaper$edi9, _newExercisePaper$edi10, _newExercisePaper$edi11, _newExercisePaper$edi12, _newExercisePaper$edi13, _newExercisePaper$edi14; + var res; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + if (!(newTitle.trim() === (newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi3 = newExercisePaper.editData) === null || _newExercisePaper$edi3 === void 0 ? void 0 : (_newExercisePaper$edi4 = _newExercisePaper$edi3.exercise) === null || _newExercisePaper$edi4 === void 0 ? void 0 : _newExercisePaper$edi4.exercise_name))) { + _context3.next = 2; + break; + } + return _context3.abrupt("return", true); + case 2: + _context3.next = 4; + return (0,paperlibrary/* updateExam */.w0)({ + id: "".concat(newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi5 = newExercisePaper.editData) === null || _newExercisePaper$edi5 === void 0 ? void 0 : (_newExercisePaper$edi6 = _newExercisePaper$edi5.exercise) === null || _newExercisePaper$edi6 === void 0 ? void 0 : _newExercisePaper$edi6.id), + sub_discipline_id: newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi7 = newExercisePaper.editData) === null || _newExercisePaper$edi7 === void 0 ? void 0 : (_newExercisePaper$edi8 = _newExercisePaper$edi7.exercise) === null || _newExercisePaper$edi8 === void 0 ? void 0 : _newExercisePaper$edi8.sub_discipline_id, + time: "".concat(newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi9 = newExercisePaper.editData) === null || _newExercisePaper$edi9 === void 0 ? void 0 : (_newExercisePaper$edi10 = _newExercisePaper$edi9.exercise) === null || _newExercisePaper$edi10 === void 0 ? void 0 : _newExercisePaper$edi10.time), + exercise_name: newTitle, + exercise_description: newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi11 = newExercisePaper.editData) === null || _newExercisePaper$edi11 === void 0 ? void 0 : (_newExercisePaper$edi12 = _newExercisePaper$edi11.exercise) === null || _newExercisePaper$edi12 === void 0 ? void 0 : _newExercisePaper$edi12.exercise_description, + difficulty: newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi13 = newExercisePaper.editData) === null || _newExercisePaper$edi13 === void 0 ? void 0 : (_newExercisePaper$edi14 = _newExercisePaper$edi13.exercise) === null || _newExercisePaper$edi14 === void 0 ? void 0 : _newExercisePaper$edi14.difficulty + }); + case 4: + res = _context3.sent; + if (!(res.status === 0)) { + _context3.next = 9; + break; + } + form.setFieldValue('exercise_name', newTitle); + //只是为了切换的时候不显示之前的标题 + dispatch({ + type: 'newExercisePaper/modifyTitle', + payload: newTitle + }); + return _context3.abrupt("return", true); + case 9: + return _context3.abrupt("return", false); + case 10: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function (_x) { + return _ref4.apply(this, arguments); + }; + }() }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { fontSize: 14 @@ -8447,7 +8911,7 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { color: '#000000', marginLeft: 8 }, - children: newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi3 = newExercisePaper.editData) === null || _newExercisePaper$edi3 === void 0 ? void 0 : (_newExercisePaper$edi4 = _newExercisePaper$edi3.exercise) === null || _newExercisePaper$edi4 === void 0 ? void 0 : _newExercisePaper$edi4.time + children: newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi15 = newExercisePaper.editData) === null || _newExercisePaper$edi15 === void 0 ? void 0 : (_newExercisePaper$edi16 = _newExercisePaper$edi15.exercise) === null || _newExercisePaper$edi16 === void 0 ? void 0 : _newExercisePaper$edi16.time })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { style: { @@ -8459,7 +8923,7 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { color: '#000000', marginLeft: 8 }, - children: (newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi5 = newExercisePaper.editData) === null || _newExercisePaper$edi5 === void 0 ? void 0 : (_newExercisePaper$edi6 = _newExercisePaper$edi5.exercise) === null || _newExercisePaper$edi6 === void 0 ? void 0 : _newExercisePaper$edi6.difficulty) === 1 ? '简单' : (newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi7 = newExercisePaper.editData) === null || _newExercisePaper$edi7 === void 0 ? void 0 : (_newExercisePaper$edi8 = _newExercisePaper$edi7.exercise) === null || _newExercisePaper$edi8 === void 0 ? void 0 : _newExercisePaper$edi8.difficulty) === 2 ? '适中' : '困难' + children: (newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi17 = newExercisePaper.editData) === null || _newExercisePaper$edi17 === void 0 ? void 0 : (_newExercisePaper$edi18 = _newExercisePaper$edi17.exercise) === null || _newExercisePaper$edi18 === void 0 ? void 0 : _newExercisePaper$edi18.difficulty) === 1 ? '简单' : (newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi19 = newExercisePaper.editData) === null || _newExercisePaper$edi19 === void 0 ? void 0 : (_newExercisePaper$edi20 = _newExercisePaper$edi19.exercise) === null || _newExercisePaper$edi20 === void 0 ? void 0 : _newExercisePaper$edi20.difficulty) === 2 ? '适中' : '困难' })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { style: { @@ -8471,7 +8935,7 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { color: '#000000', marginLeft: 8 }, - children: (newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi9 = newExercisePaper.editData) === null || _newExercisePaper$edi9 === void 0 ? void 0 : (_newExercisePaper$edi10 = _newExercisePaper$edi9.exercise_types) === null || _newExercisePaper$edi10 === void 0 ? void 0 : _newExercisePaper$edi10.q_counts) || 0 + children: (newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi21 = newExercisePaper.editData) === null || _newExercisePaper$edi21 === void 0 ? void 0 : (_newExercisePaper$edi22 = _newExercisePaper$edi21.exercise_types) === null || _newExercisePaper$edi22 === void 0 ? void 0 : _newExercisePaper$edi22.q_counts) || 0 })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { style: { @@ -8481,8 +8945,9 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { style: { color: '#000000', marginLeft: 8 - } - }), newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi11 = newExercisePaper.editData) === null || _newExercisePaper$edi11 === void 0 ? void 0 : (_newExercisePaper$edi12 = _newExercisePaper$edi11.exercise_types) === null || _newExercisePaper$edi12 === void 0 ? void 0 : _newExercisePaper$edi12.q_scores] + }, + children: newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi23 = newExercisePaper.editData) === null || _newExercisePaper$edi23 === void 0 ? void 0 : (_newExercisePaper$edi24 = _newExercisePaper$edi23.exercise_types) === null || _newExercisePaper$edi24 === void 0 ? void 0 : _newExercisePaper$edi24.q_scores + })] })] })] })] @@ -8496,7 +8961,7 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { }, className: "mt30", children: [/*#__PURE__*/(0,jsx_runtime.jsx)("section", { - className: [Addmodules.bg, 'mt20'].join(' '), + className: [Addmodules/* default.bg */.Z.bg, 'mt20'].join(' '), style: { padding: '30px 120px 300px 120px' }, @@ -8510,12 +8975,12 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { wrapperCol: { span: 20 }, - className: Addmodules.formWrap, + className: Addmodules/* default.formWrap */.Z.formWrap, initialValues: initValue, children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { name: "exercise_name", label: "\u8BD5\u5377\u540D\u79F0", - className: Addmodules.baseLineHeight, + className: Addmodules/* default.baseLineHeight */.Z.baseLineHeight, rules: [{ required: true, validator: function validator(_, value) { @@ -8525,24 +8990,24 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { }], children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { maxLength: 60, - className: Addmodules.baseFormItem, + className: Addmodules/* default.baseFormItem */.Z.baseFormItem, placeholder: "\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0", showCount: true }) }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { label: '方向&课程', name: "sub_discipline_id", - className: Addmodules.baseLineHeight, + className: Addmodules/* default.baseLineHeight */.Z.baseLineHeight, rules: [{ required: true, message: '请选择课程' }], children: /*#__PURE__*/(0,jsx_runtime.jsx)(cascader/* default */.Z, { - className: Addmodules.baseFormItem, + className: Addmodules/* default.baseFormItem */.Z.baseFormItem, allowClear: false, placeholder: "\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B", options: courseOptions, - popupClassName: Addmodules.cascaderPopup, + popupClassName: Addmodules/* default.cascaderPopup */.Z.cascaderPopup, dropdownMenuColumnStyle: { padding: '8px 12px', fontSize: 14 @@ -8551,30 +9016,30 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { label: "\u96BE\u5EA6", name: "difficulty", - className: Addmodules.radioBtnWrapper, + className: Addmodules/* default.radioBtnWrapper */.Z.radioBtnWrapper, rules: [{ required: true, message: '请选择难度' }], children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - className: Addmodules.radiogroup, + className: Addmodules/* default.radiogroup */.Z.radiogroup, children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - className: Addmodules.easy, + className: Addmodules/* default.easy */.Z.easy, value: 1, children: "\u7B80\u5355" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - className: Addmodules.medium, + className: Addmodules/* default.medium */.Z.medium, value: 2, children: "\u9002\u4E2D" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - className: Addmodules.hard, + className: Addmodules/* default.hard */.Z.hard, value: 3, children: "\u56F0\u96BE" })] }) }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { label: "\u7B54\u9898\u65F6\u957F", - className: Addmodules.baseLineHeight, + className: Addmodules/* default.baseLineHeight */.Z.baseLineHeight, children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { display: 'flex', @@ -8585,7 +9050,7 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { noStyle: true, children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { min: 1, - className: Addmodules.baseFormItem, + className: Addmodules/* default.baseFormItem */.Z.baseFormItem, max: 9999, style: { width: 220 @@ -8614,49 +9079,49 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { })] }) }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Addmodules.bottmodiv, + className: Addmodules/* default.bottmodiv */.Z.bottmodiv, children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "".concat(Addmodules.cancelBtn, " mr5"), + className: "".concat(Addmodules/* default.cancelBtn */.Z.cancelBtn, " mr5"), type: "primary", onClick: function onClick() { _umi_production_exports.history.push("/paperlibrary"); }, children: "\u53D6\u6D88" }), /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, { - className: "".concat(Addmodules.confirmBtn, " ml15"), + className: "".concat(Addmodules/* default.confirmBtn */.Z.confirmBtn, " ml15"), type: "primary", - onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { var formValue, _res, res, _res$data, _res$data2; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { case 0: - _context3.next = 2; + _context4.next = 2; return form.validateFields(); case 2: formValue = form.getFieldsValue(); //调用接口 获取是否要弹窗 formValue['sub_discipline_id'] = formValue['sub_discipline_id'][1]; // formValue['time'] = `${formValue.time}` if (!params.id) { - _context3.next = 10; + _context4.next = 10; break; } - _context3.next = 7; + _context4.next = 7; return (0,paperlibrary/* updateExam */.w0)(objectSpread2_default()({ id: params.id }, formValue)); case 7: - _res = _context3.sent; + _res = _context4.sent; if (_res.status === 0) { setitemid(params.id); setcurrent(2); _umi_production_exports.history.replace("/paperlibrary/add/".concat(params.id, "?type=2")); } - return _context3.abrupt("return"); + return _context4.abrupt("return"); case 10: - _context3.next = 12; + _context4.next = 12; return (0,paperlibrary/* createExam */.un)(formValue); case 12: - res = _context3.sent; + res = _context4.sent; if (res.status === 0) { setitemid(res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.exam_id); setcurrent(2); @@ -8665,9 +9130,9 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { } case 14: case "end": - return _context3.stop(); + return _context4.stop(); } - }, _callee3); + }, _callee4); })), children: "\u4E0B\u4E00\u6B65" })] @@ -8681,10 +9146,10 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { }) }); }; -/* harmony default export */ var Add = ((0,_umi_production_exports.connect)(function (_ref5) { - var user = _ref5.user, - newExercisePaper = _ref5.newExercisePaper, - dispatch = _ref5.dispatch; +/* harmony default export */ var Add = ((0,_umi_production_exports.connect)(function (_ref6) { + var user = _ref6.user, + newExercisePaper = _ref6.newExercisePaper, + dispatch = _ref6.dispatch; return { user: user, newExercisePaper: newExercisePaper, @@ -8694,6 +9159,40 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { /***/ }), +/***/ 33483: +/*!****************************************!*\ + !*** ./src/utils/hooks/useOverflow.ts ***! + \****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "I": function() { return /* binding */ useOverflow; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); + + +var useOverflow = function useOverflow() { + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)('hidden'), + _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2), + overflow = _useState2[0], + setOverflow = _useState2[1]; + var handleMouseEnter = function handleMouseEnter() { + return setOverflow('auto'); + }; + var handleMouseLeave = function handleMouseLeave() { + return setOverflow('hidden'); + }; + return { + overflow: overflow, + handleMouseEnter: handleMouseEnter, + handleMouseLeave: handleMouseLeave + }; +}; + +/***/ }), + /***/ 9287: /*!*********************************************!*\ !*** ./src/assets/images/paper/jiangxu.svg ***! @@ -8830,6 +9329,206 @@ var SvgShengxu = function SvgShengxu(props) { // extracted by mini-css-extract-plugin /* harmony default export */ __webpack_exports__["Z"] = ({"wrap":"wrap___ilWvf","deleteIcon":"deleteIcon___JBDG8","keywordTag":"keywordTag___iieCb","questionTitleEditorWrap":"questionTitleEditorWrap___MHB5s","choiceWrap":"choiceWrap___QFkTc","choiceIndex":"choiceIndex___Mr2YO","judgementIndex":"judgementIndex___fUVWK","setAnswerBtn":"setAnswerBtn___Whox5","activeAnswer":"activeAnswer___fGU6Y","activeJudgementAnswer":"activeJudgementAnswer___wJv8P","actionWrapper":"actionWrapper___ERQ7k","addIcon":"addIcon___L9TE0","inputBorder":"inputBorder___Q5tRE","placeholder":"placeholder___p9sFY","blankWrapper":"blankWrapper___nC45e","blankInput":"blankInput___pEHsx","blankInputNumberWrapper":"blankInputNumberWrapper___uEHb0","addBtn":"addBtn___WR5ZI","blankIndex":"blankIndex___x9Pny","baseInputWrapper":"baseInputWrapper___eVsG7","collapseWrapper":"collapseWrapper___ZTysU","panelHeader":"panelHeader___QSN9g","open":"open___B6FU9","close":"close___QX19r","hide":"hide___mn25n"}); +/***/ }), + +/***/ 62038: +/*!*******************************************************!*\ + !*** ./src/pages/Paperlibrary/Add/index.less?modules ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +// extracted by mini-css-extract-plugin +/* harmony default export */ __webpack_exports__["Z"] = ({"flex_box_center":"flex_box_center___ycN2f","flex_space_between":"flex_space_between___LcS9e","flex_box_vertical_center":"flex_box_vertical_center___uwjPm","flex_box_center_end":"flex_box_center_end___Pc903","flex_box_column":"flex_box_column___AXEdv","bg":"bg___fm2Cw","title":"title___J3MCU","editIcon":"editIcon___i4Zll","titleLeft":"titleLeft___da61c","titleRight":"titleRight___EsdL6","formWrap":"formWrap___YTxC3","baseLineHeight":"baseLineHeight___TprCB","radioBtnWrapper":"radioBtnWrapper___Mt_XG","radiogroup":"radiogroup___EvkWh","easy":"easy___mSxtg","medium":"medium___NIaWN","hard":"hard___mddnD","baseFormItem":"baseFormItem___csbyb","cascaderPopup":"cascaderPopup___BttnF","selectdiv":"selectdiv___TAr4i","divitem":"divitem___iaXB2","bottmodiv":"bottmodiv___bmp6p","cancelBtn":"cancelBtn___Q4ZcL","confirmBtn":"confirmBtn___nRiCD"}); + +/***/ }), + +/***/ 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 + + + /***/ }) }]); \ No newline at end of file diff --git a/p__Paperlibrary__Add__index.chunk.css b/p__Paperlibrary__Add__index.chunk.css index e9e706790e..735d60ea9a 100644 --- a/p__Paperlibrary__Add__index.chunk.css +++ b/p__Paperlibrary__Add__index.chunk.css @@ -13,6 +13,214 @@ /* 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 */ + /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** 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 ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -302,188 +510,2091 @@ /* 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; +/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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/EditPotin/index.less?modules ***! + \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___gi93l { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; } -.ant-tag, -.ant-tag a, -.ant-tag a:hover { - color: rgba(0, 0, 0, 0.85); +.flex_space_between___mWMLA { + justify-content: space-between; + -webkit-box-pack: justify; } -.ant-tag > a:first-child:last-child { - display: inline-block; - margin: 0 -8px; - padding: 0 8px; +.flex_box_vertical_center___rk4nc { + align-items: center; + box-align: center; } -.ant-tag-close-icon { - margin-left: 3px; - color: rgba(0, 0, 0, 0.45); - font-size: 10px; +.flex_box_center_end___B8XxF { + 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___AX3Vm { + flex-direction: column; + box-orient: block-axis; +} +.bg___Ya739 { + background: white; + box-shadow: 0px 2px 4px 0px #EAEEF4; + min-height: 600px; +} +.bg___Ya739 .title___BC46y { + font-weight: 600; + font-size: 16px; + color: #000000; + line-height: 18px; +} +.bottomdiv___uaPr6 { + height: 64px; + background: #fff; + box-shadow: 0px -2px 4px 0px #E0DFE1; + width: 100%; + min-width: 1200px; + left: 0px; + bottom: 0px; + z-index: 10; + position: fixed; + align-items: center; + justify-content: center; + display: flex; + color: #343636; +} +.bottomdiv___uaPr6 .spanBtn___jjgnA { cursor: pointer; - transition: all 0.3s; } -.ant-tag-close-icon:hover { - color: rgba(0, 0, 0, 0.85); +.bottomdiv___uaPr6 .spanBtn___jjgnA:hover { + color: #165DFF; } -.ant-tag-has-color { +.bottomdiv___uaPr6 .addQuestionBtn___qOlYW { + background: #F8F9FC; + box-shadow: 0px 2px 4px 0px #E0DFE1; + border-radius: 4px; + color: #3061D0; + border: 1px solid #BACFFE; + text-shadow: none; + height: 32px; + width: 88px; +} +.bottomdiv___uaPr6 .addQuestionBtn___qOlYW i { + color: #3061D0; + font-size: 14px; + font-weight: 600; +} +.bottomdiv___uaPr6 .addQuestionBtn___qOlYW:hover { + background: #3061D0; + color: #fff; 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 { +.bottomdiv___uaPr6 .addQuestionBtn___qOlYW:hover i { color: #fff; } -.ant-tag-checkable { - background-color: transparent; - border-color: transparent; +.bottomdiv___uaPr6 .saveBtn___ulgem { + height: 32px; + width: 94px; + display: inline-flex; + align-items: center; + justify-content: center; + border-radius: 2px; + border: 1px solid #EEEEEE; cursor: pointer; } -.ant-tag-checkable:not(.ant-tag-checkable-checked):hover { - color: #1890ff; +.bottomdiv___uaPr6 .saveBtn___ulgem:hover { + border: 1px solid #165DFF; + color: #165DFF; } -.ant-tag-checkable:active, -.ant-tag-checkable-checked { - color: #fff; +.left___i8aTX { + padding: 15px 0px; + background-color: #F6F7F9; + width: 260px; + min-height: 600px; + text-align: left; } -.ant-tag-checkable-checked { - background-color: #1890ff; +.left___i8aTX .scrollWrapper___Jk80T { + max-height: 500px; } -.ant-tag-checkable:active { - background-color: #096dd9; +.left___i8aTX .scrollWrapper___Jk80T::-webkit-scrollbar-thumb { + background: rgba(0, 0, 0, 0.05) !important; + border-radius: 3px; } -.ant-tag-hidden { - display: none; +.left___i8aTX .scrollWrapper___Jk80T::-webkit-scrollbar-track { + background-color: #f6f7f9 !important; + box-shadow: none !important; + box-shadow: initial !important; } -.ant-tag-pink { - color: #c41d7f; - background: #fff0f6; - border-color: #ffadd2; +.left___i8aTX .Button___auxWm { + width: 92px; + height: 32px; + margin-left: 15px; + background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 4px; + color: #3061D0; + font-size: 12px; + text-align: center; + border: 1px solid #BACFFE; + margin-bottom: 15px; } -.ant-tag-pink-inverse { - color: #fff; - background: #eb2f96; - border-color: #eb2f96; +.left___i8aTX .title___BC46y { + height: 32px; + border-radius: 2px; + padding-left: 15px; + display: flex; + align-items: center; + margin-bottom: 10px; } -.ant-tag-magenta { - color: #c41d7f; - background: #fff0f6; - border-color: #ffadd2; +.left___i8aTX .title___BC46y:hover { + background: #E1E2E4; + box-shadow: 0px 2px 4px 0px #EAEEF4; } -.ant-tag-magenta-inverse { - color: #fff; - background: #eb2f96; - border-color: #eb2f96; +.left___i8aTX .title___BC46y:hover .iconWrapper___h3H1m { + background-color: #fff; + height: 100%; + display: flex; + align-items: center; + justify-content: center; + width: 28px; + border-radius: 2px; } -.ant-tag-red { - color: #cf1322; - background: #fff1f0; - border-color: #ffa39e; +.left___i8aTX .title___BC46y:hover .iconWrapper___h3H1m .up___tLyCX { + display: inline-block; + color: #3061D0; + cursor: pointer; + font-size: 13px; } -.ant-tag-red-inverse { - color: #fff; - background: #f5222d; - border-color: #f5222d; +.left___i8aTX .title___BC46y:hover .iconWrapper___h3H1m .down___T5_aj { + display: inline-block; + color: #3061D0; + cursor: pointer; + font-size: 13px; } -.ant-tag-volcano { - color: #d4380d; - background: #fff2e8; - border-color: #ffbb96; +.left___i8aTX .title___BC46y:hover .iconWrapper___h3H1m .disabled___GRBbF { + cursor: not-allowed; } -.ant-tag-volcano-inverse { - color: #fff; - background: #fa541c; - border-color: #fa541c; +.left___i8aTX .title___BC46y:hover .iconWrapper___h3H1m .disabled___GRBbF.up___tLyCX, +.left___i8aTX .title___BC46y:hover .iconWrapper___h3H1m .disabled___GRBbF.down___T5_aj { + opacity: 0.2; } -.ant-tag-orange { - color: #d46b08; - background: #fff7e6; - border-color: #ffd591; +.left___i8aTX .title___BC46y .titleleft___xZGbq { + padding-right: 4px; + flex: 1 1; + -webkit-box-orient: vertical; + display: -webkit-box; + -webkit-line-clamp: 1; + overflow: hidden; } -.ant-tag-orange-inverse { - color: #fff; - background: #fa8c16; - border-color: #fa8c16; +.left___i8aTX .title___BC46y .iconWrapper___h3H1m { + display: none; } -.ant-tag-yellow { - color: #d4b106; - background: #feffe6; - border-color: #fffb8f; +.left___i8aTX .qcount___ID7OA { + display: flex; + height: 28px; + align-items: center; + margin: 0px 10px 12px 10px; + padding: 0px 5px; + font-size: 12px; } -.ant-tag-yellow-inverse { - color: #fff; - background: #fadb14; - border-color: #fadb14; +.left___i8aTX .qcount___ID7OA .score___T7dbm { + 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___i8aTX .qcount___ID7OA .qtitle___qJBFd { + -webkit-box-orient: vertical; + display: -webkit-box; + -webkit-line-clamp: 1; + overflow: hidden; + width: 70%; + word-break: break-all; + color: #000000; } -.ant-tag-gold { - color: #d48806; - background: #fffbe6; - border-color: #ffe58f; +.left___i8aTX .qcount___ID7OA:hover { + background: #fff; + color: #3061D0; } -.ant-tag-gold-inverse { - color: #fff; - background: #faad14; - border-color: #faad14; +.left___i8aTX .qcount___ID7OA:hover .qtitle___qJBFd { + color: #3061D0; + word-break: break-all; } -.ant-tag-cyan { - color: #08979c; - background: #e6fffb; - border-color: #87e8de; +.left___i8aTX .qcount___ID7OA.qcountclick___m_VKG { + background: #fff; + color: #3061D0; } -.ant-tag-cyan-inverse { - color: #fff; - background: #13c2c2; - border-color: #13c2c2; +.right___CBabI { + padding: 40px; + width: 940px; + text-align: left; } -.ant-tag-lime { - color: #7cb305; - background: #fcffe6; - border-color: #eaff8f; +.right___CBabI .title___BC46y { + display: flex; + align-items: center; } -.ant-tag-lime-inverse { - color: #fff; - background: #a0d911; - border-color: #a0d911; +.right___CBabI .title___BC46y .edit___WHuql { + cursor: pointer; + font-size: 20px; + color: #7AAC9A; + margin-left: 20px; } -.ant-tag-green { - color: #389e0d; - background: #f6ffed; - border-color: #b7eb8f; +.right___CBabI .title___BC46y .edit___WHuql:hover { + cursor: pointer; + font-size: 20px; + color: #3061D0; + margin-left: 20px; } -.ant-tag-green-inverse { - color: #fff; - background: #52c41a; - border-color: #52c41a; +.right___CBabI .title___BC46y .delete___Pa6db { + cursor: pointer; + color: #9096A3; + font-size: 20px; } -.ant-tag-blue { - color: #096dd9; +.right___CBabI .title___BC46y .delete___Pa6db:hover { + color: #EE5D5D; +} +.right___CBabI .title___BC46y .shixun___oObBe { + font-size: 14px; + color: #3061D0; + margin-right: 20px; + font-weight: 400; +} +.right___CBabI .title___BC46y .shixun___oObBe i { + font-size: 12px; +} +.right___CBabI .qcount___ID7OA { + display: flex; + align-items: flex-start; + margin-top: 20px; +} +.right___CBabI .qcount___ID7OA .score___T7dbm { + min-width: 50px; + height: 25px; + background: rgba(236, 236, 236, 0.6); + border-radius: 0px 0px 2px 0px; + text-align: center; + line-height: 25px; + color: #464F66; + margin-right: 10px; +} +.right___CBabI .qcount___ID7OA .qtitle___qJBFd { + color: #000000; + font-weight: 600; + font-size: 16px; +} +.right___CBabI .qcount___ID7OA .qtitle___qJBFd p { + word-break: break-all; +} +.right___CBabI .scoreByBlankRadio___r4AWn { + background: #F6F7F9; + box-shadow: inset 0px 1px 3px 0px #D7D8D9; + border-radius: 16px; + margin-right: 20px; +} +.right___CBabI .scoreByBlankRadio___r4AWn span { + font-size: 14px; +} +.right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper'] { + background-color: transparent; + border: none; + padding: 0 20px; + display: inline-flex; + align-items: center; + height: 32px; + color: #9096A3; +} +.right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper']::before { + background-color: transparent; +} +.right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper-checked'] { + background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: inset 0px 1px 3px 0px #D7D8D9; + border: 1px solid #C8D2EA; + border-radius: 16px; + padding: 0 20px; + display: inline-flex; + align-items: center; + color: #3061D0; +} +.right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper-checked']:first-child { + border-right-color: #C8D2EA; +} +.right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper-checked']:focus-within { + box-shadow: none; +} +.right___CBabI .scoreByBlankRadio___r4AWn label[class~='ant-radio-button-wrapper-checked']::before { + background-color: transparent; +} +.right___CBabI .scoreinput___O8EhL { + margin-bottom: 0px; +} +.right___CBabI .scoreinput___O8EhL [class~='ant-form-item-row'] { + height: 46px; +} +.right___CBabI .scoreinput___O8EhL [class~='ant-input-number-input-wrap'] input { + height: 46px !important; +} +.right___CBabI .scoreinput___O8EhL [class~='ant-form-item-label'] { + height: 100%; + line-height: 46px; +} +.modalconfirm___Ru9B_ div[class~='ant-modal-body'] { + padding: 16px 24px; +} +.scoremodal___BdW7P [class~='ant-modal-body'] { + padding: 30px 40px; +} +.scoremodal___BdW7P .title___BC46y { + color: #000000; + font-size: 16px; + font-weight: 500; + display: flex; + width: 100%; +} +.scoremodal___BdW7P .score___T7dbm { + margin-left: 305px; + color: #3061D0; + text-align: end; +} +.scoremodal___BdW7P .close___blHYk { + font-size: 15px; + cursor: pointer; + color: #979797; +} +.scoremodal___BdW7P .content___jlm9o { + display: flex; + justify-content: space-between; + margin-top: 40px; + height: 40px; + padding: 0px 20px; + color: #5F6368; + background: #F6F7F9; + line-height: 40px; + font-size: 14px; +} +.scoremodal___BdW7P .content___jlm9o span { + display: flex; + flex: 1 1; +} +.scoremodal___BdW7P .content___jlm9o span:nth-child(4) { + display: flex; + min-width: 160px; + align-items: center; +} +.scoremodal___BdW7P .items___i3TrH { + display: flex; + justify-content: space-between; + align-items: center; + color: #5F6368; + font-size: 14px; + padding: 8px 20px; + border-bottom: 1px solid #F6F7F9; +} +.scoremodal___BdW7P .items___i3TrH span { + display: flex; + flex: 1 1; + color: #000000; + font-weight: 400; +} +.scoremodal___BdW7P .items___i3TrH span:nth-child(4) { + display: flex; + min-width: 160px; + align-items: center; + color: #9096A3; +} +.scoremodal___BdW7P .bottom___zMQZ6 { + width: 100%; + text-align: end; + margin-top: 12px; +} +.scoremodal___BdW7P .bottom___zMQZ6 .yes___lOPY6 { + width: 60px; + height: 32px; + background: #3061D0; + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + font-weight: 400; + color: #FFFFFF; + border: 0px; +} +.scoremodal___BdW7P .bottom___zMQZ6 .no___gtzKI { + margin-right: 20px; + width: 60px; + height: 32px; + background: #F8F9FC; + border-radius: 2px; + opacity: 0.5; + border: 1px solid #C3CFE0; + font-weight: 400; + color: #464F66; + line-height: 14px; +} +.formcenter___fCxkm div[class~='ant-form-item-row'] { + align-items: center; + margin-bottom: 30px !important; +} +.formcenter___fCxkm .radiogroup___oXWHc 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; +} +.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper']::before { + background-color: transparent; +} +.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper'] span { + color: #464F66; +} +.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'] { + background-color: #fff; + box-shadow: 0px 2px 4px 0px #E0DFE1; +} +.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked']:first-child { + border-right-color: #BACFFE; +} +.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked']:focus-within { + box-shadow: 0px 2px 4px 0px #E0DFE1; +} +.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'].easy___ANNVD { + border: 1px solid #C1E7CB; + background: linear-gradient(180deg, #FFFFFF 0%, #F9FFF4 100%); +} +.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'].easy___ANNVD span { + color: #46B70E; +} +.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'].medium___ov7N3 { + border: 1px solid #BACFFE; + background: #D3E0FD linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); +} +.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'].medium___ov7N3 span { + color: #165DFF; +} +.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'].hard___n4afW { + border: 1px solid #F8C8A8; + background: linear-gradient(180deg, #FFFFFF 0%, #FFF7F3 100%); +} +.formcenter___fCxkm .radiogroup___oXWHc label[class~='ant-radio-button-wrapper-checked'].hard___n4afW span { + color: #EE6F1A; +} +.formcenterselect___lYa4f div[class~='ant-form-item-label'] { + max-height: 46px; + line-height: 46px; +} +.selectitems___c9Pt5 { + height: 46px; + width: 480px !important; + display: flex; +} +.selectitems___c9Pt5 div[class~='ant-select-selector'] { + height: 46px !important; +} +.selectitems___c9Pt5 div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] { + height: 46px; + line-height: 46px; +} +.selectitems___c9Pt5 div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] div { + height: 46px; + align-items: center; +} +.selectitems___c9Pt5 div[class~='ant-select-selector'] span[class~='ant-select-selection-search'] input { + height: 46px !important; +} +.morebottom____I_ev { + width: 100%; + text-align: center; + margin-top: 50px; +} +.morebottom____I_ev .yes___lOPY6 { + width: 126px; + height: 38px; + background: #3061D0; + border-radius: 2px; + font-weight: 400; + color: #FFFFFF; +} +.morebottom____I_ev .no___gtzKI { + margin-right: 20px; + width: 60px; + height: 38px; + border-radius: 2px; + opacity: 0.9; + border: 1px solid #BACFFE; + font-weight: 400; + color: #3061D0; + line-height: 14px; +} +.titleTooltip___CAyYg div[class~='ant-tooltip-inner'] { + max-height: 400px; + overflow: 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/components/QuestionEditor/index.less?modules ***! + \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.wrap___ilWvf div[class~='ant-form-item'] { + margin-bottom: 0; +} +.wrap___ilWvf div[class~='ant-form-item-explain-error'] { + display: none; +} +.wrap___ilWvf .deleteIcon___JBDG8 { + color: #E30000; + font-size: 14px; +} +.wrap___ilWvf .keywordTag___iieCb { + padding: 10px 10px 10px 8px; + font-size: 14px; + font-weight: 400; + color: #000000; +} +.questionTitleEditorWrap___MHB5s { + margin-bottom: 18px; +} +.choiceWrap___QFkTc { + margin-bottom: 20px; +} +.choiceWrap___QFkTc .choiceIndex___Mr2YO { + display: flex; + flex: 0 0 auto; + justify-content: center; + align-items: center; + width: 46px; + height: 46px; + border-radius: 23px; + border: 1px solid #DCDCDC; + font-size: 16px; + font-weight: 400; + color: #464F66; + cursor: pointer; +} +.choiceWrap___QFkTc .choiceIndex___Mr2YO.judgementIndex___fUVWK { + border-radius: 2px; +} +.choiceWrap___QFkTc .setAnswerBtn___Whox5 { + border-radius: 2px; + border: 1px solid #DCDCDC; + font-size: 14px; + font-weight: 400; + color: #9096A3; + height: 46px; + display: flex; + align-items: center; + padding: 0 16px; + cursor: pointer; +} +.choiceWrap___QFkTc .activeAnswer___fGU6Y { + background-color: #37AD83; + border-color: #37AD83; + color: #fff; +} +.choiceWrap___QFkTc .activeJudgementAnswer___wJv8P { + background-color: #ebf6f2; + border-color: #37AD83; + color: #37AD83; +} +.choiceWrap___QFkTc .actionWrapper___ERQ7k { + display: flex; + align-items: center; + justify-content: flex-end; + margin: auto 0 auto 20px; +} +.choiceWrap___QFkTc .actionWrapper___ERQ7k .addIcon___L9TE0 { + color: #2FA34F; + font-size: 14px; +} +.choiceWrap___QFkTc .actionWrapper___ERQ7k .deleteIcon___JBDG8 { + color: #E30000; + font-size: 14px; + margin-left: 20px; +} +.inputBorder___Q5tRE { + border-radius: 2px; + border: 1px solid #DCDCDC; + padding: 8px 12px; + font-size: 14px; + min-height: 46px; + display: flex; + align-items: center; +} +.placeholder___p9sFY { + font-size: 14px; + font-weight: 400; + color: #9096A3; +} +.blankWrapper___nC45e { + display: flex; + align-items: center; +} +.blankWrapper___nC45e .blankInput___pEHsx { + border-radius: 2px; + border: 1px solid #DCDCDC; + height: 46px; + font-size: 14px; +} +.blankInputNumberWrapper___uEHb0 div[class~='ant-form-item-label'] { + line-height: 46px; +} +.blankInputNumberWrapper___uEHb0 input[class~='ant-input-number-input'] { + font-size: 14px; + height: 46px; +} +.addBtn___WR5ZI { + display: flex; + justify-content: center; + align-items: center; + width: 80px; + height: 32px; + background: #3061D0; + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px -1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 16px; + cursor: pointer; + font-weight: 400; + color: #FFFFFF; + font-size: 12px; +} +.blankIndex___x9Pny { + font-size: 14px; + font-weight: 400; + color: #666666; +} +.baseInputWrapper___eVsG7 div[class~='ant-form-item-label'] { + line-height: 56px; +} +.baseInputWrapper___eVsG7 input[class~='ant-input-number-input'] { + font-size: 14px; +} +div[class~='ant-collapse-borderless'] { + background-color: #fff; +} +.collapseWrapper___ZTysU { + margin-bottom: 30px; +} +.collapseWrapper___ZTysU div[class~='ant-collapse-item'] { + margin-bottom: 20px; + border: none; + box-shadow: 0px 2px 4px 0px #EAEEF4; +} +.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-header'] { + padding: 0 20px; + height: 64px; + background-color: #F6F7F8; + align-items: center; +} +.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-content'] { + background-color: #fff; +} +.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-content'] div[class~='ant-collapse-content-box'] { + padding: 20px 40px; +} +.collapseWrapper___ZTysU div[class~='ant-collapse-item-active'] div[class~='ant-collapse-header'] { + background-color: #eaeffa; +} +.collapseWrapper___ZTysU .panelHeader___QSN9g { + font-size: 14px; + font-weight: 400; + color: #000000; +} +.collapseWrapper___ZTysU .panelHeader___QSN9g span { + color: #666666; +} +.collapseWrapper___ZTysU .open___B6FU9 { + color: #165DFF; + transform: rotateZ(90deg); +} +.collapseWrapper___ZTysU .close___QX19r { + color: #82A8FF; +} +.hide___mn25n { + display: none; +} +/* 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]!./src/components/markdown-editor/index.less ***! + \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.markdown-editor-wrapper { + position: relative; +} +.markdown-editor-body { + display: flex; + flex-flow: row nowrap; + width: 100%; + height: calc(100% - 38px); + align-items: center; +} +.markdown-editor-body .codemirror-container { + flex: 1 0; + height: 100%; + width: 100%; + overflow: hidden; +} +.markdown-editor-body .CodeMirror-wrap { + padding-bottom: 15px; +} +.markdown-editor-body .preview-container { + flex: 1 0; + height: 100%; + margin: 10px 0px; + padding: 8px 8px 50px 8px; + background: #fff; + overflow-y: auto; + box-sizing: border-box; + border-left: 1px solid #ccc; + word-wrap: break-word; + word-break: break-word; + white-space: normal; + font-size: 16px; +} +.markdown-editor-container { + border: 1px solid #ccc; + overflow: hidden; + border-radius: 4px; + margin-bottom: 12px; + font-size: 16px; +} +.markdown-editor-container.full-screen { + position: fixed; + left: 0; + right: 0; + top: 0; + bottom: 0; + height: 100vh !important; + z-index: 100; +} +.markdown-editor-container.full-screen .preview-container > div { + padding-bottom: 180px !important; +} +.markdown-editor-container.full-screen .CodeMirror-sizer > div { + margin-bottom: 90px; +} +.markdown-editor-container.on-preview .codemirror-container, +.markdown-editor-container.on-preview .preview-container { + width: 50%; +} +.mini .markdown-editor-body { + height: calc(100% - 28px); +} +.flex-end { + justify-content: flex-end; +} +.my-codemirror-container { + border: 1px solid #ccc; + width: 100%; + margin-bottom: 24px; +} +.markdown-tip { + color: #cdcdcd; + font-size: 12px; + position: absolute; + right: 0; + bottom: -28px; + margin-bottom: 7px; +} +/* PADDING */ +.CodeMirror-lines { + padding: 4px 0; + /* Vertical padding around content */ +} +.CodeMirror pre.CodeMirror-line, +.CodeMirror pre.CodeMirror-line-like { + padding: 0 4px; + /* Horizontal padding of content */ +} +.CodeMirror-scrollbar-filler, +.CodeMirror-gutter-filler { + background-color: white; + /* The little square between H and V scrollbars */ +} +/* GUTTER */ +.CodeMirror-gutters { + border-right: 1px solid #ddd; + background-color: #f7f7f7; + white-space: nowrap; +} +.CodeMirror-linenumber { + padding: 0 3px 0 5px; + min-width: 20px; + text-align: right; + color: #999; + white-space: nowrap; +} +.CodeMirror-guttermarker { + color: black; +} +.CodeMirror-guttermarker-subtle { + color: #999; +} +/* CURSOR */ +.CodeMirror-cursor { + border-left: 1px solid black; + border-right: none; + width: 0; +} +/* Shown when moving in bi-directional text */ +.CodeMirror div.CodeMirror-secondarycursor { + border-left: 1px solid silver; +} +.cm-fat-cursor .CodeMirror-cursor { + width: auto; + border: 0 !important; + background: #7e7; +} +.cm-fat-cursor div.CodeMirror-cursors { + z-index: 1; +} +.cm-fat-cursor-mark { + background-color: rgba(20, 255, 20, 0.5); + animation: blink 1.06s steps(1) infinite; +} +.cm-animate-fat-cursor { + width: auto; + border: 0; + animation: blink 1.06s steps(1) infinite; + background-color: #7e7; +} +@keyframes blink { + 50% { + background-color: transparent; + } +} +.cm-tab { + display: inline-block; + text-decoration: inherit; +} +.CodeMirror-rulers { + position: absolute; + left: 0; + right: 0; + top: -50px; + bottom: 0; + overflow: hidden; +} +.CodeMirror-ruler { + border-left: 1px solid #ccc; + top: 0; + bottom: 0; + position: absolute; +} +/* DEFAULT THEME */ +.cm-s-default .cm-header { + color: blue; +} +.cm-s-default .cm-quote { + color: #090; +} +.cm-negative { + color: #d44; +} +.cm-positive { + color: #292; +} +.cm-header, +.cm-strong { + font-weight: bold; +} +.cm-em { + font-style: italic; +} +.cm-link { + text-decoration: underline; +} +.cm-strikethrough { + text-decoration: line-through; +} +.cm-s-default .cm-keyword { + color: #708; +} +.cm-s-default .cm-atom { + color: #219; +} +.cm-s-default .cm-number { + color: #164; +} +.cm-s-default .cm-def { + color: #00f; +} +.cm-s-default .cm-variable-2 { + color: #05a; +} +.cm-s-default .cm-variable-3, +.cm-s-default .cm-type { + color: #085; +} +.cm-s-default .cm-comment { + color: #a50; +} +.cm-s-default .cm-string { + color: #a11; +} +.cm-s-default .cm-string-2 { + color: #f50; +} +.cm-s-default .cm-meta { + color: #555; +} +.cm-s-default .cm-qualifier { + color: #555; +} +.cm-s-default .cm-builtin { + color: #30a; +} +.cm-s-default .cm-bracket { + color: #997; +} +.cm-s-default .cm-tag { + color: #170; +} +.cm-s-default .cm-attribute { + color: #00c; +} +.cm-s-default .cm-hr { + color: #999; +} +.cm-s-default .cm-link { + color: #00c; +} +.cm-s-default .cm-error { + color: #f00; +} +.cm-invalidchar { + color: #f00; +} +.CodeMirror-composing { + border-bottom: 2px solid; +} +/* Default styles for common addons */ +div.CodeMirror span.CodeMirror-matchingbracket { + color: #0b0; +} +div.CodeMirror span.CodeMirror-nonmatchingbracket { + color: #a22; +} +.CodeMirror-matchingtag { + background: rgba(255, 150, 0, 0.3); +} +.CodeMirror-activeline-background { + background: #e8f2ff; +} +/* STOP */ +/* The rest of this file contains styles related to the mechanics of + the editor. You probably shouldn't touch them. */ +.CodeMirror { + position: relative; + overflow: hidden; + background: white; +} +.CodeMirror-scroll { + overflow: scroll !important; + /* Things will break if this is overridden */ + /* 50px is the magic margin used to hide the element's real scrollbars */ + /* See overflow: hidden in .CodeMirror */ + margin-bottom: -50px; + margin-right: -50px; + padding-bottom: 50px; + height: 100%; + outline: none; + /* Prevent dragging from highlighting the element */ + position: relative; +} +.CodeMirror-sizer { + position: relative; + border-right: 50px solid transparent; +} +/* The fake, visible scrollbars. Used to force redraw during scrolling + before actual scrolling happens, thus preventing shaking and + flickering artifacts. */ +.CodeMirror-vscrollbar, +.CodeMirror-hscrollbar, +.CodeMirror-scrollbar-filler, +.CodeMirror-gutter-filler { + position: absolute; + z-index: 6; + display: none; +} +.CodeMirror-vscrollbar { + right: 0; + top: 0; + overflow-x: hidden; + overflow-y: scroll; +} +.CodeMirror-hscrollbar { + bottom: 0; + left: 0; + overflow-y: hidden; + overflow-x: scroll; +} +.CodeMirror-scrollbar-filler { + right: 0; + bottom: 0; +} +.CodeMirror-gutter-filler { + left: 0; + bottom: 0; +} +.CodeMirror-gutters { + position: absolute; + left: 0; + top: 0; + min-height: 100%; + z-index: 3; +} +.CodeMirror-gutter { + white-space: normal; + height: 100%; + display: inline-block; + vertical-align: top; + margin-bottom: -50px; +} +.CodeMirror-gutter-wrapper { + position: absolute; + z-index: 4; + background: none !important; + border: none !important; +} +.CodeMirror-gutter-background { + position: absolute; + top: 0; + bottom: 0; + z-index: 4; +} +.CodeMirror-gutter-elt { + position: absolute; + cursor: default; + z-index: 4; +} +.CodeMirror-gutter-wrapper ::selection { + background-color: transparent; +} +.CodeMirror-gutter-wrapper ::-moz-selection { + background-color: transparent; +} +.CodeMirror-lines { + cursor: text; + min-height: 1px; + /* prevents collapsing before first draw */ +} +.CodeMirror pre.CodeMirror-line, +.CodeMirror pre.CodeMirror-line-like { + /* Reset some styles that the rest of the page might have set */ + border-radius: 0; + border-width: 0; + background: transparent; + font-family: inherit; + font-size: inherit; + margin: 0; + white-space: pre; + word-wrap: normal; + line-height: inherit; + color: inherit; + z-index: 2; + position: relative; + overflow: visible; + -webkit-tap-highlight-color: transparent; + -webkit-font-variant-ligatures: contextual; + font-feature-settings: "calt"; + font-variant-ligatures: contextual; +} +.CodeMirror-wrap pre.CodeMirror-line, +.CodeMirror-wrap pre.CodeMirror-line-like { + word-wrap: break-word; + white-space: pre-wrap; + word-break: normal; +} +.CodeMirror-linebackground { + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + z-index: 0; +} +.CodeMirror-linewidget { + position: relative; + z-index: 2; + padding: 0.1px; + /* Force widget margins to stay inside of the container */ +} +.CodeMirror-rtl pre { + direction: rtl; +} +.CodeMirror-code { + outline: none; +} +/* Force content-box sizing for the elements where we expect it */ +.CodeMirror-scroll, +.CodeMirror-sizer, +.CodeMirror-gutter, +.CodeMirror-gutters, +.CodeMirror-linenumber { + box-sizing: content-box; +} +.CodeMirror-measure { + position: absolute; + width: 100%; + height: 0; + overflow: hidden; + visibility: hidden; +} +.CodeMirror-cursor { + position: absolute; + pointer-events: none; +} +.CodeMirror-measure pre { + position: static; +} +div.CodeMirror-cursors { + visibility: hidden; + position: relative; + z-index: 3; +} +div.CodeMirror-dragcursors { + visibility: visible; +} +.CodeMirror-focused div.CodeMirror-cursors { + visibility: visible; +} +.CodeMirror-selected { + background: #d9d9d9; +} +.CodeMirror-focused .CodeMirror-selected { + background: #d7d4f0; +} +.CodeMirror-crosshair { + cursor: crosshair; +} +.CodeMirror-line::selection, +.CodeMirror-line > span::selection, +.CodeMirror-line > span > span::selection { + background: #d7d4f0; +} +.CodeMirror-line::-moz-selection, +.CodeMirror-line > span::-moz-selection, +.CodeMirror-line > span > span::-moz-selection { + background: #d7d4f0; +} +.cm-searching { + background-color: #ffa; + background-color: rgba(255, 255, 0, 0.4); +} +/* Used to force a border model for a node */ +.cm-force-border { + padding-right: 0.1px; +} +@media print { + /* Hide the cursor when printing */ + .CodeMirror div.CodeMirror-cursors { + visibility: hidden; + } +} +/* See issue #2901 */ +.cm-tab-wrap-hack:after { + content: ''; +} +/* Help users use markselection to safely style text background */ +span.CodeMirror-selectedtext { + background: none; +} +.CodeMirror-sizer { + padding-top: 10px; + padding-bottom: 10px !important; +} +.CodeMirror-empty.CodeMirror-focused { + outline: none; +} +.CodeMirror pre.CodeMirror-placeholder { + color: #999; +} +.CodeMirror { + position: relative; + overflow: hidden; + background: white; + word-break: break-word; +} +.CodeMirror pre.CodeMirror-line, +.CodeMirror pre.CodeMirror-line-like { + word-wrap: break-word; + word-break: break-word; + white-space: pre-wrap; + line-height: 1.6; +} +/* 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/PreviewAll/index.less?modules ***! + \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.wrp___dq7YK { + display: flex; + justify-content: center; + align-items: center; + position: fixed; + width: 100%; + height: 100%; + left: 0; + top: 0; + z-index: 108; +} +.wrp___dq7YK.bgBlack___ARIUV { + background: rgba(0, 0, 0, 0.5); +} +.wrp___dq7YK img, +.wrp___dq7YK video { + max-width: 100%; + max-height: 80%; + text-align: center; +} +.wrp___dq7YK iframe { + width: 100%; + height: 100%; + position: absolute; + left: 0; + top: 0; + background: #fff; + border: none; +} +.monaco___VnZC3 { + position: absolute; + height: 100%; + width: 100%; +} +.darkBlue___UprA9 * { + font-size: 14px; +} +.darkBlue___UprA9 [class~='margin'], +.darkBlue___UprA9 [class~='monaco-editor-background'] { + background: #0a0e2d !important; +} +.darkBlue___UprA9 [class~='line-numbers'] { + color: white !important; +} +.close___LKoWu { + position: absolute; + right: 40px; + top: 40px; + z-index: 10; + display: flex; +} +.close___LKoWu > span { + background: #4a4a4a; + color: #fff; + width: 40px; + height: 40px; + border-radius: 4px; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + margin-left: 10px; +} +.embed___hvpEJ { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; +} +/* 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[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/components/monaco-editor/index.css ***! + \*******************************************************************************************************************************************************************************************************************************************/ +.my-monaco-editor div, +.my-diff-editor div { + font-size: inherit; +} + +.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 { + 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 ***! + \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.markdown-toolbar-container { + display: flex; + flex-flow: row wrap; + align-items: center; + padding: 0 5px; + margin: 0; + position: relative; + list-style: none; + background: #fff; + border-bottom: 1px solid #ccc; + box-sizing: border-box; + line-height: 20px; + width: 100%; + min-height: 30px; +} +.markdown-toolbar-container .fill-tip { + cursor: pointer; + font-size: 12px; + display: inline-block; + padding: 5px; + border: 1px solid #E99237; + border-radius: 5px; + box-sizing: border-box; + line-height: 16px; + height: auto; + color: #A65500; + background-color: #FFF1E2; + position: relative; + margin-left: 10px; +} +.markdown-toolbar-container .fill-tip::before { + content: ' '; + width: 0; + height: 0; + border-top: 6px solid transparent; + border-bottom: 6px solid transparent; + border-right: 6px solid #FFF1E2; + position: absolute; + left: -6px; + top: 6px; + z-index: 10; +} +.markdown-toolbar-container .fill-tip::after { + content: ' '; + width: 0; + height: 0; + border-top: 6px solid transparent; + border-bottom: 6px solid transparent; + border-right: 6px solid #E99237; + position: absolute; + left: -7px; + top: 6px; +} +.markdown-toolbar-container li { + color: #666; + padding: 0 1px; + height: 100%; + display: flex; + height: 38px; + flex-flow: column nowrap; + justify-content: center; +} +.markdown-toolbar-container a, +.markdown-toolbar-container span { + display: block; +} +.markdown-toolbar-container a { + width: 28px; + color: #666; + cursor: pointer; + text-align: center; + font-size: 18px; +} +.markdown-toolbar-container .btn-null { + width: auto; + display: flex; + flex-flow: row nowrap; + align-items: center; +} +.markdown-toolbar-container .insert-blank { + color: #E99237; + font-size: 18px; +} +.markdown-toolbar-container span.v-line { + margin: 0 5px; + height: 65%; + border-right: 1px solid #ccc; +} +.mini .markdown-toolbar-container li { + height: 28px; +} +.editor-resize { + display: block; + width: 120px; + height: 4px; + left: 54%; + margin-top: 2px; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; + cursor: row-resize; + white-space: nowrap; + overflow: hidden; + text-transform: capitalize; + box-sizing: border-box; + margin: 0 auto; +} +.btn-full-screen { + position: absolute; + right: 5px; +} +/* 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[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/components/markdown-editor/css/iconfont.css ***! + \****************************************************************************************************************************************************************************************************************************************************/ +@font-face { + font-family: "md-iconfont"; + src: url(./static/iconfont.498a2e20.eot); + /* IE9 */ + src: url(./static/iconfont.498a2e20.eot#iefix) format('embedded-opentype'), + /* IE6-IE8 */ + url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAArkAAsAAAAAFGQAAAqUAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCFTgqYEJMCATYCJANMCygABCAFhG0HgUwb5hCjooZyUthkf4mpyEh3pV0O3eNzjDeMPcxWAACWBR8hkIIUVSIBAABgBAAACrx/wAkAfPHw39iv+2bmqzZUIt1PJ5FJeCMRibbSgsVNdRP+A23z391RKZiNY99ZzVmNklbCKpCtz0WxCnCVhUtkySLj37772YjcCVNhPk1OHZFC37UprJD/0ozsDfr3lrQ9Ja2fjpzpmcEJypq3QpVe3mEqOf/v+doc8Dx9AQTUAMH8r7l6h4jEycc0pD1SorTNT/f4+MQxO0wsRBKPkEy8VKiUQkiNRAgFe/ZbMVsJqPuMwq6/O48n0DSrO+To+fNnsFBwIlDuxls5WHgSlBjXUJdXFduW9T9hiXp6QK0GftDXx6ftOkkl4yc6PnvSg9sX5F9YZK7lf7DLU+CyExnbQCFelKr/MLbwbSKbKubEL8C8+KkUXjBVS7qLlkVFb9ncJpntxd2Xna/ekiQvSGwMutYjdpgXxBuyGejDtFUlNc1R+S9PV0tPERo6BpxAVHGyfbR8yxuCF0QLoQ9eUCDzArVfFA0EogJBSEd1B1QDFQ2oCSoLUAWUClAdlA5QF5QeUAvUMoTQ49UNKkRJAAUoG6AGqLsIocNbZwgD8P5WaYiTI2ObVWDfIP8FUH4B6GfCk1BkoQkNRVUCH5pC4eygwLuuu+XmIXB2jvFmcAXLmYJqni3c1sPfw8QoEHgwJsKwODyKoOr8CI/D4QnXuLpRnSqZzvUuVSLdXrMmWVlh7pdqFWyeZ6zbaj5Ea9VLbFFqJyuBbiHz/aXdwxv1o+qp6jZLs1AoqRHINuoHKJHgGlMq1FfO6n7nwbByXhAmPX0mB8QGO11d2a6eq73I/Or36dQNtU+OwzR+ZOhIvG9PavecX/p9136p84XxwOvWiBPqlOFByvvvoYHx+0JjX16+64EsGBw0NqsGsL2dB1a3LWieWdtgu+WlDNp1MF9ltnZPtbPEY8rCiCkoSnZWNZgOJAAl+ocR4Jr4TUSwy+pyq13sImw2Fj1QBDqoHIWVps9Oe6/70Jfl40V7rnnTFmeGL+2vXqcfP4VVab9hukZcxUCnDA32Jtjd74Pq5fqv/DUTv8a31K6dFFOXnYveQGKctVFs8p4EALG+V11C2k2eplEv6t7hrB6No5sL92F7AoDl8P79bJMbOAhN9S6f7YaoS6zTe9h2X22CMIMRuZ79KYSPUz0yAEJ8rmdkLSCsDbKUZm/XaCgZ/3VkwnSMp/9a/65inE4Uu2wpyvFCFYvarGxSdRFKJeNT4ujk1MPfe6Bfa1ePW1WWCVy3bmr1ko7JRynl544qLhwru3hEfhUBCxEIWwnsFpJobe+0dMS615o7jFByxzl6MRW7yD3AFsV0zZqSm1WJkK0FPjJifKsACpFsbVi3qVmD1bvqe9PTYcIIhActzTk/QMnRVdY0Pb7j2XG36f9tN8ut1oJNWexSlW9qSnbtoj2Ard40hheK/stt/Ut2NZuOWH0LFR+pyhrW/Vxd1qxBZumxWhaUbCWixxf57PaZp/zogTpeVQvYYzYAIWZjZfY6MnRB4WtX8Aed+pB7/b920mRPncmHsN1D1a0tBKlHMLW3enfGi7YkG8vfl/elLiUsZCidC5YNWzGlcQO4+sZRlCD0gOaxhQuu5niOdslx9TOub171Par2oocFG4Lp6Efmzzdh8x4Fmt4mtuL9IqxYM+Ww9DDlA5vzL9RB+0Cnf5QfkjxvFh0Ku4SFzC9xSN7TGR9dDnc77NLX2BcsxR5+++YIORTi+PXrvnhD6AZxIVtIpBJbJBafL5XKCMLFsbeeYvQwsW3yr18PRB2SDrRQvBH+Gz0sYA7hLhRtkTDn2PMl/Hr3WF2tQ427l4pUI6p77tAqMvhyjeI2X55BNI96ULb6taXwatu97E+KgDtTZr3ZmPRlSMDqgBUpYRjf7nxyxUYLPcLf8/goevBIapk4t6AXcyBfkRW7zEmZM4DBml3Hd+uXLkxnC0og1FvPgqhH9w7Gx2ZVG8NnzHROmMuTfZTxxiU6r9tenVmYoC7PjMYMbn3ciwIq5X7d0luk6eUBmmkpD2OVcT2khWWhUf48X6daKAACJ1QMnKGijbLmjgGJxOJh0etlsihEQZaLWeHhcZ6Qpy0BYgwnlkfHRS83RuUx2vVrddavPzeL2UjMzhXIDzlv4wpngWYETXAQTxzbwZMJtotbI/6nGtXvUt3DfgUhXHdJfxXbgTlYk5iXtCboggWuk4QGQUuap1DGQ/jL3SjM/aGRVn4x+57YwSaYl5hUwYGyXTNRJMgLqHcRVSEtRXJrUenECVrthIm6Jp2hybBzZ2Aqn3sjR1ahzc4WBlZBr5CqspB5g+tCFuVky4pKrUXy50ylRVZ5UbYD6mIPbNY0aXJyIC5QevaqkXue2+Zznuqd5U7qWmd1OOQ8+RUaLa7V4JoKxtQYP37AP8Rq6O/2GaPk0/XjPIKEsI4FkYN50bGZeSPH5cUkxF6MrBzA8OErS+uGfeN0hu/al9DB82E3DBQkDkyExEAkSDxZtF88KSIowojtR4cW2h9YHkRrg4URLh63c1sgZtDws9MLKG2UcSnTz+OlSxDDszwVkDJP0QvX6GjwSWYVeVOG9O6N6FjZWYBGzmKp8rw8KlFR4XTdw8Ko2tvAmLrB6NJ5rIHXVsx509enr2J52LGDiBwKRLrSeRWD721sVqUYVNuXzAvODPp3at2cYY3DJeb8udMPDz4sqDhlkW94SGlunIZ/WOLLCpszsK7GPypJL5XLpfokwCEtvfpI0RGZ7G7RXZJkVY8dOzjgPMvBkh/W9cPNQuGEic+XLYO4jMPr1ik7mxf//sz0Vl+z2QNLwPGr2MaIq/iQZ3iiyFLysoJUx7hBvXVEhWRhQai0ksJtOOvSxyixBtNubwhcuzfC9qpSrsxhzHqYBeeFYRT5EADZ7n9sNLGWuoapWKMrCDaWYcjB6BPgRuweJZFFgSKxcBGMACAn+o0NB8ueN2FS1vKAnbLu5AIskPURO4ahfGPhPAwn/wJKQY+T/5dtjuLHy0DTIUFI9i7LQeme1K11/JRvDPZ/nIy7ezlLKI38Sxry5QADiqsRsC+BVIhB/sre0mOiiPIUaT1TnSEkGd8MBOVpgfzfKyqZI+rKVDg7oSkGsR/RDd2vn56kFu/G6IkDkpoZkNUto8VyG1S07ICqul3QtCV355aRQcaiNLBpAgOhbxtIuv7hWWXZiRdYOkDF1DusCscZNJ3EzT5bVl+uHggkgxb7q/AKs5HJvDLLf4E9RkkH6Wm1P6DiMYuubr8FL5CBytignOyW2QhDmMQzWwdiRNETHkBx7ZDf75rG3DasFabByiECJDYCa0Kja/SeFJSZ6dkq8PlfgHUUSRTT7Cv6H0AKP3chUriIFOgLmVM125aqg51YW0MOCkNo2QQli845KkAUuUgYoF7qACisps+R3dvpceiuNS1Z10+n5U9afC3yrUdT5ChRiWrUoh6Nv2UXakcnutGL/sHh0THarSOfwxzy5D2yhYlCDTPPMno12WPU894rPhJMk8/HskLSQFX0hScxi8EgpWmfvDlm5UFAe56y3EcYl2MawxWWGrMqURY3m3qsoNjS+AhVRfGDAQAAAA==) format('woff2'), + url(./static/iconfont.09806494.woff) format('woff'), + url(./static/iconfont.f5a4e17c.ttf) format('truetype'), + /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url(./static/iconfont.c0c6fa27.svg#iconfont) format('svg'); + /* iOS 4.1- */ +} + +.md-iconfont { + font-family: "md-iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-shrink:before { + content: "\e728"; +} + +.icon-enlarge:before { + content: "\e623"; +} + +.icon-code:before { + content: "\e602"; +} + +.icon-italic:before { + content: "\e718"; +} + +.icon-bold:before { + content: "\e644"; +} + +.icon-picture:before { + content: "\e606"; +} + +.icon-minus:before { + content: "\e62c"; +} + +.icon-order-list:before { + content: "\e655"; +} + +.icon-link:before { + content: "\e7d4"; +} + +.icon-formula:before { + content: "\e633"; +} + +.icon-unorder-list:before { + content: "\e668"; +} + +.icon-edit:before { + content: "\e603"; +} + +.icon-table:before { + content: "\e7db"; +} + +.icon-sum:before { + content: "\e667"; +} + +.icon-eye:before { + content: "\e69f"; +} + +.icon-eye-slash:before { + content: "\e601"; +} + +.icon-eraser:before { + content: "\e8cd"; +} + +.icon-file-code:before { + content: "\e9ec"; +} +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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/upload-image/index.less ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.upload-button { + width: 120px; + height: 32px; + display: block; + position: relative; + color: #0152d9; +} +.upload-button input { + opacity: 0; + width: 160px; + height: 32px; + position: absolute; + top: 0; + left: 0; + z-index: 1; +} +/* 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/EditPotin/components/Saveitem.less?modules ***! + \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___ljmk3 { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___Fy45C { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___SoC1C { + align-items: center; + box-align: center; +} +.flex_box_center_end___MumBX { + 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___cutpt { + flex-direction: column; + box-orient: block-axis; +} +.warp___w1JUC .normalWrap___pEIzs { + padding: 32px 0 0 38px; +} +.warp___w1JUC .redio___I6tXM { + display: flex; + align-items: center; + margin-bottom: 25px; +} +.warp___w1JUC .redio___I6tXM .redioitem___cS4Gp { + width: 14px; + min-width: 14px; + height: 14px; + background: #F5F5F5; + border-radius: 7px; + border: 1px solid #D9D9D9; + margin-right: 10px; +} +.warp___w1JUC .redio___I6tXM .redioitemyes___JBDmk { + font-size: 14px; + color: #37AD83; + margin-right: 10px; +} +.warp___w1JUC .redio___I6tXM .title___XAohQ { + color: #000000; + font-size: 16px; +} +.warp___w1JUC .redio___I6tXM .titleyes____bNQk { + color: #37AD83; + font-size: 16px; +} +.warp___w1JUC .redio___I6tXM .yestag___zQnb1 { + width: 60px; + height: 20px; + color: #37AD83; + text-align: center; + margin-left: 16px; + line-height: 20px; + min-width: 60px; + font-size: 12px; + background: #EBF6F2; +} +.warp___w1JUC .checkbox___MHadU { + display: flex; + align-items: center; + margin-bottom: 25px; +} +.warp___w1JUC .checkbox___MHadU .checkboxitem___KX7mB { + width: 14px; + height: 14px; + min-width: 14px; + background: #F5F5F5; + border-radius: 2px; + margin-right: 10px; + border: 1px solid #D9D9D9; +} +.warp___w1JUC .checkbox___MHadU .checkboxitemyes___MpOWf { + font-size: 14px; + color: #37AD83; + margin-right: 10px; +} +.warp___w1JUC .checkbox___MHadU .title___XAohQ { + color: #000000; + font-size: 16px; +} +.warp___w1JUC .checkbox___MHadU .titleyes____bNQk { + color: #37AD83; + font-size: 16px; +} +.warp___w1JUC .checkbox___MHadU .yestag___zQnb1 { + width: 60px; + min-width: 60px; + height: 20px; + color: #37AD83; + text-align: center; + margin-left: 16px; + line-height: 20px; + font-size: 12px; + background: #EBF6F2; +} +.warp___w1JUC .bottom___FkHfO { + margin-top: 40px; + background: #F6F7F9; + padding: 20px; +} +.warp___w1JUC .bottom___FkHfO .bottomitem___AS0Qp { + font-size: 16px; + display: flex; + align-items: center; +} +.warp___w1JUC .bottom___FkHfO .bottomitem___AS0Qp .left___U23z1 { + color: #666666; + text-align: end; + width: 56px; + min-width: 48px; +} +.warp___w1JUC .bottom___FkHfO .bottomitem___AS0Qp .right___yJVEk { + color: #000000; + margin-left: 10px; +} +.warp___w1JUC .completion___Bu5G6 { + padding-top: 32px; +} +.warp___w1JUC .completion___Bu5G6 .title___XAohQ { + width: 70px; + height: 46px; + min-width: 70px; + display: flex; + align-items: center; + color: #666666; +} +.warp___w1JUC .completion___Bu5G6 .content___LySPW .items___ETMq9 { + border: 1px solid #dcdcdc; + height: 46px; + border-radius: 2px; + color: #37AD83; + min-width: 102px; + display: flex; + justify-content: center; + align-items: center; + font-size: 14px; +} +.warp___w1JUC .simple___XX5t0 { + display: flex; + align-items: flex-start; + margin-top: 22px; +} +.warp___w1JUC .simple___XX5t0 .title___XAohQ { + color: #37AD83; + font-size: 14px; + white-space: nowrap; + margin-top: 2px; +} +.warp___w1JUC .simple___XX5t0 .content___LySPW { + margin-left: 10px; + font-size: 16px; +} +.warp___w1JUC .shixunWrapper___w6oIG { + margin-top: 22px; + padding: 20px 20px 0 20px; + border: 1px solid #DCDCDC; +} +.warp___w1JUC .shixunWrapper___w6oIG .shixun___ePWKn { + display: flex; + align-items: center; +} +.warp___w1JUC .shixunWrapper___w6oIG .shixun___ePWKn .score___nGh9k { + font-size: 16px; + color: #666666; + margin-right: 10px; +} +.warp___w1JUC .shixunWrapper___w6oIG .shixun___ePWKn .qtitle___DAMW1 { + -webkit-box-orient: vertical; + display: -webkit-box; + -webkit-line-clamp: 1; + overflow: hidden; + width: 80%; + color: #000000; + font-weight: 400; + font-size: 16px; +} +.warp___w1JUC .program___Mm1qL { + margin-top: 22px; + padding: 20px; + border: 1px solid #DCDCDC; +} +.warp___w1JUC .combination___Sw7S6 { + display: flex; + align-items: center; + margin-top: 20px; +} +.warp___w1JUC .combination___Sw7S6 .qtype___Xdl60 { + font-size: 16px; + color: #434D6C; + margin-right: 6px; +} +.warp___w1JUC .combination___Sw7S6 .score___nGh9k { + min-width: 50px; + height: 25px; + background: rgba(236, 236, 236, 0.6); + border-radius: 0px 0px 2px 0px; + text-align: center; + line-height: 25px; + color: #464F66; + margin-right: 10px; +} +.warp___w1JUC .combination___Sw7S6 .qtitle___DAMW1 { + -webkit-box-orient: vertical; + display: -webkit-box; + -webkit-line-clamp: 1; + overflow: hidden; + width: 80%; + color: #000000; + font-weight: 400; + font-size: 16px; +} +/* 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/Edit/components/UploadQuestions/index.less?modules ***! + \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.customModal___bVzUV .ant-modal-close-x { + width: 86px; + height: 66px; + line-height: 66px; +} +.customModal___bVzUV .ant-modal-content { + border-radius: 4px; + overflow: hidden; +} +.customModal___bVzUV .ant-modal-header { + padding: 22px 40px; +} +.customModal___bVzUV .ant-modal-header .ant-modal-title { + font-size: 16px; + font-weight: 500; +} +.customModal___bVzUV .ant-modal-footer { + padding: 30px 40px; + border: 0; +} +.customModal___bVzUV .ant-modal-footer button { + width: 60px; + height: 32px; + border-radius: 2px; +} +.customModal___bVzUV .ant-modal-footer button:first-child { + margin-right: 12px; + background: #fcfcfe; +} +.customModal___bVzUV .ant-modal-body { + max-height: 500px; + overflow: auto; + padding: 18px 40px 30px 40px; +} +.customModal___bVzUV .content___oKhZq aside { + display: flex; +} +.customModal___bVzUV .content___oKhZq .upload___nPxEL { + margin-top: 20px; + width: 108px; + height: 32px; + border-radius: 2px; + border: none; + background: #3061D0; + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + font-size: 14px; + font-weight: 400; + color: #FFFFFF; +} +.customModal___bVzUV ul { + padding-left: 18px; +} +.customModal___bVzUV .infoText___gZEJF { + color: #464F66; + font-size: 12px; + margin-bottom: 8px; +} +.customModal___bVzUV .okBtn___CVo2A { + background-color: #3061D0; + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); +} +.customModal___bVzUV .fileList___tauGN { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 14px; +} +.customModal___bVzUV .fileList___tauGN .fileName___T_8JX { + font-size: 14px; + font-weight: 400; + color: #3061D0; +} +/* 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; } @@ -555,3 +2666,460 @@ /* 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/EditPotin/components/AddQuestionsModal/index.less?modules ***! + \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___kuaVT { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___exKHH { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___BzvkN { + align-items: center; + box-align: center; +} +.flex_box_center_end___Ss2DJ { + 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___p1LEr { + flex-direction: column; + box-orient: block-axis; +} +.scoremodal___upTFR [class~='ant-modal-body'] { + padding: 30px 40px; +} +.scoremodal___upTFR .title___hFasb { + color: #000000; + font-size: 16px; + font-weight: 500; + display: flex; + width: 100%; +} +.scoremodal___upTFR .score___DXG3o { + margin-left: 305px; + color: #3061D0; + text-align: end; +} +.scoremodal___upTFR .close___kEIiB { + font-size: 15px; + cursor: pointer; + color: #979797; +} +.scoremodal___upTFR .content___Mco8L { + display: flex; + justify-content: space-between; + margin-top: 40px; + color: #5F6368; + font-size: 14px; + margin-bottom: 24px; +} +.scoremodal___upTFR .content___Mco8L span { + display: flex; + flex: 1 1; +} +.scoremodal___upTFR .content___Mco8L span:nth-child(4) { + display: flex; + min-width: 160px; + align-items: center; +} +.scoremodal___upTFR .items___j98jk { + display: flex; + justify-content: space-between; + align-items: center; + color: #5F6368; + font-size: 14px; + margin-bottom: 12px; +} +.scoremodal___upTFR .items___j98jk span { + display: flex; + flex: 1 1; + color: #000000; + font-weight: 400; +} +.scoremodal___upTFR .items___j98jk span:nth-child(4) { + display: flex; + min-width: 160px; + align-items: center; + color: #9096A3; +} +.scoremodal___upTFR .bottom___A1n1C { + width: 100%; + text-align: end; +} +.scoremodal___upTFR .bottom___A1n1C .yes___P1zzb { + width: 60px; + height: 32px; + background: #3061D0; + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + font-weight: 400; + color: #FFFFFF; +} +.scoremodal___upTFR .bottom___A1n1C .no___xZqXd { + margin-right: 20px; + width: 60px; + height: 32px; + background: #F8F9FC; + border-radius: 2px; + opacity: 0.5; + border: 1px solid #C3CFE0; + font-weight: 400; + color: #464F66; + line-height: 14px; +} +.scoremodal___upTFR .titlecount___fqA9P { + width: 41px; + height: 22px; + background: #FA6400; + border-radius: 15px; + margin-left: 5px; + color: #FFFFFF; + display: inline-flex; + justify-content: center; +} +.scoremodal___upTFR .add___MqV0R { + font-weight: 400; + color: #FA6400; + line-height: 14px; + font-size: 14px; + position: absolute; + top: 2px; +} +.previewModal___uSiGS div[class~='ant-modal-header'] { + padding-top: 30px; + padding-left: 40px; + padding-bottom: 0; +} +.previewModal___uSiGS div[class~='ant-modal-body'] { + padding: 30px 40px; +} +.previewModal___uSiGS button[class~='ant-modal-close'] { + top: 17px; + right: 16px; + transform: scale(1.2); +} +/* 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/EditPotin/components/AddQuestionsModal/Saveitem.less?modules ***! + \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___nnwwA { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___cRir9 { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___FqTZ8 { + align-items: center; + box-align: center; +} +.flex_box_center_end___WU5_v { + 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___QZFa1 { + flex-direction: column; + box-orient: block-axis; +} +.warp___aLZwN { + max-height: 552px; + overflow: auto; +} +.warp___aLZwN .mainPart___OdEo7 { + padding-left: 38px; +} +.warp___aLZwN .shixunbutton___Eoa1i { + font-size: 14px; + color: #3061D0; + margin-right: 20px; + font-weight: 400; + background: #3061D0; + width: 108px; + height: 32px; + color: #FFFFFF; + display: flex; + align-items: center; + justify-content: center; + line-height: 32px; + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 16px; +} +.warp___aLZwN .shixunbutton___Eoa1i i { + font-size: 12px; +} +.warp___aLZwN .redio___LJ4js { + display: flex; + flex-wrap: nowrap; + align-items: center; + margin-bottom: 25px; +} +.warp___aLZwN .redio___LJ4js .redioitem___YicCC { + width: 14px; + height: 14px; + min-width: 14px; + background: #F5F5F5; + border-radius: 7px; + border: 1px solid #D9D9D9; + margin-right: 10px; +} +.warp___aLZwN .redio___LJ4js .redioitemyes___lX4Nr { + font-size: 14px; + color: #37AD83; + margin-right: 10px; +} +.warp___aLZwN .redio___LJ4js .title___pi1jH { + color: #000000; + font-size: 16px; +} +.warp___aLZwN .redio___LJ4js .titleyes___jiEh7 { + color: #37AD83; + font-size: 16px; +} +.warp___aLZwN .redio___LJ4js .yestag___DLWoP { + width: 60px; + min-width: 60px; + height: 20px; + color: #37AD83; + text-align: center; + margin-left: 16px; + line-height: 20px; + font-size: 12px; + background: #EBF6F2; +} +.warp___aLZwN .qcount___U9kkL { + display: flex; + align-items: center; + margin-bottom: 10px; +} +.warp___aLZwN .qcount___U9kkL .score___vLK4B { + width: 44px; + height: 20px; + background: rgba(236, 236, 236, 0.6); + border-radius: 0px 0px 2px 0px; + text-align: center; + color: #464F66; + margin-right: 5px; +} +.warp___aLZwN .qcount___U9kkL .qtitle___kyg0t { + width: 100%; + color: #000000; +} +.warp___aLZwN .checkbox___vjiBw { + display: flex; + align-items: flex-start; + margin-bottom: 25px; +} +.warp___aLZwN .checkbox___vjiBw .checkboxitem___HW3CP { + width: 14px; + height: 14px; + min-width: 14px; + margin-top: 6px; + background: #F5F5F5; + border-radius: 2px; + margin-right: 10px; + border: 1px solid #D9D9D9; +} +.warp___aLZwN .checkbox___vjiBw .checkboxitemyes___kpjek { + font-size: 14px; + color: #37AD83; + margin-right: 10px; + margin-top: 6px; +} +.warp___aLZwN .checkbox___vjiBw .title___pi1jH { + color: #000000; + font-size: 16px; +} +.warp___aLZwN .checkbox___vjiBw .titleyes___jiEh7 { + color: #37AD83; + font-size: 16px; +} +.warp___aLZwN .checkbox___vjiBw .yestag___DLWoP { + width: 60px; + height: 20px; + min-width: 60px; + color: #37AD83; + text-align: center; + margin-left: 16px; + line-height: 20px; + font-size: 12px; + background: #EBF6F2; +} +.warp___aLZwN .bottom___uG8Zq { + margin-top: 55px; + background-color: #F6F7F9; + padding: 20px 38px; +} +.warp___aLZwN .bottom___uG8Zq .bottomitem___TnJQQ { + margin-bottom: 25px; + display: flex; + align-items: flex-start; +} +.warp___aLZwN .bottom___uG8Zq .bottomitem___TnJQQ .left___M8WXX { + color: #666666; + text-align: end; + width: 56px; + min-width: 48px; + font-size: 14px; +} +.warp___aLZwN .bottom___uG8Zq .bottomitem___TnJQQ .right____dkCI { + color: #000000; + margin-left: 10px; + font-size: 14px; +} +.warp___aLZwN .completion___H6RmA .title___pi1jH { + width: 70px; + height: 46px; + min-width: 70px; + display: flex; + align-items: center; + justify-content: center; +} +.warp___aLZwN .completion___H6RmA .content___a2hGC { + display: flex; + align-items: center; + justify-content: flex-start; + flex-wrap: wrap; +} +.warp___aLZwN .completion___H6RmA .content___a2hGC .items___D8mLd { + padding: 14px 16px; + border: 1px solid #dcdcdc; + height: 46px; + border-radius: 2px; + margin-left: 20px; + color: #37AD83; + min-width: 102px; + display: inline-block; + font-size: 14px; + text-align: center; + margin-bottom: 20px; +} +.warp___aLZwN .simple___fQ0OS { + display: flex; + align-items: flex-start; +} +.warp___aLZwN .simple___fQ0OS .title___pi1jH { + color: #37AD83; + font-size: 14px; + margin-top: 2px; + min-width: 56px; +} +.warp___aLZwN .simple___fQ0OS .content___a2hGC { + margin-left: 10px; + font-size: 16px; +} +.warp___aLZwN .shixun___nB6Jk { + display: flex; + align-items: center; + margin-top: 20px; +} +.warp___aLZwN .shixun___nB6Jk .score___vLK4B { + 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; + margin-right: 10px; +} +.warp___aLZwN .shixun___nB6Jk .qtitle___kyg0t { + -webkit-box-orient: vertical; + display: -webkit-box; + -webkit-line-clamp: 1; + overflow: hidden; + width: 80%; + color: #000000; + font-weight: 400; + font-size: 16px; +} +.warp___aLZwN .combination___YrOdz { + display: flex; + align-items: center; + margin-top: 20px; +} +.warp___aLZwN .combination___YrOdz .score___vLK4B { + 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; + margin-right: 10px; +} +.warp___aLZwN .combination___YrOdz .qtitle___kyg0t { + -webkit-box-orient: vertical; + display: -webkit-box; + -webkit-line-clamp: 1; + overflow: hidden; + width: 80%; + color: #000000; + font-weight: 600; + font-size: 16px; +} +.warp___aLZwN .program___lG0JA { + display: flex; + align-items: flex-start; +} +.warp___aLZwN .program___lG0JA .title___pi1jH { + color: #37AD83; + font-size: 14px; + margin-top: 2px; + min-width: 56px; +} +.warp___aLZwN .program___lG0JA .content___a2hGC { + font-size: 16px; +} +/* 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 */ + diff --git a/p__Paperlibrary__EditPaper__index.async.js b/p__Paperlibrary__EditPaper__index.async.js deleted file mode 100644 index cca6684255..0000000000 --- a/p__Paperlibrary__EditPaper__index.async.js +++ /dev/null @@ -1,4196 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[733,8691,4977,60696],{ - -/***/ 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)); - -/***/ }), - -/***/ 60696: -/*!***************************************************************!*\ - !*** ./src/components/ReuseShixunModal/index.tsx + 1 modules ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ components_ReuseShixunModal; }, - "P": function() { return /* binding */ useReuseModal; } -}); - -// EXTERNAL MODULE: ./node_modules/antd/es/table/style/index.js + 1 modules -var style = __webpack_require__(71854); -// EXTERNAL MODULE: ./node_modules/antd/es/table/index.js + 58 modules -var table = __webpack_require__(67250); -// 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/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/@babel/runtime/helpers/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(70215); -var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/style/index.js + 1 modules -var modal_style = __webpack_require__(35611); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules -var modal = __webpack_require__(85402); -// EXTERNAL MODULE: ./node_modules/antd/es/radio/style/index.js + 1 modules -var radio_style = __webpack_require__(83822); -// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules -var es_radio = __webpack_require__(29924); -// 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/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); -// 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/form/style/index.js + 1 modules -var form_style = __webpack_require__(75627); -// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules -var es_form = __webpack_require__(51018); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./src/components/ReuseShixunModal/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var ReuseShixunModalmodules = ({"brief":"brief___LOzpE","contentTitle":"contentTitle___xkdcN","content":"content___Vtri0","tips":"tips___tuAtH","antdTable":"antdTable___s8T2N","tableCell":"tableCell___kN9Fw","antdModal":"antdModal___WVBk3","orangeColor":"orangeColor___ryB2u"}); -// EXTERNAL MODULE: ./src/service/shixuns.ts -var shixuns = __webpack_require__(56088); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/ReuseShixunModal/index.tsx - - - - - - - - - - - - - - - - -var _excluded = ["isImportMultipleCourse"]; - - - - - - -var StudentInfo = function StudentInfo(_ref) { - var studentNames = _ref.studentNames, - total = _ref.total; - var Map = ['', '一', '两', '三']; - return total > 3 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: ["\u8BFE\u5802\u5185\u6709", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: studentNames === null || studentNames === void 0 ? void 0 : studentNames.join('、') - }), "\u7B49", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: total - }), "\u540D\u5B66\u751F"] - }) : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: ["\u8BFE\u5802\u5185\u6709", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: studentNames === null || studentNames === void 0 ? void 0 : studentNames.join('、') - }), Map[total], "\u540D\u5B66\u751F"] - }); -}; - -//根据使用场景区分文案 -var generateBrief = function generateBrief(_ref2) { - var used = _ref2.used, - copy = _ref2.copy, - canNotCopy = _ref2.canNotCopy, - studentNames = _ref2.studentNames, - studentCount = _ref2.studentCount, - inPaper = _ref2.inPaper, - _ref2$position = _ref2.position, - position = _ref2$position === void 0 ? '' : _ref2$position; - var copyStatusDescribe = function copyStatusDescribe() { - if (copy > 0 && canNotCopy > 0) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: ["\u5176\u4E2D", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: copy - }), "\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: canNotCopy - }), "\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236"] - }); - } else if (copy > 0 && canNotCopy === 0) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: ["\u5176\u4E2D", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: copy - }), "\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236"] - }); - } else if (copy === 0 && canNotCopy > 0) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: ["\u5176\u4E2D", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: canNotCopy - }), "\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236"] - }); - } - }; - var currentPosition = position || (inPaper ? '试卷' : '课程'); - return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(StudentInfo, { - studentNames: studentNames, - total: studentCount - }), "\u5B66\u4E60\u8FC7", currentPosition, "\u4E2D\u7684", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: used - }), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"] - }); -}; - -//单个实训时的情况 -var ReuseSingleShixunModal = function ReuseSingleShixunModal(_ref3) { - var onCancel = _ref3.onCancel, - onOk = _ref3.onOk, - visible = _ref3.visible, - inPaper = _ref3.inPaper, - renderData = _ref3.renderData, - type = _ref3.type, - _ref3$isMultipleCours = _ref3.isMultipleCourse, - isMultipleCourse = _ref3$isMultipleCours === void 0 ? false : _ref3$isMultipleCours; - var _Form$useForm = es_form/* default.useForm */.Z.useForm(), - _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), - form = _Form$useForm2[0]; - var _useState = (0,react.useState)(1), - _useState2 = slicedToArray_default()(_useState, 2), - radioValue = _useState2[0], - setRadioValue = _useState2[1]; - var _useState3 = (0,react.useState)(false), - _useState4 = slicedToArray_default()(_useState3, 2), - confirmLoading = _useState4[0], - setConfirmLoading = _useState4[1]; - var canCopy = (0,react.useMemo)(function () { - return (renderData === null || renderData === void 0 ? void 0 : renderData.total_num) === 1 && (renderData === null || renderData === void 0 ? void 0 : renderData.can_copy_num) === 1; - }, [renderData]); - var courseDataList = (0,react.useMemo)(function () { - var _renderData$course_da; - return renderData === null || renderData === void 0 ? void 0 : (_renderData$course_da = renderData.course_data_list) === null || _renderData$course_da === void 0 ? void 0 : _renderData$course_da.filter(function (e) { - return e.is_show; - }); - }, [renderData]); - return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: canCopy ? /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { - centered: true, - closable: true, - open: visible, - destroyOnClose: true, - title: "\u63D0\u793A", - className: ReuseShixunModalmodules.antdModal, - width: 682, - confirmLoading: confirmLoading, - onCancel: onCancel, - onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var data, _renderData$course_da2, param; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - setConfirmLoading(true); - data = radioValue; - if (isMultipleCourse) { - param = objectSpread2_default()({}, form.getFieldsValue()); - data = renderData === null || renderData === void 0 ? void 0 : (_renderData$course_da2 = renderData.course_data_list) === null || _renderData$course_da2 === void 0 ? void 0 : _renderData$course_da2.map(function (e) { - if (param[e.id] !== undefined) { - return objectSpread2_default()(objectSpread2_default()({}, e), {}, { - is_copy: param[e.id] - }); - } - return e; - }); - } - _context.next = 5; - return onOk(data); - case 5: - setConfirmLoading(false); - case 6: - case "end": - return _context.stop(); - } - }, _callee); - })), - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.content, - style: { - marginBottom: 20 - }, - children: isMultipleCourse ? '检测到以下课堂已在教学课堂中使用,请问是否复制成新的实训发送至教学课堂中?' : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(StudentInfo, { - studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names, - total: renderData === null || renderData === void 0 ? void 0 : renderData.student_count - }), "\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"] - }) - }), isMultipleCourse ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { - form: form, - preserve: false, - children: courseDataList === null || courseDataList === void 0 ? void 0 : courseDataList.map(function (item) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h3", { - className: "ml15 mb5", - children: item.name - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: item.id, - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - className: ReuseShixunModalmodules.content, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - style: { - color: '#464f66' - }, - children: "\u590D\u5236\u5B9E\u8BAD" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - style: { - color: '#464f66' - }, - children: "\u4E0D\u590D\u5236\u5B9E\u8BAD" - })] - }) - })] - }, item.id); - }) - }) : /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - value: radioValue, - onChange: function onChange(e) { - return setRadioValue(e.target.value); - }, - className: ReuseShixunModalmodules.content, - style: { - marginBottom: 30 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - style: { - color: '#464f66' - }, - children: "\u590D\u5236" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - style: { - color: '#464f66' - }, - children: "\u4E0D\u590D\u5236" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.content, - style: { - marginBottom: 10 - }, - children: "* \u8BF4\u660E\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.content, - style: { - marginBottom: 20 - }, - children: "1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(ReuseShixunModalmodules.content, " ").concat(ReuseShixunModalmodules.orangeColor), - children: "2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002" - })] - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - centered: true, - closable: true, - destroyOnClose: true, - open: visible, - confirmLoading: confirmLoading, - title: "\u63D0\u793A", - width: 682, - onCancel: onCancel, - onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var data, _renderData$course_da3, param; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - setConfirmLoading(true); - data = 0; - if (isMultipleCourse) { - param = objectSpread2_default()({}, form.getFieldsValue()); - data = renderData === null || renderData === void 0 ? void 0 : (_renderData$course_da3 = renderData.course_data_list) === null || _renderData$course_da3 === void 0 ? void 0 : _renderData$course_da3.map(function (e) { - if (param[e.id] !== undefined) { - return objectSpread2_default()(objectSpread2_default()({}, e), {}, { - is_use: param[e.id] - }); - } - return e; - }); - } - _context2.next = 5; - return onOk(data); - case 5: - setConfirmLoading(false); - case 6: - case "end": - return _context2.stop(); - } - }, _callee2); - })), - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: ReuseShixunModalmodules.content, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(StudentInfo, { - studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names, - total: renderData === null || renderData === void 0 ? void 0 : renderData.student_count - }), "\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002", isMultipleCourse ? /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { - form: form, - preserve: false, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h3", { - children: "\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528" - }), courseDataList === null || courseDataList === void 0 ? void 0 : courseDataList.map(function (item) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h3", { - className: "ml15 mb5", - children: item.name - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: item.id, - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - className: ReuseShixunModalmodules.content, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - style: { - color: '#464f66' - }, - children: "\u7EE7\u7EED\u4F7F\u7528" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - style: { - color: '#464f66' - }, - children: "\u4E0D\u4F7F\u7528" - })] - }) - })] - }, item.id); - })] - }) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: ["\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ReuseShixunModalmodules.orangeColor, - children: "\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002" - }), "\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"] - })] - }) - }) - }); -}; -var useReuseModal = function useReuseModal() { - var _useState5 = (0,react.useState)(false), - _useState6 = slicedToArray_default()(_useState5, 2), - modalVisible = _useState6[0], - setModalVisible = _useState6[1]; - var _useState7 = (0,react.useState)(), - _useState8 = slicedToArray_default()(_useState7, 2), - renderData = _useState8[0], - setRenderData = _useState8[1]; - var closeModalFn = function closeModalFn() { - return setModalVisible(false); - }; - var showModal = /*#__PURE__*/function () { - var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(reqParams) { - var _reqParams$isImportMu, isImportMultipleCourse, param, res, _res$course_data_list, isModalVisible; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _reqParams$isImportMu = reqParams.isImportMultipleCourse, isImportMultipleCourse = _reqParams$isImportMu === void 0 ? false : _reqParams$isImportMu, param = objectWithoutProperties_default()(reqParams, _excluded); - _context3.next = 3; - return (0,shixuns/* checkShixunCopy */.Tr)(param); - case 3: - res = _context3.sent; - if (!('status' in res)) { - _context3.next = 6; - break; - } - return _context3.abrupt("return", false); - case 6: - if (!isImportMultipleCourse) { - _context3.next = 13; - break; - } - isModalVisible = res === null || res === void 0 ? void 0 : (_res$course_data_list = res.course_data_list) === null || _res$course_data_list === void 0 ? void 0 : _res$course_data_list.some(function (e) { - return e.is_show; - }); - if (!isModalVisible) { - _context3.next = 12; - break; - } - setRenderData(res); - setModalVisible(true); - return _context3.abrupt("return", true); - case 12: - return _context3.abrupt("return", res.course_data_list || []); - case 13: - if (!(res.student_count === 0)) { - _context3.next = 15; - break; - } - return _context3.abrupt("return", false); - case 15: - setRenderData(res); - setModalVisible(true); - return _context3.abrupt("return", true); - case 18: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return function showModal(_x) { - return _ref6.apply(this, arguments); - }; - }(); - return [modalVisible, closeModalFn, renderData, showModal]; -}; - -//多个实训时的情况 -var ReuseMultipleShixunModal = function ReuseMultipleShixunModal(props) { - var _Form$useForm3 = es_form/* default.useForm */.Z.useForm(), - _Form$useForm4 = slicedToArray_default()(_Form$useForm3, 1), - form = _Form$useForm4[0]; - var _useState9 = (0,react.useState)(false), - _useState10 = slicedToArray_default()(_useState9, 2), - confirmLoading = _useState10[0], - setConfirmLoading = _useState10[1]; - var onCancel = props.onCancel, - onOk = props.onOk, - visible = props.visible, - _props$inPaper = props.inPaper, - inPaper = _props$inPaper === void 0 ? false : _props$inPaper, - renderData = props.renderData, - type = props.type, - _props$isMultipleCour = props.isMultipleCourse, - isMultipleCourse = _props$isMultipleCour === void 0 ? false : _props$isMultipleCour, - position = props.position; - var reproducibleShixunColumns = (0,react.useMemo)(function () { - return inPaper ? [{ - title: '实践项目名称', - dataIndex: 'name', - width: 424, - align: 'center', - ellipsis: true, - className: ReuseShixunModalmodules.tableCell, - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/shixuns/".concat(record.identifier, "/challenges"), - target: "_blank", - children: text - }); - } - }, { - title: '是否复制', - dataIndex: 'is_copy', - align: 'center', - render: function render(value, record) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - children: "\u662F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - children: "\u5426" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], - hidden: true, - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - type: "hidden" - }) - })] - }); - } - }] : [{ - title: '实践项目名称', - dataIndex: 'name', - width: 424, - align: 'center', - ellipsis: true, - className: ReuseShixunModalmodules.tableCell, - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/shixuns/".concat(record.identifier, "/challenges"), - target: "_blank", - children: text - }); - } - }, { - title: '是否使用', - dataIndex: 'is_use', - align: 'center', - render: function render(value, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - children: "\u662F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - children: "\u5426" - })] - }) - }); - } - }, { - title: '是否复制', - dataIndex: 'is_copy', - align: 'center', - render: function render(value, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - children: "\u662F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - children: "\u5426" - })] - }) - }); - } - }]; - }, [inPaper]); - var irreproducibleShixunColumns = (0,react.useMemo)(function () { - return inPaper ? [{ - title: '实践项目名称', - dataIndex: 'name', - width: 424, - className: ReuseShixunModalmodules.tableCell, - align: 'center', - ellipsis: true, - render: function render(value, record) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/shixuns/".concat(record.identifier, "/challenges"), - target: "_blank", - children: value - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], - hidden: true, - initialValue: 0, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - type: "hidden" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], - hidden: true, - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - type: "hidden" - }) - })] - }); - } - }] : [{ - title: '实践项目名称', - dataIndex: 'name', - width: 424, - className: ReuseShixunModalmodules.tableCell, - ellipsis: true, - align: 'center', - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/shixuns/".concat(record.identifier, "/challenges"), - target: "_blank", - children: text - }); - } - }, { - title: '是否使用', - dataIndex: 'is_use', - align: 'center', - render: function render(value, record) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], - initialValue: 0, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 1, - children: "\u662F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { - value: 0, - children: "\u5426" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], - hidden: true, - initialValue: 0, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - type: "hidden" - }) - })] - }); - } - }]; - }, [inPaper]); - - //可以选择多个课堂的时候 - if (isMultipleCourse) { - var param = { - title: '课堂名称', - ellipsis: true, - dataIndex: 'course_name', - width: 190, - align: 'center', - className: ReuseShixunModalmodules.tableCell, - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/classrooms/".concat(record.course_id), - children: text - }); - } - }; - reproducibleShixunColumns = [param].concat(toConsumableArray_default()(reproducibleShixunColumns)); - irreproducibleShixunColumns = [param].concat(toConsumableArray_default()(irreproducibleShixunColumns)); - } - var dynamicBrief = (0,react.useMemo)(function () { - return generateBrief({ - used: renderData === null || renderData === void 0 ? void 0 : renderData.repeat_shixun_num, - copy: renderData === null || renderData === void 0 ? void 0 : renderData.can_copy_num, - canNotCopy: renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_num, - studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names, - studentCount: renderData === null || renderData === void 0 ? void 0 : renderData.student_count, - inPaper: inPaper, - position: position - }); - }, [renderData, inPaper, position]); - return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - title: "\u63D0\u793A", - centered: true, - open: visible, - confirmLoading: confirmLoading, - onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { - var formValues, ids; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - setConfirmLoading(true); - formValues = form.getFieldsValue(); - ids = Object.keys(formValues).map(function (key) { - return { - id: parseInt(key.split('_')[0]), - course_id: parseInt(key.split('_')[1]), - is_use: formValues[key].is_use, - is_copy: formValues[key].is_copy - }; - }); - _context4.next = 5; - return onOk(ids); - case 5: - setConfirmLoading(false); - case 6: - case "end": - return _context4.stop(); - } - }, _callee4); - })), - onCancel: onCancel, - width: 880, - okText: "\u786E\u8BA4", - className: ReuseShixunModalmodules.antdModal, - destroyOnClose: true, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { - form: form, - preserve: false, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.brief, - children: dynamicBrief - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginBottom: 30 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - marginBottom: 20 - }, - children: "* \u8BF4\u660E" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - marginBottom: 20 - }, - children: "1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.orangeColor, - children: "2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002" - })] - }), (renderData === null || renderData === void 0 ? void 0 : renderData.can_copy_num) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.contentTitle, - children: "\u652F\u6301\u590D\u5236\u7684\u9879\u76EE" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - columns: reproducibleShixunColumns, - className: ReuseShixunModalmodules.antdTable, - dataSource: renderData === null || renderData === void 0 ? void 0 : renderData.can_copy_list, - rowKey: type === 'subject' ? "stage_shixun_id" : 'id', - pagination: false, - scroll: { - y: 240 - }, - bordered: true - })] - }), (renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_num) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ReuseShixunModalmodules.contentTitle, - children: "\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - columns: irreproducibleShixunColumns, - className: ReuseShixunModalmodules.antdTable, - dataSource: renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_list, - rowKey: type === 'subject' ? "stage_shixun_id" : 'id', - pagination: false, - scroll: { - y: 200 - }, - bordered: true - })] - }), (renderData === null || renderData === void 0 ? void 0 : renderData.no_use_list.length) > 0 && (renderData === null || renderData === void 0 ? void 0 : renderData.no_use_list.map(function (record) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_copy'], - hidden: true, - initialValue: 0, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - type: "hidden" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: ["".concat(type === 'subject' ? record === null || record === void 0 ? void 0 : record.stage_shixun_id : record.shixun_course_id || record.id), 'is_use'], - hidden: true, - initialValue: 1, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - type: "hidden" - }) - })] - }, type === 'subject' ? record.stage_shixun_id : record.shixun_course_id || record.id); - }))] - }) - }); -}; -var ReuseShixunModal = function ReuseShixunModal(props) { - var modalType = props.modalType; - return modalType === 'multiple' ? /*#__PURE__*/(0,jsx_runtime.jsx)(ReuseMultipleShixunModal, objectSpread2_default()({}, props)) : /*#__PURE__*/(0,jsx_runtime.jsx)(ReuseSingleShixunModal, objectSpread2_default()({}, props)); -}; -/* harmony default export */ var components_ReuseShixunModal = (ReuseShixunModal); - -/***/ }), - -/***/ 8691: -/*!************************************************************!*\ - !*** ./src/components/monaco-editor/index.jsx + 3 modules ***! - \************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "SV": function() { return /* binding */ DiffEditor; }, - "ZP": function() { return /* binding */ monaco_editor; } -}); - -// UNUSED EXPORTS: getLanguageByMirrorName - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -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/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/@babel/runtime/helpers/createForOfIteratorHelper.js -var createForOfIteratorHelper = __webpack_require__(74704); -var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(70215); -var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); -// EXTERNAL MODULE: ./node_modules/react/index.js -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'] -}; -var javaLangage = { - quickKey: [{ - label: "main", - content: ['public static void main(String[] args) {', '\t$0', '}'].join('\n') - }, { - label: "System.out.println", - content: ['System.out.println($0)'].join('\n') - }, { - label: "System.out.print", - content: ['System.out.print($0)'].join('\n') - }], - keywords: ['abstract', 'continue', 'for', 'new', 'switch', 'assert', 'default', 'goto', 'package', 'synchronized', 'boolean', 'do', 'if', 'private', 'this', 'break', 'double', 'implements', 'protected', 'throw', 'byte', 'else', 'import', 'public', 'throws', 'case', 'enum', 'instanceof', 'return', 'transient', 'catch', 'extends', 'int', 'short', 'try', 'char', 'final', 'interface', 'static', 'void', 'class', 'finally', 'long', 'strictfp', 'volatile', 'const', 'float', 'native', 'super', 'while', 'true', 'false'] -}; -var cppLangage = { - keywords: ['abstract', 'amp', 'array', 'auto', 'bool', 'break', 'case', 'catch', 'char', 'class', 'const', 'constexpr', 'const_cast', 'continue', 'cpu', 'decltype', 'default', 'delegate', 'delete', 'do', 'double', 'dynamic_cast', 'each', 'else', 'enum', 'event', 'explicit', 'export', 'extern', 'false', 'final', 'finally', 'float', 'friend', 'gcnew', 'generic', 'goto', 'in', 'initonly', 'inline', 'int', 'interface', 'interior_ptr', 'internal', 'literal', 'long', 'mutable', 'namespace', 'new', 'noexcept', 'nullptr', '__nullptr', 'operator', 'override', 'partial', 'pascal', 'pin_ptr', 'private', 'property', 'protected', 'public', 'ref', 'register', 'reinterpret_cast', 'restrict', 'return', 'safe_cast', 'sealed', 'short', 'signed', 'sizeof', 'static', 'static_assert', 'static_cast', 'struct', 'switch', 'template', 'this', 'thread_local', 'throw', 'tile_static', 'true', 'try', 'typedef', 'typeid', 'typename', 'union', 'unsigned', 'using', 'virtual', 'void', 'volatile', 'wchar_t', 'where', 'while', '_asm', '_based', '_cdecl', '_declspec', '_fastcall', '_if_exists', '_if_not_exists', '_inline', '_multiple_inheritance', '_pascal', '_single_inheritance', '_stdcall', '_virtual_inheritance', '_w64', '__abstract', '__alignof', '__asm', '__assume', '__based', '__box', '__builtin_alignof', '__cdecl', '__clrcall', '__declspec', '__delegate', '__event', '__except', '__fastcall', '__finally', '__forceinline', '__gc', '__hook', '__identifier', '__if_exists', '__if_not_exists', '__inline', '__int128', '__int16', '__int32', '__int64', '__int8', '__interface', '__leave', '__m128', '__m128d', '__m128i', '__m256', '__m256d', '__m256i', '__m64', '__multiple_inheritance', '__newslot', '__nogc', '__noop', '__nounwind', '__novtordisp', '__pascal', '__pin', '__pragma', '__property', '__ptr32', '__ptr64', '__raise', '__restrict', '__resume', '__sealed', '__single_inheritance', '__stdcall', '__super', '__thiscall', '__try', '__try_cast', '__typeof', '__unaligned', '__unhook', '__uuidof', '__value', '__virtual_inheritance', '__w64', '__wchar_t'], - operators: ['=', '>', '<', '!', '~', '?', ':', '==', '<=', '>=', '!=', '&&', '||', '++', '--', '+', '-', '*', '/', '&', '|', '^', '%', '<<', '>>', '>>>', '+=', '-=', '*=', '/=', '&=', '|=', '^=', '%=', '<<=', '>>=', '>>>='], - quickKey: [{ - label: "ifelse", - content: ['if (${1:condition}) {', '\t$0', '} else {', '\t', '}'].join('\n') - }, { - label: "include", - content: 'include<$0>' - }, { - label: "printf", - content: 'printf($0)' - }, { - label: "system", - content: 'system("$0")' - }, { - label: "main", - content: ['int main () {', '\t$0', '}'].join('\n') - }, { - label: "if", - content: ['if () {', '\t$0', '}'].join('\n') - }, { - label: "for", - content: ['for(int j=0 ; j<10; j++){', '\t$0', '}'].join('\n') - }, { - label: "trycatch", - content: ['try{', '\t$0', '}catch(ExceptionName e){', '}'].join('\n') - }, { - label: "using namespace std;", - content: ['using namespace std;'].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }] -}; -var pythonLangage = { - keywords: ['and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'exec', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'None', 'not', 'or', 'pass', 'raise', 'return', 'self', 'try', 'while', 'with', 'yield', 'int', 'float', 'long', 'complex', 'hex', 'abs', 'all', 'any', 'apply', 'basestring', 'bin', 'bool', 'buffer', 'bytearray', 'callable', 'chr', 'classmethod', 'cmp', 'coerce', 'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'execfile', 'file', 'filter', 'format', 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'help', 'id', 'input', 'intern', 'isinstance', 'issubclass', 'iter', 'len', 'locals', 'list', 'map', 'max', 'memoryview', 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'print', 'property', 'reversed', 'range', 'raw_input', 'reduce', 'reload', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'unichr', 'unicode', 'vars', 'xrange', 'zip', 'True', 'False', '__dict__', '__methods__', '__members__', '__class__', '__bases__', '__name__', '__mro__', '__subclasses__', '__init__', '__import__'], - quickKey: [{ - label: "print", - content: ['print($0)'].join('\n') - } - // { label: "#include", content: '#include ""' }, - // { label: "printf", content: 'printf("")' }, - ] -}; - -var scalaLangage = { - keywords: ['asInstanceOf', 'catch', 'class', 'classOf', 'def', 'do', 'else', 'extends', 'finally', 'for', 'foreach', 'forSome', 'if', 'import', 'isInstanceOf', 'macro', 'match', 'new', 'object', 'package', 'return', 'throw', 'trait', 'try', 'type', 'until', 'val', 'var', 'while', 'with', 'yield', - // Dotty-specific: - 'given', 'enum', 'then'], - quickKey: [{ - label: "println", - content: ['println($0)'].join('\n') - } - // { label: "#include", content: '#include ""' }, - // { label: "printf", content: 'printf("")' }, - ] -}; -// EXTERNAL MODULE: ./node_modules/js-beautify/js/index.js -var js = __webpack_require__(84204); -var js_default = /*#__PURE__*/__webpack_require__.n(js); -;// CONCATENATED MODULE: ./src/components/monaco-editor/monaco-suggest-config.tsx - - - - - - -var baseConfig = { - languages: ['c', 'abap', 'apex', 'azcli', 'bat', 'cameligo', 'clojure', 'coffee', 'cpp', 'csharp', 'csp', 'css', 'dockerfile', 'fsharp', 'go', 'graphql', 'handlebars', 'html', 'ini', 'java', 'javascript', 'json', 'kotlin', 'less', 'lua', 'markdown', 'mips', 'msdax', 'mysql', 'objective-c', 'pascal', 'pascaligo', 'perl', 'pgsql', 'php', 'postiats', 'powerquery', 'powershell', 'pug', 'python', 'r', 'razor', 'redis', 'redshift', 'restructuredtext', 'ruby', 'rust', 'sb', 'scheme', 'scss', 'shell', 'solidity', 'sophia', 'sql', 'st', 'swift', 'tcl', 'twig', 'vb', 'xml', "yaml'"], - tables: { - users: ["name", "id", "email", "phone", "password"], - roles: ["id", "name", "order", "created_at", "updated_at", "deleted_at"] - } -}; -var getKeywordsSuggest = function getKeywordsSuggest(monaco, keywords) { - return keywords.map(function (key) { - return { - label: key, - // 显示的名称 - kind: monaco.languages.CompletionItemKind.Keyword, - insertText: key // 真实补全的值 - }; - }); -}; - -var getTableSuggest = function getTableSuggest(monaco) { - return Object.keys(baseConfig.tables).map(function (key) { - return { - label: key, - // 显示的名称 - kind: monaco.languages.CompletionItemKind.Variable, - insertText: key // 真实补全的值 - }; - }); -}; - -var getFieldsSuggest = function getFieldsSuggest(tableName, monaco) { - var fields = baseConfig.tables[tableName]; - if (!fields) { - return []; - } - return fields.map(function (name) { - return { - label: name, - kind: monaco.languages.CompletionItemKind.Field, - insertText: name - }; - }); -}; -function getSuggestions(monaco, model, position, keywords, snippts) { - var word = model.getWordUntilPosition(position); - var range = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var rs = keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Keyword, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: range - }; - }); - snippts.map(function (item) { - rs.push(_objectSpread(_objectSpread({}, item), {}, { - range: range - })); - }); - return rs; -} -/* harmony default export */ var monaco_suggest_config = (function (monaco) { - baseConfig.languages.map(function (item) { - monaco.languages.registerDocumentFormattingEditProvider(item, { - provideDocumentFormattingEdits: function provideDocumentFormattingEdits(model, options, token) { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var formattedText; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - formattedText = js_default()(model.getValue(), { - "indent_size": "2", - "indent_char": " ", - "max_preserve_newlines": "2", - "preserve_newlines": true, - "keep_array_indentation": true, - "break_chained_methods": false, - "indent_scripts": "normal", - "brace_style": "collapse", - "space_before_conditional": true, - "unescape_strings": false, - "jslint_happy": false, - "end_with_newline": true, - "wrap_line_length": "0", - "indent_inner_html": false, - "comma_first": false, - "e4x": false, - "indent_empty_lines": false - }); - return _context.abrupt("return", [{ - range: model.getFullModelRange(), - text: formattedText - }]); - case 2: - case "end": - return _context.stop(); - } - }, _callee); - }))(); - } - }); - return item; - }); - var cppKeyPrompt = cppLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - var pythonKeyPrompt = pythonLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - var javaKeyPrompt = javaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - monaco.languages.registerCompletionItemProvider('cpp', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(cppLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(cppLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('c', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - return { - suggestions: toConsumableArray_default()(cLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })) - }; - } - }); - monaco.languages.registerCompletionItemProvider('java', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(javaLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(javaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('scala', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(scalaLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(scalaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('python', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(pythonLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(pythonLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); -}); -var tipTxt = '该任务关卡设置了禁止复制粘贴,请手动输入代码。'; -// EXTERNAL MODULE: ./node_modules/monaco-editor/esm/vs/platform/actions/common/actions.js -var actions = __webpack_require__(84144); -// EXTERNAL MODULE: ./node_modules/lodash/lodash.js -var lodash = __webpack_require__(96486); -;// CONCATENATED MODULE: ./src/components/monaco-editor/index.css -// extracted by mini-css-extract-plugin - -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/monaco-editor/index.jsx - - - - - - - -var _excluded = ["width", "height", "value", "language", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"]; - - - - - - - - -function processSize(size) { - return !/^\d+$/.test(size) ? size : "".concat(size, "px"); -} -function noop() {} -var __prevent_trigger_change_event = false; -var DICT = { - 'Python3.6': 'python', - 'Python2.7': 'python', - Dynamips: 'cpp', - Java: 'java', - Web: 'php', - Html: 'html', - Hive: 'sql', - Hadoop: 'java', - SDL: 'cpp', - PHP: 'php', - Matlab: 'python', - Git: 'python', - Python: 'python', - 'C/C++': 'cpp', - 'C++': 'cpp', - C: 'cpp', - Ruby: 'ruby', - Shell: 'shell', - JavaScript: 'javascript', - Perl6: 'perl', - Kotlin: 'kotlin', - Elixir: 'elixir', - Android: 'java', - JavaWeb: 'java', - Go: 'go', - Spark: 'sql', - MachineLearning: 'python', - Verilog: 'xml', - 'Verilog/VNC': 'xml', - Docker: 'dockerfile', - 'C#': 'csharp', - SQLite3: 'sql', - Oracle: 'sql', - Vhdl: 'vhdl', - R: 'r', - Swift: 'swift', - SQLServer: 'mysql', - MySQL: 'mysql', - Mongo: 'sql', - PostgreSql: 'pgsql', - Hbase: 'powershell', - Sqoop: 'sql', - Nasm: 'cpp', - Kafka: 'java', - Flink: 'java', - Sml: 'javascript', - OpenGL: 'cpp', - Perl5: 'perl', - Orange: 'python', - Scala: "scale" -}; -function getLanguageByMirrorName() { - var mirror_name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var lang = mirror_name; - if (Array.isArray(mirror_name)) { - for (var i = 0; i < mirror_name.length; i++) { - var languageVal = DICT[mirror_name[i]]; - if (languageVal) { - return languageVal; - } - } - return lang[0]; - } - return DICT[lang] || lang; -} - -//onCodeChange 必须是幂等的,因为只会注册一次,如果有变化,会响应旧的,产生脏数据 -var monaco = null; -/* harmony default export */ var monaco_editor = (function (_ref) { - var _ref$width = _ref.width, - width = _ref$width === void 0 ? '100%' : _ref$width, - _ref$height = _ref.height, - height = _ref$height === void 0 ? '100%' : _ref$height, - value = _ref.value, - _ref$language = _ref.language, - language = _ref$language === void 0 ? 'javascript' : _ref$language, - _ref$style = _ref.style, - style = _ref$style === void 0 ? {} : _ref$style, - _ref$options = _ref.options, - options = _ref$options === void 0 ? {} : _ref$options, - _ref$overrideServices = _ref.overrideServices, - overrideServices = _ref$overrideServices === void 0 ? {} : _ref$overrideServices, - _ref$theme = _ref.theme, - theme = _ref$theme === void 0 ? 'vs-dark' : _ref$theme, - onEditBlur = _ref.onEditBlur, - onSave = _ref.onSave, - _ref$autoHeight = _ref.autoHeight, - autoHeight = _ref$autoHeight === void 0 ? false : _ref$autoHeight, - _ref$forbidCopy = _ref.forbidCopy, - forbidCopy = _ref$forbidCopy === void 0 ? false : _ref$forbidCopy, - _ref$onChange = _ref.onChange, - onChange = _ref$onChange === void 0 ? noop : _ref$onChange, - _ref$editorDidMount = _ref.editorDidMount, - editorDidMount = _ref$editorDidMount === void 0 ? noop : _ref$editorDidMount, - _ref$onFocus = _ref.onFocus, - onFocus = _ref$onFocus === void 0 ? noop : _ref$onFocus, - _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, - 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 inputLock = (0,react.useRef)(false); - var inputLockTime = (0,react.useRef)(); - var _useState = (0,react.useState)(false), - _useState2 = slicedToArray_default()(_useState, 2), - init = _useState2[0], - setInit = _useState2[1]; - function onLayout() { - var ro; - if (editorEl.current) { - ro = new ResizeObserver_es/* default */.Z(function (entries) { - var _iterator = createForOfIteratorHelper_default()(entries), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var entry = _step.value; - if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) { - editor.current.instance.layout(); - } - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - }); - ro.observe(editorEl.current); - } - return ro; - } - function tipWarn() { - message/* default.warn */.ZP.warn({ - content: decodeURIComponent(tipTxt), - key: "monaco-editor-tip" - }); - } - var setCodeValue = function setCodeValue() { - var instance = editor.current.instance; - if (value != null && instance && init) { - var model = instance.getModel(); - if (model && value !== model.getValue()) { - __prevent_trigger_change_event = true; - model.setValue(value); - instance.layout(); - __prevent_trigger_change_event = false; - } - } - }; - (0,react.useEffect)(function () { - var _instance$updateOptio; - var instance = editor.current.instance; - if (timeRef.current) clearTimeout(timeRef.current); - timeRef.current = setTimeout(function () { - setCodeValue(); - }, 500); - instance === null || instance === void 0 ? void 0 : (_instance$updateOptio = instance.updateOptions) === null || _instance$updateOptio === void 0 ? void 0 : _instance$updateOptio.call(instance, { - lineNumbersMinChars: Math.max(Math.floor(Math.log10(value.split(/\r\n|\r|\n/g).length)) + 3, 5) - }); - }, [value, init, editor.current]); - (0,react.useEffect)(function () { - if (errorLine && editor.current && editor.current.instance) { - var instance = editor.current.instance; - instance.changeViewZones(function (changeAccessor) { - var domNode = document.createElement('div'); - domNode.style.padding = '10px 20px'; - domNode.style.width = 'calc(100% - 20px)'; - domNode.className = 'my-error-line-wrp'; - domNode.innerHTML = errorContent; - changeAccessor.addZone({ - afterLineNumber: errorLine || 11, - heightInLines: 3, - domNode: domNode - }); - }); - var overlayWidget = { - domNode: null, - getId: function getId() { - return 'my.overlay.widget'; - }, - getDomNode: function getDomNode() { - if (!this.domNode) { - this.domNode = document.createElement('div'); - this.domNode.innerHTML = ''; - this.domNode.style.width = '100%'; - this.domNode.style.padding = '20px 100px'; - this.domNode.style.right = '0px'; - this.domNode.style.top = '50px'; - this.domNode.style.position = 'relative'; - this.domNode.style.color = '#333'; - } - return this.domNode; - }, - getPosition: function getPosition() { - return null; - } - }; - instance.addOverlayWidget(overlayWidget); - // instance.revealPositionInCenter(11,1); - instance.revealPositionInCenter({ - lineNumber: 20, - column: 1 - }); - } - }, [errorLine, editor.current, init]); - function onPaste() { - var instance = editor.current.instance; - if (instance) { - var selection = instance.getSelection(); - var pastePos = editor.current.pastePos || {}; - var range = new monaco.Range(pastePos.startLineNumber || selection.endLineNumber, pastePos.startColumn || selection.endColumn, pastePos.endLineNumber || selection.endLineNumber, pastePos.endColumn || selection.endColumn); - setTimeout(function () { - instance.executeEdits('', [{ - range: range, - text: '' - }]); - }, 300); - } - } - function onSaveHandler(e) { - if ((window.navigator.platform.match('Mac') ? e.metaKey : e.ctrlKey) && e.keyCode == 83) { - e.preventDefault(); - onSave(); - } - } - var autoCalcHeight = function autoCalcHeight() { - if (autoHeight && editor.current.instance) { - var _height = editor.current.instance.getContentHeight(); - setFixedHeight(_height < height ? height : _height); - } else { - setFixedHeight(height); - } - }; - function fakeClick(obj) { - var ev = document.createEvent('MouseEvents'); - ev.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); - obj.dispatchEvent(ev); - } - var checkPaste = function checkPaste(event) { - var keyCode = event.keyCode, - ctrlKey = event.ctrlKey, - metaKey = event.metaKey, - target = event.target, - type = event.type; - if ((type === "paste" || (keyCode === 67 || keyCode === 86) && (metaKey || ctrlKey)) && target.nodeName === "TEXTAREA") { - tipWarn(); - event.preventDefault(); - } - return false; - }; - function exportRaw(name, data) { - var urlObject = window.URL || window.webkitURL || window; - var export_blob = new Blob([data]); - var save_link = document.createElementNS('http://www.w3.org/1999/xhtml', 'a'); - save_link.href = urlObject.createObjectURL(export_blob); - save_link.download = name; - fakeClick(save_link); - } - (0,react.useEffect)(function () { - autoCalcHeight(); - }, [autoCalcHeight]); - (0,react.useEffect)(function () { - if (editorEl.current && !init) { - // require.config({ paths: { vs: 'monaco-editor/min/vs' } }); - // require.config({ - // 'vs/nls': { - // availableLanguages: { - // '*': 'de', - // }, - // }, - // }); - Promise.all(/*! import() | monaco-editor */[__webpack_require__.e(48764), __webpack_require__.e(39404)]).then(__webpack_require__.bind(__webpack_require__, /*! monaco-editor/esm/vs/editor/editor.api.js */ 26565)).then(function (mod) { - try { - monaco = mod; - editor.current.instance = monaco.editor.create(editorEl.current, { - value: value, - language: getLanguageByMirrorName(language), - theme: theme, - requireConfig: { - 'vs/nls': { - availableLanguages: { - '*': 'zh-cn' - } - } - }, - wordWrap: true, - autoIndent: true, - contextmenu: true, - // formatOnPaste: true, - formatOnType: true - }, overrideServices); - var instance = editor.current.instance; - var menus = actions/* MenuRegistry._menuItems */.BH._menuItems; - var contextMenuEntry = toConsumableArray_default()(menus).find(function (entry) { - return entry[0]._debugName == "EditorContext"; - }); - var contextMenuLinks = contextMenuEntry[1]; - var removableIds = ["editor.action.clipboardCopyWithSyntaxHighlightingAction", "editor.action.quickCommand", "editor.action.clipboardCopyAction", "editor.action.clipboardPasteAction", "editor.action.clipboardCutAction"]; - var removeById = function removeById(list, ids) { - var node = list._first; - do { - var _node$element, _node$element$command; - var shouldRemove = ids.includes((_node$element = node.element) === null || _node$element === void 0 ? void 0 : (_node$element$command = _node$element.command) === null || _node$element$command === void 0 ? void 0 : _node$element$command.id); - if (shouldRemove) { - list._remove(node); - } - } while (node = node.next); - }; - editorDidMount(instance, monaco); - setTimeout(function () { - autoCalcHeight(); - editor.current.instance.addAction({ - id: 'd123123', - label: 'Download File', - contextMenuGroupId: '9_cutcopypaste', - run: function run() { - exportRaw(filename || 'educoder.txt', instance.getValue()); - } - }); - instance.getDomNode().addEventListener('input', function () { - if (optionsRef.current.autoFormat) instance.getAction('editor.action.formatDocument').run(); - }); - }, 500); - editor.current.subscription = instance.onDidChangeModelContent(function (event) { - if (!inputLock.current) { - autoCalcHeight(); - onChange(instance.getValue(), event); - } else { - clearTimeout(inputLockTime.current); - } - inputLockTime.current = setTimeout(function () { - inputLock.current = false; - }, 500); - }); - if (!window.Monaco) monaco_suggest_config(monaco, getLanguageByMirrorName(language)); - if (forbidCopy) { - removeById(contextMenuLinks, removableIds); - editorEl.current.classList.add("noCopyPaste"); - window.removeEventListener("keydown", checkPaste); - window.removeEventListener("paste", checkPaste); - window.addEventListener("keydown", checkPaste); - window.addEventListener("paste", checkPaste); - } - window.Monaco = monaco; - if (onEditBlur) { - instance.onDidBlurEditorWidget(function () { - onEditBlur(instance.getValue()); - }); - } - if (onFocus) { - instance.onDidFocusEditorText(function () { - onFocus(instance.getValue()); - }); - } - if (forbidCopy) { - try { - window.addEventListener('paste', onPaste); - } catch (e) {} - } - var ro = onLayout(); - setInit(true); - return function () { - var el = editor.current.instance; - el.dispose(); - var model = el.getModel(); - if (model) { - model.dispose(); - } - if (editor.current.subscription) { - editor.current.subscription.dispose(); - } - if (forbidCopy) { - window.removeEventListener('paste', onPaste); - } - ro.unobserve(editorEl.current); - }; - } catch (e) { - // ; - } - }); - } - }, []); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - document.addEventListener('keydown', onSaveHandler, false); - return function () { - document.removeEventListener('keydown', onSaveHandler); - }; - } - }, [onSave, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - var lang = getLanguageByMirrorName(language); - monaco.editor.setModelLanguage(instance.getModel(), lang); - } - }, [language, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - monaco.editor.setTheme(theme); - } - }, [theme, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - optionsRef.current = options; - if (instance && init) { - instance.updateOptions(objectSpread2_default()({}, options)); - setTimeout(function () { - instance.getModel().updateOptions(objectSpread2_default()({}, options)); - }, 200); - } - }, [JSON.stringify(options), init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - instance.layout(); - } - }, [width, height, init]); - - // const fixedWidth = processSize(width); - // const fixedHeight = processSize(height); - - var _useState3 = (0,react.useState)(processSize(width)), - _useState4 = slicedToArray_default()(_useState3, 2), - fixedWidth = _useState4[0], - setFixedWidth = _useState4[1]; - var _useState5 = (0,react.useState)(processSize(height)), - _useState6 = slicedToArray_default()(_useState5, 2), - fixedHeight = _useState6[0], - setFixedHeight = _useState6[1]; - var mergeStyle = objectSpread2_default()(objectSpread2_default()({}, style), {}, { - width: fixedWidth, - height: fixedHeight - }); - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "my-monaco-editor", - ref: editorEl, - 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; - var editorEl = (0,react.useRef)(); - var _useState7 = (0,react.useState)(null), - _useState8 = slicedToArray_default()(_useState7, 2), - instance = _useState8[0], - setInstance = _useState8[1]; - function onLayout(instance) { - var ro; - if (editorEl.current) { - ro = new ResizeObserver_es/* default */.Z(function (entries) { - var _iterator2 = createForOfIteratorHelper_default()(entries), - _step2; - try { - for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { - var entry = _step2.value; - if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) { - instance.layout(); - } - } - } catch (err) { - _iterator2.e(err); - } finally { - _iterator2.f(); - } - }); - ro.observe(editorEl.current); - } - return ro; - } - (0,react.useEffect)(function () { - if (editorEl.current) { - Promise.all(/*! import() | monaco-editor */[__webpack_require__.e(48764), __webpack_require__.e(39404)]).then(__webpack_require__.bind(__webpack_require__, /*! monaco-editor/esm/vs/editor/editor.api.js */ 26565)).then(function (mod) { - monaco = mod; - var instance = monaco.editor.createDiffEditor(editorEl.current, objectSpread2_default()(objectSpread2_default()({ - enableSplitViewResizing: false, - scrollBeyondLastLine: false, - roundedSelection: false, - renderIndicators: false, - useShadows: false, - horizontal: 'hidden', - lineNumbers: 'off', - wordWrap: "off", - ignoreTrimWhitespace: false, - 'semanticHighlighting.enabled': true, - followsCaret: true, - // resets the navigator state when the user selects something in the editor - ignoreCharChanges: true, - // jump from line to line, - minimap: { - enabled: false - }, - readOnly: true - }, options), {}, { - wordWrap: true - })); - setInstance(instance); - var ro = onLayout(instance); - return function () { - instance.dispose(); - var model = instance.getModel(); - if (model) { - model.dispose(); - } - ro.unobserve(editorEl.current); - }; - }); - } - return function () { - window.removeEventListener("keydown", checkPaste); - window.removeEventListener("paste", checkPaste); - }; - }, []); - (0,react.useEffect)(function () { - if (instance) { - instance.setModel({ - original: monaco.editor.createModel(original, language), - modified: monaco.editor.createModel(modified, language) - }); - } - }, [original, modified, language, instance]); - var fixedWidth = processSize(width); - var fixedHeight = processSize(height); - var style = { - width: fixedWidth, - height: fixedHeight - }; - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "my-diff-editor", - ref: editorEl, - style: style - }); -} - -/***/ }), - -/***/ 41850: -/*!*************************************************************************************************!*\ - !*** ./src/pages/Classrooms/Lists/Exercise/Edit/components/DragQuestions/index.tsx + 1 modules ***! - \*************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ components_DragQuestions; } -}); - -// EXTERNAL MODULE: ./node_modules/antd/es/modal/style/index.js + 1 modules -var style = __webpack_require__(35611); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules -var modal = __webpack_require__(85402); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); -// EXTERNAL MODULE: ./node_modules/antd/es/row/style/index.js -var row_style = __webpack_require__(13062); -// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js -var row = __webpack_require__(71230); -// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js -var col_style = __webpack_require__(89032); -// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js -var col = __webpack_require__(15746); -// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules -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/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js + 27 modules -var react_beautiful_dnd_esm = __webpack_require__(66012); -// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules -var _umi_production_exports = __webpack_require__(89214); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/DragQuestions/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var DragQuestionsmodules = ({"content":"content___IPcn9"}); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/DragQuestions/index.tsx - - - - - - - - - - - - - - - - - -var DragQuestions = function DragQuestions(_ref) { - var visible = _ref.visible, - onOk = _ref.onOk, - onCancel = _ref.onCancel, - data = _ref.data; - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - list = _useState2[0], - setList = _useState2[1]; - var _useState3 = (0,react.useState)(false), - _useState4 = slicedToArray_default()(_useState3, 2), - loading = _useState4[0], - setLoading = _useState4[1]; - var params = (0,_umi_production_exports.useParams)(); - (0,react.useEffect)(function () { - if (!visible) { - setList([]); - setLoading(false); - return; - } - setList(toConsumableArray_default()(data) || []); - }, [visible]); - var handleOk = function handleOk() { - setLoading(true); - onOk(list, function () { - setLoading(false); - }); - }; - var handleCancel = function handleCancel() { - onCancel(); - }; - - //过滤函数 - var reorder = function reorder(list, startIndex, endIndex) { - var result = Array.from(list); - var _result$splice = result.splice(startIndex, 1), - _result$splice2 = slicedToArray_default()(_result$splice, 1), - removed = _result$splice2[0]; - result.splice(endIndex, 0, removed); - return result; - }; - var handleDragEnd = function handleDragEnd(result, list) { - if (!result.destination) { - return; - } - var items = reorder(list, result.source.index, result.destination.index); - setList(items); - }; - return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - title: "\u9898\u578B\u6392\u5E8F", - open: visible, - centered: true, - onCancel: handleCancel, - footer: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - "float": 'left', - color: '#999', - paddingTop: 5 - }, - children: "\u63D0\u793A:\u53EF\u5BF9\u9898\u578B\u8FDB\u884C\u4E0A\u4E0B\u62D6\u52A8\u6392\u5E8F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - onClick: handleCancel, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "primary", - loading: loading, - onClick: handleOk, - children: "\u786E\u8BA4" - })] - }), - width: "680px", - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: DragQuestionsmodules.content, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 12, - children: "\u5E8F\u53F7" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 12, - children: "\u9898\u578B\u540D\u79F0" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* DragDropContext */.Z5, { - onDragEnd: function onDragEnd(result) { - return handleDragEnd(result, list); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Droppable */.bK, { - droppableId: "droppable", - children: function children(provided, snapshot) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({ - ref: provided.innerRef - }, provided.droppableProps), {}, { - style: { - width: '100%' - }, - children: list.map(function (item, k) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Draggable */._l, { - draggableId: k.toString(), - index: k, - children: function children(provided, snapshot) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("aside", objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({ - ref: provided.innerRef - }, provided.draggableProps), provided.dragHandleProps), {}, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - style: { - backgroundColor: k % 2 === 0 ? '#f5f5f5' : '#fff' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 12, - children: k + 1 - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 12, - children: item - })] - }) - }) - })); - } - }, k); - }) - })); - } - }) - })] - }) - }); -}; -/* harmony default export */ var components_DragQuestions = (DragQuestions); - -/***/ }), - -/***/ 64631: -/*!****************************************************************!*\ - !*** ./src/pages/Paperlibrary/EditPaper/index.tsx + 7 modules ***! - \****************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -// ESM COMPAT FLAG -__webpack_require__.r(__webpack_exports__); - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "default": function() { return /* binding */ Paperlibrary_EditPaper; } -}); - -// EXTERNAL MODULE: ./node_modules/antd/es/spin/style/index.js + 1 modules -var style = __webpack_require__(22536); -// EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js -var spin = __webpack_require__(11382); -// EXTERNAL MODULE: ./node_modules/antd/es/row/style/index.js -var row_style = __webpack_require__(13062); -// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js -var row = __webpack_require__(71230); -// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js -var col_style = __webpack_require__(89032); -// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js -var col = __webpack_require__(15746); -// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules -var breadcrumb_style = __webpack_require__(63102); -// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/index.js + 3 modules -var breadcrumb = __webpack_require__(58492); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -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/antd/es/message/style/index.js + 1 modules -var message_style = __webpack_require__(14934); -// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules -var message = __webpack_require__(12461); -// 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/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules -var _umi_production_exports = __webpack_require__(89214); -// EXTERNAL MODULE: ./node_modules/lodash/lodash.js -var lodash = __webpack_require__(96486); -// EXTERNAL MODULE: ./node_modules/antd/es/drawer/style/index.js + 1 modules -var drawer_style = __webpack_require__(11400); -// EXTERNAL MODULE: ./node_modules/antd/es/drawer/index.js + 6 modules -var drawer = __webpack_require__(63463); -// EXTERNAL MODULE: ./node_modules/antd/es/pagination/style/index.js + 1 modules -var pagination_style = __webpack_require__(14182); -// EXTERNAL MODULE: ./node_modules/antd/es/pagination/index.js + 10 modules -var pagination = __webpack_require__(260); -// EXTERNAL MODULE: ./node_modules/antd/es/divider/style/index.js + 1 modules -var divider_style = __webpack_require__(98541); -// EXTERNAL MODULE: ./node_modules/antd/es/divider/index.js -var divider = __webpack_require__(27049); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules -var tooltip_style = __webpack_require__(38390); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules -var tooltip = __webpack_require__(84908); -// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js + 1 modules -var checkbox_style = __webpack_require__(82000); -// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 2 modules -var es_checkbox = __webpack_require__(32808); -// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules -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/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: ./src/utils/authority.ts -var authority = __webpack_require__(7); -;// CONCATENATED MODULE: ./src/components/SelectShixuns/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var SelectShixunsmodules = ({"flex_box_center":"flex_box_center___qqSim","flex_space_between":"flex_space_between___nZTzA","flex_box_vertical_center":"flex_box_vertical_center___FflA5","flex_box_center_end":"flex_box_center_end___RKoZO","flex_box_column":"flex_box_column___DXKDc","wrp":"wrp___MR6F6","drawer":"drawer___Dns2o","menu":"menu___cBdnl","actived":"actived___Fm1fs","actived2":"actived2___cwZou","listItem":"listItem___Liid8","info":"info___j48mI","title":"title___qpaZz","titleLeft":"titleLeft___vMyfF","titleRight":"titleRight___OofM5","search":"search___UMLb_","description":"description___uzEXi","menuCourse":"menuCourse___omGeP","menut":"menut___qYp6m","actived3":"actived3___mmMyO","actived4":"actived4___xKTJN","subTag":"subTag___NXFQZ"}); -// EXTERNAL MODULE: ./src/utils/verifyLogin.tsx + 2 modules -var verifyLogin = __webpack_require__(7303); -// EXTERNAL MODULE: ./src/components/ReuseShixunModal/index.tsx + 1 modules -var ReuseShixunModal = __webpack_require__(60696); -// EXTERNAL MODULE: ./src/utils/fetch.ts -var fetch = __webpack_require__(84519); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/SelectShixuns/index.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var Search = input/* default.Search */.Z.Search; -var typeFilter = [{ - id: 'type', - name: '来源', - children: [{ - name: '全部', - id: 'all', - type: 'type' - }, { - name: '我的', - id: 'mine', - type: 'type' - }] -}]; -var difficultyFilter = [{ - id: 'diff', - name: '难度', - children: [{ - name: '全部', - id: '', - type: 'diff' - }, { - name: '初级', - id: 1, - type: 'diff' - }, { - name: '中级', - id: 2, - type: 'diff' - }, { - name: '中高级', - id: 3, - type: 'diff' - }, { - name: '高级', - id: 4, - type: 'diff' - }] -}]; -var SelectShixuns = function SelectShixuns(_ref) { - var _shixunLists$shixun_l2; - var classroomList = _ref.classroomList, - shixunsList = _ref.shixunsList, - dispatch = _ref.dispatch, - callback = _ref.callback, - inNewPaperLibrary = _ref.inNewPaperLibrary; - var _useState = (0,react.useState)(objectSpread2_default()({}, (0,_umi_production_exports.useParams)())), - _useState2 = slicedToArray_default()(_useState, 2), - params = _useState2[0], - setParams = _useState2[1]; - var shixunLists = classroomList.shixunLists; - var _useState3 = (0,react.useState)([]), - _useState4 = slicedToArray_default()(_useState3, 2), - selectArrs = _useState4[0], - setSelectArrs = _useState4[1]; - var _useState5 = (0,react.useState)(''), - _useState6 = slicedToArray_default()(_useState5, 2), - searchValue = _useState6[0], - setSearchValue = _useState6[1]; - var _useState7 = (0,react.useState)([]), - _useState8 = slicedToArray_default()(_useState7, 2), - groupsData = _useState8[0], - setGroupsData = _useState8[1]; - var _useState9 = (0,react.useState)({ - page: 1, - type: 'all', - diff: '', - status: 'published', - order: 'desc', - limit: 20, - sort: 'myshixuns_count', - no_jupyter: 1, - keyword: '', - discipline_id: null - }), - _useState10 = slicedToArray_default()(_useState9, 2), - query = _useState10[0], - setQuery = _useState10[1]; - (0,react.useEffect)(function () { - if (classroomList.actionTabs.key === '选用实践项目') { - document.body.setAttribute('data-custom', 'height'); - } else { - document.body.removeAttribute('data-custom'); - } - return function () { - document.body.removeAttribute('data-custom'); - }; - }, [classroomList.actionTabs.key]); - var isVisible = classroomList.actionTabs.key === '选用实践项目'; - (0,react.useEffect)(function () { - if (isVisible) { - dispatch({ - type: 'classroomList/getShixunLists', - payload: objectSpread2_default()({}, query) - }); - } - }, [params.categoryId, isVisible, query]); - (0,react.useEffect)(function () { - getData(); - }, [params]); - var getData = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var result; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,fetch/* default */.ZP)("/api/users/user_setting_groups.json", { - method: 'get', - params: { - type: 'Shixun' - } - }); - case 2: - result = _context.sent; - setGroupsData([{ - id: null, - name: "全部" - }, { - id: -1, - name: "未加入目录" - }].concat(toConsumableArray_default()((result === null || result === void 0 ? void 0 : result.groups) || []))); - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function getData() { - return _ref2.apply(this, arguments); - }; - }(); - (0,react.useEffect)(function () { - dispatch({ - type: 'shixunsList/getMenus', - payload: {} - }); - }, []); - (0,react.useEffect)(function () { - setSelectArrs([]); - }, [classroomList.actionTabs.key]); - var _useReuseModal = (0,ReuseShixunModal/* useReuseModal */.P)(), - _useReuseModal2 = slicedToArray_default()(_useReuseModal, 4), - reuseModalVisible = _useReuseModal2[0], - closeReuseModal = _useReuseModal2[1], - renderData = _useReuseModal2[2], - showReuseModal = _useReuseModal2[3]; - var menuChange = function menuChange(tag_level, sub_discipline_id, discipline_id) { - query.tag_level = tag_level; - query.sub_discipline_id = sub_discipline_id; - query.discipline_id = discipline_id; - query.page = 1; - setQuery(objectSpread2_default()({}, query)); - }; - var reuseModalCallback = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(isCopy) { - var _shixunLists$shixun_l, _classroomList$action; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - callback && callback(shixunLists === null || shixunLists === void 0 ? void 0 : (_shixunLists$shixun_l = shixunLists.shixun_list) === null || _shixunLists$shixun_l === void 0 ? void 0 : _shixunLists$shixun_l.filter(function (item) { - return item.identifier === selectArrs[0]; - })[0], (_classroomList$action = classroomList.actionTabs) === null || _classroomList$action === void 0 ? void 0 : _classroomList$action.editData, isCopy); - dispatch({ - type: 'classroomList/setActionTabs', - payload: {} - }); - closeReuseModal(); - case 3: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function reuseModalCallback(_x) { - return _ref3.apply(this, arguments); - }; - }(); - if (classroomList.actionTabs.key !== '选用实践项目') return null; - return /*#__PURE__*/(0,jsx_runtime.jsxs)(drawer/* default */.Z, { - title: "\u9009\u7528\u5B9E\u8DF5\u9879\u76EE", - placement: 'bottom', - height: '100%', - closable: true, - onClose: function onClose() { - dispatch({ - type: 'classroomList/setActionTabs', - payload: { - key: '' - } - }); - }, - open: isVisible ? true : false, - className: SelectShixunsmodules.drawer, - footer: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "tc", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - size: "large", - onClick: function onClick() { - dispatch({ - type: 'classroomList/setActionTabs', - payload: { - key: '' - } - }); - }, - style: { - marginRight: 8 - }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - size: "large", - onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var hasUsedShixun; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - if (!(selectArrs.length > 1)) { - _context3.next = 4; - break; - } - message/* default.error */.ZP.error('只能选择一个实践项目'); - _context3.next = 16; - break; - case 4: - if (!(selectArrs.length === 0)) { - _context3.next = 8; - break; - } - message/* default.error */.ZP.error('请选择实践项目'); - _context3.next = 16; - break; - case 8: - if (!inNewPaperLibrary) { - _context3.next = 12; - break; - } - reuseModalCallback(0); - _context3.next = 16; - break; - case 12: - _context3.next = 14; - return showReuseModal({ - id: selectArrs[0], - course_id: params.coursesId, - type: 'shixun' - }); - case 14: - hasUsedShixun = _context3.sent; - if (!hasUsedShixun) { - reuseModalCallback(0); - } - case 16: - case "end": - return _context3.stop(); - } - }, _callee3); - })), - type: "primary", - children: "\u786E\u5B9A" - })] - }), - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("section", { - className: "tc", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Search, { - placeholder: "\u5B9E\u8BAD\u4FE1\u606F/\u9662\u6821\u540D\u79F0/\u521B\u5EFA\u8005", - enterButton: "\u641C\u7D22", - size: "large", - value: searchValue, - onChange: function onChange(e) { - return setSearchValue(e.target.value); - }, - className: SelectShixunsmodules.search, - onSearch: function onSearch(value) { - query.keyword = value; - query.page = 1; - setQuery(objectSpread2_default()({}, query)); - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: "edu-container", - children: [typeFilter.map(function (v, k) { - var _v$children; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { - className: SelectShixunsmodules.menu, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", { - children: v.name - }), v === null || v === void 0 ? void 0 : (_v$children = v.children) === null || _v$children === void 0 ? void 0 : _v$children.map(function (val, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: query[v.id] == val.id ? SelectShixunsmodules.actived : '', - onClick: function onClick() { - query[v.id] = val.id; - // query['group_id'] = null; - query.page = 1; - setQuery(objectSpread2_default()({}, query)); - dispatch({ - type: 'classroomList/getShixunLists', - payload: objectSpread2_default()({}, query) - }); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - children: val.name - }) - }, index); - })] - }, k); - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { - className: SelectShixunsmodules.menut, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - padding: '18px', - fontWeight: '600' - }, - children: "\u65B9\u5411\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: !query.discipline_id ? SelectShixunsmodules.actived3 : '', - onClick: function onClick() { - menuChange(null, null, null); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - children: "\u5168\u90E8" - }) - }), shixunsList.menus && shixunsList.menus.map(function (v, k) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { - className: query.discipline_id == v.id ? SelectShixunsmodules.actived3 : '', - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - onClick: function onClick() { - menuChange(1, null, v.id); - }, - children: v.name - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: v.sub_repertoires.map(function (val, key) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "mt5", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: query.sub_discipline_id == val.id ? "".concat(SelectShixunsmodules.actived4, " ").concat(SelectShixunsmodules.subTag) : SelectShixunsmodules.subTag, - onClick: function onClick() { - menuChange(2, val.id, v.id); - }, - children: val.name - }), /*#__PURE__*/(0,jsx_runtime.jsx)("ul", { - className: "mt5", - children: val.tags && val.tags.map(function (value, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: query.sub_discipline_id == value.id ? SelectShixunsmodules.actived4 : '', - onClick: function onClick() { - menuChange(3, value.id, v.id); - }, - children: value.name - }, index); - }) - })] - }, key); - }) - })] - }, k); - })] - }), query.type === 'mine' && /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { - className: SelectShixunsmodules.menu, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", { - children: "\u76EE\u5F55\uFF1A" - }), groupsData === null || groupsData === void 0 ? void 0 : groupsData.map(function (val, key) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: query['group_id'] == val.id ? SelectShixunsmodules.actived : '', - onClick: function onClick() { - query['group_id'] = val.id; - query.page = 1; - setQuery(objectSpread2_default()({}, query)); - dispatch({ - type: 'classroomList/getShixunLists', - payload: objectSpread2_default()({}, query) - }); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - children: val.name - }) - }, val.name); - })] - }), difficultyFilter.map(function (v, k) { - var _v$children2; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { - className: SelectShixunsmodules.menu, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", { - children: v.name - }), v === null || v === void 0 ? void 0 : (_v$children2 = v.children) === null || _v$children2 === void 0 ? void 0 : _v$children2.map(function (val, key) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: query[v.id] == val.id ? SelectShixunsmodules.actived : '', - onClick: function onClick() { - query[v.id] = val.id; - query.page = 1; - setQuery(objectSpread2_default()({}, query)); - dispatch({ - type: 'classroomList/getShixunLists', - payload: objectSpread2_default()({}, query) - }); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - children: val.name - }) - }, key); - })] - }, k); - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: SelectShixunsmodules.menuCourse, - style: { - margin: '0px 15px' - }, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { - children: ["\u5DF2\u9009", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-blue", - children: selectArrs.length - }), "\u4E2A\u5B9E\u8BAD"] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { - children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-blue", - children: shixunLists.shixuns_count - }), "\u4E2A\u8BFE\u7A0B"] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { - className: "current", - onClick: function onClick() { - query.order = query.order === 'asc' ? 'desc' : 'asc'; - setQuery(objectSpread2_default()({}, query)); - }, - children: ["\u5B66\u4E60\u4EBA\u6570", /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "edu-sorter current ".concat(query.order), - children: query.order === 'asc' ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "iconfont icon-sanjiaoxing-up" - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "iconfont icon-sanjiaoxing-down" - }) - })] - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, { - style: { - display: 'block' - }, - value: selectArrs, - onChange: function onChange(selectedValues) { - setSelectArrs(selectedValues); - }, - children: shixunLists === null || shixunLists === void 0 ? void 0 : (_shixunLists$shixun_l2 = shixunLists.shixun_list) === null || _shixunLists$shixun_l2 === void 0 ? void 0 : _shixunLists$shixun_l2.map(function (v, k) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: SelectShixunsmodules.listItem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { - value: v.identifier, - disabled: v === null || v === void 0 ? void 0 : v.need_authorize - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: SelectShixunsmodules.info, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: SelectShixunsmodules.title, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: SelectShixunsmodules.titleLeft, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: "/shixuns/".concat(v.identifier, "/challenges"), - target: "_blank", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - className: "font16", - dangerouslySetInnerHTML: { - __html: v.title - } - }) - }), (v === null || v === void 0 ? void 0 : v.need_authorize) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - (0,verifyLogin/* AuthorizeModel */.rX)(false); - }, - style: { - marginRight: 'auto' - }, - className: "tag-style bg-pink current ml10", - children: "\u9700\u6388\u6743" - }), (0,authority/* isSuperAdmins */.Ny)() && (v === null || v === void 0 ? void 0 : v.mark_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: v === null || v === void 0 ? void 0 : v.mark_content, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 'auto', - background: '#2FA34F' - }, - className: "tag-style current ml10", - children: "\u6B63\u5E38" - }) - }), (0,authority/* isSuperAdmins */.Ny)() && (v === null || v === void 0 ? void 0 : v.mark_status) === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: v === null || v === void 0 ? void 0 : v.mark_content, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 'auto', - background: '#FF8C29' - }, - className: "tag-style current ml10", - children: "\u9700\u5B8C\u5584" - }) - }), (0,authority/* isSuperAdmins */.Ny)() && (v === null || v === void 0 ? void 0 : v.mark_status) === 3 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: v === null || v === void 0 ? void 0 : v.mark_content, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginRight: 'auto', - background: '#E53333' - }, - className: "tag-style current ml10", - children: "\u65E0\u6CD5\u4F7F\u7528" - }) - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "flex-wrp mt10 font14 c-light-black", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: SelectShixunsmodules.description, - dangerouslySetInnerHTML: { - __html: v.description - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "flex-wrp mt15", - children: v.challenge_names.map(function (val, key) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "mr30", - children: ["\u7B2C", key + 1, "\u5173 ", val, ' '] - }, key); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, { - dashed: true - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "c-light-black mt20", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: v.author_name - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "ml15 mr15", - children: "|" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: v.author_school_name - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "ml15 mr15", - children: "|" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: ["\u96BE\u5EA6\u7CFB\u6570 ", v.level] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "ml15 mr15", - children: "|" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "\u5B66\u4E60\u4EBA\u6570 " - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: v.study_count - })] - })] - })] - }, v.identifier); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", {})] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "tc", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { - defaultCurrent: 1, - current: query.page || 1, - hideOnSinglePage: true, - defaultPageSize: 20, - showQuickJumper: true, - showSizeChanger: false, - total: shixunLists === null || shixunLists === void 0 ? void 0 : shixunLists.shixuns_count, - onChange: function onChange(page) { - query.page = page; - setQuery(objectSpread2_default()({}, query)); - setSelectArrs([]); - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(ReuseShixunModal/* default */.Z, { - visible: reuseModalVisible, - onCancel: closeReuseModal, - onOk: reuseModalCallback, - renderData: renderData, - inPaper: true, - modalType: "single", - type: "shixun" - })] - }, 'bottom'); -}; -/* harmony default export */ var components_SelectShixuns = ((0,_umi_production_exports.connect)(function (_ref5) { - var classroomList = _ref5.classroomList, - shixunsList = _ref5.shixunsList, - user = _ref5.user; - return { - classroomList: classroomList, - shixunsList: shixunsList, - user: user - }; -})(SelectShixuns)); -// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/UploadQuestions/index.tsx + 1 modules -var UploadQuestions = __webpack_require__(82278); -// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/DragQuestions/index.tsx + 1 modules -var DragQuestions = __webpack_require__(41850); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var EditPapermodules = ({"flex_box_center":"flex_box_center___KnC8L","flex_space_between":"flex_space_between___yrSsf","flex_box_vertical_center":"flex_box_vertical_center___cZzV4","flex_box_center_end":"flex_box_center_end___EEBSv","flex_box_column":"flex_box_column___SAQyb","bg":"bg___iaJvP","containerTitle":"containerTitle___hAyhW","containerDesc":"containerDesc___Wmnpy","d1":"d1___vWzg7","name":"name___pXPJ2","diff":"diff___mSG0_","time":"time___JH7qU","d2":"d2___hNU9k","listItem":"listItem___o7Akv","info":"info___jtW6Z","title":"title___jzarF","titleLeft":"titleLeft___eL0iv","titleRight":"titleRight___k5DG_","acitons":"acitons___w0pFT","formWrap":"formWrap___pBVT7","button":"button___bZLwx"}); -// EXTERNAL MODULE: ./src/components/DragSubject/index.tsx + 20 modules -var DragSubject = __webpack_require__(78218); -// EXTERNAL MODULE: ./src/utils/util.tsx -var util = __webpack_require__(29427); -// EXTERNAL MODULE: ./src/service/paperlibrary.ts -var paperlibrary = __webpack_require__(24410); -// EXTERNAL MODULE: ./node_modules/antd/es/radio/style/index.js + 1 modules -var radio_style = __webpack_require__(83822); -// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules -var es_radio = __webpack_require__(29924); -// EXTERNAL MODULE: ./node_modules/antd/es/input-number/style/index.js + 1 modules -var input_number_style = __webpack_require__(25359); -// EXTERNAL MODULE: ./node_modules/antd/es/input-number/index.js + 9 modules -var input_number = __webpack_require__(87799); -// EXTERNAL MODULE: ./node_modules/antd/es/cascader/style/index.js + 1 modules -var cascader_style = __webpack_require__(95847); -// EXTERNAL MODULE: ./node_modules/antd/es/cascader/index.js + 17 modules -var cascader = __webpack_require__(45239); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js -var createForOfIteratorHelper = __webpack_require__(74704); -var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); -// EXTERNAL MODULE: ./node_modules/antd/es/form/style/index.js + 1 modules -var form_style = __webpack_require__(75627); -// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules -var es_form = __webpack_require__(51018); -// EXTERNAL MODULE: ./src/components/AsyncButton/index.tsx -var AsyncButton = __webpack_require__(48559); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/EditForm.tsx - - - - - - - - - - - - - - - - - - - - - - - - -var EditForm = function EditForm(_ref) { - var initValue = _ref.initValue, - courseOptions = _ref.courseOptions, - setIsEdit = _ref.setIsEdit, - setEditKey = _ref.setEditKey, - reload = _ref.reload; - var _Form$useForm = es_form/* default.useForm */.Z.useForm(), - _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), - form = _Form$useForm2[0]; - var params = (0,_umi_production_exports.useParams)(); - var formInitValue = (0,react.useMemo)(function () { - var subDisciplineId = initValue === null || initValue === void 0 ? void 0 : initValue.sub_discipline_id; - var valueForCascader = []; - var _iterator = createForOfIteratorHelper_default()(courseOptions), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var item = _step.value; - var _iterator2 = createForOfIteratorHelper_default()(item.children), - _step2; - try { - for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { - var option = _step2.value; - if (option.value === subDisciplineId) { - valueForCascader = [item.value, option.value]; - } - } - } catch (err) { - _iterator2.e(err); - } finally { - _iterator2.f(); - } - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - var time = initValue.time; - return objectSpread2_default()(objectSpread2_default()({}, initValue), {}, { - sub_discipline_id: valueForCascader, - time: time === -1 ? null : time - }); - }, [initValue, courseOptions]); - return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { - initialValues: formInitValue, - layout: 'vertical', - form: form, - className: EditPapermodules.formWrap, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: '方向&课程:', - name: "sub_discipline_id", - labelCol: { - span: 5 - }, - wrapperCol: { - span: 5 - }, - rules: [{ - required: true, - message: '请选择课程' - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(cascader/* default */.Z, { - placeholder: "\u8BF7\u9009\u62E9...", - options: courseOptions - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: "exercise_name", - label: "\u8BD5\u5377\u540D\u79F0\uFF1A", - rules: [{ - required: true, - message: '请填写试卷名称' - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - maxLength: 60, - placeholder: "\u8BD5\u5377\u6807\u9898\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: "time", - label: "\u7B54\u9898\u65F6\u957F", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { - min: 1, - max: 9999, - style: { - width: 110 - }, - maxLength: 60, - placeholder: "\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginLeft: '10px', - width: '40px', - lineHeight: '32px', - marginTop: 23 - }, - children: "\u5206\u949F" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u96BE\u5EA6\uFF1A", - name: "difficulty", - rules: [{ - required: true, - message: '请选择难度' - }], - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - children: "\u56F0\u96BE" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u8BD5\u5377\u987B\u77E5\uFF1A", - name: "exercise_description", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.TextArea */.Z.TextArea, { - maxLength: 65535, - rows: 6, - placeholder: "\u8BF7\u5728\u6B64\u8F93\u5165\u672C\u6B21\u8BD5\u5377\u7B54\u9898\u7684\u76F8\u5173\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u523665535\u4E2A\u5B57\u7B26" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default.Item */.Z.Item, { - className: "tr", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, { - type: "primary", - onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var formValue, res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return form.validateFields(); - case 2: - formValue = form.getFieldsValue(); - formValue['sub_discipline_id'] = formValue['sub_discipline_id'][1]; - _context.next = 6; - return (0,paperlibrary/* updateExam */.w0)(objectSpread2_default()({ - id: params.id - }, formValue)); - case 6: - res = _context.sent; - if (res.status === 0) { - setIsEdit(false); - setEditKey(-1); - reload(); - } - case 8: - case "end": - return _context.stop(); - } - }, _callee); - })), - children: "\u4FDD\u5B58" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - style: { - marginLeft: 10 - }, - onClick: function onClick() { - form.resetFields(); - setIsEdit(false); - }, - children: "\u53D6\u6D88" - })] - })] - }); -}; -/* harmony default export */ var EditPaper_EditForm = (EditForm); -// EXTERNAL MODULE: ./node_modules/antd/es/table/style/index.js + 1 modules -var table_style = __webpack_require__(71854); -// EXTERNAL MODULE: ./node_modules/antd/es/table/index.js + 58 modules -var table = __webpack_require__(67250); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/PaperHeader/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var PaperHeadermodules = ({"wrap":"wrap___LuchA","img":"img___igDG4","table":"table___a5E2x","totalScore":"totalScore___L9CRr","people":"people___pwitC","glassSeal":"glassSeal___s0cz8"}); -// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 1 modules -var RenderHtml = __webpack_require__(12768); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/PaperHeader/index.tsx - - - - - - - - - - - - - - - - - -var PaperHeader = function PaperHeader(_ref) { - var _ref$isPreview = _ref.isPreview, - isPreview = _ref$isPreview === void 0 ? false : _ref$isPreview, - _ref$isExportBlank = _ref.isExportBlank, - isExportBlank = _ref$isExportBlank === void 0 ? false : _ref$isExportBlank, - newExercisePaper = _ref.newExercisePaper, - setIsEdit = _ref.setIsEdit; - var params = (0,_umi_production_exports.useParams)(); - var _useState = (0,react.useState)(), - _useState2 = slicedToArray_default()(_useState, 2), - headData = _useState2[0], - setHeadData = _useState2[1]; - var _useState3 = (0,react.useState)(), - _useState4 = slicedToArray_default()(_useState3, 2), - tableData = _useState4[0], - setTableData = _useState4[1]; - var leftheight = (0,react.useRef)(null); - var _useState5 = (0,react.useState)(21), - _useState6 = slicedToArray_default()(_useState5, 2), - leftheights = _useState6[0], - setleftheights = _useState6[1]; - (0,react.useEffect)(function () { - getData(); - }, []); - (0,react.useEffect)(function () { - if (leftheight.current) { - setleftheights(leftheight.current.clientHeight); - } - }, [leftheight.current]); - (0,react.useEffect)(function () { - var _newExercisePaper$exe; - if ((_newExercisePaper$exe = newExercisePaper.exerciseExportHeadData) !== null && _newExercisePaper$exe !== void 0 && _newExercisePaper$exe.title) { - var res = newExercisePaper.exerciseExportHeadData; - setHeadData(objectSpread2_default()({}, res || {})); - var _ref2 = res || {}, - table = _ref2.table; - var total_score; - var actual_total_score; - if (table !== null && table !== void 0 && table.total_singles_scores || table !== null && table !== void 0 && table.total_doubles_scores || table !== null && table !== void 0 && table.total_nulls_scores || table !== null && table !== void 0 && table.total_judges_scores || table !== null && table !== void 0 && table.total_pros_scores || table !== null && table !== void 0 && table.total_shixuns_scores || table !== null && table !== void 0 && table.total_mains_scores || table !== null && table !== void 0 && table.total_combination_scores) { - total_score = Number(table === null || table === void 0 ? void 0 : table.total_singles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.total_judges_scores) + Number(table === null || table === void 0 ? void 0 : table.total_pros_scores) + Number(table === null || table === void 0 ? void 0 : table.total_shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.total_mains_scores) + Number(table === null || table === void 0 ? void 0 : table.total_combination_scores); - } - if (table !== null && table !== void 0 && table.singles_scores || table !== null && table !== void 0 && table.doubles_scores || table !== null && table !== void 0 && table.nulls_scores || table !== null && table !== void 0 && table.judges_scores || table !== null && table !== void 0 && table.pros_scores || table !== null && table !== void 0 && table.shixuns_scores || table !== null && table !== void 0 && table.mains_scores || table !== null && table !== void 0 && table.combination_scores) { - actual_total_score = Number(table === null || table === void 0 ? void 0 : table.singles_scores) + Number(table === null || table === void 0 ? void 0 : table.doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.judges_scores) + Number(table === null || table === void 0 ? void 0 : table.pros_scores) + Number(table === null || table === void 0 ? void 0 : table.shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.mains_scores) + Number(table === null || table === void 0 ? void 0 : table.combination_scores); - } - var data = [{ - key: '1', - name: '应得分', - singles_score: table === null || table === void 0 ? void 0 : table.total_singles_scores, - doubles_score: table === null || table === void 0 ? void 0 : table.total_doubles_scores, - nulls_score: table === null || table === void 0 ? void 0 : table.total_nulls_scores, - judges_score: table === null || table === void 0 ? void 0 : table.total_judges_scores, - pros_score: table === null || table === void 0 ? void 0 : table.total_pros_scores, - shixuns_score: table === null || table === void 0 ? void 0 : table.total_shixuns_scores, - mains_score: table === null || table === void 0 ? void 0 : table.total_mains_scores, - combinations_score: table === null || table === void 0 ? void 0 : table.total_combination_scores, - total_score: total_score - }, { - key: '2', - name: '实得分', - singles_score: table === null || table === void 0 ? void 0 : table.singles_scores, - doubles_score: table === null || table === void 0 ? void 0 : table.doubles_scores, - nulls_score: table === null || table === void 0 ? void 0 : table.nulls_scores, - judges_score: table === null || table === void 0 ? void 0 : table.judges_scores, - pros_score: table === null || table === void 0 ? void 0 : table.pros_scores, - shixuns_score: table === null || table === void 0 ? void 0 : table.shixuns_scores, - mains_score: table === null || table === void 0 ? void 0 : table.mains_scores, - combinations_score: table === null || table === void 0 ? void 0 : table.combination_scores, - total_score: actual_total_score - }, { - key: '3', - name: '评卷人' - }]; - var blankData = [{ - key: '1', - name: '应得分', - singles_score: table === null || table === void 0 ? void 0 : table.total_singles_scores, - doubles_score: table === null || table === void 0 ? void 0 : table.total_doubles_scores, - nulls_score: table === null || table === void 0 ? void 0 : table.total_nulls_scores, - judges_score: table === null || table === void 0 ? void 0 : table.total_judges_scores, - pros_score: table === null || table === void 0 ? void 0 : table.total_pros_scores, - shixuns_score: table === null || table === void 0 ? void 0 : table.total_shixuns_scores, - mains_score: table === null || table === void 0 ? void 0 : table.total_mains_scores, - combinations_score: table === null || table === void 0 ? void 0 : table.combination_scores, - total_score: total_score - }, { - key: '2', - name: '实得分' - }, { - key: '3', - name: '评卷人' - }]; - setTableData(toConsumableArray_default()(isExportBlank ? blankData : data)); - } - }, [newExercisePaper.exerciseExportHeadData]); - var getData = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var res, _ref4, table, total_score, actual_total_score, data, blankData; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,paperlibrary/* getExerciseHeadInfo */.Dq)(params.id); - case 2: - res = _context.sent; - setHeadData(res || {}); - _ref4 = res || {}, table = _ref4.table; - if (table !== null && table !== void 0 && table.total_singles_scores || table !== null && table !== void 0 && table.total_doubles_scores || table !== null && table !== void 0 && table.total_nulls_scores || table !== null && table !== void 0 && table.total_judges_scores || table !== null && table !== void 0 && table.total_pros_scores || table !== null && table !== void 0 && table.total_shixuns_scores || table !== null && table !== void 0 && table.total_mains_scores || table !== null && table !== void 0 && table.total_combination_scores) { - total_score = Number(table === null || table === void 0 ? void 0 : table.total_singles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.total_nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.total_judges_scores) + Number(table === null || table === void 0 ? void 0 : table.total_pros_scores) + Number(table === null || table === void 0 ? void 0 : table.total_shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.total_mains_scores) + Number(table === null || table === void 0 ? void 0 : table.total_combination_scores); - } - if (table !== null && table !== void 0 && table.singles_scores || table !== null && table !== void 0 && table.doubles_scores || table !== null && table !== void 0 && table.nulls_scores || table !== null && table !== void 0 && table.judges_scores || table !== null && table !== void 0 && table.pros_scores || table !== null && table !== void 0 && table.shixuns_scores || table !== null && table !== void 0 && table.mains_scores || table !== null && table !== void 0 && table.combinations_score) { - actual_total_score = Number(table === null || table === void 0 ? void 0 : table.singles_scores) + Number(table === null || table === void 0 ? void 0 : table.doubles_scores) + Number(table === null || table === void 0 ? void 0 : table.nulls_scores) + Number(table === null || table === void 0 ? void 0 : table.judges_scores) + Number(table === null || table === void 0 ? void 0 : table.pros_scores) + Number(table === null || table === void 0 ? void 0 : table.shixuns_scores) + Number(table === null || table === void 0 ? void 0 : table.mains_scores) + Number(table === null || table === void 0 ? void 0 : table.combinations_score); - } - data = [{ - key: '1', - name: '应得分', - singles_score: table === null || table === void 0 ? void 0 : table.total_singles_scores, - doubles_score: table === null || table === void 0 ? void 0 : table.total_doubles_scores, - nulls_score: table === null || table === void 0 ? void 0 : table.total_nulls_scores, - judges_score: table === null || table === void 0 ? void 0 : table.total_judges_scores, - pros_score: table === null || table === void 0 ? void 0 : table.total_pros_scores, - shixuns_score: table === null || table === void 0 ? void 0 : table.total_shixuns_scores, - combinations_score: table === null || table === void 0 ? void 0 : table.total_combination_scores, - mains_score: table === null || table === void 0 ? void 0 : table.total_mains_scores, - total_score: total_score - }, { - key: '2', - name: '实得分', - singles_score: table === null || table === void 0 ? void 0 : table.singles_scores, - doubles_score: table === null || table === void 0 ? void 0 : table.doubles_scores, - nulls_score: table === null || table === void 0 ? void 0 : table.nulls_scores, - judges_score: table === null || table === void 0 ? void 0 : table.judges_scores, - pros_score: table === null || table === void 0 ? void 0 : table.pros_scores, - shixuns_score: table === null || table === void 0 ? void 0 : table.shixuns_scores, - mains_score: table === null || table === void 0 ? void 0 : table.mains_scores, - combinations_score: table === null || table === void 0 ? void 0 : table.combination_scores, - total_score: actual_total_score - }, { - key: '3', - name: '评卷人' - }]; - blankData = [{ - key: '1', - name: '应得分' - }, { - key: '2', - name: '实得分' - }, { - key: '3', - name: '评卷人' - }]; - setTableData(isExportBlank ? blankData : data); - case 10: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function getData() { - return _ref3.apply(this, arguments); - }; - }(); - var columns = [{ - width: '10%', - title: '题型', - align: 'center', - dataIndex: 'name', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text - }); - } - }, { - width: '10%', - title: '单选题', - align: 'center', - dataIndex: 'singles_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '多选题', - align: 'center', - dataIndex: 'doubles_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '填空题', - align: 'center', - dataIndex: 'nulls_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '判断题', - align: 'center', - dataIndex: 'judges_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '编程题', - align: 'center', - dataIndex: 'pros_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '实训题', - align: 'center', - dataIndex: 'shixuns_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '简答题', - align: 'center', - dataIndex: 'mains_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '组合题', - align: 'center', - dataIndex: 'combinations_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }, { - width: '10%', - title: '总分', - align: 'center', - dataIndex: 'total_score', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text - }); - } - }]; - var _ref5 = headData || {}, - exercise_header = _ref5.exercise_header; - return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: "".concat(PaperHeadermodules.wrap, " ").concat(isPreview ? 'pl20' : '', " "), - children: [(headData === null || headData === void 0 ? void 0 : headData.photo_url) && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { - className: PaperHeadermodules.img, - src: headData === null || headData === void 0 ? void 0 : headData.photo_url - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - width: '100%', - textAlign: 'end' - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - onClick: function onClick() { - return setIsEdit(true); - }, - children: "\u7F16\u8F91\u8BD5\u5377" - }) - }), (exercise_header === null || exercise_header === void 0 ? void 0 : exercise_header.show_title) && /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "font16 tc c-grey-333", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - children: headData === null || headData === void 0 ? void 0 : headData.title - }) - }), (headData === null || headData === void 0 ? void 0 : headData.exercise_description) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - ref: leftheight, - style: { - justifyContent: leftheights === 21 ? 'center' : 'left', - wordBreak: 'break-all', - display: 'flex', - textAlign: 'left', - marginBottom: 12 - }, - className: "tc c-grey-333", - children: "\u8BD5\u5377\u987B\u77E5\uFF1A".concat(headData === null || headData === void 0 ? void 0 : headData.exercise_description) - }), (exercise_header === null || exercise_header === void 0 ? void 0 : exercise_header.show_info) && /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "tc c-grey-666", - children: ["\u5171:\u3010", headData === null || headData === void 0 ? void 0 : headData.large_counts, "\u5927\u9898\u3011\u3010", headData === null || headData === void 0 ? void 0 : headData.total_count, "\u5C0F\u9898\u3011\u3010 \u6EE1\u5206", headData === null || headData === void 0 ? void 0 : headData.score, "\u5206\u3011 \u8003\u8BD5\u65F6\u95F4\uFF1A\u3010", (headData === null || headData === void 0 ? void 0 : headData.time) > -1 ? "".concat(headData === null || headData === void 0 ? void 0 : headData.time, "\u5206\u949F") : "\u4E0D\u9650", "\u3011"] - }), (exercise_header === null || exercise_header === void 0 ? void 0 : exercise_header.show_desc) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "mt10", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "font16", - children: "\u8003\u8BD5\u8BF4\u660E\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: headData === null || headData === void 0 ? void 0 : headData.description - })] - }), (exercise_header === null || exercise_header === void 0 ? void 0 : exercise_header.show_table) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt10", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - className: PaperHeadermodules.table, - columns: columns, - dataSource: toConsumableArray_default()(tableData || []), - bordered: true, - pagination: false - }) - })] - }) - }); -}; -/* harmony default export */ var EditPaper_PaperHeader = ((0,_umi_production_exports.connect)(function (_ref6) { - var newExercisePaper = _ref6.newExercisePaper; - return { - newExercisePaper: newExercisePaper - }; -})(PaperHeader)); -// EXTERNAL MODULE: ./src/pages/Paperlibrary/Add/index.tsx + 18 modules -var Add = __webpack_require__(83628); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/ActionFooter.tsx - - - - - - - -// import { startSimulateAnswer } from '@/service/exercise'; - - - - -var ActionFooter = function ActionFooter(_ref) { - var onImport = _ref.onImport, - questionType = _ref.questionType, - onAdd = _ref.onAdd, - onSort = _ref.onSort, - user = _ref.user; - var params = (0,_umi_production_exports.useParams)(); - var handleIniateAnswer = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var res, _user$userInfo; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return (0,paperlibrary/* generateExerciseId */.JP)(params.id); - case 2: - res = _context.sent; - if (res.status === 0) { - _umi_production_exports.history.push("/classrooms/coursesId/exercise/".concat(res.exercise_id, "/").concat((_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login, "/initate_answer")); - } - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function handleIniateAnswer() { - return _ref2.apply(this, arguments); - }; - }(); - return /*#__PURE__*/(0,jsx_runtime.jsx)("section", { - style: { - display: 'flex', - width: '100%', - position: 'fixed', - bottom: 0, - height: 70, - boxShadow: 'rgb(0 0 0 / 5%) 0px -4px 4px 0px', - zIndex: 666 - }, - className: [EditPapermodules.bg, 'pt30', 'pl30', 'pr30', 'pb30', 'mt20'].join(' '), - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - width: '1200px', - margin: '0px auto', - display: 'flex', - alignItems: 'center' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - style: { - height: 30, - marginRight: 10, - width: 104 - }, - type: "primary", - onClick: function onClick() { - _umi_production_exports.history.push("/paperlibrary/edit_select/".concat(params.id)); - }, - children: "\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - style: { - height: 30, - marginRight: 27, - width: 104 - }, - type: "primary", - onClick: onImport, - children: "\u6279\u91CF\u5BFC\u5165\u8BD5\u9898" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - marginRight: '27px', - height: '30px', - width: 1, - background: '#F5F5F5' - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - display: 'flex', - marginRight: 27 - }, - children: questionType.map(function (item) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: EditPapermodules.button, - onClick: function onClick() { - return onAdd(item.id); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-tianjiashitixiaojiahao mr5", - style: { - fontSize: '10px', - color: '#B1BACD' - } - }), item.name] - }, item.id); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - marginRight: '25px', - height: '30px', - width: 1, - background: '#F5F5F5' - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { - style: { - width: 96, - height: 30, - border: '1px solid #98BDF7', - color: '#145DFF' - }, - className: "mr8", - onClick: onSort, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-tixingpaixu mr8", - style: { - fontSize: '14px', - color: '#98BDF7' - } - }), "\u9898\u578B\u6392\u5E8F"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - style: { - width: 96, - height: 30, - border: '1px solid #98BDF7', - color: '#145DFF' - }, - className: "mr8", - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, { - to: "/paperlibrary/see/".concat(params.id), - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-yulan mr8", - style: { - fontSize: '14px', - color: '#98BDF7' - } - }), "\u9884\u89C8"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { - style: { - width: 96, - height: 30, - border: '1px solid #98BDF7', - color: '#145DFF' - }, - onClick: (0,lodash.throttle)(handleIniateAnswer, 3500), - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-monikaoshi1 mr8", - style: { - fontSize: '14px', - color: '#98BDF7' - } - }), "\u6A21\u62DF\u8003\u8BD5"] - })] - }) - }); -}; -/* harmony default export */ var EditPaper_ActionFooter = ((0,_umi_production_exports.connect)(function (_ref3) { - var user = _ref3.user; - return { - user: user - }; -})(ActionFooter)); -// EXTERNAL MODULE: ./src/utils/enum.ts -var utils_enum = __webpack_require__(70960); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPaper/index.tsx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var EditPaper = function EditPaper(_ref) { - var _newExercisePaper$edi14, _newExercisePaper$edi15, _newExercisePaper$edi16; - var newExercisePaper = _ref.newExercisePaper, - user = _ref.user, - dispatch = _ref.dispatch; - var params = (0,_umi_production_exports.useParams)(); - var _useState = (0,react.useState)(false), - _useState2 = slicedToArray_default()(_useState, 2), - isEdit = _useState2[0], - setIsEdit = _useState2[1]; - var _useState3 = (0,react.useState)(false), - _useState4 = slicedToArray_default()(_useState3, 2), - dragVisible = _useState4[0], - setDragVisible = _useState4[1]; //题型排序弹窗 - var _useState5 = (0,react.useState)(-1), - _useState6 = slicedToArray_default()(_useState5, 2), - editKey = _useState6[0], - _setEditKey = _useState6[1]; - var childrenRef = (0,react.useRef)(); - var questionType = [{ - name: '单选题', - id: 0, - count: 'q_singles', - score: 'q_singles_scores' - }, { - name: '多选题', - id: 1, - count: 'q_doubles', - score: 'q_doubles_scores' - }, { - name: '判断题', - id: 2, - count: 'q_judges', - score: 'q_judges_scores' - }, { - name: '填空题', - id: 3, - count: 'q_nulls', - score: 'q_nulls_scores' - }, { - name: '简答题', - id: 4, - count: 'q_mains', - score: 'q_mains_scores' - }, { - name: '实训题', - id: 5, - count: 'q_shixuns', - score: 'q_shixuns_scores' - }, { - name: '编程题', - id: 6, - count: 'q_pros', - score: 'q_pros_scores' - }, { - name: '组合题', - id: 7, - count: 'q_combinations', - score: 'q_combinations_scores' - }]; - var queryParams = (0,util/* getJsonFromUrl */.oP)(); - (0,react.useEffect)(function () { - dispatch({ - type: 'globalSetting/footerToggle', - payload: false - }); - return function () { - dispatch({ - type: 'globalSetting/footerToggle', - payload: true - }); - }; - }, []); - (0,react.useEffect)(function () { - // getData(); - var res = dispatch({ - type: 'newExercisePaper/editExercise', - payload: { - id: params.id - } - }); - if (res.status === 0) { - setEditData(res.exercise_question_types); - } - }, []); - var courseOptions = (0,Add.useCourseOptions)(); - (0,react.useEffect)(function () { - var _newExercisePaper$edi, _newExercisePaper$edi4, _newExercisePaper$edi5; - if (newExercisePaper !== null && newExercisePaper !== void 0 && (_newExercisePaper$edi = newExercisePaper.editData) !== null && _newExercisePaper$edi !== void 0 && _newExercisePaper$edi.exercise_question_types) { - var _newExercisePaper$edi2, _newExercisePaper$edi3; - setEditData((0,lodash.cloneDeep)(newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi2 = newExercisePaper.editData) === null || _newExercisePaper$edi2 === void 0 ? void 0 : _newExercisePaper$edi2.exercise_question_types)); - saveEditData.current = (0,lodash.cloneDeep)(newExercisePaper === null || newExercisePaper === void 0 ? void 0 : (_newExercisePaper$edi3 = newExercisePaper.editData) === null || _newExercisePaper$edi3 === void 0 ? void 0 : _newExercisePaper$edi3.exercise_question_types); - } - var id = (_newExercisePaper$edi4 = newExercisePaper.editData) === null || _newExercisePaper$edi4 === void 0 ? void 0 : (_newExercisePaper$edi5 = _newExercisePaper$edi4.exercise) === null || _newExercisePaper$edi5 === void 0 ? void 0 : _newExercisePaper$edi5.sub_discipline_id; - id && getTagData(id); - }, [newExercisePaper.editData]); - var getTagData = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(id) { - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return dispatch({ - type: 'newExercisePaper/getTagDiscipline', - payload: { - sub_discipline_id: id - } - }); - case 2: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function getTagData(_x) { - return _ref2.apply(this, arguments); - }; - }(); - var _useState7 = (0,react.useState)(), - _useState8 = slicedToArray_default()(_useState7, 2), - editData = _useState8[0], - setEditData = _useState8[1]; - var saveEditData = (0,react.useRef)(editData); - var getData = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var res; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - res = dispatch({ - type: 'newExercisePaper/editExercise', - payload: { - id: params.id - } - }); - if (res.status === 0) { - setEditData(res.exercise_question_types); - } - //刷新头部数据 - dispatch({ - type: 'newExercisePaper/getExerciseExportHeadData', - payload: params.id - }); - case 3: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function getData() { - return _ref3.apply(this, arguments); - }; - }(); - var addQuestion = /*#__PURE__*/function () { - var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(type) { - var _newExercisePaper$edi6, _newExercisePaper$edi7, _newExercisePaper$edi8, _newExercisePaper$edi9, _p$items$p$count, p, insertParams; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - if (!(editKey !== -1)) { - _context3.next = 3; - break; - } - message/* default.error */.ZP.error('不能同时编辑两题'); - return _context3.abrupt("return"); - case 3: - if (!(type === utils_enum/* QuestionType.Shixun */.c.Shixun)) { - _context3.next = 7; - break; - } - dispatch({ - type: 'classroomList/setActionTabs', - payload: { - key: '选用实践项目' - } - }); - _context3.next = 21; - break; - case 7: - if (!(type === utils_enum/* QuestionType.Program */.c.Program)) { - _context3.next = 11; - break; - } - _umi_production_exports.history.push("/problems/new?difficult=".concat((_newExercisePaper$edi6 = newExercisePaper.editData) === null || _newExercisePaper$edi6 === void 0 ? void 0 : (_newExercisePaper$edi7 = _newExercisePaper$edi6.exercise) === null || _newExercisePaper$edi7 === void 0 ? void 0 : _newExercisePaper$edi7.difficulty, "&sub_discipline_id=").concat((_newExercisePaper$edi8 = newExercisePaper.editData) === null || _newExercisePaper$edi8 === void 0 ? void 0 : (_newExercisePaper$edi9 = _newExercisePaper$edi8.exercise) === null || _newExercisePaper$edi9 === void 0 ? void 0 : _newExercisePaper$edi9.sub_discipline_id, "&express_id=").concat(params.id, "&callback_url=").concat(location.pathname)); - _context3.next = 21; - break; - case 11: - p = editData.find(function (e) { - return e.question_type === type; - }); - if (p) { - _context3.next = 18; - break; - } - saveEditData.current = (0,lodash.cloneDeep)(editData); - editData.push({ - name: questionType.find(function (er) { - return er.id === type; - }).name, - question_type: type, - count: 0, - score: 0, - items: [{ - key: 1, - insert_id: 1, - question_type: type - }] - }); - setEditData(toConsumableArray_default()(editData)); - _setEditKey("".concat(type, "-", 1)); - return _context3.abrupt("return"); - case 18: - setTimeout(function () { - var _document$getElementB; - (_document$getElementB = document.getElementById("".concat(type, "-").concat(p.count - 1))) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.scrollIntoView(); - }, 400); - insertParams = { - key: p.count, - insert_id: (_p$items$p$count = p.items[p.count]) === null || _p$items$p$count === void 0 ? void 0 : _p$items$p$count.question_id, - question_type: type - }; - _addCallback(insertParams); - case 21: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return function addQuestion(_x2) { - return _ref4.apply(this, arguments); - }; - }(); - var _cancelAdd = function cancelAdd() { - _setEditKey(-1); - setEditData(saveEditData.current); - }; - var _addCallback = function addCallback() { - var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - saveEditData.current = (0,lodash.cloneDeep)(editData); - if (data.question_type === utils_enum/* QuestionType.Program */.c.Program) { - var _newExercisePaper$edi10, _newExercisePaper$edi11, _newExercisePaper$edi12, _newExercisePaper$edi13; - _umi_production_exports.history.push("/problems/new?difficult=".concat((_newExercisePaper$edi10 = newExercisePaper.editData) === null || _newExercisePaper$edi10 === void 0 ? void 0 : (_newExercisePaper$edi11 = _newExercisePaper$edi10.exercise) === null || _newExercisePaper$edi11 === void 0 ? void 0 : _newExercisePaper$edi11.difficulty, "&sub_discipline_id=").concat((_newExercisePaper$edi12 = newExercisePaper.editData) === null || _newExercisePaper$edi12 === void 0 ? void 0 : (_newExercisePaper$edi13 = _newExercisePaper$edi12.exercise) === null || _newExercisePaper$edi13 === void 0 ? void 0 : _newExercisePaper$edi13.sub_discipline_id, "&express_id=").concat(params.id, "&callback_url=").concat(location.pathname)); - return false; - } - editData.map(function (item) { - if (item.question_type === data.question_type) { - var newItems = (0,lodash.cloneDeep)(item.items); - newItems.splice(data === null || data === void 0 ? void 0 : data.key, 0, objectSpread2_default()({ - insert_id: data === null || data === void 0 ? void 0 : data.insert_id - }, data)); - item.items = newItems; - } - return item; - }); - setEditData(toConsumableArray_default()(editData)); - _setEditKey("".concat(data.question_type, "-").concat(data.key + 1)); - }; - var editorProps = { - ref: childrenRef, - editKey: editKey, - hideAction: false, - cancelAdd: function cancelAdd() { - return _cancelAdd(); - }, - setEditKey: function setEditKey(key) { - return _setEditKey(key); - }, - addCallback: function addCallback(data) { - return _addCallback(data); - } - }; - var _useState9 = (0,react.useState)(false), - _useState10 = slicedToArray_default()(_useState9, 2), - uploadModalVisible = _useState10[0], - setUploadModalVisible = _useState10[1]; //批量导入弹窗 - var handleOk = /*#__PURE__*/function () { - var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(list, cb) { - var _list$; - var res; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (!(list.length === 0)) { - _context4.next = 4; - break; - } - message/* default.warn */.ZP.warn('请上传文件'); - cb(); - return _context4.abrupt("return"); - case 4: - _context4.next = 6; - return (0,paperlibrary/* importItemBanks */.Hb)(params.id, (_list$ = list[0]) === null || _list$ === void 0 ? void 0 : _list$.file); - case 6: - res = _context4.sent; - if (res.status === 0) { - message/* default.success */.ZP.success("\u6210\u529F\u5BFC\u5165".concat(res === null || res === void 0 ? void 0 : res.success, "\u6761")); - setUploadModalVisible(false); - getData(); - } - case 8: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function handleOk(_x3, _x4) { - return _ref5.apply(this, arguments); - }; - }(); - var handleDragOk = /*#__PURE__*/function () { - var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(list, cb) { - var res; - return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { - case 0: - _context5.next = 2; - return (0,paperlibrary/* sortQuestion */.VG)(params.id, { - question_type: list - }); - case 2: - res = _context5.sent; - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - message/* default.success */.ZP.success(res === null || res === void 0 ? void 0 : res.message); - setDragVisible(false); - getData(); - } - cb(); - case 5: - case "end": - return _context5.stop(); - } - }, _callee5); - })); - return function handleDragOk(_x5, _x6) { - return _ref6.apply(this, arguments); - }; - }(); - var handleUploadQuestion = function handleUploadQuestion() { - if (editKey !== -1) { - message/* default.error */.ZP.error('请先保存或取消当前正在编辑的问题。'); - return; - } - setUploadModalVisible(true); - }; - var handleDragEnd = /*#__PURE__*/function () { - var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(result, list, type) { - var index, newEditData, res; - return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { - case 0: - saveEditData.current = (0,lodash.cloneDeep)(editData); - index = editData.findIndex(function (e) { - return e.question_type === type; - }); - newEditData = editData; - newEditData[index].items = list; - setEditData(toConsumableArray_default()(newEditData)); - _context6.next = 7; - return (0,paperlibrary/* adjustPosition */.qN)({ - id: params.id, - itemId: parseInt(result.draggableId), - position: result.destination.index + 1 - }); - case 7: - res = _context6.sent; - case 8: - case "end": - return _context6.stop(); - } - }, _callee6); - })); - return function handleDragEnd(_x7, _x8, _x9) { - return _ref7.apply(this, arguments); - }; - }(); - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: "edu-container minH500", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, { - spinning: false, - size: "large", - style: { - position: 'fixed', - maxHeight: '100vh' - }, - className: "mt30", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: "animated fadeIn", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: "mt10", - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(breadcrumb/* default */.Z, { - separator: ">", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: "/paperlibrary", - children: "\u8BD5\u5377\u5E93" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: "\u7F16\u8F91\u8BD5\u5377" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: "".concat(EditPapermodules.title, " mt20"), - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - style: { - width: '100%' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - className: "font20 ml5", - children: "\u7F16\u8F91\u8BD5\u5377" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - className: "font16 c-light-black", - to: (queryParams === null || queryParams === void 0 ? void 0 : queryParams.fromadd) === '1' ? "/paperlibrary/add/".concat(params.id) : "/paperlibrary", - children: "\u8FD4\u56DE" - }) - })] - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: [EditPapermodules.bg, 'pt30', 'pl30', 'pr30', 'pb60', 'mt20'].join(' '), - children: [!isEdit && /*#__PURE__*/(0,jsx_runtime.jsx)(EditPaper_PaperHeader, { - setIsEdit: setIsEdit, - isExportBlank: false - }), isEdit && /*#__PURE__*/(0,jsx_runtime.jsx)(EditPaper_EditForm, { - initValue: (_newExercisePaper$edi14 = newExercisePaper.editData) === null || _newExercisePaper$edi14 === void 0 ? void 0 : _newExercisePaper$edi14.exercise, - setIsEdit: setIsEdit, - courseOptions: courseOptions, - reload: getData, - setEditKey: _setEditKey - })] - }), editData && /*#__PURE__*/(0,jsx_runtime.jsx)("section", { - className: [EditPapermodules.bg, 'pt30', 'pl20', 'pr20', 'pb20', 'mt20'].join(' '), - children: /*#__PURE__*/(0,jsx_runtime.jsx)(DragSubject/* default */.Z, { - inNewPaperLibrary: true, - data: editData, - editorProps: editorProps, - isDragDisabled: editKey !== -1, - onDragEnd: handleDragEnd, - batchScore: ['单选题', '多选题', '判断题', '填空题', '简答题', '编程题'], - reload: getData - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(components_SelectShixuns, { - inNewPaperLibrary: true, - callback: function callback(originData, data, is_copy) { - var _originData$title; - saveEditData.current = (0,lodash.cloneDeep)(editData); - var param = { - shixun: originData.challenge_names.map(function (item) { - return { - challenge_name: item, - challenge_score: 5 - }; - }), - shixun_name: originData === null || originData === void 0 ? void 0 : (_originData$title = originData.title) === null || _originData$title === void 0 ? void 0 : _originData$title.replace(/<.*?>/gi, ''), - shixun_id: originData.id, - question_type: 5, - edit: true, - is_copy: is_copy - }; - if (data) { - editData.map(function (item) { - if (item.question_type === 5) { - var newItems = (0,lodash.cloneDeep)(item.items); - newItems.splice(data === null || data === void 0 ? void 0 : data.key, 0, param); - item.items = newItems; - } - return item; - }); - _setEditKey("5-".concat(editData.key + 1)); - setEditData(toConsumableArray_default()(editData)); - } - if (!data) { - var _document$getElementB2; - var p = editData.find(function (e) { - return e.question_type === 5; - }); - if (!p) { - editData.push({ - name: questionType.find(function (er) { - return er.id === 5; - }).name, - question_type: 5, - count: 0, - score: 0, - items: [param] - }); - setEditData(toConsumableArray_default()(editData)); - _setEditKey("".concat(5, "-", 1)); - return; - } - (_document$getElementB2 = document.getElementById("".concat(5, "-", p.count - 1))) === null || _document$getElementB2 === void 0 ? void 0 : _document$getElementB2.scrollIntoView({ - block: 'center', - inline: 'nearest' - }); - p.items.push(param); - setEditData(toConsumableArray_default()(editData)); - _setEditKey("".concat(5, "-", p.count)); - } - } - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(UploadQuestions/* default */.Z, { - visible: uploadModalVisible, - onCancel: function onCancel() { - return setUploadModalVisible(false); - }, - onOk: handleOk - }), /*#__PURE__*/(0,jsx_runtime.jsx)(DragQuestions/* default */.Z, { - visible: dragVisible, - onCancel: function onCancel() { - return setDragVisible(false); - }, - onOk: handleDragOk, - data: (_newExercisePaper$edi15 = newExercisePaper.editData) === null || _newExercisePaper$edi15 === void 0 ? void 0 : (_newExercisePaper$edi16 = _newExercisePaper$edi15.exercise) === null || _newExercisePaper$edi16 === void 0 ? void 0 : _newExercisePaper$edi16.sort_by_qustion_type - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(EditPaper_ActionFooter, { - questionType: questionType, - onAdd: addQuestion, - onImport: handleUploadQuestion, - onSort: function onSort() { - return setDragVisible(true); - } - })] - }); -}; -/* harmony default export */ var Paperlibrary_EditPaper = ((0,_umi_production_exports.connect)(function (_ref8) { - var newExercisePaper = _ref8.newExercisePaper, - user = _ref8.user; - return { - user: user, - newExercisePaper: newExercisePaper - }; -})(EditPaper)); - -/***/ }), - -/***/ 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 - - - -/***/ }), - -/***/ 4977: -/*!********************************************!*\ - !*** ./src/assets/images/icons/nodata.png ***! - \********************************************/ -/***/ (function(module) { - -module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="; - -/***/ }) - -}]); \ No newline at end of file diff --git a/p__Paperlibrary__EditPaper__index.chunk.css b/p__Paperlibrary__EditPaper__index.chunk.css deleted file mode 100644 index ff38c9673c..0000000000 --- a/p__Paperlibrary__EditPaper__index.chunk.css +++ /dev/null @@ -1,1159 +0,0 @@ -/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** 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/SelectShixuns/index.less?modules ***! - \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___qqSim { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___nZTzA { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___FflA5 { - align-items: center; - box-align: center; -} -.flex_box_center_end___RKoZO { - 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___DXKDc { - flex-direction: column; - box-orient: block-axis; -} -.wrp___MR6F6 { - background: #fff; - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.04); - padding-top: 10px; -} -.drawer___Dns2o [class='ant-drawer-content'] { - background: #f5f5f5; -} -.drawer___Dns2o [class='ant-drawer-footer'] { - background: #fff; - box-shadow: 0 -4px 4px 0 rgba(0, 0, 0, 0.05); - position: relative; - border: 0; -} -.menu___cBdnl { - padding: 0; - margin: 15px 0; - position: relative; - z-index: 2; -} -.menu___cBdnl:hover { - z-index: 3; -} -.menu___cBdnl > li { - display: inline-block; - position: relative; - margin-right: 10px; - font-size: 14px; - font-weight: 600; - cursor: pointer; - height: 32px; - line-height: 32px; - border-radius: 32px; - padding: 0 18px; -} -.menu___cBdnl > li a { - color: #4b4b4b; -} -.menu___cBdnl > li strong { - cursor: pointer; - font-size: 14px; -} -.menu___cBdnl > li:hover { - color: #fff; - background: #0152d9; -} -.actived___Fm1fs { - background: #0152d9; - color: #fff; -} -.actived2___cwZou { - color: #0152d9 !important; -} -.listItem___Liid8 { - padding: 25px 30px 25px 30px; - display: box; - display: flex; - background: white; - margin-top: 20px; - cursor: pointer; -} -.listItem___Liid8 > div { - flex: 1 1; -} -.listItem___Liid8:hover { - box-shadow: 0 0 10px #ccc; -} -.info___j48mI { - margin-left: 20px; -} -.info___j48mI p { - margin-top: 18px; -} -.title___qpaZz { - display: box; - display: flex; - align-items: center; - box-align: center; -} -.title___qpaZz strong { - color: #333; -} -.titleLeft___vMyfF { - flex: 1 1; -} -.titleRight___OofM5 { - margin-top: 18px; -} -.titleRight___OofM5 a { - margin-right: 20px; - font-weight: bold; -} -.search___UMLb_ { - width: 600px !important; - margin: 30px 0 30px 0; -} -.search___UMLb_ input, -.search___UMLb_ [class='ant-input-group-addon'] button { - height: 50px; - line-height: 50px; - padding: 0 30px; - font-size: 16px; -} -.description___uzEXi { - -webkit-box-orient: vertical; - display: -webkit-box; - -webkit-line-clamp: 2; - overflow: hidden; -} -.menuCourse___omGeP { - color: #999; -} -.menuCourse___omGeP ul, -.menuCourse___omGeP li { - margin: 0; - padding: 0; - list-style: none; -} -.menuCourse___omGeP li { - display: inline-block; - margin-right: 30px; -} -.menut___qYp6m { - padding: 0; - margin: 15px 0; - display: inline-block; - position: relative; - z-index: 2; -} -.menut___qYp6m:hover { - z-index: 3; -} -.menut___qYp6m > li { - display: inline-block; - position: relative; - margin-right: 10px; - font-size: 14px; - font-weight: 600; - cursor: pointer; - height: 32px; - line-height: 32px; - border-radius: 32px; -} -.menut___qYp6m > li a { - color: #4b4b4b; -} -.menut___qYp6m > li strong { - padding: 6px 15px; - border-radius: 32px; - cursor: pointer; - font-weight: 600; -} -.menut___qYp6m > li:hover { - color: #fff; -} -.menut___qYp6m > li:hover > a > strong, -.menut___qYp6m > li:hover > strong { - color: #fff; - background: #0152d9; -} -.menut___qYp6m > li:hover div { - display: block; -} -.menut___qYp6m > li > div { - display: none; - position: absolute; - left: 0; - top: 30px; - width: 400px; - padding: 10px; - background: #fff; - max-height: 400px; - overflow: auto; - z-index: 8; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); -} -.menut___qYp6m > li > div h2 { - cursor: pointer; - margin: 10px 0; -} -.menut___qYp6m > li > div h2:hover { - color: #0152d9; -} -.menut___qYp6m > li > div ul { - padding-left: 0; -} -.menut___qYp6m > li > div ul li { - cursor: pointer; - display: inline-block; - height: 30px; - line-height: 30px; - margin-right: 20px; - color: #999; -} -.menut___qYp6m > li > div ul li:hover { - color: #0152d9; -} -.actived3___mmMyO strong { - background: #0152d9; - color: #fff; - border-radius: 32px; -} -.actived4___xKTJN { - color: #0152d9 !important; - border-radius: 32px; -} -.subTag___NXFQZ { - color: #05101a; - cursor: pointer; -} -.search___UMLb_ > div:nth-child(1) button { - border-radius: 40px; - box-shadow: none; -} -.search___UMLb_ [class~='ant-btn-default'] { - background: #eee; - border-color: #eee; - color: #999; -} -.search___UMLb_ [class~='ant-btn-primary'] { - background-color: #0152d9; - border-color: #0152d9; -} -.search___UMLb_ [class~='ant-input'] { - border-radius: 4px; -} -.search___UMLb_ [class~='ant-input-search-button'] { - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; -} -/* 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/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/pages/Classrooms/Lists/Exercise/Edit/components/DragQuestions/index.less?modules ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.content___IPcn9 { - height: 360px; -} -.content___IPcn9 .ant-row { - height: 40px; -} -.content___IPcn9 .ant-row .ant-col { - display: flex; - justify-content: center; - align-items: center; -} -/* 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/EditPaper/index.less?modules ***! - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___KnC8L { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___yrSsf { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___cZzV4 { - align-items: center; - box-align: center; -} -.flex_box_center_end___EEBSv { - 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___SAQyb { - flex-direction: column; - box-orient: block-axis; -} -.bg___iaJvP { - background: white; -} -.containerTitle___hAyhW { - height: 88px; - line-height: 88px; - font-size: 18px; - padding: 0 30px; - color: #333; - border-bottom: 1px solid #eee; - display: box; - display: flex; - align-items: center; - box-align: center; -} -.containerTitle___hAyhW div:nth-child(1) { - flex: 1 1; -} -.containerDesc___Wmnpy { - display: flex; - justify-content: flex-start; - flex-direction: column; -} -.containerDesc___Wmnpy .d1___vWzg7 { - display: flex; - align-items: center; -} -.containerDesc___Wmnpy .d1___vWzg7 .name___pXPJ2 { - font-size: 16px; - font-weight: 600; - color: #333333; -} -.containerDesc___Wmnpy .d1___vWzg7 .diff___mSG0_ { - height: 20px; - background: #0152d9; - border-radius: 13px; - font-size: 14px; - color: #ffffff; - line-height: 20px; - text-align: center; - padding: 0 10px; - margin: 0 20px; - flex-shrink: 0; -} -.containerDesc___Wmnpy .d1___vWzg7 .time___JH7qU { - font-size: 14px; - color: #999999; - flex-shrink: 0; - margin-right: 20px; -} -.containerDesc___Wmnpy .d1___vWzg7 > span { - margin-left: auto; - cursor: pointer; - flex-shrink: 0; -} -.containerDesc___Wmnpy .d2___hNU9k { - font-size: 14px; - color: #333333; - margin-top: 20px; - margin-bottom: 10px; -} -.listItem___o7Akv { - padding: 25px 30px 25px 30px; - display: box; - display: flex; - background: white; - margin-top: 20px; - cursor: pointer; -} -.listItem___o7Akv > div { - flex: 1 1; -} -.listItem___o7Akv:hover { - box-shadow: 0 0 10px #ccc; -} -.info___jtW6Z { - margin-left: 20px; -} -.info___jtW6Z p { - margin-top: 18px; -} -.title___jzarF { - display: box; - display: flex; - align-items: center; - box-align: center; -} -.title___jzarF strong { - color: #333; -} -.titleLeft___eL0iv { - flex: 1 1; -} -.titleRight___k5DG_ a { - margin-right: 20px; - font-weight: bold; -} -.acitons___w0pFT { - height: 70px; - background: white; - margin-top: 20px; - display: box; - display: flex; - align-items: center; - box-align: center; - padding: 0 30px; -} -.acitons___w0pFT > div:nth-child(1) { - flex: 1 1; -} -.acitons___w0pFT > div:nth-child(2) { - display: box; - display: flex; - align-items: center; - box-align: center; -} -.acitons___w0pFT > div:nth-child(2) p { - cursor: pointer; - color: #999; -} -.acitons___w0pFT > div:nth-child(2) p:hover { - color: #333; -} -.acitons___w0pFT > div:nth-child(2) p span { - position: relative; - padding: 0 20px; -} -.acitons___w0pFT > div:nth-child(2) p span:after { - content: ''; - width: 1px; - height: 10px; - background: #ededed; - position: absolute; - right: 0; - top: 50%; - margin-top: -5px; -} -.acitons___w0pFT > div:nth-child(2) p:nth-last-child(1) span { - padding-right: 0; -} -.acitons___w0pFT > div:nth-child(2) p:nth-last-child(1) span:after { - display: none; -} -.formWrap___pBVT7 div[class~='ant-form-item-label'] label { - font-size: 14px; -} -.formWrap___pBVT7 input[class~='ant-input'] { - line-height: 1.5; - background: transparent; - border-width: 1px; - font-size: 14px; -} -.formWrap___pBVT7 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; -} -.formWrap___pBVT7 label[class~='ant-radio-button-wrapper']:not(:first-child)::before { - width: 0px; -} -.formWrap___pBVT7 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; -} -.button___bZLwx { - width: 72px; - height: 26px; - background: #f5f5f5; - border-radius: 2px; - display: flex; - align-items: center; - justify-content: center; - color: #464f66; - cursor: pointer; - margin-right: 10px; -} -.button___bZLwx:hover { - width: 72px; - height: 26px; - background: rgba(1, 82, 217, 0.1); - border-radius: 2px; - display: flex; - align-items: center; - justify-content: center; - color: #145dff; - cursor: pointer; - margin-right: 10px; -} -.button___bZLwx:hover i { - color: #145dff !important; -} -/* 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/Editor/NullChildEditor/index.less?modules ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex___eLcnP { - display: flex; - display: -ms-flex; -} -.flex1___yUTT7 { - flex: 1 1; -} -.color666___TiUhG { - color: #666; -} -.error___gTTtv { - border-color: #f5222d; -} -.deleteIcon___mnZW1 { - cursor: pointer; - color: #ccc; - margin-left: 15px; - font-size: 18px; -} -.addIcon___JC5NS { - cursor: pointer; - color: #29bd8b; - margin-left: 6px; - font-size: 16px; - padding-top: 1px; -} -/* 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/Edit/components/editor.less?modules ***! - \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___epJYP { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___SU6BD { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___Qes2t { - align-items: center; - box-align: center; -} -.flex_box_center_end___hGppz { - 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___uzhhO { - flex-direction: column; - box-orient: block-axis; -} -.wrap___rEjJ0 { - padding: 20px 30px; - box-sizing: border-box; -} -.modal___gRDV9 div[class~='ant-modal-confirm-content'] { - font-size: 16px; - text-align: center; -} -.modal___gRDV9 span[class~='ant-modal-title'] { - font-size: 16px; -} -.titleWrap___MK_OO { - margin: 10px 0px; -} -.required___Hja3H { - margin-right: 4px; - color: #e04040; - font-size: 16px; -} -.title___vMFKz { - font-size: 14px; - color: #333333; -} -.colorGray___hNhIL { - color: #888888; -} -.choiceWrap___Xx5du { - display: flex; - margin-top: 15px; -} -.answer___cbuNE { - 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___LwFG7 { - background: #ff7500; - color: #ffffff; - border: 1px solid #ff7500; -} -.deleteIcon____HG4s { - cursor: pointer; - color: #ccc; - margin-left: 15px; - font-size: 18px; -} -.addIcon___r_Vhy { - cursor: pointer; - color: #29bd8b; - margin-left: 6px; - font-size: 16px; - padding-top: 1px; -} -.editorWrap___OYwur { - flex: 1 1; -} -.htmlWrap___qXHYn { - 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___qXHYn p { - margin: 7px 10px; -} -.radio___urtyZ { - width: 60px; - height: 32px; - line-height: 32px; - text-align: center; -} -.color333___Lah7k { - color: #333; -} -.color999___TmkZt { - color: #999; -} -.questionType___r_bKw { - display: box; - display: flex; -} -.questionType___r_bKw > div { - flex: 1 1; -} -.questionChoices___LA7VM { - margin-top: 15px; -} -.questionChoices___LA7VM > div { - margin: 8px 0; -} -.action___fTTDM { - display: flex; - justify-content: flex-end; - align-items: center; -} -.difficult___Mg7lT 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___Mg7lT label[class~='ant-radio-button-wrapper']:not(:first-child)::before { - width: 0px; -} -.difficult___Mg7lT 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___oVjRI .head___fpwmn { - height: 46px; - background: #f2f2f2; - display: flex; - align-items: center; - padding-left: 10px; - padding-right: 20px; - margin-bottom: 10px; - cursor: pointer; -} -.fold___oVjRI .head___fpwmn span { - font-size: 12px; - color: #333333; - margin-left: 5px; -} -.fold___oVjRI .head___fpwmn i { - display: inline-block; -} -.fold___oVjRI .head___fpwmn 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/components/Knowledge/index.less?modules ***! - \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.wrap___F7E3F .selectWrapper____kESB div[class~='ant-select-selector'] { - height: 46px; -} -.wrap___F7E3F .selectWrapper____kESB div[class~='ant-select-selector'] input[class~='ant-select-selection-search-input'], -.wrap___F7E3F .selectWrapper____kESB div[class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'] { - height: 46px; - line-height: 46px; -} -.wrap___F7E3F .selectWrapper____kESB div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] { - line-height: 46px; -} -.wrap___F7E3F .selectWrapper____kESB span[class~='ant-select-arrow'] { - right: 12px; -} -.wrap___F7E3F .tips___aHjQY { - font-size: 14px; - font-weight: 400; - color: #9096A3; -} -.wrap___F7E3F .linkBtn___uggVr { - font-size: 14px; - font-weight: 400; - color: #3061D0; - cursor: pointer; -} -.mainText____S1I0 { - font-size: 14px; - font-weight: 400; - color: #5F6368; -} -/* 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/DragSubject/index.less?modules ***! - \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___dDNpp { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___ovpjv { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___oqAEt { - align-items: center; - box-align: center; -} -.flex_box_center_end___mHCIK { - 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___GZMP2 { - flex-direction: column; - box-orient: block-axis; -} -.posWarp___ZUxXl { - position: relative; -} -.posWarp___ZUxXl:hover .pos___A7NKx { - display: block; -} -.posWarp___ZUxXl .pos___A7NKx { - position: absolute; - display: none; - z-index: 2; - top: 0; - left: 0; - border: 1px solid #9be5ad; - width: 100%; - height: 100%; - pointer-events: none; -} -.posWarp___ZUxXl .pos___A7NKx .tips___ap6NV { - width: 196px; - height: 32px; - background: #9be5ad; - border-radius: 0px 0px 0px 22px; - float: right; - text-align: center; - line-height: 32px; - color: #fff; - padding-left: 5px; -} -.posWarp___ZUxXl .markWrongBtnWrapper___oAKlK { - padding-left: 30px; -} -/* 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/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/Paperlibrary/EditPaper/PaperHeader/index.less?modules ***! - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.wrap___LuchA { - position: relative; - font-size: 14px; -} -.wrap___LuchA [class~='ant-table-footer'] { - background-color: #fff; - padding: 0px; -} -.img___igDG4 { - position: absolute; - height: 100px; - width: 140px; - top: 2px; - left: 2px; -} -.table___a5E2x a { - color: rgba(0, 0, 0, 0.85); -} -.totalScore___L9CRr { - margin-right: 142px; - padding: 12px 8px; - border-right: 1px solid #f0f0f0; - border-left: 1px solid #f0f0f0; -} -.people___pwitC { - padding: 12px 8px; - border-right: 1px solid #f0f0f0; -} -.glassSeal___s0cz8 { - position: absolute; - font-size: 16px; - left: -480px; - top: 520px; - width: 1000px; - transform: rotate(-90deg); - border-bottom: 2px dashed #fb3226; -} -.glassSeal___s0cz8 > span { - padding-right: 50px; - padding-left: 10px; -} -.glassSeal___s0cz8 > span:nth-child(1) { - margin-left: 100px; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - diff --git a/p__Paperlibrary__Random__AddAndEdit__index.async.js b/p__Paperlibrary__Random__AddAndEdit__index.async.js index 22d8ae2347..6d30b031cf 100644 --- a/p__Paperlibrary__Random__AddAndEdit__index.async.js +++ b/p__Paperlibrary__Random__AddAndEdit__index.async.js @@ -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 ***! diff --git a/p__Paperlibrary__Random__ExchangeFromProblemSet__index.async.js b/p__Paperlibrary__Random__ExchangeFromProblemSet__index.async.js index 291c4348cd..9cc13dd1a4 100644 --- a/p__Paperlibrary__Random__ExchangeFromProblemSet__index.async.js +++ b/p__Paperlibrary__Random__ExchangeFromProblemSet__index.async.js @@ -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 }) }) })] diff --git a/p__Paperlibrary__Random__ExchangeFromProblemSet__index.chunk.css b/p__Paperlibrary__Random__ExchangeFromProblemSet__index.chunk.css index 8c1021a3b9..ef26cfba32 100644 --- a/p__Paperlibrary__Random__ExchangeFromProblemSet__index.chunk.css +++ b/p__Paperlibrary__Random__ExchangeFromProblemSet__index.chunk.css @@ -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 { diff --git a/p__Paperlibrary__Random__PreviewEdit__index.async.js b/p__Paperlibrary__Random__PreviewEdit__index.async.js index 030d97ba54..942346a95a 100644 --- a/p__Paperlibrary__Random__PreviewEdit__index.async.js +++ b/p__Paperlibrary__Random__PreviewEdit__index.async.js @@ -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 ***! diff --git a/p__Paperlibrary__See__index.chunk.css b/p__Paperlibrary__See__index.chunk.css index 526c8580a2..332f9d2503 100644 --- a/p__Paperlibrary__See__index.chunk.css +++ b/p__Paperlibrary__See__index.chunk.css @@ -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 ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Paths__Detail__Statistics__index.async.js b/p__Paths__Detail__Statistics__index.async.js index c7d57fbbc4..b98c3005ca 100644 --- a/p__Paths__Detail__Statistics__index.async.js +++ b/p__Paths__Detail__Statistics__index.async.js @@ -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", diff --git a/p__Paths__Detail__Statistics__index.chunk.css b/p__Paths__Detail__Statistics__index.chunk.css index e02984f0be..e1d06f2dd5 100644 --- a/p__Paths__Detail__Statistics__index.chunk.css +++ b/p__Paths__Detail__Statistics__index.chunk.css @@ -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; diff --git a/p__Paths__Detail__id.async.js b/p__Paths__Detail__id.async.js index 12f5fa1e3b..359aaab3b3 100644 --- a/p__Paths__Detail__id.async.js +++ b/p__Paths__Detail__id.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[23332,77566,8691,4977,12768,67570,60696],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[23332,77566,4977,12768,67570,60696],{ /***/ 95025: /*!**********************************************************************!*\ @@ -4545,1031 +4545,6 @@ var Dialog = /*#__PURE__*/function (_React$Component) { }(react__WEBPACK_IMPORTED_MODULE_4__.Component); -/***/ }), - -/***/ 8691: -/*!************************************************************!*\ - !*** ./src/components/monaco-editor/index.jsx + 3 modules ***! - \************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "SV": function() { return /* binding */ DiffEditor; }, - "ZP": function() { return /* binding */ monaco_editor; } -}); - -// UNUSED EXPORTS: getLanguageByMirrorName - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -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/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/@babel/runtime/helpers/createForOfIteratorHelper.js -var createForOfIteratorHelper = __webpack_require__(74704); -var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(70215); -var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); -// EXTERNAL MODULE: ./node_modules/react/index.js -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'] -}; -var javaLangage = { - quickKey: [{ - label: "main", - content: ['public static void main(String[] args) {', '\t$0', '}'].join('\n') - }, { - label: "System.out.println", - content: ['System.out.println($0)'].join('\n') - }, { - label: "System.out.print", - content: ['System.out.print($0)'].join('\n') - }], - keywords: ['abstract', 'continue', 'for', 'new', 'switch', 'assert', 'default', 'goto', 'package', 'synchronized', 'boolean', 'do', 'if', 'private', 'this', 'break', 'double', 'implements', 'protected', 'throw', 'byte', 'else', 'import', 'public', 'throws', 'case', 'enum', 'instanceof', 'return', 'transient', 'catch', 'extends', 'int', 'short', 'try', 'char', 'final', 'interface', 'static', 'void', 'class', 'finally', 'long', 'strictfp', 'volatile', 'const', 'float', 'native', 'super', 'while', 'true', 'false'] -}; -var cppLangage = { - keywords: ['abstract', 'amp', 'array', 'auto', 'bool', 'break', 'case', 'catch', 'char', 'class', 'const', 'constexpr', 'const_cast', 'continue', 'cpu', 'decltype', 'default', 'delegate', 'delete', 'do', 'double', 'dynamic_cast', 'each', 'else', 'enum', 'event', 'explicit', 'export', 'extern', 'false', 'final', 'finally', 'float', 'friend', 'gcnew', 'generic', 'goto', 'in', 'initonly', 'inline', 'int', 'interface', 'interior_ptr', 'internal', 'literal', 'long', 'mutable', 'namespace', 'new', 'noexcept', 'nullptr', '__nullptr', 'operator', 'override', 'partial', 'pascal', 'pin_ptr', 'private', 'property', 'protected', 'public', 'ref', 'register', 'reinterpret_cast', 'restrict', 'return', 'safe_cast', 'sealed', 'short', 'signed', 'sizeof', 'static', 'static_assert', 'static_cast', 'struct', 'switch', 'template', 'this', 'thread_local', 'throw', 'tile_static', 'true', 'try', 'typedef', 'typeid', 'typename', 'union', 'unsigned', 'using', 'virtual', 'void', 'volatile', 'wchar_t', 'where', 'while', '_asm', '_based', '_cdecl', '_declspec', '_fastcall', '_if_exists', '_if_not_exists', '_inline', '_multiple_inheritance', '_pascal', '_single_inheritance', '_stdcall', '_virtual_inheritance', '_w64', '__abstract', '__alignof', '__asm', '__assume', '__based', '__box', '__builtin_alignof', '__cdecl', '__clrcall', '__declspec', '__delegate', '__event', '__except', '__fastcall', '__finally', '__forceinline', '__gc', '__hook', '__identifier', '__if_exists', '__if_not_exists', '__inline', '__int128', '__int16', '__int32', '__int64', '__int8', '__interface', '__leave', '__m128', '__m128d', '__m128i', '__m256', '__m256d', '__m256i', '__m64', '__multiple_inheritance', '__newslot', '__nogc', '__noop', '__nounwind', '__novtordisp', '__pascal', '__pin', '__pragma', '__property', '__ptr32', '__ptr64', '__raise', '__restrict', '__resume', '__sealed', '__single_inheritance', '__stdcall', '__super', '__thiscall', '__try', '__try_cast', '__typeof', '__unaligned', '__unhook', '__uuidof', '__value', '__virtual_inheritance', '__w64', '__wchar_t'], - operators: ['=', '>', '<', '!', '~', '?', ':', '==', '<=', '>=', '!=', '&&', '||', '++', '--', '+', '-', '*', '/', '&', '|', '^', '%', '<<', '>>', '>>>', '+=', '-=', '*=', '/=', '&=', '|=', '^=', '%=', '<<=', '>>=', '>>>='], - quickKey: [{ - label: "ifelse", - content: ['if (${1:condition}) {', '\t$0', '} else {', '\t', '}'].join('\n') - }, { - label: "include", - content: 'include<$0>' - }, { - label: "printf", - content: 'printf($0)' - }, { - label: "system", - content: 'system("$0")' - }, { - label: "main", - content: ['int main () {', '\t$0', '}'].join('\n') - }, { - label: "if", - content: ['if () {', '\t$0', '}'].join('\n') - }, { - label: "for", - content: ['for(int j=0 ; j<10; j++){', '\t$0', '}'].join('\n') - }, { - label: "trycatch", - content: ['try{', '\t$0', '}catch(ExceptionName e){', '}'].join('\n') - }, { - label: "using namespace std;", - content: ['using namespace std;'].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }] -}; -var pythonLangage = { - keywords: ['and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'exec', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'None', 'not', 'or', 'pass', 'raise', 'return', 'self', 'try', 'while', 'with', 'yield', 'int', 'float', 'long', 'complex', 'hex', 'abs', 'all', 'any', 'apply', 'basestring', 'bin', 'bool', 'buffer', 'bytearray', 'callable', 'chr', 'classmethod', 'cmp', 'coerce', 'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'execfile', 'file', 'filter', 'format', 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'help', 'id', 'input', 'intern', 'isinstance', 'issubclass', 'iter', 'len', 'locals', 'list', 'map', 'max', 'memoryview', 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'print', 'property', 'reversed', 'range', 'raw_input', 'reduce', 'reload', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'unichr', 'unicode', 'vars', 'xrange', 'zip', 'True', 'False', '__dict__', '__methods__', '__members__', '__class__', '__bases__', '__name__', '__mro__', '__subclasses__', '__init__', '__import__'], - quickKey: [{ - label: "print", - content: ['print($0)'].join('\n') - } - // { label: "#include", content: '#include ""' }, - // { label: "printf", content: 'printf("")' }, - ] -}; - -var scalaLangage = { - keywords: ['asInstanceOf', 'catch', 'class', 'classOf', 'def', 'do', 'else', 'extends', 'finally', 'for', 'foreach', 'forSome', 'if', 'import', 'isInstanceOf', 'macro', 'match', 'new', 'object', 'package', 'return', 'throw', 'trait', 'try', 'type', 'until', 'val', 'var', 'while', 'with', 'yield', - // Dotty-specific: - 'given', 'enum', 'then'], - quickKey: [{ - label: "println", - content: ['println($0)'].join('\n') - } - // { label: "#include", content: '#include ""' }, - // { label: "printf", content: 'printf("")' }, - ] -}; -// EXTERNAL MODULE: ./node_modules/js-beautify/js/index.js -var js = __webpack_require__(84204); -var js_default = /*#__PURE__*/__webpack_require__.n(js); -;// CONCATENATED MODULE: ./src/components/monaco-editor/monaco-suggest-config.tsx - - - - - - -var baseConfig = { - languages: ['c', 'abap', 'apex', 'azcli', 'bat', 'cameligo', 'clojure', 'coffee', 'cpp', 'csharp', 'csp', 'css', 'dockerfile', 'fsharp', 'go', 'graphql', 'handlebars', 'html', 'ini', 'java', 'javascript', 'json', 'kotlin', 'less', 'lua', 'markdown', 'mips', 'msdax', 'mysql', 'objective-c', 'pascal', 'pascaligo', 'perl', 'pgsql', 'php', 'postiats', 'powerquery', 'powershell', 'pug', 'python', 'r', 'razor', 'redis', 'redshift', 'restructuredtext', 'ruby', 'rust', 'sb', 'scheme', 'scss', 'shell', 'solidity', 'sophia', 'sql', 'st', 'swift', 'tcl', 'twig', 'vb', 'xml', "yaml'"], - tables: { - users: ["name", "id", "email", "phone", "password"], - roles: ["id", "name", "order", "created_at", "updated_at", "deleted_at"] - } -}; -var getKeywordsSuggest = function getKeywordsSuggest(monaco, keywords) { - return keywords.map(function (key) { - return { - label: key, - // 显示的名称 - kind: monaco.languages.CompletionItemKind.Keyword, - insertText: key // 真实补全的值 - }; - }); -}; - -var getTableSuggest = function getTableSuggest(monaco) { - return Object.keys(baseConfig.tables).map(function (key) { - return { - label: key, - // 显示的名称 - kind: monaco.languages.CompletionItemKind.Variable, - insertText: key // 真实补全的值 - }; - }); -}; - -var getFieldsSuggest = function getFieldsSuggest(tableName, monaco) { - var fields = baseConfig.tables[tableName]; - if (!fields) { - return []; - } - return fields.map(function (name) { - return { - label: name, - kind: monaco.languages.CompletionItemKind.Field, - insertText: name - }; - }); -}; -function getSuggestions(monaco, model, position, keywords, snippts) { - var word = model.getWordUntilPosition(position); - var range = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var rs = keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Keyword, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: range - }; - }); - snippts.map(function (item) { - rs.push(_objectSpread(_objectSpread({}, item), {}, { - range: range - })); - }); - return rs; -} -/* harmony default export */ var monaco_suggest_config = (function (monaco) { - baseConfig.languages.map(function (item) { - monaco.languages.registerDocumentFormattingEditProvider(item, { - provideDocumentFormattingEdits: function provideDocumentFormattingEdits(model, options, token) { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var formattedText; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - formattedText = js_default()(model.getValue(), { - "indent_size": "2", - "indent_char": " ", - "max_preserve_newlines": "2", - "preserve_newlines": true, - "keep_array_indentation": true, - "break_chained_methods": false, - "indent_scripts": "normal", - "brace_style": "collapse", - "space_before_conditional": true, - "unescape_strings": false, - "jslint_happy": false, - "end_with_newline": true, - "wrap_line_length": "0", - "indent_inner_html": false, - "comma_first": false, - "e4x": false, - "indent_empty_lines": false - }); - return _context.abrupt("return", [{ - range: model.getFullModelRange(), - text: formattedText - }]); - case 2: - case "end": - return _context.stop(); - } - }, _callee); - }))(); - } - }); - return item; - }); - var cppKeyPrompt = cppLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - var pythonKeyPrompt = pythonLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - var javaKeyPrompt = javaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - monaco.languages.registerCompletionItemProvider('cpp', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(cppLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(cppLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('c', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - return { - suggestions: toConsumableArray_default()(cLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })) - }; - } - }); - monaco.languages.registerCompletionItemProvider('java', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(javaLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(javaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('scala', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(scalaLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(scalaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('python', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(pythonLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(pythonLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); -}); -var tipTxt = '该任务关卡设置了禁止复制粘贴,请手动输入代码。'; -// EXTERNAL MODULE: ./node_modules/monaco-editor/esm/vs/platform/actions/common/actions.js -var actions = __webpack_require__(84144); -// EXTERNAL MODULE: ./node_modules/lodash/lodash.js -var lodash = __webpack_require__(96486); -;// CONCATENATED MODULE: ./src/components/monaco-editor/index.css -// extracted by mini-css-extract-plugin - -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/monaco-editor/index.jsx - - - - - - - -var _excluded = ["width", "height", "value", "language", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"]; - - - - - - - - -function processSize(size) { - return !/^\d+$/.test(size) ? size : "".concat(size, "px"); -} -function noop() {} -var __prevent_trigger_change_event = false; -var DICT = { - 'Python3.6': 'python', - 'Python2.7': 'python', - Dynamips: 'cpp', - Java: 'java', - Web: 'php', - Html: 'html', - Hive: 'sql', - Hadoop: 'java', - SDL: 'cpp', - PHP: 'php', - Matlab: 'python', - Git: 'python', - Python: 'python', - 'C/C++': 'cpp', - 'C++': 'cpp', - C: 'cpp', - Ruby: 'ruby', - Shell: 'shell', - JavaScript: 'javascript', - Perl6: 'perl', - Kotlin: 'kotlin', - Elixir: 'elixir', - Android: 'java', - JavaWeb: 'java', - Go: 'go', - Spark: 'sql', - MachineLearning: 'python', - Verilog: 'xml', - 'Verilog/VNC': 'xml', - Docker: 'dockerfile', - 'C#': 'csharp', - SQLite3: 'sql', - Oracle: 'sql', - Vhdl: 'vhdl', - R: 'r', - Swift: 'swift', - SQLServer: 'mysql', - MySQL: 'mysql', - Mongo: 'sql', - PostgreSql: 'pgsql', - Hbase: 'powershell', - Sqoop: 'sql', - Nasm: 'cpp', - Kafka: 'java', - Flink: 'java', - Sml: 'javascript', - OpenGL: 'cpp', - Perl5: 'perl', - Orange: 'python', - Scala: "scale" -}; -function getLanguageByMirrorName() { - var mirror_name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var lang = mirror_name; - if (Array.isArray(mirror_name)) { - for (var i = 0; i < mirror_name.length; i++) { - var languageVal = DICT[mirror_name[i]]; - if (languageVal) { - return languageVal; - } - } - return lang[0]; - } - return DICT[lang] || lang; -} - -//onCodeChange 必须是幂等的,因为只会注册一次,如果有变化,会响应旧的,产生脏数据 -var monaco = null; -/* harmony default export */ var monaco_editor = (function (_ref) { - var _ref$width = _ref.width, - width = _ref$width === void 0 ? '100%' : _ref$width, - _ref$height = _ref.height, - height = _ref$height === void 0 ? '100%' : _ref$height, - value = _ref.value, - _ref$language = _ref.language, - language = _ref$language === void 0 ? 'javascript' : _ref$language, - _ref$style = _ref.style, - style = _ref$style === void 0 ? {} : _ref$style, - _ref$options = _ref.options, - options = _ref$options === void 0 ? {} : _ref$options, - _ref$overrideServices = _ref.overrideServices, - overrideServices = _ref$overrideServices === void 0 ? {} : _ref$overrideServices, - _ref$theme = _ref.theme, - theme = _ref$theme === void 0 ? 'vs-dark' : _ref$theme, - onEditBlur = _ref.onEditBlur, - onSave = _ref.onSave, - _ref$autoHeight = _ref.autoHeight, - autoHeight = _ref$autoHeight === void 0 ? false : _ref$autoHeight, - _ref$forbidCopy = _ref.forbidCopy, - forbidCopy = _ref$forbidCopy === void 0 ? false : _ref$forbidCopy, - _ref$onChange = _ref.onChange, - onChange = _ref$onChange === void 0 ? noop : _ref$onChange, - _ref$editorDidMount = _ref.editorDidMount, - editorDidMount = _ref$editorDidMount === void 0 ? noop : _ref$editorDidMount, - _ref$onFocus = _ref.onFocus, - onFocus = _ref$onFocus === void 0 ? noop : _ref$onFocus, - _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, - 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 inputLock = (0,react.useRef)(false); - var inputLockTime = (0,react.useRef)(); - var _useState = (0,react.useState)(false), - _useState2 = slicedToArray_default()(_useState, 2), - init = _useState2[0], - setInit = _useState2[1]; - function onLayout() { - var ro; - if (editorEl.current) { - ro = new ResizeObserver_es/* default */.Z(function (entries) { - var _iterator = createForOfIteratorHelper_default()(entries), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var entry = _step.value; - if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) { - editor.current.instance.layout(); - } - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - }); - ro.observe(editorEl.current); - } - return ro; - } - function tipWarn() { - message/* default.warn */.ZP.warn({ - content: decodeURIComponent(tipTxt), - key: "monaco-editor-tip" - }); - } - var setCodeValue = function setCodeValue() { - var instance = editor.current.instance; - if (value != null && instance && init) { - var model = instance.getModel(); - if (model && value !== model.getValue()) { - __prevent_trigger_change_event = true; - model.setValue(value); - instance.layout(); - __prevent_trigger_change_event = false; - } - } - }; - (0,react.useEffect)(function () { - var _instance$updateOptio; - var instance = editor.current.instance; - if (timeRef.current) clearTimeout(timeRef.current); - timeRef.current = setTimeout(function () { - setCodeValue(); - }, 500); - instance === null || instance === void 0 ? void 0 : (_instance$updateOptio = instance.updateOptions) === null || _instance$updateOptio === void 0 ? void 0 : _instance$updateOptio.call(instance, { - lineNumbersMinChars: Math.max(Math.floor(Math.log10(value.split(/\r\n|\r|\n/g).length)) + 3, 5) - }); - }, [value, init, editor.current]); - (0,react.useEffect)(function () { - if (errorLine && editor.current && editor.current.instance) { - var instance = editor.current.instance; - instance.changeViewZones(function (changeAccessor) { - var domNode = document.createElement('div'); - domNode.style.padding = '10px 20px'; - domNode.style.width = 'calc(100% - 20px)'; - domNode.className = 'my-error-line-wrp'; - domNode.innerHTML = errorContent; - changeAccessor.addZone({ - afterLineNumber: errorLine || 11, - heightInLines: 3, - domNode: domNode - }); - }); - var overlayWidget = { - domNode: null, - getId: function getId() { - return 'my.overlay.widget'; - }, - getDomNode: function getDomNode() { - if (!this.domNode) { - this.domNode = document.createElement('div'); - this.domNode.innerHTML = ''; - this.domNode.style.width = '100%'; - this.domNode.style.padding = '20px 100px'; - this.domNode.style.right = '0px'; - this.domNode.style.top = '50px'; - this.domNode.style.position = 'relative'; - this.domNode.style.color = '#333'; - } - return this.domNode; - }, - getPosition: function getPosition() { - return null; - } - }; - instance.addOverlayWidget(overlayWidget); - // instance.revealPositionInCenter(11,1); - instance.revealPositionInCenter({ - lineNumber: 20, - column: 1 - }); - } - }, [errorLine, editor.current, init]); - function onPaste() { - var instance = editor.current.instance; - if (instance) { - var selection = instance.getSelection(); - var pastePos = editor.current.pastePos || {}; - var range = new monaco.Range(pastePos.startLineNumber || selection.endLineNumber, pastePos.startColumn || selection.endColumn, pastePos.endLineNumber || selection.endLineNumber, pastePos.endColumn || selection.endColumn); - setTimeout(function () { - instance.executeEdits('', [{ - range: range, - text: '' - }]); - }, 300); - } - } - function onSaveHandler(e) { - if ((window.navigator.platform.match('Mac') ? e.metaKey : e.ctrlKey) && e.keyCode == 83) { - e.preventDefault(); - onSave(); - } - } - var autoCalcHeight = function autoCalcHeight() { - if (autoHeight && editor.current.instance) { - var _height = editor.current.instance.getContentHeight(); - setFixedHeight(_height < height ? height : _height); - } else { - setFixedHeight(height); - } - }; - function fakeClick(obj) { - var ev = document.createEvent('MouseEvents'); - ev.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); - obj.dispatchEvent(ev); - } - var checkPaste = function checkPaste(event) { - var keyCode = event.keyCode, - ctrlKey = event.ctrlKey, - metaKey = event.metaKey, - target = event.target, - type = event.type; - if ((type === "paste" || (keyCode === 67 || keyCode === 86) && (metaKey || ctrlKey)) && target.nodeName === "TEXTAREA") { - tipWarn(); - event.preventDefault(); - } - return false; - }; - function exportRaw(name, data) { - var urlObject = window.URL || window.webkitURL || window; - var export_blob = new Blob([data]); - var save_link = document.createElementNS('http://www.w3.org/1999/xhtml', 'a'); - save_link.href = urlObject.createObjectURL(export_blob); - save_link.download = name; - fakeClick(save_link); - } - (0,react.useEffect)(function () { - autoCalcHeight(); - }, [autoCalcHeight]); - (0,react.useEffect)(function () { - if (editorEl.current && !init) { - // require.config({ paths: { vs: 'monaco-editor/min/vs' } }); - // require.config({ - // 'vs/nls': { - // availableLanguages: { - // '*': 'de', - // }, - // }, - // }); - Promise.all(/*! import() | monaco-editor */[__webpack_require__.e(48764), __webpack_require__.e(39404)]).then(__webpack_require__.bind(__webpack_require__, /*! monaco-editor/esm/vs/editor/editor.api.js */ 26565)).then(function (mod) { - try { - monaco = mod; - editor.current.instance = monaco.editor.create(editorEl.current, { - value: value, - language: getLanguageByMirrorName(language), - theme: theme, - requireConfig: { - 'vs/nls': { - availableLanguages: { - '*': 'zh-cn' - } - } - }, - wordWrap: true, - autoIndent: true, - contextmenu: true, - // formatOnPaste: true, - formatOnType: true - }, overrideServices); - var instance = editor.current.instance; - var menus = actions/* MenuRegistry._menuItems */.BH._menuItems; - var contextMenuEntry = toConsumableArray_default()(menus).find(function (entry) { - return entry[0]._debugName == "EditorContext"; - }); - var contextMenuLinks = contextMenuEntry[1]; - var removableIds = ["editor.action.clipboardCopyWithSyntaxHighlightingAction", "editor.action.quickCommand", "editor.action.clipboardCopyAction", "editor.action.clipboardPasteAction", "editor.action.clipboardCutAction"]; - var removeById = function removeById(list, ids) { - var node = list._first; - do { - var _node$element, _node$element$command; - var shouldRemove = ids.includes((_node$element = node.element) === null || _node$element === void 0 ? void 0 : (_node$element$command = _node$element.command) === null || _node$element$command === void 0 ? void 0 : _node$element$command.id); - if (shouldRemove) { - list._remove(node); - } - } while (node = node.next); - }; - editorDidMount(instance, monaco); - setTimeout(function () { - autoCalcHeight(); - editor.current.instance.addAction({ - id: 'd123123', - label: 'Download File', - contextMenuGroupId: '9_cutcopypaste', - run: function run() { - exportRaw(filename || 'educoder.txt', instance.getValue()); - } - }); - instance.getDomNode().addEventListener('input', function () { - if (optionsRef.current.autoFormat) instance.getAction('editor.action.formatDocument').run(); - }); - }, 500); - editor.current.subscription = instance.onDidChangeModelContent(function (event) { - if (!inputLock.current) { - autoCalcHeight(); - onChange(instance.getValue(), event); - } else { - clearTimeout(inputLockTime.current); - } - inputLockTime.current = setTimeout(function () { - inputLock.current = false; - }, 500); - }); - if (!window.Monaco) monaco_suggest_config(monaco, getLanguageByMirrorName(language)); - if (forbidCopy) { - removeById(contextMenuLinks, removableIds); - editorEl.current.classList.add("noCopyPaste"); - window.removeEventListener("keydown", checkPaste); - window.removeEventListener("paste", checkPaste); - window.addEventListener("keydown", checkPaste); - window.addEventListener("paste", checkPaste); - } - window.Monaco = monaco; - if (onEditBlur) { - instance.onDidBlurEditorWidget(function () { - onEditBlur(instance.getValue()); - }); - } - if (onFocus) { - instance.onDidFocusEditorText(function () { - onFocus(instance.getValue()); - }); - } - if (forbidCopy) { - try { - window.addEventListener('paste', onPaste); - } catch (e) {} - } - var ro = onLayout(); - setInit(true); - return function () { - var el = editor.current.instance; - el.dispose(); - var model = el.getModel(); - if (model) { - model.dispose(); - } - if (editor.current.subscription) { - editor.current.subscription.dispose(); - } - if (forbidCopy) { - window.removeEventListener('paste', onPaste); - } - ro.unobserve(editorEl.current); - }; - } catch (e) { - // ; - } - }); - } - }, []); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - document.addEventListener('keydown', onSaveHandler, false); - return function () { - document.removeEventListener('keydown', onSaveHandler); - }; - } - }, [onSave, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - var lang = getLanguageByMirrorName(language); - monaco.editor.setModelLanguage(instance.getModel(), lang); - } - }, [language, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - monaco.editor.setTheme(theme); - } - }, [theme, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - optionsRef.current = options; - if (instance && init) { - instance.updateOptions(objectSpread2_default()({}, options)); - setTimeout(function () { - instance.getModel().updateOptions(objectSpread2_default()({}, options)); - }, 200); - } - }, [JSON.stringify(options), init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - instance.layout(); - } - }, [width, height, init]); - - // const fixedWidth = processSize(width); - // const fixedHeight = processSize(height); - - var _useState3 = (0,react.useState)(processSize(width)), - _useState4 = slicedToArray_default()(_useState3, 2), - fixedWidth = _useState4[0], - setFixedWidth = _useState4[1]; - var _useState5 = (0,react.useState)(processSize(height)), - _useState6 = slicedToArray_default()(_useState5, 2), - fixedHeight = _useState6[0], - setFixedHeight = _useState6[1]; - var mergeStyle = objectSpread2_default()(objectSpread2_default()({}, style), {}, { - width: fixedWidth, - height: fixedHeight - }); - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "my-monaco-editor", - ref: editorEl, - 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; - var editorEl = (0,react.useRef)(); - var _useState7 = (0,react.useState)(null), - _useState8 = slicedToArray_default()(_useState7, 2), - instance = _useState8[0], - setInstance = _useState8[1]; - function onLayout(instance) { - var ro; - if (editorEl.current) { - ro = new ResizeObserver_es/* default */.Z(function (entries) { - var _iterator2 = createForOfIteratorHelper_default()(entries), - _step2; - try { - for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { - var entry = _step2.value; - if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) { - instance.layout(); - } - } - } catch (err) { - _iterator2.e(err); - } finally { - _iterator2.f(); - } - }); - ro.observe(editorEl.current); - } - return ro; - } - (0,react.useEffect)(function () { - if (editorEl.current) { - Promise.all(/*! import() | monaco-editor */[__webpack_require__.e(48764), __webpack_require__.e(39404)]).then(__webpack_require__.bind(__webpack_require__, /*! monaco-editor/esm/vs/editor/editor.api.js */ 26565)).then(function (mod) { - monaco = mod; - var instance = monaco.editor.createDiffEditor(editorEl.current, objectSpread2_default()(objectSpread2_default()({ - enableSplitViewResizing: false, - scrollBeyondLastLine: false, - roundedSelection: false, - renderIndicators: false, - useShadows: false, - horizontal: 'hidden', - lineNumbers: 'off', - wordWrap: "off", - ignoreTrimWhitespace: false, - 'semanticHighlighting.enabled': true, - followsCaret: true, - // resets the navigator state when the user selects something in the editor - ignoreCharChanges: true, - // jump from line to line, - minimap: { - enabled: false - }, - readOnly: true - }, options), {}, { - wordWrap: true - })); - setInstance(instance); - var ro = onLayout(instance); - return function () { - instance.dispose(); - var model = instance.getModel(); - if (model) { - model.dispose(); - } - ro.unobserve(editorEl.current); - }; - }); - } - return function () { - window.removeEventListener("keydown", checkPaste); - window.removeEventListener("paste", checkPaste); - }; - }, []); - (0,react.useEffect)(function () { - if (instance) { - instance.setModel({ - original: monaco.editor.createModel(original, language), - modified: monaco.editor.createModel(modified, language) - }); - } - }, [original, modified, language, instance]); - var fixedWidth = processSize(width); - var fixedHeight = processSize(height); - var style = { - width: fixedWidth, - height: fixedHeight - }; - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "my-diff-editor", - ref: editorEl, - style: style - }); -} - /***/ }), /***/ 61891: diff --git a/p__Paths__Detail__id.chunk.css b/p__Paths__Detail__id.chunk.css index 4403f57b3b..399bfab954 100644 --- a/p__Paths__Detail__id.chunk.css +++ b/p__Paths__Detail__id.chunk.css @@ -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 ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Problems__OjForm__NewEdit__index.async.js b/p__Problems__OjForm__NewEdit__index.async.js index cbce51f8de..f8c27396c0 100644 --- a/p__Problems__OjForm__NewEdit__index.async.js +++ b/p__Problems__OjForm__NewEdit__index.async.js @@ -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" diff --git a/p__Problems__OjForm__NewEdit__index.chunk.css b/p__Problems__OjForm__NewEdit__index.chunk.css index ef1b8380b3..1aa2bed7e9 100644 --- a/p__Problems__OjForm__NewEdit__index.chunk.css +++ b/p__Problems__OjForm__NewEdit__index.chunk.css @@ -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; diff --git a/p__Problems__OjForm__index.async.js b/p__Problems__OjForm__index.async.js index 8b7b0c3573..ad8e8ac93e 100644 --- a/p__Problems__OjForm__index.async.js +++ b/p__Problems__OjForm__index.async.js @@ -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" diff --git a/p__Problemset__NewItem__index.async.js b/p__Problemset__NewItem__index.async.js index ebf86e30f1..6b1240f4c2 100644 --- a/p__Problemset__NewItem__index.async.js +++ b/p__Problemset__NewItem__index.async.js @@ -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": diff --git a/p__Problemset__Preview__index.chunk.css b/p__Problemset__Preview__index.chunk.css index 374cf6b12c..e766b03331 100644 --- a/p__Problemset__Preview__index.chunk.css +++ b/p__Problemset__Preview__index.chunk.css @@ -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 ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Question__AddOrEdit__index.async.js b/p__Question__AddOrEdit__index.async.js index d3638cf162..cfdfea228d 100644 --- a/p__Question__AddOrEdit__index.async.js +++ b/p__Question__AddOrEdit__index.async.js @@ -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" diff --git a/p__Question__AddOrEdit__index.chunk.css b/p__Question__AddOrEdit__index.chunk.css index 1c88c094e3..a6c7dd117f 100644 --- a/p__Question__AddOrEdit__index.chunk.css +++ b/p__Question__AddOrEdit__index.chunk.css @@ -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 ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Question__Index__index.chunk.css b/p__Question__Index__index.chunk.css index bcea91a084..05f703e7f7 100644 --- a/p__Question__Index__index.chunk.css +++ b/p__Question__Index__index.chunk.css @@ -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 ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Question__OjProblem__RecordDetail__index.chunk.css b/p__Question__OjProblem__RecordDetail__index.chunk.css index 7c018cb75e..2d90280215 100644 --- a/p__Question__OjProblem__RecordDetail__index.chunk.css +++ b/p__Question__OjProblem__RecordDetail__index.chunk.css @@ -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; +} diff --git a/p__Question__OjProblem__index.chunk.css b/p__Question__OjProblem__index.chunk.css index e62824cf04..381f7da27b 100644 --- a/p__Question__OjProblem__index.chunk.css +++ b/p__Question__OjProblem__index.chunk.css @@ -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 ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__RestFul__index.chunk.css b/p__RestFul__index.chunk.css index 6d61a1c56a..32ab70c178 100644 --- a/p__RestFul__index.chunk.css +++ b/p__RestFul__index.chunk.css @@ -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 ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Shixuns__Detail__Challenges__index.chunk.css b/p__Shixuns__Detail__Challenges__index.chunk.css index 2299dc3c6a..297ec27958 100644 --- a/p__Shixuns__Detail__Challenges__index.chunk.css +++ b/p__Shixuns__Detail__Challenges__index.chunk.css @@ -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 ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Shixuns__Detail__Repository__index.chunk.css b/p__Shixuns__Detail__Repository__index.chunk.css index 7b482fb823..7bb192fd73 100644 --- a/p__Shixuns__Detail__Repository__index.chunk.css +++ b/p__Shixuns__Detail__Repository__index.chunk.css @@ -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 ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.chunk.css b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.chunk.css index 02078f1c02..6c8892fe22 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.chunk.css +++ b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.chunk.css @@ -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 ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Shixuns__Edit__body__Warehouse__index.chunk.css b/p__Shixuns__Edit__body__Warehouse__index.chunk.css index 67ffe1f10b..ba5572457c 100644 --- a/p__Shixuns__Edit__body__Warehouse__index.chunk.css +++ b/p__Shixuns__Edit__body__Warehouse__index.chunk.css @@ -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; +} diff --git a/p__Shixuns__Edit__index.async.js b/p__Shixuns__Edit__index.async.js index c940916727..5b9d38971c 100644 --- a/p__Shixuns__Edit__index.async.js +++ b/p__Shixuns__Edit__index.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[56277,8691,4977,85343,36723],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[56277,4977,85343,36723],{ /***/ 96403: /*!*********************************!*\ @@ -2853,1031 +2853,6 @@ var Dialog = /*#__PURE__*/function (_React$Component) { }(react__WEBPACK_IMPORTED_MODULE_4__.Component); -/***/ }), - -/***/ 8691: -/*!************************************************************!*\ - !*** ./src/components/monaco-editor/index.jsx + 3 modules ***! - \************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "SV": function() { return /* binding */ DiffEditor; }, - "ZP": function() { return /* binding */ monaco_editor; } -}); - -// UNUSED EXPORTS: getLanguageByMirrorName - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -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/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/@babel/runtime/helpers/createForOfIteratorHelper.js -var createForOfIteratorHelper = __webpack_require__(74704); -var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(70215); -var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); -// EXTERNAL MODULE: ./node_modules/react/index.js -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'] -}; -var javaLangage = { - quickKey: [{ - label: "main", - content: ['public static void main(String[] args) {', '\t$0', '}'].join('\n') - }, { - label: "System.out.println", - content: ['System.out.println($0)'].join('\n') - }, { - label: "System.out.print", - content: ['System.out.print($0)'].join('\n') - }], - keywords: ['abstract', 'continue', 'for', 'new', 'switch', 'assert', 'default', 'goto', 'package', 'synchronized', 'boolean', 'do', 'if', 'private', 'this', 'break', 'double', 'implements', 'protected', 'throw', 'byte', 'else', 'import', 'public', 'throws', 'case', 'enum', 'instanceof', 'return', 'transient', 'catch', 'extends', 'int', 'short', 'try', 'char', 'final', 'interface', 'static', 'void', 'class', 'finally', 'long', 'strictfp', 'volatile', 'const', 'float', 'native', 'super', 'while', 'true', 'false'] -}; -var cppLangage = { - keywords: ['abstract', 'amp', 'array', 'auto', 'bool', 'break', 'case', 'catch', 'char', 'class', 'const', 'constexpr', 'const_cast', 'continue', 'cpu', 'decltype', 'default', 'delegate', 'delete', 'do', 'double', 'dynamic_cast', 'each', 'else', 'enum', 'event', 'explicit', 'export', 'extern', 'false', 'final', 'finally', 'float', 'friend', 'gcnew', 'generic', 'goto', 'in', 'initonly', 'inline', 'int', 'interface', 'interior_ptr', 'internal', 'literal', 'long', 'mutable', 'namespace', 'new', 'noexcept', 'nullptr', '__nullptr', 'operator', 'override', 'partial', 'pascal', 'pin_ptr', 'private', 'property', 'protected', 'public', 'ref', 'register', 'reinterpret_cast', 'restrict', 'return', 'safe_cast', 'sealed', 'short', 'signed', 'sizeof', 'static', 'static_assert', 'static_cast', 'struct', 'switch', 'template', 'this', 'thread_local', 'throw', 'tile_static', 'true', 'try', 'typedef', 'typeid', 'typename', 'union', 'unsigned', 'using', 'virtual', 'void', 'volatile', 'wchar_t', 'where', 'while', '_asm', '_based', '_cdecl', '_declspec', '_fastcall', '_if_exists', '_if_not_exists', '_inline', '_multiple_inheritance', '_pascal', '_single_inheritance', '_stdcall', '_virtual_inheritance', '_w64', '__abstract', '__alignof', '__asm', '__assume', '__based', '__box', '__builtin_alignof', '__cdecl', '__clrcall', '__declspec', '__delegate', '__event', '__except', '__fastcall', '__finally', '__forceinline', '__gc', '__hook', '__identifier', '__if_exists', '__if_not_exists', '__inline', '__int128', '__int16', '__int32', '__int64', '__int8', '__interface', '__leave', '__m128', '__m128d', '__m128i', '__m256', '__m256d', '__m256i', '__m64', '__multiple_inheritance', '__newslot', '__nogc', '__noop', '__nounwind', '__novtordisp', '__pascal', '__pin', '__pragma', '__property', '__ptr32', '__ptr64', '__raise', '__restrict', '__resume', '__sealed', '__single_inheritance', '__stdcall', '__super', '__thiscall', '__try', '__try_cast', '__typeof', '__unaligned', '__unhook', '__uuidof', '__value', '__virtual_inheritance', '__w64', '__wchar_t'], - operators: ['=', '>', '<', '!', '~', '?', ':', '==', '<=', '>=', '!=', '&&', '||', '++', '--', '+', '-', '*', '/', '&', '|', '^', '%', '<<', '>>', '>>>', '+=', '-=', '*=', '/=', '&=', '|=', '^=', '%=', '<<=', '>>=', '>>>='], - quickKey: [{ - label: "ifelse", - content: ['if (${1:condition}) {', '\t$0', '} else {', '\t', '}'].join('\n') - }, { - label: "include", - content: 'include<$0>' - }, { - label: "printf", - content: 'printf($0)' - }, { - label: "system", - content: 'system("$0")' - }, { - label: "main", - content: ['int main () {', '\t$0', '}'].join('\n') - }, { - label: "if", - content: ['if () {', '\t$0', '}'].join('\n') - }, { - label: "for", - content: ['for(int j=0 ; j<10; j++){', '\t$0', '}'].join('\n') - }, { - label: "trycatch", - content: ['try{', '\t$0', '}catch(ExceptionName e){', '}'].join('\n') - }, { - label: "using namespace std;", - content: ['using namespace std;'].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }] -}; -var pythonLangage = { - keywords: ['and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'exec', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'None', 'not', 'or', 'pass', 'raise', 'return', 'self', 'try', 'while', 'with', 'yield', 'int', 'float', 'long', 'complex', 'hex', 'abs', 'all', 'any', 'apply', 'basestring', 'bin', 'bool', 'buffer', 'bytearray', 'callable', 'chr', 'classmethod', 'cmp', 'coerce', 'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'execfile', 'file', 'filter', 'format', 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'help', 'id', 'input', 'intern', 'isinstance', 'issubclass', 'iter', 'len', 'locals', 'list', 'map', 'max', 'memoryview', 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'print', 'property', 'reversed', 'range', 'raw_input', 'reduce', 'reload', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'unichr', 'unicode', 'vars', 'xrange', 'zip', 'True', 'False', '__dict__', '__methods__', '__members__', '__class__', '__bases__', '__name__', '__mro__', '__subclasses__', '__init__', '__import__'], - quickKey: [{ - label: "print", - content: ['print($0)'].join('\n') - } - // { label: "#include", content: '#include ""' }, - // { label: "printf", content: 'printf("")' }, - ] -}; - -var scalaLangage = { - keywords: ['asInstanceOf', 'catch', 'class', 'classOf', 'def', 'do', 'else', 'extends', 'finally', 'for', 'foreach', 'forSome', 'if', 'import', 'isInstanceOf', 'macro', 'match', 'new', 'object', 'package', 'return', 'throw', 'trait', 'try', 'type', 'until', 'val', 'var', 'while', 'with', 'yield', - // Dotty-specific: - 'given', 'enum', 'then'], - quickKey: [{ - label: "println", - content: ['println($0)'].join('\n') - } - // { label: "#include", content: '#include ""' }, - // { label: "printf", content: 'printf("")' }, - ] -}; -// EXTERNAL MODULE: ./node_modules/js-beautify/js/index.js -var js = __webpack_require__(84204); -var js_default = /*#__PURE__*/__webpack_require__.n(js); -;// CONCATENATED MODULE: ./src/components/monaco-editor/monaco-suggest-config.tsx - - - - - - -var baseConfig = { - languages: ['c', 'abap', 'apex', 'azcli', 'bat', 'cameligo', 'clojure', 'coffee', 'cpp', 'csharp', 'csp', 'css', 'dockerfile', 'fsharp', 'go', 'graphql', 'handlebars', 'html', 'ini', 'java', 'javascript', 'json', 'kotlin', 'less', 'lua', 'markdown', 'mips', 'msdax', 'mysql', 'objective-c', 'pascal', 'pascaligo', 'perl', 'pgsql', 'php', 'postiats', 'powerquery', 'powershell', 'pug', 'python', 'r', 'razor', 'redis', 'redshift', 'restructuredtext', 'ruby', 'rust', 'sb', 'scheme', 'scss', 'shell', 'solidity', 'sophia', 'sql', 'st', 'swift', 'tcl', 'twig', 'vb', 'xml', "yaml'"], - tables: { - users: ["name", "id", "email", "phone", "password"], - roles: ["id", "name", "order", "created_at", "updated_at", "deleted_at"] - } -}; -var getKeywordsSuggest = function getKeywordsSuggest(monaco, keywords) { - return keywords.map(function (key) { - return { - label: key, - // 显示的名称 - kind: monaco.languages.CompletionItemKind.Keyword, - insertText: key // 真实补全的值 - }; - }); -}; - -var getTableSuggest = function getTableSuggest(monaco) { - return Object.keys(baseConfig.tables).map(function (key) { - return { - label: key, - // 显示的名称 - kind: monaco.languages.CompletionItemKind.Variable, - insertText: key // 真实补全的值 - }; - }); -}; - -var getFieldsSuggest = function getFieldsSuggest(tableName, monaco) { - var fields = baseConfig.tables[tableName]; - if (!fields) { - return []; - } - return fields.map(function (name) { - return { - label: name, - kind: monaco.languages.CompletionItemKind.Field, - insertText: name - }; - }); -}; -function getSuggestions(monaco, model, position, keywords, snippts) { - var word = model.getWordUntilPosition(position); - var range = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var rs = keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Keyword, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: range - }; - }); - snippts.map(function (item) { - rs.push(_objectSpread(_objectSpread({}, item), {}, { - range: range - })); - }); - return rs; -} -/* harmony default export */ var monaco_suggest_config = (function (monaco) { - baseConfig.languages.map(function (item) { - monaco.languages.registerDocumentFormattingEditProvider(item, { - provideDocumentFormattingEdits: function provideDocumentFormattingEdits(model, options, token) { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var formattedText; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - formattedText = js_default()(model.getValue(), { - "indent_size": "2", - "indent_char": " ", - "max_preserve_newlines": "2", - "preserve_newlines": true, - "keep_array_indentation": true, - "break_chained_methods": false, - "indent_scripts": "normal", - "brace_style": "collapse", - "space_before_conditional": true, - "unescape_strings": false, - "jslint_happy": false, - "end_with_newline": true, - "wrap_line_length": "0", - "indent_inner_html": false, - "comma_first": false, - "e4x": false, - "indent_empty_lines": false - }); - return _context.abrupt("return", [{ - range: model.getFullModelRange(), - text: formattedText - }]); - case 2: - case "end": - return _context.stop(); - } - }, _callee); - }))(); - } - }); - return item; - }); - var cppKeyPrompt = cppLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - var pythonKeyPrompt = pythonLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - var javaKeyPrompt = javaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - monaco.languages.registerCompletionItemProvider('cpp', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(cppLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(cppLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('c', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - return { - suggestions: toConsumableArray_default()(cLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })) - }; - } - }); - monaco.languages.registerCompletionItemProvider('java', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(javaLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(javaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('scala', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(scalaLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(scalaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('python', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(pythonLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(pythonLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); -}); -var tipTxt = '该任务关卡设置了禁止复制粘贴,请手动输入代码。'; -// EXTERNAL MODULE: ./node_modules/monaco-editor/esm/vs/platform/actions/common/actions.js -var actions = __webpack_require__(84144); -// EXTERNAL MODULE: ./node_modules/lodash/lodash.js -var lodash = __webpack_require__(96486); -;// CONCATENATED MODULE: ./src/components/monaco-editor/index.css -// extracted by mini-css-extract-plugin - -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/monaco-editor/index.jsx - - - - - - - -var _excluded = ["width", "height", "value", "language", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"]; - - - - - - - - -function processSize(size) { - return !/^\d+$/.test(size) ? size : "".concat(size, "px"); -} -function noop() {} -var __prevent_trigger_change_event = false; -var DICT = { - 'Python3.6': 'python', - 'Python2.7': 'python', - Dynamips: 'cpp', - Java: 'java', - Web: 'php', - Html: 'html', - Hive: 'sql', - Hadoop: 'java', - SDL: 'cpp', - PHP: 'php', - Matlab: 'python', - Git: 'python', - Python: 'python', - 'C/C++': 'cpp', - 'C++': 'cpp', - C: 'cpp', - Ruby: 'ruby', - Shell: 'shell', - JavaScript: 'javascript', - Perl6: 'perl', - Kotlin: 'kotlin', - Elixir: 'elixir', - Android: 'java', - JavaWeb: 'java', - Go: 'go', - Spark: 'sql', - MachineLearning: 'python', - Verilog: 'xml', - 'Verilog/VNC': 'xml', - Docker: 'dockerfile', - 'C#': 'csharp', - SQLite3: 'sql', - Oracle: 'sql', - Vhdl: 'vhdl', - R: 'r', - Swift: 'swift', - SQLServer: 'mysql', - MySQL: 'mysql', - Mongo: 'sql', - PostgreSql: 'pgsql', - Hbase: 'powershell', - Sqoop: 'sql', - Nasm: 'cpp', - Kafka: 'java', - Flink: 'java', - Sml: 'javascript', - OpenGL: 'cpp', - Perl5: 'perl', - Orange: 'python', - Scala: "scale" -}; -function getLanguageByMirrorName() { - var mirror_name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var lang = mirror_name; - if (Array.isArray(mirror_name)) { - for (var i = 0; i < mirror_name.length; i++) { - var languageVal = DICT[mirror_name[i]]; - if (languageVal) { - return languageVal; - } - } - return lang[0]; - } - return DICT[lang] || lang; -} - -//onCodeChange 必须是幂等的,因为只会注册一次,如果有变化,会响应旧的,产生脏数据 -var monaco = null; -/* harmony default export */ var monaco_editor = (function (_ref) { - var _ref$width = _ref.width, - width = _ref$width === void 0 ? '100%' : _ref$width, - _ref$height = _ref.height, - height = _ref$height === void 0 ? '100%' : _ref$height, - value = _ref.value, - _ref$language = _ref.language, - language = _ref$language === void 0 ? 'javascript' : _ref$language, - _ref$style = _ref.style, - style = _ref$style === void 0 ? {} : _ref$style, - _ref$options = _ref.options, - options = _ref$options === void 0 ? {} : _ref$options, - _ref$overrideServices = _ref.overrideServices, - overrideServices = _ref$overrideServices === void 0 ? {} : _ref$overrideServices, - _ref$theme = _ref.theme, - theme = _ref$theme === void 0 ? 'vs-dark' : _ref$theme, - onEditBlur = _ref.onEditBlur, - onSave = _ref.onSave, - _ref$autoHeight = _ref.autoHeight, - autoHeight = _ref$autoHeight === void 0 ? false : _ref$autoHeight, - _ref$forbidCopy = _ref.forbidCopy, - forbidCopy = _ref$forbidCopy === void 0 ? false : _ref$forbidCopy, - _ref$onChange = _ref.onChange, - onChange = _ref$onChange === void 0 ? noop : _ref$onChange, - _ref$editorDidMount = _ref.editorDidMount, - editorDidMount = _ref$editorDidMount === void 0 ? noop : _ref$editorDidMount, - _ref$onFocus = _ref.onFocus, - onFocus = _ref$onFocus === void 0 ? noop : _ref$onFocus, - _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, - 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 inputLock = (0,react.useRef)(false); - var inputLockTime = (0,react.useRef)(); - var _useState = (0,react.useState)(false), - _useState2 = slicedToArray_default()(_useState, 2), - init = _useState2[0], - setInit = _useState2[1]; - function onLayout() { - var ro; - if (editorEl.current) { - ro = new ResizeObserver_es/* default */.Z(function (entries) { - var _iterator = createForOfIteratorHelper_default()(entries), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var entry = _step.value; - if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) { - editor.current.instance.layout(); - } - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - }); - ro.observe(editorEl.current); - } - return ro; - } - function tipWarn() { - message/* default.warn */.ZP.warn({ - content: decodeURIComponent(tipTxt), - key: "monaco-editor-tip" - }); - } - var setCodeValue = function setCodeValue() { - var instance = editor.current.instance; - if (value != null && instance && init) { - var model = instance.getModel(); - if (model && value !== model.getValue()) { - __prevent_trigger_change_event = true; - model.setValue(value); - instance.layout(); - __prevent_trigger_change_event = false; - } - } - }; - (0,react.useEffect)(function () { - var _instance$updateOptio; - var instance = editor.current.instance; - if (timeRef.current) clearTimeout(timeRef.current); - timeRef.current = setTimeout(function () { - setCodeValue(); - }, 500); - instance === null || instance === void 0 ? void 0 : (_instance$updateOptio = instance.updateOptions) === null || _instance$updateOptio === void 0 ? void 0 : _instance$updateOptio.call(instance, { - lineNumbersMinChars: Math.max(Math.floor(Math.log10(value.split(/\r\n|\r|\n/g).length)) + 3, 5) - }); - }, [value, init, editor.current]); - (0,react.useEffect)(function () { - if (errorLine && editor.current && editor.current.instance) { - var instance = editor.current.instance; - instance.changeViewZones(function (changeAccessor) { - var domNode = document.createElement('div'); - domNode.style.padding = '10px 20px'; - domNode.style.width = 'calc(100% - 20px)'; - domNode.className = 'my-error-line-wrp'; - domNode.innerHTML = errorContent; - changeAccessor.addZone({ - afterLineNumber: errorLine || 11, - heightInLines: 3, - domNode: domNode - }); - }); - var overlayWidget = { - domNode: null, - getId: function getId() { - return 'my.overlay.widget'; - }, - getDomNode: function getDomNode() { - if (!this.domNode) { - this.domNode = document.createElement('div'); - this.domNode.innerHTML = ''; - this.domNode.style.width = '100%'; - this.domNode.style.padding = '20px 100px'; - this.domNode.style.right = '0px'; - this.domNode.style.top = '50px'; - this.domNode.style.position = 'relative'; - this.domNode.style.color = '#333'; - } - return this.domNode; - }, - getPosition: function getPosition() { - return null; - } - }; - instance.addOverlayWidget(overlayWidget); - // instance.revealPositionInCenter(11,1); - instance.revealPositionInCenter({ - lineNumber: 20, - column: 1 - }); - } - }, [errorLine, editor.current, init]); - function onPaste() { - var instance = editor.current.instance; - if (instance) { - var selection = instance.getSelection(); - var pastePos = editor.current.pastePos || {}; - var range = new monaco.Range(pastePos.startLineNumber || selection.endLineNumber, pastePos.startColumn || selection.endColumn, pastePos.endLineNumber || selection.endLineNumber, pastePos.endColumn || selection.endColumn); - setTimeout(function () { - instance.executeEdits('', [{ - range: range, - text: '' - }]); - }, 300); - } - } - function onSaveHandler(e) { - if ((window.navigator.platform.match('Mac') ? e.metaKey : e.ctrlKey) && e.keyCode == 83) { - e.preventDefault(); - onSave(); - } - } - var autoCalcHeight = function autoCalcHeight() { - if (autoHeight && editor.current.instance) { - var _height = editor.current.instance.getContentHeight(); - setFixedHeight(_height < height ? height : _height); - } else { - setFixedHeight(height); - } - }; - function fakeClick(obj) { - var ev = document.createEvent('MouseEvents'); - ev.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); - obj.dispatchEvent(ev); - } - var checkPaste = function checkPaste(event) { - var keyCode = event.keyCode, - ctrlKey = event.ctrlKey, - metaKey = event.metaKey, - target = event.target, - type = event.type; - if ((type === "paste" || (keyCode === 67 || keyCode === 86) && (metaKey || ctrlKey)) && target.nodeName === "TEXTAREA") { - tipWarn(); - event.preventDefault(); - } - return false; - }; - function exportRaw(name, data) { - var urlObject = window.URL || window.webkitURL || window; - var export_blob = new Blob([data]); - var save_link = document.createElementNS('http://www.w3.org/1999/xhtml', 'a'); - save_link.href = urlObject.createObjectURL(export_blob); - save_link.download = name; - fakeClick(save_link); - } - (0,react.useEffect)(function () { - autoCalcHeight(); - }, [autoCalcHeight]); - (0,react.useEffect)(function () { - if (editorEl.current && !init) { - // require.config({ paths: { vs: 'monaco-editor/min/vs' } }); - // require.config({ - // 'vs/nls': { - // availableLanguages: { - // '*': 'de', - // }, - // }, - // }); - Promise.all(/*! import() | monaco-editor */[__webpack_require__.e(48764), __webpack_require__.e(39404)]).then(__webpack_require__.bind(__webpack_require__, /*! monaco-editor/esm/vs/editor/editor.api.js */ 26565)).then(function (mod) { - try { - monaco = mod; - editor.current.instance = monaco.editor.create(editorEl.current, { - value: value, - language: getLanguageByMirrorName(language), - theme: theme, - requireConfig: { - 'vs/nls': { - availableLanguages: { - '*': 'zh-cn' - } - } - }, - wordWrap: true, - autoIndent: true, - contextmenu: true, - // formatOnPaste: true, - formatOnType: true - }, overrideServices); - var instance = editor.current.instance; - var menus = actions/* MenuRegistry._menuItems */.BH._menuItems; - var contextMenuEntry = toConsumableArray_default()(menus).find(function (entry) { - return entry[0]._debugName == "EditorContext"; - }); - var contextMenuLinks = contextMenuEntry[1]; - var removableIds = ["editor.action.clipboardCopyWithSyntaxHighlightingAction", "editor.action.quickCommand", "editor.action.clipboardCopyAction", "editor.action.clipboardPasteAction", "editor.action.clipboardCutAction"]; - var removeById = function removeById(list, ids) { - var node = list._first; - do { - var _node$element, _node$element$command; - var shouldRemove = ids.includes((_node$element = node.element) === null || _node$element === void 0 ? void 0 : (_node$element$command = _node$element.command) === null || _node$element$command === void 0 ? void 0 : _node$element$command.id); - if (shouldRemove) { - list._remove(node); - } - } while (node = node.next); - }; - editorDidMount(instance, monaco); - setTimeout(function () { - autoCalcHeight(); - editor.current.instance.addAction({ - id: 'd123123', - label: 'Download File', - contextMenuGroupId: '9_cutcopypaste', - run: function run() { - exportRaw(filename || 'educoder.txt', instance.getValue()); - } - }); - instance.getDomNode().addEventListener('input', function () { - if (optionsRef.current.autoFormat) instance.getAction('editor.action.formatDocument').run(); - }); - }, 500); - editor.current.subscription = instance.onDidChangeModelContent(function (event) { - if (!inputLock.current) { - autoCalcHeight(); - onChange(instance.getValue(), event); - } else { - clearTimeout(inputLockTime.current); - } - inputLockTime.current = setTimeout(function () { - inputLock.current = false; - }, 500); - }); - if (!window.Monaco) monaco_suggest_config(monaco, getLanguageByMirrorName(language)); - if (forbidCopy) { - removeById(contextMenuLinks, removableIds); - editorEl.current.classList.add("noCopyPaste"); - window.removeEventListener("keydown", checkPaste); - window.removeEventListener("paste", checkPaste); - window.addEventListener("keydown", checkPaste); - window.addEventListener("paste", checkPaste); - } - window.Monaco = monaco; - if (onEditBlur) { - instance.onDidBlurEditorWidget(function () { - onEditBlur(instance.getValue()); - }); - } - if (onFocus) { - instance.onDidFocusEditorText(function () { - onFocus(instance.getValue()); - }); - } - if (forbidCopy) { - try { - window.addEventListener('paste', onPaste); - } catch (e) {} - } - var ro = onLayout(); - setInit(true); - return function () { - var el = editor.current.instance; - el.dispose(); - var model = el.getModel(); - if (model) { - model.dispose(); - } - if (editor.current.subscription) { - editor.current.subscription.dispose(); - } - if (forbidCopy) { - window.removeEventListener('paste', onPaste); - } - ro.unobserve(editorEl.current); - }; - } catch (e) { - // ; - } - }); - } - }, []); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - document.addEventListener('keydown', onSaveHandler, false); - return function () { - document.removeEventListener('keydown', onSaveHandler); - }; - } - }, [onSave, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - var lang = getLanguageByMirrorName(language); - monaco.editor.setModelLanguage(instance.getModel(), lang); - } - }, [language, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - monaco.editor.setTheme(theme); - } - }, [theme, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - optionsRef.current = options; - if (instance && init) { - instance.updateOptions(objectSpread2_default()({}, options)); - setTimeout(function () { - instance.getModel().updateOptions(objectSpread2_default()({}, options)); - }, 200); - } - }, [JSON.stringify(options), init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - instance.layout(); - } - }, [width, height, init]); - - // const fixedWidth = processSize(width); - // const fixedHeight = processSize(height); - - var _useState3 = (0,react.useState)(processSize(width)), - _useState4 = slicedToArray_default()(_useState3, 2), - fixedWidth = _useState4[0], - setFixedWidth = _useState4[1]; - var _useState5 = (0,react.useState)(processSize(height)), - _useState6 = slicedToArray_default()(_useState5, 2), - fixedHeight = _useState6[0], - setFixedHeight = _useState6[1]; - var mergeStyle = objectSpread2_default()(objectSpread2_default()({}, style), {}, { - width: fixedWidth, - height: fixedHeight - }); - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "my-monaco-editor", - ref: editorEl, - 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; - var editorEl = (0,react.useRef)(); - var _useState7 = (0,react.useState)(null), - _useState8 = slicedToArray_default()(_useState7, 2), - instance = _useState8[0], - setInstance = _useState8[1]; - function onLayout(instance) { - var ro; - if (editorEl.current) { - ro = new ResizeObserver_es/* default */.Z(function (entries) { - var _iterator2 = createForOfIteratorHelper_default()(entries), - _step2; - try { - for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { - var entry = _step2.value; - if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) { - instance.layout(); - } - } - } catch (err) { - _iterator2.e(err); - } finally { - _iterator2.f(); - } - }); - ro.observe(editorEl.current); - } - return ro; - } - (0,react.useEffect)(function () { - if (editorEl.current) { - Promise.all(/*! import() | monaco-editor */[__webpack_require__.e(48764), __webpack_require__.e(39404)]).then(__webpack_require__.bind(__webpack_require__, /*! monaco-editor/esm/vs/editor/editor.api.js */ 26565)).then(function (mod) { - monaco = mod; - var instance = monaco.editor.createDiffEditor(editorEl.current, objectSpread2_default()(objectSpread2_default()({ - enableSplitViewResizing: false, - scrollBeyondLastLine: false, - roundedSelection: false, - renderIndicators: false, - useShadows: false, - horizontal: 'hidden', - lineNumbers: 'off', - wordWrap: "off", - ignoreTrimWhitespace: false, - 'semanticHighlighting.enabled': true, - followsCaret: true, - // resets the navigator state when the user selects something in the editor - ignoreCharChanges: true, - // jump from line to line, - minimap: { - enabled: false - }, - readOnly: true - }, options), {}, { - wordWrap: true - })); - setInstance(instance); - var ro = onLayout(instance); - return function () { - instance.dispose(); - var model = instance.getModel(); - if (model) { - model.dispose(); - } - ro.unobserve(editorEl.current); - }; - }); - } - return function () { - window.removeEventListener("keydown", checkPaste); - window.removeEventListener("paste", checkPaste); - }; - }, []); - (0,react.useEffect)(function () { - if (instance) { - instance.setModel({ - original: monaco.editor.createModel(original, language), - modified: monaco.editor.createModel(modified, language) - }); - } - }, [original, modified, language, instance]); - var fixedWidth = processSize(width); - var fixedHeight = processSize(height); - var style = { - width: fixedWidth, - height: fixedHeight - }; - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "my-diff-editor", - ref: editorEl, - style: style - }); -} - /***/ }), /***/ 85343: @@ -6334,29 +5309,29 @@ var Permission = function Permission(_ref) { "use strict"; /* harmony import */ var antd_es_switch_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/switch/style */ 5812); -/* harmony import */ var antd_es_switch__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! antd/es/switch */ 94594); +/* harmony import */ var antd_es_switch__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! antd/es/switch */ 94594); /* harmony import */ var antd_es_date_picker_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/date-picker/style */ 25763); -/* harmony import */ var antd_es_date_picker__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! antd/es/date-picker */ 45741); +/* harmony import */ var antd_es_date_picker__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! antd/es/date-picker */ 45741); /* harmony import */ var antd_es_badge_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! antd/es/badge/style */ 44008); -/* harmony import */ var antd_es_badge__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! antd/es/badge */ 63922); +/* harmony import */ var antd_es_badge__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! antd/es/badge */ 63922); /* harmony import */ var antd_es_auto_complete_style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! antd/es/auto-complete/style */ 19070); -/* harmony import */ var antd_es_auto_complete__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! antd/es/auto-complete */ 49288); +/* harmony import */ var antd_es_auto_complete__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! antd/es/auto-complete */ 49288); /* harmony import */ var antd_es_space_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/space/style */ 6516); -/* harmony import */ var antd_es_space__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! antd/es/space */ 26713); +/* harmony import */ var antd_es_space__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! antd/es/space */ 26713); /* harmony import */ var antd_es_radio_style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! antd/es/radio/style */ 83822); -/* harmony import */ var antd_es_radio__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! antd/es/radio */ 29924); +/* harmony import */ var antd_es_radio__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! antd/es/radio */ 29924); /* harmony import */ var antd_es_checkbox_style__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! antd/es/checkbox/style */ 82000); -/* harmony import */ var antd_es_checkbox__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! antd/es/checkbox */ 32808); +/* harmony import */ var antd_es_checkbox__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! antd/es/checkbox */ 32808); /* harmony import */ var antd_es_button_style__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd/es/button/style */ 29913); -/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! antd/es/button */ 71577); +/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! antd/es/button */ 71577); /* harmony import */ var antd_es_menu_style__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! antd/es/menu/style */ 83736); -/* harmony import */ var antd_es_menu__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! antd/es/menu */ 66516); +/* harmony import */ var antd_es_menu__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! antd/es/menu */ 66516); /* harmony import */ var antd_es_modal_style__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd/es/modal/style */ 35611); -/* harmony import */ var antd_es_modal__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! antd/es/modal */ 85402); +/* harmony import */ var antd_es_modal__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! antd/es/modal */ 85402); /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/toConsumableArray.js */ 861); /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_10__); /* harmony import */ var antd_es_message_style__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd/es/message/style */ 14934); -/* harmony import */ var antd_es_message__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! antd/es/message */ 12461); +/* harmony import */ var antd_es_message__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! antd/es/message */ 12461); /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061); /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_12__); /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156); @@ -6368,11 +5343,12 @@ var Permission = function Permission(_ref) { /* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./index.less?modules */ 99025); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! moment */ 30381); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_18__); -/* harmony import */ var antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! antd/lib/date-picker/locale/zh_CN */ 5584); +/* harmony import */ var antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! antd/lib/date-picker/locale/zh_CN */ 5584); /* harmony import */ var _components_Permission__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./components/Permission */ 33512); /* harmony import */ var _utils_env__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/utils/env */ 59758); /* harmony import */ var _utils_verifyLogin__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @/utils/verifyLogin */ 7303); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! react/jsx-runtime */ 85893); +/* harmony import */ var _utils_authority__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @/utils/authority */ 7); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! react/jsx-runtime */ 85893); @@ -6411,6 +5387,7 @@ var timeFormat = 'YYYY-MM-DD HH:mm'; + var handleDateString = function handleDateString(dateString) { if (!dateString) return dateString; var ar = dateString.split(':'); @@ -6432,7 +5409,7 @@ var handleDateString = function handleDateString(dateString) { return dateString; }; function Setting(_ref) { - var _user$userInfo, _user$userInfo$shixun, _shixunsDetail$detail, _shixunsDetail$detail2, _shixunsDetail$detail3, _shixunsDetail$detail4, _shixunsDetail$detail5, _shixunsDetail$settin38, _shixunsDetail$settin39, _shixunsDetail$detail6; + var _user$userInfo, _user$userInfo$shixun, _shixunsDetail$detail, _shixunsDetail$detail2, _shixunsDetail$detail3, _shixunsDetail$detail4, _shixunsDetail$detail5, _shixunsDetail$settin40, _shixunsDetail$settin41, _shixunsDetail$detail6; var user = _ref.user, dispatch = _ref.dispatch, shixunsDetail = _ref.shixunsDetail, @@ -6505,6 +5482,10 @@ function Setting(_ref) { _useState34 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_14___default()(_useState33, 2), disableAI = _useState34[0], setdisableAI = _useState34[1]; //gpt开关 + var _useState35 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(false), + _useState36 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_14___default()(_useState35, 2), + openCodeDebugger = _useState36[0], + setOpenCodeDebugger = _useState36[1]; //调试器 var params = (0,umi__WEBPACK_IMPORTED_MODULE_16__.useParams)(); var diffObj = { @@ -6517,7 +5498,8 @@ function Setting(_ref) { opening_time: 'openTime', display_git_address: 'display_git_address', show_code_dir: 'codeHidden', - ai_reply: 'disableAI' + ai_reply: 'disableAI', + open_code_debugger: 'openCodeDebugger' }; var editable = (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : (_user$userInfo$shixun = _user$userInfo.shixun) === null || _user$userInfo$shixun === void 0 ? void 0 : _user$userInfo$shixun.editable; var handleGetDepartments = /*#__PURE__*/function () { @@ -6556,14 +5538,14 @@ function Setting(_ref) { }, [shixunsDetail.setting]); var handleSelectDepartment = function handleSelectDepartment(value) { if (selectDepartmentList.includes(value)) { - antd_es_message__WEBPACK_IMPORTED_MODULE_23__/* ["default"].info */ .ZP.info('请勿指定相同的单位'); + antd_es_message__WEBPACK_IMPORTED_MODULE_24__/* ["default"].info */ .ZP.info('请勿指定相同的单位'); return; } setDepartmentValue(null); setSelectDepartmentList([].concat(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_10___default()(selectDepartmentList), [value])); }; var handleInitState = function handleInitState() { - var _shixunsDetail$settin3, _shixunsDetail$settin4, _shixunsDetail$settin5, _shixunsDetail$settin6, _shixunsDetail$settin7, _shixunsDetail$settin8, _shixunsDetail$settin9, _shixunsDetail$settin10, _shixunsDetail$settin11, _shixunsDetail$settin12, _shixunsDetail$settin13, _shixunsDetail$settin14, _shixunsDetail$settin15, _shixunsDetail$settin16, _shixunsDetail$settin17, _shixunsDetail$settin18, _shixunsDetail$settin19, _shixunsDetail$settin20, _shixunsDetail$settin21, _shixunsDetail$settin22, _shixunsDetail$settin23, _shixunsDetail$settin24, _shixunsDetail$settin25, _shixunsDetail$settin26, _shixunsDetail$settin27; + var _shixunsDetail$settin3, _shixunsDetail$settin4, _shixunsDetail$settin5, _shixunsDetail$settin6, _shixunsDetail$settin7, _shixunsDetail$settin8, _shixunsDetail$settin9, _shixunsDetail$settin10, _shixunsDetail$settin11, _shixunsDetail$settin12, _shixunsDetail$settin13, _shixunsDetail$settin14, _shixunsDetail$settin15, _shixunsDetail$settin16, _shixunsDetail$settin17, _shixunsDetail$settin18, _shixunsDetail$settin19, _shixunsDetail$settin20, _shixunsDetail$settin21, _shixunsDetail$settin22, _shixunsDetail$settin23, _shixunsDetail$settin24, _shixunsDetail$settin25, _shixunsDetail$settin26, _shixunsDetail$settin27, _shixunsDetail$settin28, _shixunsDetail$settin29; setCodeEditPermission((_shixunsDetail$settin3 = shixunsDetail.setting) === null || _shixunsDetail$settin3 === void 0 ? void 0 : (_shixunsDetail$settin4 = _shixunsDetail$settin3.shixun) === null || _shixunsDetail$settin4 === void 0 ? void 0 : _shixunsDetail$settin4.code_edit_permission); setCodeHidden((_shixunsDetail$settin5 = shixunsDetail.setting) === null || _shixunsDetail$settin5 === void 0 ? void 0 : (_shixunsDetail$settin6 = _shixunsDetail$settin5.shixun) === null || _shixunsDetail$settin6 === void 0 ? void 0 : _shixunsDetail$settin6.show_code_dir); setForbidCopy((_shixunsDetail$settin7 = shixunsDetail.setting) === null || _shixunsDetail$settin7 === void 0 ? void 0 : (_shixunsDetail$settin8 = _shixunsDetail$settin7.shixun) === null || _shixunsDetail$settin8 === void 0 ? void 0 : _shixunsDetail$settin8.forbid_copy); @@ -6577,28 +5559,29 @@ function Setting(_ref) { setSelectDepartmentList((_shixunsDetail$settin22 = shixunsDetail.setting) === null || _shixunsDetail$settin22 === void 0 ? void 0 : (_shixunsDetail$settin23 = _shixunsDetail$settin22.shixun) === null || _shixunsDetail$settin23 === void 0 ? void 0 : _shixunsDetail$settin23.scope_partment); setDisableDiscuss((_shixunsDetail$settin24 = shixunsDetail.setting) === null || _shixunsDetail$settin24 === void 0 ? void 0 : (_shixunsDetail$settin25 = _shixunsDetail$settin24.shixun) === null || _shixunsDetail$settin25 === void 0 ? void 0 : _shixunsDetail$settin25.is_disable_discuss); setdisableAI((_shixunsDetail$settin26 = shixunsDetail.setting) === null || _shixunsDetail$settin26 === void 0 ? void 0 : (_shixunsDetail$settin27 = _shixunsDetail$settin26.shixun) === null || _shixunsDetail$settin27 === void 0 ? void 0 : _shixunsDetail$settin27.ai_reply); + setOpenCodeDebugger((_shixunsDetail$settin28 = shixunsDetail.setting) === null || _shixunsDetail$settin28 === void 0 ? void 0 : (_shixunsDetail$settin29 = _shixunsDetail$settin28.shixun) === null || _shixunsDetail$settin29 === void 0 ? void 0 : _shixunsDetail$settin29.open_code_debugger); }; (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () { - var _Object$keys$filter, _shixunsDetail$settin29, _shixunsDetail$settin30, _shixunsDetail$settin31, _shixunsDetail$settin32, _shixunsDetail$settin33, _shixunsDetail$settin34, _shixunsDetail$settin35; + var _Object$keys$filter, _shixunsDetail$settin31, _shixunsDetail$settin32, _shixunsDetail$settin33, _shixunsDetail$settin34, _shixunsDetail$settin35, _shixunsDetail$settin36, _shixunsDetail$settin37; var confirmLeave = false; if (!!((_Object$keys$filter = Object.keys(diffObj).filter(function (item) { - var _shixunsDetail$settin28; - return ((_shixunsDetail$settin28 = shixunsDetail.setting) === null || _shixunsDetail$settin28 === void 0 ? void 0 : _shixunsDetail$settin28.shixun[item]) != eval(diffObj[item]); + var _shixunsDetail$settin30; + return ((_shixunsDetail$settin30 = shixunsDetail.setting) === null || _shixunsDetail$settin30 === void 0 ? void 0 : _shixunsDetail$settin30.shixun[item]) != eval(diffObj[item]); })) !== null && _Object$keys$filter !== void 0 && _Object$keys$filter.length)) { confirmLeave = true; } - if (isOpenTime != !!((_shixunsDetail$settin29 = shixunsDetail.setting) !== null && _shixunsDetail$settin29 !== void 0 && (_shixunsDetail$settin30 = _shixunsDetail$settin29.shixun) !== null && _shixunsDetail$settin30 !== void 0 && _shixunsDetail$settin30.opening_time)) { + if (isOpenTime != !!((_shixunsDetail$settin31 = shixunsDetail.setting) !== null && _shixunsDetail$settin31 !== void 0 && (_shixunsDetail$settin32 = _shixunsDetail$settin31.shixun) !== null && _shixunsDetail$settin32 !== void 0 && _shixunsDetail$settin32.opening_time)) { confirmLeave = true; } - if (disableDiscuss != !!((_shixunsDetail$settin31 = shixunsDetail.setting) !== null && _shixunsDetail$settin31 !== void 0 && (_shixunsDetail$settin32 = _shixunsDetail$settin31.shixun) !== null && _shixunsDetail$settin32 !== void 0 && _shixunsDetail$settin32.is_disable_discuss)) { + if (disableDiscuss != !!((_shixunsDetail$settin33 = shixunsDetail.setting) !== null && _shixunsDetail$settin33 !== void 0 && (_shixunsDetail$settin34 = _shixunsDetail$settin33.shixun) !== null && _shixunsDetail$settin34 !== void 0 && _shixunsDetail$settin34.is_disable_discuss)) { confirmLeave = true; } - if (selectDepartmentList.length != ((_shixunsDetail$settin33 = shixunsDetail.setting) === null || _shixunsDetail$settin33 === void 0 ? void 0 : (_shixunsDetail$settin34 = _shixunsDetail$settin33.shixun) === null || _shixunsDetail$settin34 === void 0 ? void 0 : (_shixunsDetail$settin35 = _shixunsDetail$settin34.scope_partment) === null || _shixunsDetail$settin35 === void 0 ? void 0 : _shixunsDetail$settin35.length)) { + if (selectDepartmentList.length != ((_shixunsDetail$settin35 = shixunsDetail.setting) === null || _shixunsDetail$settin35 === void 0 ? void 0 : (_shixunsDetail$settin36 = _shixunsDetail$settin35.shixun) === null || _shixunsDetail$settin36 === void 0 ? void 0 : (_shixunsDetail$settin37 = _shixunsDetail$settin36.scope_partment) === null || _shixunsDetail$settin37 === void 0 ? void 0 : _shixunsDetail$settin37.length)) { confirmLeave = true; } selectDepartmentList === null || selectDepartmentList === void 0 ? void 0 : selectDepartmentList.map(function (item, index) { - var _shixunsDetail$settin36, _shixunsDetail$settin37; - if (item != ((_shixunsDetail$settin36 = shixunsDetail.setting) === null || _shixunsDetail$settin36 === void 0 ? void 0 : (_shixunsDetail$settin37 = _shixunsDetail$settin36.shixun) === null || _shixunsDetail$settin37 === void 0 ? void 0 : _shixunsDetail$settin37.scope_partment[index])) { + var _shixunsDetail$settin38, _shixunsDetail$settin39; + if (item != ((_shixunsDetail$settin38 = shixunsDetail.setting) === null || _shixunsDetail$settin38 === void 0 ? void 0 : (_shixunsDetail$settin39 = _shixunsDetail$settin38.shixun) === null || _shixunsDetail$settin39 === void 0 ? void 0 : _shixunsDetail$settin39.scope_partment[index])) { confirmLeave = true; } }); @@ -6608,7 +5591,7 @@ function Setting(_ref) { confirmLeave: confirmLeave } }); - }, [taskPass, testSetPermission, isCopy, openValue, selectDepartmentList, isOpenTime, openTime, display_git_address, codeHidden, codeEditPermission, forbidCopy, disableDiscuss, disableAI]); + }, [taskPass, testSetPermission, isCopy, openValue, selectDepartmentList, isOpenTime, openTime, display_git_address, codeHidden, codeEditPermission, forbidCopy, disableDiscuss, disableAI, openCodeDebugger]); function handSubmeit() { return _handSubmeit.apply(this, arguments); } @@ -6622,14 +5605,14 @@ function Setting(_ref) { _context4.next = 3; break; } - antd_es_message__WEBPACK_IMPORTED_MODULE_23__/* ["default"].info */ .ZP.info('请选择开启时间'); + antd_es_message__WEBPACK_IMPORTED_MODULE_24__/* ["default"].info */ .ZP.info('请选择开启时间'); return _context4.abrupt("return"); case 3: if (!(openValue === 1 && !selectDepartmentList.length)) { _context4.next = 6; break; } - antd_es_message__WEBPACK_IMPORTED_MODULE_23__/* ["default"].info */ .ZP.info('请选择指定单位公开'); + antd_es_message__WEBPACK_IMPORTED_MODULE_24__/* ["default"].info */ .ZP.info('请选择指定单位公开'); return _context4.abrupt("return"); case 6: _context4.next = 8; @@ -6651,14 +5634,15 @@ function Setting(_ref) { can_copy: isCopy, use_scope: openValue, opening_time: openTime, - is_disable_discuss: disableDiscuss + is_disable_discuss: disableDiscuss, + open_code_debugger: openCodeDebugger } } }); case 8: res = _context4.sent; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - antd_es_message__WEBPACK_IMPORTED_MODULE_23__/* ["default"].info */ .ZP.info('修改成功'); + antd_es_message__WEBPACK_IMPORTED_MODULE_24__/* ["default"].info */ .ZP.info('修改成功'); dispatch({ type: 'shixunsDetail/getSettingsData', payload: params @@ -6699,33 +5683,33 @@ function Setting(_ref) { _context3.t0 = {}; case 5: quote = _context3.t0; - antd_es_modal__WEBPACK_IMPORTED_MODULE_24__/* ["default"].confirm */ .Z.confirm({ + antd_es_modal__WEBPACK_IMPORTED_MODULE_25__/* ["default"].confirm */ .Z.confirm({ centered: true, title: '提示', okText: '确定', cancelText: '取消', width: 520, - content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: "tc font14 ".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].modal */ .Z.modal), - children: [!!((_quote$subjects = quote.subjects) !== null && _quote$subjects !== void 0 && _quote$subjects.length) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.Fragment, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("span", { + children: [!!((_quote$subjects = quote.subjects) !== null && _quote$subjects !== void 0 && _quote$subjects.length) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("span", { children: ["\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230", ' ', (_quote$subjects2 = quote.subjects) === null || _quote$subjects2 === void 0 ? void 0 : (_quote$subjects2$spli = _quote$subjects2.splice(0, 2)) === null || _quote$subjects2$spli === void 0 ? void 0 : _quote$subjects2$spli.map(function (item) { return "\u300A".concat(item, "\u300B"); - }), "\u7B49", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), "\u7B49", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].colorOrange */ .Z.colorOrange, children: quote === null || quote === void 0 ? void 0 : quote.subjects_count }), "\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("br", {})] - }), !!((_quote$courses = quote.courses) !== null && _quote$courses !== void 0 && _quote$courses.length) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.Fragment, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("br", {})] + }), !!((_quote$courses = quote.courses) !== null && _quote$courses !== void 0 && _quote$courses.length) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("span", { children: ["\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230", (_quote$courses2 = quote.courses) === null || _quote$courses2 === void 0 ? void 0 : (_quote$courses2$splic = _quote$courses2.splice(0, 2)) === null || _quote$courses2$splic === void 0 ? void 0 : _quote$courses2$splic.map(function (item) { return "\u300A".concat(item, "\u300B"); - }), "\u7B49", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), "\u7B49", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].colorOrange */ .Z.colorOrange, children: quote === null || quote === void 0 ? void 0 : quote.courses_count }), "\u4E2A\u6559\u5B66\u8BFE\u5802"] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("br", {})] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("br", {})] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].colorYellow */ .Z.colorYellow, " mt30"), children: "\u5220\u9664\u5B9E\u8DF5\u9879\u76EE\u5C06\u5F71\u54CD\u8BFE\u7A0B\u53CA\u8BFE\u5802\u5BF9\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u4F7F\u7528\uFF01\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01" })] @@ -6746,7 +5730,7 @@ function Setting(_ref) { case 2: res = _context2.sent; if (res.status === 1) { - antd_es_message__WEBPACK_IMPORTED_MODULE_23__/* ["default"].success */ .ZP.success('操作成功'); + antd_es_message__WEBPACK_IMPORTED_MODULE_24__/* ["default"].success */ .ZP.success('操作成功'); umi__WEBPACK_IMPORTED_MODULE_16__.history.push('/shixuns'); } case 4: @@ -6775,7 +5759,7 @@ function Setting(_ref) { if ((0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_21__/* .ShixunStatusModel */ .gy)(dispatch, '不能进行删除')) return; }; function showExitmodel(key) { - antd_es_modal__WEBPACK_IMPORTED_MODULE_24__/* ["default"].confirm */ .Z.confirm({ + antd_es_modal__WEBPACK_IMPORTED_MODULE_25__/* ["default"].confirm */ .Z.confirm({ title: '离开此页提示', content: '系统可能不会保存您所做的更改。', okText: '离开', @@ -6797,14 +5781,14 @@ function Setting(_ref) { } }); } - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { style: { height: '100%', display: 'flex', background: '#fff', position: 'relative' }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { style: { height: '100%', background: '#0A143D', @@ -6813,13 +5797,13 @@ function Setting(_ref) { padding: '20px 20px', color: '#ffffff' }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { style: { padding: '0px 15px', fontSize: '16px' }, children: "\u8BBE\u7F6E" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(antd_es_menu__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd_es_menu__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z, { selectedKeys: [MenuSelectKey], theme: "dark", style: { @@ -6841,150 +5825,150 @@ function Setting(_ref) { setIsShowSetting(false); } }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_menu__WEBPACK_IMPORTED_MODULE_25__/* ["default"].Item */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_menu__WEBPACK_IMPORTED_MODULE_26__/* ["default"].Item */ .Z.Item, { children: "\u8BBE\u7F6E" - }, 1), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_menu__WEBPACK_IMPORTED_MODULE_25__/* ["default"].Item */ .Z.Item, { + }, 1), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_menu__WEBPACK_IMPORTED_MODULE_26__/* ["default"].Item */ .Z.Item, { children: "\u5173\u4E8E\u5B9E\u8BAD" }, 2)] })] - }), isShowSetting && (shixunsDetail === null || shixunsDetail === void 0 ? void 0 : (_shixunsDetail$detail = shixunsDetail.detail) === null || _shixunsDetail$detail === void 0 ? void 0 : _shixunsDetail$detail.is_jupyter_lab) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(_components_Permission__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z, {}), isShowSetting && !(shixunsDetail !== null && shixunsDetail !== void 0 && (_shixunsDetail$detail2 = shixunsDetail.detail) !== null && _shixunsDetail$detail2 !== void 0 && _shixunsDetail$detail2.is_jupyter_lab) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), isShowSetting && (shixunsDetail === null || shixunsDetail === void 0 ? void 0 : (_shixunsDetail$detail = shixunsDetail.detail) === null || _shixunsDetail$detail === void 0 ? void 0 : _shixunsDetail$detail.is_jupyter_lab) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_components_Permission__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z, {}), isShowSetting && !(shixunsDetail !== null && shixunsDetail !== void 0 && (_shixunsDetail$detail2 = shixunsDetail.detail) !== null && _shixunsDetail$detail2 !== void 0 && _shixunsDetail$detail2.is_jupyter_lab) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { style: { width: 'calc(100% - 24%)', overflow: 'auto' }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { style: { padding: '40px 40px', marginBottom: '70px' }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("p", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("p", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].titlesize */ .Z.titlesize, style: { display: 'flex' }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { style: { flex: '1' }, children: "\u5173\u5361\u548C\u6D4B\u8BD5\u96C6" - }), (shixunsDetail === null || shixunsDetail === void 0 ? void 0 : (_shixunsDetail$detail3 = shixunsDetail.detail) === null || _shixunsDetail$detail3 === void 0 ? void 0 : _shixunsDetail$detail3.shixun_status) !== 2 ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z, { + }), (shixunsDetail === null || shixunsDetail === void 0 ? void 0 : (_shixunsDetail$detail3 = shixunsDetail.detail) === null || _shixunsDetail$detail3 === void 0 ? void 0 : _shixunsDetail$detail3.shixun_status) !== 2 ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { danger: true, onClick: handleDeleteShixun, children: "\u5220\u9664\u5B9E\u8DF5\u9879\u76EE" - }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z, { + }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { danger: true, onClick: handleDeleteElseShixun, children: "\u5220\u9664\u5B9E\u8DF5\u9879\u76EE" })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelWrap */ .Z.labelWrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("label", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("label", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].label */ .Z.label, children: "\u8DF3\u5173\uFF1A" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelContent */ .Z.labelContent, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, { checked: taskPass, disabled: !editable, onChange: function onChange(e) { return setTaskPass(e.target.checked); } - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].color999 */ .Z.color999, " ml10"), children: "\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u8DF3\u5173\u5B66\u4E60\u5B9E\u8BAD\u5173\u5361\u4EFB\u52A1\uFF09" })] }) })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelWrap */ .Z.labelWrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("label", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("label", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].label */ .Z.label, children: "\u6D4B\u8BD5\u96C6\u89E3\u9501\uFF1A" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelContent */ .Z.labelContent, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, { checked: testSetPermission, disabled: !editable, onChange: function onChange(e) { return setTestSetPermission(e.target.checked); } - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].color999 */ .Z.color999, " ml10"), children: "\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u901A\u8FC7\u91D1\u5E01\u89E3\u9501\u67E5\u770B\u9690\u85CF\u6D4B\u8BD5\u96C6\u7684\u5185\u5BB9\uFF09" })] }) })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("p", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("p", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].titlesize */ .Z.titlesize, style: { marginTop: '20px' }, children: "\u6743\u9650" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelWrap */ .Z.labelWrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("label", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("label", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].label */ .Z.label, children: "\u590D\u5236/\u5408\u5E76:" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelContent */ .Z.labelContent, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, { checked: isCopy, onChange: function onChange(e) { return setIsCopy(e.target.checked); }, disabled: !editable - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].color999 */ .Z.color999), children: "\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u8BE5\u5B9E\u8BAD\uFF09" })] }) })] - }), !((((_shixunsDetail$detail4 = shixunsDetail.detail) === null || _shixunsDetail$detail4 === void 0 ? void 0 : _shixunsDetail$detail4.shixun_status) > 1 || ((_shixunsDetail$detail5 = shixunsDetail.detail) === null || _shixunsDetail$detail5 === void 0 ? void 0 : _shixunsDetail$detail5["public"]) === 2) && ((_shixunsDetail$settin38 = shixunsDetail.setting) === null || _shixunsDetail$settin38 === void 0 ? void 0 : (_shixunsDetail$settin39 = _shixunsDetail$settin38.shixun) === null || _shixunsDetail$settin39 === void 0 ? void 0 : _shixunsDetail$settin39.use_scope) === 0 && ((_shixunsDetail$detail6 = shixunsDetail.detail) === null || _shixunsDetail$detail6 === void 0 ? void 0 : _shixunsDetail$detail6.identity) > 2) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), !((((_shixunsDetail$detail4 = shixunsDetail.detail) === null || _shixunsDetail$detail4 === void 0 ? void 0 : _shixunsDetail$detail4.shixun_status) > 1 || ((_shixunsDetail$detail5 = shixunsDetail.detail) === null || _shixunsDetail$detail5 === void 0 ? void 0 : _shixunsDetail$detail5["public"]) === 2) && ((_shixunsDetail$settin40 = shixunsDetail.setting) === null || _shixunsDetail$settin40 === void 0 ? void 0 : (_shixunsDetail$settin41 = _shixunsDetail$settin40.shixun) === null || _shixunsDetail$settin41 === void 0 ? void 0 : _shixunsDetail$settin41.use_scope) === 0 && ((_shixunsDetail$detail6 = shixunsDetail.detail) === null || _shixunsDetail$detail6 === void 0 ? void 0 : _shixunsDetail$detail6.identity) > 2) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelWrap */ .Z.labelWrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("label", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("label", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].label */ .Z.label, style: { padding: '4px 0px' }, children: "\u516C\u5F00\u7A0B\u5EA6:" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelContent */ .Z.labelContent, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_radio__WEBPACK_IMPORTED_MODULE_28__/* ["default"].Group */ .ZP.Group, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_radio__WEBPACK_IMPORTED_MODULE_29__/* ["default"].Group */ .ZP.Group, { value: openValue, onChange: function onChange(e) { return setOpenValue(e.target.value); }, disabled: !editable, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(antd_es_space__WEBPACK_IMPORTED_MODULE_29__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd_es_space__WEBPACK_IMPORTED_MODULE_30__/* ["default"] */ .Z, { direction: "vertical", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(antd_es_radio__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .ZP, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd_es_radio__WEBPACK_IMPORTED_MODULE_29__/* ["default"] */ .ZP, { value: 0, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { children: "\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].color999 */ .Z.color999, children: "\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09" })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(antd_es_radio__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .ZP, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd_es_radio__WEBPACK_IMPORTED_MODULE_29__/* ["default"] */ .ZP, { style: { marginTop: '22px' }, value: 1, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { children: "\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].color999 */ .Z.color999, children: "\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09" })] })] }) - }), openValue === 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.Fragment, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", { + }), openValue === 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].graaytitle */ .Z.graaytitle, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_auto_complete__WEBPACK_IMPORTED_MODULE_30__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_auto_complete__WEBPACK_IMPORTED_MODULE_31__/* ["default"] */ .Z, { showSearch: true, className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].selectSchool */ .Z.selectSchool, bordered: false, @@ -7002,11 +5986,11 @@ function Setting(_ref) { }; }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { className: "mt10", children: selectDepartmentList === null || selectDepartmentList === void 0 ? void 0 : selectDepartmentList.map(function (item) { if (editable) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_badge__WEBPACK_IMPORTED_MODULE_31__/* ["default"] */ .Z, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_badge__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .Z, { count: 'x', className: "mr20 current", onClick: function onClick() { @@ -7014,14 +5998,14 @@ function Setting(_ref) { return val !== item; })); }, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { type: "primary", ghost: true, children: item }) }); } - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { type: "primary", ghost: true, className: "mr20", @@ -7031,15 +6015,15 @@ function Setting(_ref) { })] })] })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelWrap */ .Z.labelWrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("label", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("label", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].label */ .Z.label, children: "\u5F00\u542F\u65F6\u95F4:" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelContent */ .Z.labelContent, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, { checked: isOpenTime, onChange: function onChange(e) { setIsOpenTime(e.target.checked); @@ -7048,16 +6032,16 @@ function Setting(_ref) { } }, disabled: !editable - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].color999 */ .Z.color999, " ml10"), children: "\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u6307\u5B9A\u7684\u5F00\u542F\u65F6\u95F4\u540E\u624D\u80FD\u5F00\u542F\u6311\u6218\uFF09" })] - }), isOpenTime && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", { + }), isOpenTime && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].graaytitle */ .Z.graaytitle, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_date_picker__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_date_picker__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .Z, { className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].dataPicker */ .Z.dataPicker), format: timeFormat, - locale: antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .Z, + locale: antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .Z, bordered: false, disabled: !editable, placeholder: "\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4", @@ -7075,51 +6059,51 @@ function Setting(_ref) { }) })] })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("p", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("p", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].titlesize */ .Z.titlesize, style: { marginTop: '20px' }, children: "\u529F\u80FD" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelWrap */ .Z.labelWrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("label", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("label", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].label */ .Z.label, children: "\u663E\u793A\u4EE3\u7801\u5E93\u5730\u5740\uFF1A" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelContent */ .Z.labelContent, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, { checked: display_git_address, disabled: !editable, onChange: function onChange(e) { return set_display_git_address(e.target.checked); } - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("span", { className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].color999 */ .Z.color999, " ml10"), children: [' ', "\uFF08\u9009\u4E2D\u5219\u5BF9\u5B66\u5458\u516C\u5F00\u4EE3\u7801\u5E93\u5730\u5740\uFF0C\u5B66\u5458\u53EF\u4EE5\u5C06\u6240\u6709\u4EE3\u7801\u4E0B\u8F7D\u5230\u672C\u5730\uFF09"] })] }) })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelWrap */ .Z.labelWrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("label", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("label", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].label */ .Z.label, children: "\u663E\u793A\u4EE3\u7801\u76EE\u5F55\uFF1A" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelContent */ .Z.labelContent, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, { checked: codeHidden, disabled: !editable, onChange: function onChange(e) { return setCodeHidden(e.target.checked); } - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].color999 */ .Z.color999, " ml10"), children: "\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u9875\u9762\u663E\u793A\u7248\u672C\u5E93\u76EE\u5F55\uFF09" })] - }), codeHidden && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", { + }), codeHidden && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { style: { height: '54px', background: '#f5f5f5', @@ -7130,25 +6114,25 @@ function Setting(_ref) { alignItems: 'center', padding: '0px 20px' }, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { style: { display: 'flex' }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("label", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("label", { children: "\u4EE3\u7801\u5E93\u6587\u4EF6\u4FEE\u6539\u6743\u9650\uFF1A" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelContent */ .Z.labelContent, style: { padding: '0px' }, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, { checked: codeEditPermission, disabled: !editable, onChange: function onChange(e) { return setCodeEditPermission(e.target.checked); } - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].color999 */ .Z.color999, " ml10"), children: "\uFF08\u52FE\u9009\u540E\u5141\u8BB8\u5B66\u5458\u4FEE\u6539\u4EE3\u7801\u5E93\u6240\u6709\u6587\u4EF6\uFF0C\u5426\u5219\u4EC5\u53EF\u4FEE\u6539\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\uFF09" })] @@ -7157,72 +6141,91 @@ function Setting(_ref) { }) })] })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelWrap */ .Z.labelWrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("label", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("label", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].label */ .Z.label, children: "\u7981\u7528\u7C98\u8D34\uFF1A" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelContent */ .Z.labelContent, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, { checked: forbidCopy, disabled: !editable, onChange: function onChange(e) { return setForbidCopy(e.target.checked); } - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].color999 */ .Z.color999, " ml10"), children: "\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u7F16\u7801\u533A\u57DF\u65E0\u6CD5\u4F7F\u7528\u7C98\u8D34\u529F\u80FD\uFF09" })] }) })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("p", { + }), (0,_utils_authority__WEBPACK_IMPORTED_MODULE_22__/* .isSuperAdmins */ .Ny)() && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { + className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelWrap */ .Z.labelWrap, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("label", { + className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].label */ .Z.label, + children: "\u8C03\u8BD5\u5668\uFF1A" + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { + className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelContent */ .Z.labelContent, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_switch__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .Z, { + checked: openCodeDebugger, + onChange: function onChange(e) { + return setOpenCodeDebugger(e); + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { + className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].color999 */ .Z.color999, " ml10"), + children: "\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF0C\u53EF\u4EE5\u4F7F\u7528\u4EE3\u7801\u8C03\u8BD5\u5DE5\u5177\uFF0C\u68C0\u67E5\u4EE3\u7801\u8FD0\u884C\u60C5\u51B5\u3002\u76EE\u524D\u4EC5\u652F\u6301Python3\u8BED\u8A00\uFF09" + })] + }) + })] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("p", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].titlesize */ .Z.titlesize, style: { marginTop: '20px' }, children: [' ', "\u8BC4\u8BBA\u533A"] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelWrap */ .Z.labelWrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("label", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("label", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].label */ .Z.label, children: "\u663E\u793A\u8BC4\u8BBA\u533A\uFF1A" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelContent */ .Z.labelContent, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_switch__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_switch__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .Z, { checked: !disableDiscuss, onChange: function onChange(e) { return setDisableDiscuss(!e); } - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].color999 */ .Z.color999, " ml10"), children: "\uFF08\u5173\u95ED\u540E\uFF0C\u5B9E\u8DF5\u9879\u76EE\u8BE6\u60C5\u9875\u53CA\u5173\u5361\u6311\u6218\u9875\u9762\u4E0D\u663E\u793A\u4EFB\u4F55\u8BC4\u8BBA\uFF09" })] }) })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelWrap */ .Z.labelWrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("label", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("label", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].label */ .Z.label, children: "GPT\u95EE\u7B54\uFF1A" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].labelContent */ .Z.labelContent, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_switch__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_switch__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .Z, { checked: disableAI, onChange: function onChange(e) { setdisableAI(e); } - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].color999 */ .Z.color999, " ml10"), children: "\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u7684\u8BC4\u8BBA\u5C06\u7531\u667A\u80FD\u673A\u5668\u4EBA\u8FDB\u884C\u56DE\u7B54\uFF09" })] }) })] })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { style: { height: '70px', width: '76%', @@ -7234,7 +6237,7 @@ function Setting(_ref) { alignItems: 'center', justifyContent: 'center' }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { style: { marginRight: '10px', width: '100px', @@ -7247,7 +6250,7 @@ function Setting(_ref) { umi__WEBPACK_IMPORTED_MODULE_16__.history.push("/shixuns/".concat(params.id, "/challenges")); }, children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, { style: { marginLeft: '10px', width: '100px', @@ -7263,47 +6266,47 @@ function Setting(_ref) { children: "\u4FDD\u5B58" })] })] - }), !isShowSetting && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), !isShowSetting && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { style: { padding: '40px' }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("p", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("p", { style: { color: '#333333', fontSize: '16px' }, children: "\u521B\u5EFA\u8005" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].itemWrap */ .Z.itemWrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("img", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("img", { alt: "\u7528\u6237\u5934\u50CF", height: "60", width: "60", className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].img */ .Z.img, src: "".concat(_utils_env__WEBPACK_IMPORTED_MODULE_20__/* ["default"].IMG_SERVER */ .Z.IMG_SERVER, "/images/").concat(practiceSetting === null || practiceSetting === void 0 ? void 0 : practiceSetting.user_image_url) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].itemContent */ .Z.itemContent, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("p", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("p", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].nameWrap */ .Z.nameWrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].name */ .Z.name, children: practiceSetting === null || practiceSetting === void 0 ? void 0 : practiceSetting.user_name - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].actionGroup */ .Z.actionGroup })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("p", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("p", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].schoolWrap */ .Z.schoolWrap, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_17__/* ["default"].school */ .Z.school, children: practiceSetting === null || practiceSetting === void 0 ? void 0 : practiceSetting.user_school }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("p", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("p", { style: { color: '#333333', fontSize: '16px' }, children: ["\u521B\u5EFA\u65F6\u95F4\uFF1A", practiceSetting === null || practiceSetting === void 0 ? void 0 : practiceSetting.created_at] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("p", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("p", { style: { color: '#333333', fontSize: '16px' diff --git a/p__Shixuns__Edit__index.chunk.css b/p__Shixuns__Edit__index.chunk.css index 2d755b8850..94810e8453 100644 --- a/p__Shixuns__Edit__index.chunk.css +++ b/p__Shixuns__Edit__index.chunk.css @@ -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 ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Shixuns__Exports__index.chunk.css b/p__Shixuns__Exports__index.chunk.css index 4d241a4c41..4a858e24d4 100644 --- a/p__Shixuns__Exports__index.chunk.css +++ b/p__Shixuns__Exports__index.chunk.css @@ -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 ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__User__Detail__ExperImentImg__Detail__index.chunk.css b/p__User__Detail__ExperImentImg__Detail__index.chunk.css index 5b2dd11bd2..9434a13202 100644 --- a/p__User__Detail__ExperImentImg__Detail__index.chunk.css +++ b/p__User__Detail__ExperImentImg__Detail__index.chunk.css @@ -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; +} diff --git a/p__User__Detail__ExperImentImg__index.chunk.css b/p__User__Detail__ExperImentImg__index.chunk.css index 6d64f6caef..238ee3968d 100644 --- a/p__User__Detail__ExperImentImg__index.chunk.css +++ b/p__User__Detail__ExperImentImg__index.chunk.css @@ -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 ***! \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__User__Detail__Order__pages__orderPay__index.async.js b/p__User__Detail__Order__pages__orderPay__index.async.js index 302dbb2cbb..85d48d9483 100644 --- a/p__User__Detail__Order__pages__orderPay__index.async.js +++ b/p__User__Detail__Order__pages__orderPay__index.async.js @@ -137,6 +137,7 @@ var Pay = function Pay() { params: { num: searchParams.get("order_num"), pay: 'weixin_qr' + // timestamp: Date.now() } }); case 4: diff --git a/p__User__Detail__Topics__Detail__index.chunk.css b/p__User__Detail__Topics__Detail__index.chunk.css index d95223e1fa..775f90fe9c 100644 --- a/p__User__Detail__Topics__Detail__index.chunk.css +++ b/p__User__Detail__Topics__Detail__index.chunk.css @@ -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 ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__User__Detail__Topics__Poll__Detail__index.chunk.css b/p__User__Detail__Topics__Poll__Detail__index.chunk.css index 89f531c07b..45b1b1b87d 100644 --- a/p__User__Detail__Topics__Poll__Detail__index.chunk.css +++ b/p__User__Detail__Topics__Poll__Detail__index.chunk.css @@ -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 ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__User__Detail__Topics__Poll__Edit__index.chunk.css b/p__User__Detail__Topics__Poll__Edit__index.chunk.css index 469ff59d6c..74536d5a94 100644 --- a/p__User__Detail__Topics__Poll__Edit__index.chunk.css +++ b/p__User__Detail__Topics__Poll__Edit__index.chunk.css @@ -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 ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Video__Detail__id.chunk.css b/p__Video__Detail__id.chunk.css index b76bf72e2e..741aad7e03 100644 --- a/p__Video__Detail__id.chunk.css +++ b/p__Video__Detail__id.chunk.css @@ -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 ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__tasks__Jupyter__index.async.js b/p__tasks__Jupyter__index.async.js index 41ded4a7ce..8c1cc7acdf 100644 --- a/p__tasks__Jupyter__index.async.js +++ b/p__tasks__Jupyter__index.async.js @@ -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'); }, diff --git a/p__tasks__Jupyter__index.chunk.css b/p__tasks__Jupyter__index.chunk.css index a2d69b5cfb..bdb62696dc 100644 --- a/p__tasks__Jupyter__index.chunk.css +++ b/p__tasks__Jupyter__index.chunk.css @@ -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 ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__tasks__index.async.js b/p__tasks__index.async.js index c2c532453c..e3aea85045 100644 --- a/p__tasks__index.async.js +++ b/p__tasks__index.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[93665,42977,8691,4977,12768],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[93665,42977,4977,12768],{ /***/ 99011: /*!**************************************************************************!*\ @@ -2873,1031 +2873,6 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' /***/ }), -/***/ 8691: -/*!************************************************************!*\ - !*** ./src/components/monaco-editor/index.jsx + 3 modules ***! - \************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "SV": function() { return /* binding */ DiffEditor; }, - "ZP": function() { return /* binding */ monaco_editor; } -}); - -// UNUSED EXPORTS: getLanguageByMirrorName - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -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/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/@babel/runtime/helpers/createForOfIteratorHelper.js -var createForOfIteratorHelper = __webpack_require__(74704); -var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(70215); -var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); -// EXTERNAL MODULE: ./node_modules/react/index.js -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'] -}; -var javaLangage = { - quickKey: [{ - label: "main", - content: ['public static void main(String[] args) {', '\t$0', '}'].join('\n') - }, { - label: "System.out.println", - content: ['System.out.println($0)'].join('\n') - }, { - label: "System.out.print", - content: ['System.out.print($0)'].join('\n') - }], - keywords: ['abstract', 'continue', 'for', 'new', 'switch', 'assert', 'default', 'goto', 'package', 'synchronized', 'boolean', 'do', 'if', 'private', 'this', 'break', 'double', 'implements', 'protected', 'throw', 'byte', 'else', 'import', 'public', 'throws', 'case', 'enum', 'instanceof', 'return', 'transient', 'catch', 'extends', 'int', 'short', 'try', 'char', 'final', 'interface', 'static', 'void', 'class', 'finally', 'long', 'strictfp', 'volatile', 'const', 'float', 'native', 'super', 'while', 'true', 'false'] -}; -var cppLangage = { - keywords: ['abstract', 'amp', 'array', 'auto', 'bool', 'break', 'case', 'catch', 'char', 'class', 'const', 'constexpr', 'const_cast', 'continue', 'cpu', 'decltype', 'default', 'delegate', 'delete', 'do', 'double', 'dynamic_cast', 'each', 'else', 'enum', 'event', 'explicit', 'export', 'extern', 'false', 'final', 'finally', 'float', 'friend', 'gcnew', 'generic', 'goto', 'in', 'initonly', 'inline', 'int', 'interface', 'interior_ptr', 'internal', 'literal', 'long', 'mutable', 'namespace', 'new', 'noexcept', 'nullptr', '__nullptr', 'operator', 'override', 'partial', 'pascal', 'pin_ptr', 'private', 'property', 'protected', 'public', 'ref', 'register', 'reinterpret_cast', 'restrict', 'return', 'safe_cast', 'sealed', 'short', 'signed', 'sizeof', 'static', 'static_assert', 'static_cast', 'struct', 'switch', 'template', 'this', 'thread_local', 'throw', 'tile_static', 'true', 'try', 'typedef', 'typeid', 'typename', 'union', 'unsigned', 'using', 'virtual', 'void', 'volatile', 'wchar_t', 'where', 'while', '_asm', '_based', '_cdecl', '_declspec', '_fastcall', '_if_exists', '_if_not_exists', '_inline', '_multiple_inheritance', '_pascal', '_single_inheritance', '_stdcall', '_virtual_inheritance', '_w64', '__abstract', '__alignof', '__asm', '__assume', '__based', '__box', '__builtin_alignof', '__cdecl', '__clrcall', '__declspec', '__delegate', '__event', '__except', '__fastcall', '__finally', '__forceinline', '__gc', '__hook', '__identifier', '__if_exists', '__if_not_exists', '__inline', '__int128', '__int16', '__int32', '__int64', '__int8', '__interface', '__leave', '__m128', '__m128d', '__m128i', '__m256', '__m256d', '__m256i', '__m64', '__multiple_inheritance', '__newslot', '__nogc', '__noop', '__nounwind', '__novtordisp', '__pascal', '__pin', '__pragma', '__property', '__ptr32', '__ptr64', '__raise', '__restrict', '__resume', '__sealed', '__single_inheritance', '__stdcall', '__super', '__thiscall', '__try', '__try_cast', '__typeof', '__unaligned', '__unhook', '__uuidof', '__value', '__virtual_inheritance', '__w64', '__wchar_t'], - operators: ['=', '>', '<', '!', '~', '?', ':', '==', '<=', '>=', '!=', '&&', '||', '++', '--', '+', '-', '*', '/', '&', '|', '^', '%', '<<', '>>', '>>>', '+=', '-=', '*=', '/=', '&=', '|=', '^=', '%=', '<<=', '>>=', '>>>='], - quickKey: [{ - label: "ifelse", - content: ['if (${1:condition}) {', '\t$0', '} else {', '\t', '}'].join('\n') - }, { - label: "include", - content: 'include<$0>' - }, { - label: "printf", - content: 'printf($0)' - }, { - label: "system", - content: 'system("$0")' - }, { - label: "main", - content: ['int main () {', '\t$0', '}'].join('\n') - }, { - label: "if", - content: ['if () {', '\t$0', '}'].join('\n') - }, { - label: "for", - content: ['for(int j=0 ; j<10; j++){', '\t$0', '}'].join('\n') - }, { - label: "trycatch", - content: ['try{', '\t$0', '}catch(ExceptionName e){', '}'].join('\n') - }, { - label: "using namespace std;", - content: ['using namespace std;'].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }, { - label: "include ", - content: ['#include '].join('\n') - }] -}; -var pythonLangage = { - keywords: ['and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'exec', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'None', 'not', 'or', 'pass', 'raise', 'return', 'self', 'try', 'while', 'with', 'yield', 'int', 'float', 'long', 'complex', 'hex', 'abs', 'all', 'any', 'apply', 'basestring', 'bin', 'bool', 'buffer', 'bytearray', 'callable', 'chr', 'classmethod', 'cmp', 'coerce', 'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'execfile', 'file', 'filter', 'format', 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'help', 'id', 'input', 'intern', 'isinstance', 'issubclass', 'iter', 'len', 'locals', 'list', 'map', 'max', 'memoryview', 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'print', 'property', 'reversed', 'range', 'raw_input', 'reduce', 'reload', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'unichr', 'unicode', 'vars', 'xrange', 'zip', 'True', 'False', '__dict__', '__methods__', '__members__', '__class__', '__bases__', '__name__', '__mro__', '__subclasses__', '__init__', '__import__'], - quickKey: [{ - label: "print", - content: ['print($0)'].join('\n') - } - // { label: "#include", content: '#include ""' }, - // { label: "printf", content: 'printf("")' }, - ] -}; - -var scalaLangage = { - keywords: ['asInstanceOf', 'catch', 'class', 'classOf', 'def', 'do', 'else', 'extends', 'finally', 'for', 'foreach', 'forSome', 'if', 'import', 'isInstanceOf', 'macro', 'match', 'new', 'object', 'package', 'return', 'throw', 'trait', 'try', 'type', 'until', 'val', 'var', 'while', 'with', 'yield', - // Dotty-specific: - 'given', 'enum', 'then'], - quickKey: [{ - label: "println", - content: ['println($0)'].join('\n') - } - // { label: "#include", content: '#include ""' }, - // { label: "printf", content: 'printf("")' }, - ] -}; -// EXTERNAL MODULE: ./node_modules/js-beautify/js/index.js -var js = __webpack_require__(84204); -var js_default = /*#__PURE__*/__webpack_require__.n(js); -;// CONCATENATED MODULE: ./src/components/monaco-editor/monaco-suggest-config.tsx - - - - - - -var baseConfig = { - languages: ['c', 'abap', 'apex', 'azcli', 'bat', 'cameligo', 'clojure', 'coffee', 'cpp', 'csharp', 'csp', 'css', 'dockerfile', 'fsharp', 'go', 'graphql', 'handlebars', 'html', 'ini', 'java', 'javascript', 'json', 'kotlin', 'less', 'lua', 'markdown', 'mips', 'msdax', 'mysql', 'objective-c', 'pascal', 'pascaligo', 'perl', 'pgsql', 'php', 'postiats', 'powerquery', 'powershell', 'pug', 'python', 'r', 'razor', 'redis', 'redshift', 'restructuredtext', 'ruby', 'rust', 'sb', 'scheme', 'scss', 'shell', 'solidity', 'sophia', 'sql', 'st', 'swift', 'tcl', 'twig', 'vb', 'xml', "yaml'"], - tables: { - users: ["name", "id", "email", "phone", "password"], - roles: ["id", "name", "order", "created_at", "updated_at", "deleted_at"] - } -}; -var getKeywordsSuggest = function getKeywordsSuggest(monaco, keywords) { - return keywords.map(function (key) { - return { - label: key, - // 显示的名称 - kind: monaco.languages.CompletionItemKind.Keyword, - insertText: key // 真实补全的值 - }; - }); -}; - -var getTableSuggest = function getTableSuggest(monaco) { - return Object.keys(baseConfig.tables).map(function (key) { - return { - label: key, - // 显示的名称 - kind: monaco.languages.CompletionItemKind.Variable, - insertText: key // 真实补全的值 - }; - }); -}; - -var getFieldsSuggest = function getFieldsSuggest(tableName, monaco) { - var fields = baseConfig.tables[tableName]; - if (!fields) { - return []; - } - return fields.map(function (name) { - return { - label: name, - kind: monaco.languages.CompletionItemKind.Field, - insertText: name - }; - }); -}; -function getSuggestions(monaco, model, position, keywords, snippts) { - var word = model.getWordUntilPosition(position); - var range = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var rs = keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Keyword, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: range - }; - }); - snippts.map(function (item) { - rs.push(_objectSpread(_objectSpread({}, item), {}, { - range: range - })); - }); - return rs; -} -/* harmony default export */ var monaco_suggest_config = (function (monaco) { - baseConfig.languages.map(function (item) { - monaco.languages.registerDocumentFormattingEditProvider(item, { - provideDocumentFormattingEdits: function provideDocumentFormattingEdits(model, options, token) { - return asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var formattedText; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - formattedText = js_default()(model.getValue(), { - "indent_size": "2", - "indent_char": " ", - "max_preserve_newlines": "2", - "preserve_newlines": true, - "keep_array_indentation": true, - "break_chained_methods": false, - "indent_scripts": "normal", - "brace_style": "collapse", - "space_before_conditional": true, - "unescape_strings": false, - "jslint_happy": false, - "end_with_newline": true, - "wrap_line_length": "0", - "indent_inner_html": false, - "comma_first": false, - "e4x": false, - "indent_empty_lines": false - }); - return _context.abrupt("return", [{ - range: model.getFullModelRange(), - text: formattedText - }]); - case 2: - case "end": - return _context.stop(); - } - }, _callee); - }))(); - } - }); - return item; - }); - var cppKeyPrompt = cppLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - var pythonKeyPrompt = pythonLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - var javaKeyPrompt = javaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Method, - insertText: item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet - }; - }); - monaco.languages.registerCompletionItemProvider('cpp', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(cppLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(cppLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('c', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - return { - suggestions: toConsumableArray_default()(cLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })) - }; - } - }); - monaco.languages.registerCompletionItemProvider('java', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(javaLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(javaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('scala', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(scalaLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(scalaLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); - monaco.languages.registerCompletionItemProvider('python', { - provideCompletionItems: function provideCompletionItems(model, position) { - var word = model.getWordUntilPosition(position); - var wordRange = { - startLineNumber: position.lineNumber, - endLineNumber: position.lineNumber, - startColumn: word.startColumn, - endColumn: word.endColumn - }; - var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn); - return { - suggestions: [].concat(toConsumableArray_default()(pythonLangage.keywords.map(function (item) { - return { - label: item, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item, - insertText: item, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - })), toConsumableArray_default()(pythonLangage.quickKey.map(function (item) { - return { - label: item.label, - kind: monaco.languages.CompletionItemKind.Function, - documentation: item.content, - insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content, - insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, - range: wordRange - }; - }))) - }; - } - }); -}); -var tipTxt = '该任务关卡设置了禁止复制粘贴,请手动输入代码。'; -// EXTERNAL MODULE: ./node_modules/monaco-editor/esm/vs/platform/actions/common/actions.js -var actions = __webpack_require__(84144); -// EXTERNAL MODULE: ./node_modules/lodash/lodash.js -var lodash = __webpack_require__(96486); -;// CONCATENATED MODULE: ./src/components/monaco-editor/index.css -// extracted by mini-css-extract-plugin - -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/monaco-editor/index.jsx - - - - - - - -var _excluded = ["width", "height", "value", "language", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"]; - - - - - - - - -function processSize(size) { - return !/^\d+$/.test(size) ? size : "".concat(size, "px"); -} -function noop() {} -var __prevent_trigger_change_event = false; -var DICT = { - 'Python3.6': 'python', - 'Python2.7': 'python', - Dynamips: 'cpp', - Java: 'java', - Web: 'php', - Html: 'html', - Hive: 'sql', - Hadoop: 'java', - SDL: 'cpp', - PHP: 'php', - Matlab: 'python', - Git: 'python', - Python: 'python', - 'C/C++': 'cpp', - 'C++': 'cpp', - C: 'cpp', - Ruby: 'ruby', - Shell: 'shell', - JavaScript: 'javascript', - Perl6: 'perl', - Kotlin: 'kotlin', - Elixir: 'elixir', - Android: 'java', - JavaWeb: 'java', - Go: 'go', - Spark: 'sql', - MachineLearning: 'python', - Verilog: 'xml', - 'Verilog/VNC': 'xml', - Docker: 'dockerfile', - 'C#': 'csharp', - SQLite3: 'sql', - Oracle: 'sql', - Vhdl: 'vhdl', - R: 'r', - Swift: 'swift', - SQLServer: 'mysql', - MySQL: 'mysql', - Mongo: 'sql', - PostgreSql: 'pgsql', - Hbase: 'powershell', - Sqoop: 'sql', - Nasm: 'cpp', - Kafka: 'java', - Flink: 'java', - Sml: 'javascript', - OpenGL: 'cpp', - Perl5: 'perl', - Orange: 'python', - Scala: "scale" -}; -function getLanguageByMirrorName() { - var mirror_name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var lang = mirror_name; - if (Array.isArray(mirror_name)) { - for (var i = 0; i < mirror_name.length; i++) { - var languageVal = DICT[mirror_name[i]]; - if (languageVal) { - return languageVal; - } - } - return lang[0]; - } - return DICT[lang] || lang; -} - -//onCodeChange 必须是幂等的,因为只会注册一次,如果有变化,会响应旧的,产生脏数据 -var monaco = null; -/* harmony default export */ var monaco_editor = (function (_ref) { - var _ref$width = _ref.width, - width = _ref$width === void 0 ? '100%' : _ref$width, - _ref$height = _ref.height, - height = _ref$height === void 0 ? '100%' : _ref$height, - value = _ref.value, - _ref$language = _ref.language, - language = _ref$language === void 0 ? 'javascript' : _ref$language, - _ref$style = _ref.style, - style = _ref$style === void 0 ? {} : _ref$style, - _ref$options = _ref.options, - options = _ref$options === void 0 ? {} : _ref$options, - _ref$overrideServices = _ref.overrideServices, - overrideServices = _ref$overrideServices === void 0 ? {} : _ref$overrideServices, - _ref$theme = _ref.theme, - theme = _ref$theme === void 0 ? 'vs-dark' : _ref$theme, - onEditBlur = _ref.onEditBlur, - onSave = _ref.onSave, - _ref$autoHeight = _ref.autoHeight, - autoHeight = _ref$autoHeight === void 0 ? false : _ref$autoHeight, - _ref$forbidCopy = _ref.forbidCopy, - forbidCopy = _ref$forbidCopy === void 0 ? false : _ref$forbidCopy, - _ref$onChange = _ref.onChange, - onChange = _ref$onChange === void 0 ? noop : _ref$onChange, - _ref$editorDidMount = _ref.editorDidMount, - editorDidMount = _ref$editorDidMount === void 0 ? noop : _ref$editorDidMount, - _ref$onFocus = _ref.onFocus, - onFocus = _ref$onFocus === void 0 ? noop : _ref$onFocus, - _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, - 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 inputLock = (0,react.useRef)(false); - var inputLockTime = (0,react.useRef)(); - var _useState = (0,react.useState)(false), - _useState2 = slicedToArray_default()(_useState, 2), - init = _useState2[0], - setInit = _useState2[1]; - function onLayout() { - var ro; - if (editorEl.current) { - ro = new ResizeObserver_es/* default */.Z(function (entries) { - var _iterator = createForOfIteratorHelper_default()(entries), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var entry = _step.value; - if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) { - editor.current.instance.layout(); - } - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - }); - ro.observe(editorEl.current); - } - return ro; - } - function tipWarn() { - message/* default.warn */.ZP.warn({ - content: decodeURIComponent(tipTxt), - key: "monaco-editor-tip" - }); - } - var setCodeValue = function setCodeValue() { - var instance = editor.current.instance; - if (value != null && instance && init) { - var model = instance.getModel(); - if (model && value !== model.getValue()) { - __prevent_trigger_change_event = true; - model.setValue(value); - instance.layout(); - __prevent_trigger_change_event = false; - } - } - }; - (0,react.useEffect)(function () { - var _instance$updateOptio; - var instance = editor.current.instance; - if (timeRef.current) clearTimeout(timeRef.current); - timeRef.current = setTimeout(function () { - setCodeValue(); - }, 500); - instance === null || instance === void 0 ? void 0 : (_instance$updateOptio = instance.updateOptions) === null || _instance$updateOptio === void 0 ? void 0 : _instance$updateOptio.call(instance, { - lineNumbersMinChars: Math.max(Math.floor(Math.log10(value.split(/\r\n|\r|\n/g).length)) + 3, 5) - }); - }, [value, init, editor.current]); - (0,react.useEffect)(function () { - if (errorLine && editor.current && editor.current.instance) { - var instance = editor.current.instance; - instance.changeViewZones(function (changeAccessor) { - var domNode = document.createElement('div'); - domNode.style.padding = '10px 20px'; - domNode.style.width = 'calc(100% - 20px)'; - domNode.className = 'my-error-line-wrp'; - domNode.innerHTML = errorContent; - changeAccessor.addZone({ - afterLineNumber: errorLine || 11, - heightInLines: 3, - domNode: domNode - }); - }); - var overlayWidget = { - domNode: null, - getId: function getId() { - return 'my.overlay.widget'; - }, - getDomNode: function getDomNode() { - if (!this.domNode) { - this.domNode = document.createElement('div'); - this.domNode.innerHTML = ''; - this.domNode.style.width = '100%'; - this.domNode.style.padding = '20px 100px'; - this.domNode.style.right = '0px'; - this.domNode.style.top = '50px'; - this.domNode.style.position = 'relative'; - this.domNode.style.color = '#333'; - } - return this.domNode; - }, - getPosition: function getPosition() { - return null; - } - }; - instance.addOverlayWidget(overlayWidget); - // instance.revealPositionInCenter(11,1); - instance.revealPositionInCenter({ - lineNumber: 20, - column: 1 - }); - } - }, [errorLine, editor.current, init]); - function onPaste() { - var instance = editor.current.instance; - if (instance) { - var selection = instance.getSelection(); - var pastePos = editor.current.pastePos || {}; - var range = new monaco.Range(pastePos.startLineNumber || selection.endLineNumber, pastePos.startColumn || selection.endColumn, pastePos.endLineNumber || selection.endLineNumber, pastePos.endColumn || selection.endColumn); - setTimeout(function () { - instance.executeEdits('', [{ - range: range, - text: '' - }]); - }, 300); - } - } - function onSaveHandler(e) { - if ((window.navigator.platform.match('Mac') ? e.metaKey : e.ctrlKey) && e.keyCode == 83) { - e.preventDefault(); - onSave(); - } - } - var autoCalcHeight = function autoCalcHeight() { - if (autoHeight && editor.current.instance) { - var _height = editor.current.instance.getContentHeight(); - setFixedHeight(_height < height ? height : _height); - } else { - setFixedHeight(height); - } - }; - function fakeClick(obj) { - var ev = document.createEvent('MouseEvents'); - ev.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); - obj.dispatchEvent(ev); - } - var checkPaste = function checkPaste(event) { - var keyCode = event.keyCode, - ctrlKey = event.ctrlKey, - metaKey = event.metaKey, - target = event.target, - type = event.type; - if ((type === "paste" || (keyCode === 67 || keyCode === 86) && (metaKey || ctrlKey)) && target.nodeName === "TEXTAREA") { - tipWarn(); - event.preventDefault(); - } - return false; - }; - function exportRaw(name, data) { - var urlObject = window.URL || window.webkitURL || window; - var export_blob = new Blob([data]); - var save_link = document.createElementNS('http://www.w3.org/1999/xhtml', 'a'); - save_link.href = urlObject.createObjectURL(export_blob); - save_link.download = name; - fakeClick(save_link); - } - (0,react.useEffect)(function () { - autoCalcHeight(); - }, [autoCalcHeight]); - (0,react.useEffect)(function () { - if (editorEl.current && !init) { - // require.config({ paths: { vs: 'monaco-editor/min/vs' } }); - // require.config({ - // 'vs/nls': { - // availableLanguages: { - // '*': 'de', - // }, - // }, - // }); - Promise.all(/*! import() | monaco-editor */[__webpack_require__.e(48764), __webpack_require__.e(39404)]).then(__webpack_require__.bind(__webpack_require__, /*! monaco-editor/esm/vs/editor/editor.api.js */ 26565)).then(function (mod) { - try { - monaco = mod; - editor.current.instance = monaco.editor.create(editorEl.current, { - value: value, - language: getLanguageByMirrorName(language), - theme: theme, - requireConfig: { - 'vs/nls': { - availableLanguages: { - '*': 'zh-cn' - } - } - }, - wordWrap: true, - autoIndent: true, - contextmenu: true, - // formatOnPaste: true, - formatOnType: true - }, overrideServices); - var instance = editor.current.instance; - var menus = actions/* MenuRegistry._menuItems */.BH._menuItems; - var contextMenuEntry = toConsumableArray_default()(menus).find(function (entry) { - return entry[0]._debugName == "EditorContext"; - }); - var contextMenuLinks = contextMenuEntry[1]; - var removableIds = ["editor.action.clipboardCopyWithSyntaxHighlightingAction", "editor.action.quickCommand", "editor.action.clipboardCopyAction", "editor.action.clipboardPasteAction", "editor.action.clipboardCutAction"]; - var removeById = function removeById(list, ids) { - var node = list._first; - do { - var _node$element, _node$element$command; - var shouldRemove = ids.includes((_node$element = node.element) === null || _node$element === void 0 ? void 0 : (_node$element$command = _node$element.command) === null || _node$element$command === void 0 ? void 0 : _node$element$command.id); - if (shouldRemove) { - list._remove(node); - } - } while (node = node.next); - }; - editorDidMount(instance, monaco); - setTimeout(function () { - autoCalcHeight(); - editor.current.instance.addAction({ - id: 'd123123', - label: 'Download File', - contextMenuGroupId: '9_cutcopypaste', - run: function run() { - exportRaw(filename || 'educoder.txt', instance.getValue()); - } - }); - instance.getDomNode().addEventListener('input', function () { - if (optionsRef.current.autoFormat) instance.getAction('editor.action.formatDocument').run(); - }); - }, 500); - editor.current.subscription = instance.onDidChangeModelContent(function (event) { - if (!inputLock.current) { - autoCalcHeight(); - onChange(instance.getValue(), event); - } else { - clearTimeout(inputLockTime.current); - } - inputLockTime.current = setTimeout(function () { - inputLock.current = false; - }, 500); - }); - if (!window.Monaco) monaco_suggest_config(monaco, getLanguageByMirrorName(language)); - if (forbidCopy) { - removeById(contextMenuLinks, removableIds); - editorEl.current.classList.add("noCopyPaste"); - window.removeEventListener("keydown", checkPaste); - window.removeEventListener("paste", checkPaste); - window.addEventListener("keydown", checkPaste); - window.addEventListener("paste", checkPaste); - } - window.Monaco = monaco; - if (onEditBlur) { - instance.onDidBlurEditorWidget(function () { - onEditBlur(instance.getValue()); - }); - } - if (onFocus) { - instance.onDidFocusEditorText(function () { - onFocus(instance.getValue()); - }); - } - if (forbidCopy) { - try { - window.addEventListener('paste', onPaste); - } catch (e) {} - } - var ro = onLayout(); - setInit(true); - return function () { - var el = editor.current.instance; - el.dispose(); - var model = el.getModel(); - if (model) { - model.dispose(); - } - if (editor.current.subscription) { - editor.current.subscription.dispose(); - } - if (forbidCopy) { - window.removeEventListener('paste', onPaste); - } - ro.unobserve(editorEl.current); - }; - } catch (e) { - // ; - } - }); - } - }, []); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - document.addEventListener('keydown', onSaveHandler, false); - return function () { - document.removeEventListener('keydown', onSaveHandler); - }; - } - }, [onSave, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - var lang = getLanguageByMirrorName(language); - monaco.editor.setModelLanguage(instance.getModel(), lang); - } - }, [language, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - monaco.editor.setTheme(theme); - } - }, [theme, init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - optionsRef.current = options; - if (instance && init) { - instance.updateOptions(objectSpread2_default()({}, options)); - setTimeout(function () { - instance.getModel().updateOptions(objectSpread2_default()({}, options)); - }, 200); - } - }, [JSON.stringify(options), init]); - (0,react.useEffect)(function () { - var instance = editor.current.instance; - if (instance && init) { - instance.layout(); - } - }, [width, height, init]); - - // const fixedWidth = processSize(width); - // const fixedHeight = processSize(height); - - var _useState3 = (0,react.useState)(processSize(width)), - _useState4 = slicedToArray_default()(_useState3, 2), - fixedWidth = _useState4[0], - setFixedWidth = _useState4[1]; - var _useState5 = (0,react.useState)(processSize(height)), - _useState6 = slicedToArray_default()(_useState5, 2), - fixedHeight = _useState6[0], - setFixedHeight = _useState6[1]; - var mergeStyle = objectSpread2_default()(objectSpread2_default()({}, style), {}, { - width: fixedWidth, - height: fixedHeight - }); - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "my-monaco-editor", - ref: editorEl, - 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; - var editorEl = (0,react.useRef)(); - var _useState7 = (0,react.useState)(null), - _useState8 = slicedToArray_default()(_useState7, 2), - instance = _useState8[0], - setInstance = _useState8[1]; - function onLayout(instance) { - var ro; - if (editorEl.current) { - ro = new ResizeObserver_es/* default */.Z(function (entries) { - var _iterator2 = createForOfIteratorHelper_default()(entries), - _step2; - try { - for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { - var entry = _step2.value; - if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) { - instance.layout(); - } - } - } catch (err) { - _iterator2.e(err); - } finally { - _iterator2.f(); - } - }); - ro.observe(editorEl.current); - } - return ro; - } - (0,react.useEffect)(function () { - if (editorEl.current) { - Promise.all(/*! import() | monaco-editor */[__webpack_require__.e(48764), __webpack_require__.e(39404)]).then(__webpack_require__.bind(__webpack_require__, /*! monaco-editor/esm/vs/editor/editor.api.js */ 26565)).then(function (mod) { - monaco = mod; - var instance = monaco.editor.createDiffEditor(editorEl.current, objectSpread2_default()(objectSpread2_default()({ - enableSplitViewResizing: false, - scrollBeyondLastLine: false, - roundedSelection: false, - renderIndicators: false, - useShadows: false, - horizontal: 'hidden', - lineNumbers: 'off', - wordWrap: "off", - ignoreTrimWhitespace: false, - 'semanticHighlighting.enabled': true, - followsCaret: true, - // resets the navigator state when the user selects something in the editor - ignoreCharChanges: true, - // jump from line to line, - minimap: { - enabled: false - }, - readOnly: true - }, options), {}, { - wordWrap: true - })); - setInstance(instance); - var ro = onLayout(instance); - return function () { - instance.dispose(); - var model = instance.getModel(); - if (model) { - model.dispose(); - } - ro.unobserve(editorEl.current); - }; - }); - } - return function () { - window.removeEventListener("keydown", checkPaste); - window.removeEventListener("paste", checkPaste); - }; - }, []); - (0,react.useEffect)(function () { - if (instance) { - instance.setModel({ - original: monaco.editor.createModel(original, language), - modified: monaco.editor.createModel(modified, language) - }); - } - }, [original, modified, language, instance]); - var fixedWidth = processSize(width); - var fixedHeight = processSize(height); - var style = { - width: fixedWidth, - height: fixedHeight - }; - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "my-diff-editor", - ref: editorEl, - style: style - }); -} - -/***/ }), - /***/ 77696: /*!*********************************************************!*\ !*** ./src/components/tpi-code-setting/CodeSetting.tsx ***! @@ -3929,6 +2904,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, @@ -3992,14 +2968,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" @@ -4670,7 +3647,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'); }, @@ -8758,9 +7735,9 @@ var MarkdownModal = function MarkdownModal(_ref) { /***/ }), -/***/ 83420: +/***/ 24968: /*!************************************************!*\ - !*** ./src/pages/tasks/index.jsx + 91 modules ***! + !*** ./src/pages/tasks/index.jsx + 93 modules ***! \************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -10975,15 +9952,24 @@ function getTimer(sec) { var popconfirm_style = __webpack_require__(33219); // EXTERNAL MODULE: ./node_modules/antd/es/popconfirm/index.js + 1 modules var popconfirm = __webpack_require__(65360); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules +var tooltip_style = __webpack_require__(38390); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(84908); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +var createForOfIteratorHelper = __webpack_require__(74704); +var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); ;// CONCATENATED MODULE: ./src/pages/tasks/code-repository/action-bar/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var action_barmodules = ({"action-bar-container":"action-bar-container___TDRpf","edit-status":"edit-status___wZI5m","action-bar":"action-bar___bbigU","iconfont":"iconfont___hoZln"}); +/* harmony default export */ var action_barmodules = ({"action-bar-container":"action-bar-container___TDRpf","edit-status":"edit-status___wZI5m","action-bar":"action-bar___bbigU","iconfont":"iconfont___hoZln","startDebug":"startDebug___tLWzR","disabledDebug":"disabledDebug___npN0z"}); // EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js var ExclamationCircleOutlined = __webpack_require__(87588); // EXTERNAL MODULE: ./src/pages/tasks/code-repository/action-bar/notice.gif var notice = __webpack_require__(60141); // EXTERNAL MODULE: ./node_modules/react-copy-to-clipboard/lib/index.js var lib = __webpack_require__(74855); +// EXTERNAL MODULE: ./src/utils/fetch.ts +var utils_fetch = __webpack_require__(84519); ;// CONCATENATED MODULE: ./src/pages/tasks/code-repository/action-bar/index.jsx @@ -10999,6 +9985,12 @@ var lib = __webpack_require__(74855); + + + + + + function NoticeButton(_ref) { @@ -11020,6 +10012,7 @@ function NoticeButton(_ref) { var code_hidden = _ref2.code_hidden, gameStatus = _ref2.gameStatus, isEditPath = _ref2.isEditPath, + currentPath = _ref2.currentPath, git_url = _ref2.git_url, onResetCode = _ref2.onResetCode, onResetGitCode = _ref2.onResetGitCode, @@ -11028,7 +10021,21 @@ function NoticeButton(_ref) { onShowDir = _ref2.onShowDir, onRightFullHandler = _ref2.onRightFullHandler, isResizeLarge = _ref2.isResizeLarge, - tab_type = _ref2.tab_type; + tab_type = _ref2.tab_type, + startDebug = _ref2.startDebug, + setStartDebug = _ref2.setStartDebug, + breakPointValue = _ref2.breakPointValue, + shixun = _ref2.shixun, + myshixun = _ref2.myshixun, + game = _ref2.game, + unique = _ref2.unique, + setUnique = _ref2.setUnique, + setHighlightLine = _ref2.setHighlightLine, + allow_use_code_debugger = _ref2.allow_use_code_debugger, + onUpdateCode = _ref2.onUpdateCode, + allBreakPointValue = _ref2.allBreakPointValue, + setAllBreakPointValue = _ref2.setAllBreakPointValue, + setBreakPointValue = _ref2.setBreakPointValue; var _useSearchParams = (0,_umi_production_exports.useSearchParams)(), _useSearchParams2 = slicedToArray_default()(_useSearchParams, 1), searchParams = _useSearchParams2[0]; @@ -11040,7 +10047,27 @@ function NoticeButton(_ref) { centered: true, okText: '确定', cancelText: '取消', - onOk: onResetCode + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return onResetCode(); + case 2: + setAllBreakPointValue({}); + setBreakPointValue([]); + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }() }); }; var openModalGit = function openModalGit() { @@ -11051,21 +10078,172 @@ function NoticeButton(_ref) { centered: true, okText: '确定', cancelText: '取消', - onOk: onResetGitCode + onOk: function () { + var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return onResetGitCode(); + case 2: + setAllBreakPointValue({}); + setBreakPointValue([]); + case 4: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk2.apply(this, arguments); + } + return onOk; + }() }); }; var triggerToolBar = function triggerToolBar() { mediator/* default.publish */.Z.publish('show-head-toolbar', true); }; + var convertObjectToArray = function convertObjectToArray(obj) { + var result = []; + for (var key in obj) { + if (obj.hasOwnProperty(key)) { + var values = obj[key]; + var _iterator = createForOfIteratorHelper_default()(values), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var value = _step.value; + result.push("".concat(key, ":").concat(value)); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + } + return result; + }; + var handleStartDebug = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(e) { + var res, _res$data; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + console.log(allBreakPointValue, convertObjectToArray(allBreakPointValue), 222); + (0,_umi_production_exports.getDvaApp)()._store.dispatch({ + type: "globalSetting/setGlobalLoading", + payload: { + show: true, + text: '正在开启调试,请稍后...' + } + }); + _context3.next = 4; + return onUpdateCode(); + case 4: + _context3.next = 6; + return (0,utils_fetch/* default */.ZP)("/api/myshixuns/".concat(myshixun === null || myshixun === void 0 ? void 0 : myshixun.identifier, "/code_debugs/start.json"), { + method: 'post', + body: { + game_identifier: game === null || game === void 0 ? void 0 : game.identifier, + breakpoints: convertObjectToArray(allBreakPointValue) + } + }); + case 6: + res = _context3.sent; + if (res.status === 0) { + setStartDebug(true); + mediator/* default.publish */.Z.publish('active-debug'); + mediator/* default.publish */.Z.publish('active-tip', false); + mediator/* default.publish */.Z.publish('active-debug-data', (res === null || res === void 0 ? void 0 : res.data) || {}); + setUnique(res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.unique); + } + (0,_umi_production_exports.getDvaApp)()._store.dispatch({ + type: "globalSetting/setGlobalLoading", + payload: { + show: false + } + }); + case 9: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function handleStartDebug(_x) { + return _ref3.apply(this, arguments); + }; + }(); + var handleStoptDebug = /*#__PURE__*/function () { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + var res; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + _context4.next = 2; + return (0,utils_fetch/* default */.ZP)("/api/myshixuns/".concat(myshixun === null || myshixun === void 0 ? void 0 : myshixun.identifier, "/code_debugs/stop.json"), { + method: 'post', + body: { + unique: unique + } + }); + case 2: + res = _context4.sent; + if (res.status === 0) { + setHighlightLine(null); + setStartDebug(false); + } + case 4: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return function handleStoptDebug() { + return _ref4.apply(this, arguments); + }; + }(); return /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, { children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: action_barmodules["action-bar"], children: [tab_type === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { - children: [!code_hidden && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + children: [allow_use_code_debugger && /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, { + children: startDebug ? /*#__PURE__*/(0,jsx_runtime.jsx)("b", { + title: "\u505C\u6B62\u8C03\u8BD5", + style: { + background: 'rgba(255,41,0,0.2)' + }, + className: action_barmodules.startDebug, + onClick: handleStoptDebug, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + color: '#FF0000', + transform: 'scale(0.75)' + }, + className: "iconfont icon-tingzhitiaoshi font12" + }) + }) : breakPointValue !== null && breakPointValue !== void 0 && breakPointValue.length ? /*#__PURE__*/(0,jsx_runtime.jsx)("b", { + title: "\u5F00\u59CB\u8C03\u8BD5", + className: action_barmodules.startDebug, + onClick: handleStartDebug, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-debug font12" + }) + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u8BF7\u5148\u5728\u4EE3\u7801\u884C\u6253\u4E0A\u65AD\u70B9", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("b", { + className: action_barmodules.disabledDebug, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-debug font12" + }) + }) + }) + }), !code_hidden && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { title: "\u663E\u793A\u76EE\u5F55", onClick: onShowDir, children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-wenjian " + className: "iconfont icon-wenjian" }) }), git_url && /*#__PURE__*/(0,jsx_runtime.jsx)(lib.CopyToClipboard, { text: git_url, @@ -11078,7 +10256,7 @@ function NoticeButton(_ref) { className: "iconfont icon-fuzhi2" }) }) - }), gameStatus === 2 && isEditPath && /*#__PURE__*/(0,jsx_runtime.jsx)(popconfirm/* default */.Z, { + }), gameStatus === 2 && isEditPath && !startDebug && /*#__PURE__*/(0,jsx_runtime.jsx)(popconfirm/* default */.Z, { placement: "bottomRight", title: "\u4F60\u5728\u672C\u5173\u4E2D\u4FEE\u6539\u7684\u5185\u5BB9\u5C06\u4E22\u5931\uFF0C\u662F\u5426\u786E\u5B9A\u91CD\u65B0\u52A0\u8F7D\u4E0A\u6B21\u901A\u8FC7\u7684\u4EE3\u7801?", onConfirm: onResetPassedCode, @@ -11088,13 +10266,13 @@ function NoticeButton(_ref) { className: "iconfont icon-fanhuishangcidaima font-20 " }) }) - }), isEditPath && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + }), isEditPath && !startDebug && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { title: "\u6062\u590D\u521D\u59CB\u4EE3\u7801", onClick: openModal, children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { className: "iconfont icon-zhongzhi font-20 " }) - }), isEditPath && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + }), isEditPath && !startDebug && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { title: "\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93", onClick: openModalGit, children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { @@ -11125,10 +10303,6 @@ function NoticeButton(_ref) { } // EXTERNAL MODULE: ./src/components/vnc-setting/index.tsx + 1 modules var vnc_setting = __webpack_require__(32171); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules -var tooltip_style = __webpack_require__(38390); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules -var tooltip = __webpack_require__(84908); ;// CONCATENATED MODULE: ./src/pages/tasks/data-sets/index.less?modules // extracted by mini-css-extract-plugin /* harmony default export */ var data_setsmodules = ({"flex_box_center":"flex_box_center___rNE5B","flex_space_between":"flex_space_between___UQz5R","flex_box_vertical_center":"flex_box_vertical_center___LVkcg","flex_box_center_end":"flex_box_center_end___liNMD","flex_box_column":"flex_box_column___en5bA","wrap":"wrap___QHoGE","list":"list___PqCYv","page":"page___TKcdQ"}); @@ -11973,7 +11147,7 @@ function TipContent() { type: "primary", onClick: function onClick() { if (st === 0) { - onUpdateCode(1); + onUpdateCode(); } es_modal/* default.confirm */.Z.confirm({ centered: true, @@ -12064,7 +11238,7 @@ function VncTimer(_ref4) { }, []); var handleFocus = /*#__PURE__*/function () { var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7(e) { - var res, _res$data, _res$data2, remainingTime; + var res, _res$data, _res$data2, remainingTime, currentTime; return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: @@ -12078,7 +11252,12 @@ function VncTimer(_ref4) { res = _context7.sent; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { remainingTime = (res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.remainingTime) > 0 ? res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.remainingTime : 0; - setTime(remainingTime / 1000); + currentTime = remainingTime / 1000; + setTime(currentTime); + //其他地方增加了时间,关闭弹框 + if (currentTime > FiveMinute) { + setIsPlusTime(false); + } } case 5: case "end": @@ -12644,7 +11823,8 @@ var run_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAA challenge = _ref.challenge, game_report_id = _ref.game_report_id, _ref$tabActiveParams = _ref.tabActiveParams, - tabActiveParams = _ref$tabActiveParams === void 0 ? {} : _ref$tabActiveParams; + tabActiveParams = _ref$tabActiveParams === void 0 ? {} : _ref$tabActiveParams, + startDebug = _ref.startDebug; var params = (0,_umi_production_exports.useParams)(); var hasNextGame = !is_last_game && !loading && (shixun.status > 0 || (user === null || user === void 0 ? void 0 : user.identity) < 5); var runTextEnum = ['自测运行', '正在启动', '停止运行', '正在停止']; @@ -12893,14 +12073,14 @@ var run_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAA className: "btn-run", title: "\u67E5\u770B\u6548\u679C", children: "\u67E5\u770B\u6548\u679C" - }), tab_type === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + }), tab_type === 1 && !startDebug && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { onClick: (0,lodash.throttle)(onStartOrStopRun, 2000), loading: loadingRun, danger: true, disabled: time > 0, className: "".concat(footer_barmodules["btn-run-self"], " mr10"), children: time > 0 ? "".concat(time, "S") : runText - }), (challenge === null || challenge === void 0 ? void 0 : challenge.with_code_file) && /*#__PURE__*/(0,jsx_runtime.jsx)("button", { + }), (challenge === null || challenge === void 0 ? void 0 : challenge.with_code_file) && !(tab_type === 1 && startDebug) && /*#__PURE__*/(0,jsx_runtime.jsx)("button", { onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { @@ -13578,6 +12758,9 @@ var notEditablePath_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUh + + + /* harmony default export */ var code_area = (function (_ref) { @@ -13588,6 +12771,7 @@ var notEditablePath_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUh onSave = _ref.onSave, monacoOptions = _ref.monacoOptions, isEditPath = _ref.isEditPath, + currentPath = _ref.currentPath, code_edit_permission = _ref.code_edit_permission, onUpdateCode = _ref.onUpdateCode, forbidCopy = _ref.forbidCopy, @@ -13595,9 +12779,24 @@ var notEditablePath_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUh file_type = _ref.file_type, taskData = _ref.taskData, itemData = _ref.itemData, - codeLoading = _ref.codeLoading; + codeLoading = _ref.codeLoading, + breakPointValue = _ref.breakPointValue, + setBreakPointValue = _ref.setBreakPointValue, + highlightLine = _ref.highlightLine, + openBreakPoint = _ref.openBreakPoint, + startDebug = _ref.startDebug, + unique = _ref.unique, + allBreakPointValue = _ref.allBreakPointValue, + setAllBreakPointValue = _ref.setAllBreakPointValue; var params = (0,_umi_production_exports.useParams)(); var timeRef = (0,react.useRef)(); + var saveData = (0,react.useRef)({ + unique: unique, + breakPointValue: breakPointValue, + currentPath: currentPath, + startDebug: startDebug, + allBreakPointValue: allBreakPointValue + }); var _useState = (0,react.useState)(true), _useState2 = slicedToArray_default()(_useState, 2), loading = _useState2[0], @@ -13624,6 +12823,21 @@ var notEditablePath_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUh var tab_type = itemData.tab_type, shixun_environment_id = itemData.shixun_environment_id, index_tab = itemData.index_tab; + (0,react.useEffect)(function () { + saveData.current.unique = unique; + saveData.current.breakPointValue = breakPointValue; + saveData.current.currentPath = currentPath; + saveData.current.startDebug = startDebug; + saveData.current.allBreakPointValue = allBreakPointValue; + }, [unique, breakPointValue, currentPath, startDebug, allBreakPointValue]); + (0,react.useEffect)(function () { + if (startDebug) { + setBreakPointValue([]); + getDebugInfo(); + } else if (openBreakPoint) { + setBreakPointValue((allBreakPointValue === null || allBreakPointValue === void 0 ? void 0 : allBreakPointValue[currentPath]) || []); + } + }, [currentPath]); (0,react.useEffect)(function () { window.addEventListener('message', messageData); var unSub1 = mediator/* default.subscribe */.Z.subscribe('vnc-reseting', vncReset); @@ -13645,6 +12859,41 @@ var notEditablePath_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUh }; } }); + var getDebugInfo = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _taskData$myshixun; + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (saveData.current.unique) { + _context.next = 2; + break; + } + return _context.abrupt("return"); + case 2: + _context.next = 4; + return (0,utils_fetch/* default */.ZP)("/api/myshixuns/".concat((_taskData$myshixun = taskData.myshixun) === null || _taskData$myshixun === void 0 ? void 0 : _taskData$myshixun.identifier, "/code_debugs/current_info.json"), { + method: 'post', + body: { + unique: saveData.current.unique + } + }); + case 4: + res = _context.sent; + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + mediator/* default.publish */.Z.publish('active-debug-data', (res === null || res === void 0 ? void 0 : res.data) || {}); + } + case 6: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function getDebugInfo() { + return _ref2.apply(this, arguments); + }; + }(); var vncReset = function vncReset() { setData({}); setLoadingText('正在重置中'); @@ -13665,59 +12914,59 @@ var notEditablePath_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUh } }; var getWindowVnc = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var _taskData$myshixun, _res$data, _res$data$data_list; + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + var _taskData$myshixun2, _res$data, _res$data$data_list; var res, _res$data2, _res$data3; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { case 0: - _context3.next = 2; - return (0,service/* startInit */.sA)((_taskData$myshixun = taskData.myshixun) === null || _taskData$myshixun === void 0 ? void 0 : _taskData$myshixun.identifier, { + _context4.next = 2; + return (0,service/* startInit */.sA)((_taskData$myshixun2 = taskData.myshixun) === null || _taskData$myshixun2 === void 0 ? void 0 : _taskData$myshixun2.identifier, { shixun_environment_id: shixun_environment_id, tab_type: tab_type }); case 2: - res = _context3.sent; + res = _context4.sent; if (!(res !== null && res !== void 0 && (_res$data = res.data) !== null && _res$data !== void 0 && (_res$data$data_list = _res$data.data_list) !== null && _res$data$data_list !== void 0 && _res$data$data_list.length)) { - _context3.next = 6; + _context4.next = 6; break; } mediator/* default.publish */.Z.publish('pod-restrict-data', { identifier: res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.identifier, data_list: res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.data_list }); - return _context3.abrupt("return"); + return _context4.abrupt("return"); case 6: if (!((res === null || res === void 0 ? void 0 : res.status) === -3)) { - _context3.next = 8; + _context4.next = 8; break; } - return _context3.abrupt("return", new Promise( /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(resolve, reject) { - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { + return _context4.abrupt("return", new Promise( /*#__PURE__*/function () { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(resolve, reject) { + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { case 0: es_modal/* default.confirm */.Z.confirm({ content: '检测到您已经开启了其他实验环境,请先关闭环境后,再连接', okText: '立即关闭', cancelText: '稍后关闭', onOk: function () { - var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { case 0: clearTimeout(timeout.current); setPercent(0); - _context.next = 4; + _context2.next = 4; return closeWindowsVnc(params.taskId, res === null || res === void 0 ? void 0 : res.message); case 4: setLinkNum(linkNum + 1); - return _context.abrupt("return"); + return _context2.abrupt("return"); case 6: case "end": - return _context.stop(); + return _context2.stop(); } - }, _callee); + }, _callee2); })); function onOk() { return _onOk.apply(this, arguments); @@ -13727,44 +12976,92 @@ var notEditablePath_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUh }); case 1: case "end": - return _context2.stop(); + return _context3.stop(); } - }, _callee2); + }, _callee3); })); return function (_x, _x2) { - return _ref3.apply(this, arguments); + return _ref4.apply(this, arguments); }; }())); case 8: if (!((res === null || res === void 0 ? void 0 : res.status) === -1)) { - _context3.next = 10; + _context4.next = 10; + break; + } + throw new String(res === null || res === void 0 ? void 0 : res.message); + case 10: + if (!((res === null || res === void 0 ? void 0 : res.status) === 0)) { + _context4.next = 15; + break; + } + setData(res === null || res === void 0 ? void 0 : res.data); + mediator/* default.publish */.Z.publish('send-tabs-result-data', objectSpread2_default()(objectSpread2_default()({}, res === null || res === void 0 ? void 0 : res.data), {}, { + index_tab: index_tab + })); + mediator/* default.publish */.Z.publish('update-windows-time', res === null || res === void 0 ? void 0 : res.data); + return _context4.abrupt("return", res); + case 15: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return function getWindowVnc() { + return _ref3.apply(this, arguments); + }; + }(); + (0,react.useEffect)(function () { + if (tab_type === 2) getWindowVnc(); + }, [tab_type]); + var handleBreakPointValue = /*#__PURE__*/function () { + var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { + var k, + _taskData$myshixun3, + _xor, + res, + _res$data4, + _res$data4$breakpoint, + _args5 = arguments; + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + k = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : []; + if (!saveData.current.startDebug) { + _context5.next = 8; break; } - throw new String(res === null || res === void 0 ? void 0 : res.message); + _context5.next = 4; + return (0,utils_fetch/* default */.ZP)("/api/myshixuns/".concat((_taskData$myshixun3 = taskData.myshixun) === null || _taskData$myshixun3 === void 0 ? void 0 : _taskData$myshixun3.identifier, "/code_debugs/set_break_point.json"), { + method: 'post', + body: { + file_name: saveData.current.currentPath, + line_number: (_xor = (0,lodash.xor)(saveData.current.breakPointValue, k)) === null || _xor === void 0 ? void 0 : _xor[0], + type: k.length > saveData.current.breakPointValue.length ? 1 : 0, + unique: saveData.current.unique + } + }); + case 4: + res = _context5.sent; + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + setAllBreakPointValue(objectSpread2_default()(objectSpread2_default()({}, saveData.current.allBreakPointValue), {}, defineProperty_default()({}, saveData.current.currentPath, (res === null || res === void 0 ? void 0 : (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : (_res$data4$breakpoint = _res$data4.breakpoints) === null || _res$data4$breakpoint === void 0 ? void 0 : _res$data4$breakpoint[saveData.current.currentPath]) || []))); + mediator/* default.publish */.Z.publish('active-debug-data', (res === null || res === void 0 ? void 0 : res.data) || {}); + } + _context5.next = 10; + break; + case 8: + setAllBreakPointValue(objectSpread2_default()(objectSpread2_default()({}, saveData.current.allBreakPointValue), {}, defineProperty_default()({}, saveData.current.currentPath, k))); + setBreakPointValue(k); case 10: - if (!((res === null || res === void 0 ? void 0 : res.status) === 0)) { - _context3.next = 15; - break; - } - setData(res === null || res === void 0 ? void 0 : res.data); - mediator/* default.publish */.Z.publish('send-tabs-result-data', objectSpread2_default()(objectSpread2_default()({}, res === null || res === void 0 ? void 0 : res.data), {}, { - index_tab: index_tab - })); - mediator/* default.publish */.Z.publish('update-windows-time', res === null || res === void 0 ? void 0 : res.data); - return _context3.abrupt("return", res); - case 15: case "end": - return _context3.stop(); + return _context5.stop(); } - }, _callee3); + }, _callee5); })); - return function getWindowVnc() { - return _ref2.apply(this, arguments); + return function handleBreakPointValue() { + return _ref5.apply(this, arguments); }; }(); - (0,react.useEffect)(function () { - if (tab_type === 2) getWindowVnc(); - }, [tab_type]); return /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, { children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: code_areamodules["code-area-container"], @@ -13794,7 +13091,11 @@ var notEditablePath_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUh onSave: onSave, forbidCopy: forbidCopy, options: monacoOptions, - insertSpaces: monacoOptions.insertSpaces + insertSpaces: monacoOptions.insertSpaces, + breakPointValue: breakPointValue, + highlightLine: highlightLine, + openBreakPoint: openBreakPoint, + onBreakPoint: handleBreakPointValue } })] }), tab_type === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, { @@ -13810,7 +13111,7 @@ var notEditablePath_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUh }); ;// CONCATENATED MODULE: ./src/pages/tasks/choose-repository/test-cast-list/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var test_cast_listmodules = ({"choose-game-item":"choose-game-item___RYHdh","output-title-container":"output-title-container___P2NjC","output-title":"output-title___ZQJkv","test-case-list":"test-case-list___CYyHP","test-header":"test-header___fSQRn","active":"active___bY0Dq","test-result":"test-result___DQXYd","markdown-body":"markdown-body____rqU_","success":"success___iuAG3","failer":"failer___axTtk","count":"count___B_kHY","test-case-item":"test-case-item___E3CU9","case-header":"case-header___xppld","iconfont":"iconfont___LO1VN","description":"description___j4efR","item-desc":"item-desc___ivltA","show":"show___ntNdM","item-tip":"item-tip___ETPck","arrow-down":"arrow-down___oQMCK","test-title":"test-title___mf3Df","arrow-right":"arrow-right___C6f8W","case-info":"case-info___yX5kK","test-case-run-header":"test-case-run-header___iHZR5","test-case-run-wrp":"test-case-run-wrp___qVT1y","diff-panel-container":"diff-panel-container___OEdXu","line-break":"line-break___Ww59n","empty":"empty___izbJX"}); +/* harmony default export */ var test_cast_listmodules = ({"choose-game-item":"choose-game-item___RYHdh","output-title-container":"output-title-container___P2NjC","output-title":"output-title___ZQJkv","test-case-list":"test-case-list___CYyHP","test-header":"test-header___fSQRn","active":"active___bY0Dq","active-debug":"active-debug___oeXMX","test-result":"test-result___DQXYd","markdown-body":"markdown-body____rqU_","success":"success___iuAG3","failer":"failer___axTtk","count":"count___B_kHY","test-case-item":"test-case-item___E3CU9","case-header":"case-header___xppld","iconfont":"iconfont___LO1VN","description":"description___j4efR","item-desc":"item-desc___ivltA","show":"show___ntNdM","item-tip":"item-tip___ETPck","arrow-down":"arrow-down___oQMCK","test-title":"test-title___mf3Df","arrow-right":"arrow-right___C6f8W","case-info":"case-info___yX5kK","test-case-run-header":"test-case-run-header___iHZR5","test-case-run-wrp":"test-case-run-wrp___qVT1y","diff-panel-container":"diff-panel-container___OEdXu","line-break":"line-break___Ww59n","empty":"empty___izbJX","alert":"alert___jv5_R"}); // EXTERNAL MODULE: ./node_modules/store/dist/store.legacy.js var store_legacy = __webpack_require__(58971); ;// CONCATENATED MODULE: ./src/pages/tasks/code-repository/html-code-view/index.jsx @@ -14126,6 +13427,351 @@ function format(diff, type) { })] }); }); +;// CONCATENATED MODULE: ./src/pages/tasks/code-repository/test-case-list/Debugger/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var Debuggermodules = ({"flex_box_center":"flex_box_center___chIKE","flex_space_between":"flex_space_between___hT6Bl","flex_box_vertical_center":"flex_box_vertical_center___xJY_u","flex_box_center_end":"flex_box_center_end___LPuxi","flex_box_column":"flex_box_column___Zs0ic","wrap":"wrap___cNz2Y","content":"content___vkduy","left":"left___yWI2E","head":"head___WMggN","expression":"expression___L8Pp3","listWarp":"listWarp___ofdxE","variable":"variable___REWA5","list":"list___ZGP8o","right":"right___T2TG6","btns":"btns____y3gt","disabled":"disabled___yPqre","text":"text___V5rxy"}); +;// CONCATENATED MODULE: ./src/pages/tasks/code-repository/test-case-list/Debugger/index.tsx + + + + + + + + + + + + + + + + + + + +var Debugger = function Debugger(_ref) { + var _Object$keys, _Object$keys2; + var myshixunIdentifier = _ref.myshixunIdentifier, + setHighlightLine = _ref.setHighlightLine, + setStartDebug = _ref.setStartDebug, + setBreakPointValue = _ref.setBreakPointValue, + unique = _ref.unique, + startDebug = _ref.startDebug, + onChangePath = _ref.onChangePath, + currentPath = _ref.currentPath, + visible = _ref.visible; + var _useState = (0,react.useState)(true), + _useState2 = slicedToArray_default()(_useState, 2), + openExpression = _useState2[0], + setOpenExpression = _useState2[1]; + var _useState3 = (0,react.useState)(true), + _useState4 = slicedToArray_default()(_useState3, 2), + openVariable = _useState4[0], + setOpenVariable = _useState4[1]; + var _useState5 = (0,react.useState)(false), + _useState6 = slicedToArray_default()(_useState5, 2), + loading = _useState6[0], + setLoading = _useState6[1]; + var _useState7 = (0,react.useState)(''), + _useState8 = slicedToArray_default()(_useState7, 2), + value = _useState8[0], + setValue = _useState8[1]; + var _useState9 = (0,react.useState)({}), + _useState10 = slicedToArray_default()(_useState9, 2), + data = _useState10[0], + setData = _useState10[1]; + var timer = (0,react.useRef)(null); + var _data$expressions = data.expressions, + expressions = _data$expressions === void 0 ? {} : _data$expressions, + _data$locals = data.locals, + locals = _data$locals === void 0 ? {} : _data$locals, + _data$out = data.out, + out = _data$out === void 0 ? '' : _data$out; + (0,react.useEffect)(function () { + var unSub = mediator/* default.subscribe */.Z.subscribe('active-debug-data', function (d) { + var _d$breakpoints; + if (d !== null && d !== void 0 && d.is_expired) { + es_message/* default.warn */.ZP.warn('调试服务已过期,请重新开始调试'); + clearTimeout(timer.current); + setHighlightLine(null); + setStartDebug(false); + return; + } + var current_line = (d === null || d === void 0 ? void 0 : d.current_line) < 0 ? null : d === null || d === void 0 ? void 0 : d.current_line; + var nextFilename = d.filename; + var lines = (d === null || d === void 0 ? void 0 : (_d$breakpoints = d.breakpoints) === null || _d$breakpoints === void 0 ? void 0 : _d$breakpoints[currentPath]) || []; + setData(d); + setHighlightLine(current_line); + setStartDebug(!(d !== null && d !== void 0 && d.is_over)); + if (d !== null && d !== void 0 && d.is_over) { + clearTimeout(timer.current); + } else { + setBreakPointValue(lines); + dealTimer(); + if (currentPath !== nextFilename && d !== null && d !== void 0 && d.is_jump) { + onChangePath(nextFilename); + } + } + }); + return function () { + unSub(); + clearTimeout(timer.current); + }; + }, [currentPath]); + var dealTimer = function dealTimer() { + clearTimeout(timer.current); + timer.current = setTimeout(function () { + mediator/* default.publish */.Z.publish('active-tip', true); + clearTimeout(timer.current); + setHighlightLine(null); + setStartDebug(false); + }, 3 * 60 * 1000); + }; + var actionBtns = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(type) { + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (startDebug) { + _context.next = 2; + break; + } + return _context.abrupt("return"); + case 2: + setLoading(true); + _context.next = 5; + return (0,utils_fetch/* default */.ZP)("/api/myshixuns/".concat(myshixunIdentifier, "/code_debugs/").concat(type, ".json"), { + method: 'post', + body: { + unique: unique + } + }); + case 5: + res = _context.sent; + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + mediator/* default.publish */.Z.publish('active-debug-data', (res === null || res === void 0 ? void 0 : res.data) || {}); + } + setLoading(false); + case 8: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function actionBtns(_x) { + return _ref2.apply(this, arguments); + }; + }(); + var handlePressEnter = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var res; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + setLoading(true); + // setValue('') + _context2.next = 3; + return (0,utils_fetch/* default */.ZP)("/api/myshixuns/".concat(myshixunIdentifier, "/code_debugs/add_expression.json"), { + method: 'post', + body: { + expression: value, + unique: unique + } + }); + case 3: + res = _context2.sent; + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + mediator/* default.publish */.Z.publish('active-debug-data', (res === null || res === void 0 ? void 0 : res.data) || {}); + } + setLoading(false); + case 6: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return function handlePressEnter() { + return _ref3.apply(this, arguments); + }; + }(); + var handleDelete = /*#__PURE__*/function () { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(e) { + var res; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + setLoading(true); + _context3.next = 3; + return (0,utils_fetch/* default */.ZP)("/api/myshixuns/".concat(myshixunIdentifier, "/code_debugs/remove_expression.json"), { + method: 'post', + body: { + expression: e, + unique: unique + } + }); + case 3: + res = _context3.sent; + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + mediator/* default.publish */.Z.publish('active-debug-data', (res === null || res === void 0 ? void 0 : res.data) || {}); + } + setLoading(false); + case 6: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function handleDelete(_x2) { + return _ref4.apply(this, arguments); + }; + }(); + return /*#__PURE__*/(0,jsx_runtime.jsx)("section", { + className: Debuggermodules.wrap, + style: { + display: visible ? 'block' : 'none' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, { + spinning: false, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Debuggermodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Debuggermodules.left, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Debuggermodules.expression, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Debuggermodules.head, + onClick: function onClick() { + return setOpenExpression(!openExpression); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + transform: openExpression ? 'rotate(0deg) scale(0.8) translateY(2px)' : 'rotate(180deg) scale(0.8) translateY(0px)' + }, + className: "iconfont icon-yizhankai" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u76D1\u542C\u8868\u8FBE\u5F0F" + })] + }), openExpression && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + value: value, + disabled: !startDebug, + onChange: function onChange(e) { + return setValue(e.target.value); + }, + placeholder: "\u8BF7\u8F93\u5165\u9700\u8981\u76D1\u542C\u7684\u53D8\u91CF\uFF0C\u56DE\u8F66\u786E\u8BA4", + onPressEnter: handlePressEnter + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Debuggermodules.listWarp, + children: (_Object$keys = Object.keys(expressions)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.map(function (e, i) { + var title = "".concat(e, ": ").concat(expressions[e]); + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: title, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: title + }) + }), startDebug ? /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + return handleDelete(e); + }, + className: "iconfont icon-piliangshanchubeifen" + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + cursor: 'not-allowed', + color: '#676767' + }, + className: "iconfont icon-piliangshanchubeifen" + })] + }); + }) + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Debuggermodules.variable, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Debuggermodules.head, + onClick: function onClick() { + return setOpenVariable(!openVariable); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + transform: openVariable ? 'rotate(0deg) scale(0.8) translateY(2px)' : 'rotate(180deg) scale(0.8) translateY(0px)' + }, + className: "iconfont icon-yizhankai" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u53D8\u91CF" + })] + }), openVariable && ((_Object$keys2 = Object.keys(locals)) === null || _Object$keys2 === void 0 ? void 0 : _Object$keys2.map(function (e, i) { + var title = "".concat(e, ": ").concat(locals[e]); + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: title, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Debuggermodules.list, + children: title + }) + }, title + i); + }))] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Debuggermodules.right, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: startDebug ? Debuggermodules.btns : "".concat(Debuggermodules.btns, " ").concat(Debuggermodules.disabled, " "), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u7EE7\u7EED", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("b", { + onClick: function onClick() { + return actionBtns('continue'); + }, + className: "icon-jixu" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5355\u6B65\u8DF3\u8FC7", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("b", { + onClick: function onClick() { + return actionBtns('next'); + }, + className: "iconfont icon-danbutiaoguo" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5355\u6B65\u8DF3\u5165", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("b", { + onClick: function onClick() { + return actionBtns('step_in'); + }, + className: "iconfont icon-danbutiaoshi" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5355\u6B65\u8DF3\u51FA", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("b", { + onClick: function onClick() { + return actionBtns('step_out'); + }, + className: "iconfont icon-danbutiaochu" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u6E05\u7A7A\u6807\u51C6\u8F93\u51FA", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + data.out = ''; + setData(objectSpread2_default()({}, data)); + }, + className: "iconfont icon-piliangshanchubeifen" + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Debuggermodules.text, + children: "\u6807\u51C6\u8F93\u51FA" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("pre", { + children: out + })] + })] + }) + }) + }); +}; +/* harmony default export */ var test_case_list_Debugger = (Debugger); ;// CONCATENATED MODULE: ./src/pages/tasks/code-repository/test-case-list/panel.jsx @@ -14339,8 +13985,6 @@ var base64 = __webpack_require__(19575); }); // EXTERNAL MODULE: ./node_modules/xterm/lib/xterm.js var xterm = __webpack_require__(12320); -// EXTERNAL MODULE: ./src/utils/fetch.ts -var utils_fetch = __webpack_require__(84519); ;// CONCATENATED MODULE: ./src/pages/tasks/code-repository/test-case-list/index.jsx @@ -14368,6 +14012,7 @@ var utils_fetch = __webpack_require__(84519); + function test_case_list_TestCaseItem(_ref) { @@ -14683,7 +14328,14 @@ function test_case_list_TestCaseItem(_ref) { test_sets_count = _ref5.test_sets_count, sets_error_count = _ref5.sets_error_count, last_compile_output = _ref5.last_compile_output, - onFinishDisplayHtml = _ref5.onFinishDisplayHtml; + onFinishDisplayHtml = _ref5.onFinishDisplayHtml, + startDebug = _ref5.startDebug, + setStartDebug = _ref5.setStartDebug, + setHighlightLine = _ref5.setHighlightLine, + setBreakPointValue = _ref5.setBreakPointValue, + unique = _ref5.unique, + onChangePath = _ref5.onChangePath, + currentPath = _ref5.currentPath; var _useState3 = (0,react.useState)(-1), _useState4 = slicedToArray_default()(_useState3, 2), index = _useState4[0], @@ -14702,8 +14354,22 @@ function test_case_list_TestCaseItem(_ref) { setTabIndex = _useState10[1]; var _useState11 = (0,react.useState)(false), _useState12 = slicedToArray_default()(_useState11, 2), - showLogTab = _useState12[0], - setShowLogTab = _useState12[1]; + initDeBug = _useState12[0], + setInitDeBug = _useState12[1]; + // const [tabIndex, setTabIndex] = useState(3); + var _useState13 = (0,react.useState)(false), + _useState14 = slicedToArray_default()(_useState13, 2), + showLogTab = _useState14[0], + setShowLogTab = _useState14[1]; + var _useState15 = (0,react.useState)(false), + _useState16 = slicedToArray_default()(_useState15, 2), + tip = _useState16[0], + setTip = _useState16[1]; + (0,react.useEffect)(function () { + if (startDebug === true && initDeBug === false) { + setInitDeBug(true); + } + }, [startDebug, initDeBug]); (0,react.useEffect)(function () { var _test_sets$; var unSub1 = mediator/* default.subscribe */.Z.subscribe('showRunCodeTab', function (status) { @@ -14712,10 +14378,18 @@ function test_case_list_TestCaseItem(_ref) { var unSub2 = mediator/* default.subscribe */.Z.subscribe('runCode', function () { setTabIndex(2); }); + var unSub3 = mediator/* default.subscribe */.Z.subscribe('active-debug', function () { + setTabIndex(3); + }); + var unSub4 = mediator/* default.subscribe */.Z.subscribe('active-tip', function (bool) { + setTip(bool); + }); mediator/* default.publish */.Z.publish('caseInputValue', test_sets === null || test_sets === void 0 ? void 0 : (_test_sets$ = test_sets[0]) === null || _test_sets$ === void 0 ? void 0 : _test_sets$['input']); return function () { unSub1(); unSub2(); + unSub3(); + unSub4(); }; }, []); function trigger(id) { @@ -14773,6 +14447,29 @@ function test_case_list_TestCaseItem(_ref) { onClick: onChangeTab, className: tabIndex === 2 ? 'active' : '', children: "\u81EA\u6D4B\u8FD0\u884C\u7ED3\u679C" + }), initDeBug && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + id: 3, + onClick: onChangeTab, + className: tabIndex === 3 ? 'active-debug' : '', + children: ["\u8C03\u8BD5\u5668", /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + id: 3, + onClick: function onClick() { + return (0,util/* openNewWindow */.xg)('https://www.educoder.net'); + }, + className: "iconfont icon-xiaowenhao2 font14 current ml10" + })] + }), tip && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: test_cast_listmodules.alert, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", { + className: "iconfont icon-shanchuhuanjing" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u8C03\u8BD5\u670D\u52A1\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u5F00\u59CB\u8C03\u8BD5\u3002" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + return setTip(false); + }, + className: "iconfont icon-guanbi7" + })] })] }), /*#__PURE__*/(0,jsx_runtime.jsx)("a", { onClick: onResizeSet, @@ -14880,76 +14577,19 @@ function test_case_list_TestCaseItem(_ref) { }), 'item' + i); }) })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(test_case_list_Debugger, { + myshixunIdentifier: myshixunIdentifier, + setHighlightLine: setHighlightLine, + setStartDebug: setStartDebug, + startDebug: startDebug, + setBreakPointValue: setBreakPointValue, + unique: unique, + onChangePath: onChangePath, + currentPath: currentPath, + visible: tabIndex === 3 }), isHtml ? /*#__PURE__*/(0,jsx_runtime.jsx)(html_code_view, objectSpread2_default()({}, htmlCodeViewOption)) : null] }); }); -function VNCTestList(_ref6) { - var isLarge = _ref6.isLarge, - language = _ref6.language, - _ref6$test_sets = _ref6.test_sets, - test_sets = _ref6$test_sets === void 0 ? [] : _ref6$test_sets, - test_sets_count = _ref6.test_sets_count, - allowed_unlock = _ref6.allowed_unlock, - sets_error_count = _ref6.sets_error_count, - last_compile_output = _ref6.last_compile_output, - test_sets_view = _ref6.test_sets_view, - identity = _ref6.identity, - onResizeSet = _ref6.onResizeSet; - var _useState13 = useState(-1), - _useState14 = _slicedToArray(_useState13, 2), - index = _useState14[0], - setIndex = _useState14[1]; - function trigger(id) { - setIndex(id === index ? -1 : id); - } - return /*#__PURE__*/_jsxs(Fragment, { - children: [/*#__PURE__*/_jsxs("div", { - className: "test-header", - children: [/*#__PURE__*/_jsx("span", { - className: "active", - children: "\u6D4B\u8BD5\u7ED3\u679C" - }), /*#__PURE__*/_jsx("a", { - onClick: onResizeSet, - children: /*#__PURE__*/_jsx("i", { - className: "iconfont ".concat(isLarge ? 'icon-shousuo' : 'icon-zhankai', " icon-zhankai") - }) - })] - }), last_compile_output ? /*#__PURE__*/_jsxs("p", { - className: "test-result ".concat(sets_error_count === 0 ? 'success' : 'failer'), - children: [/*#__PURE__*/_jsxs("span", { - className: "count", - children: [/*#__PURE__*/_jsx("img", { - width: 16, - src: sets_error_count === 0 ? suc : markUrl - }), test_sets_count - sets_error_count, "/", test_sets_count] - }), sets_error_count == 0 ? /*#__PURE__*/_jsx("span", { - children: "\u5168\u90E8\u901A\u8FC7" - }) : /*#__PURE__*/_jsx("div", { - dangerouslySetInnerHTML: { - __html: last_compile_output - } - }) - // - ] - }) : null, /*#__PURE__*/_jsx("ul", { - className: "test-case-list", - children: test_sets.map(function (item, i) { - return /*#__PURE__*/_jsx(test_case_list_TestCaseItem, _objectSpread(_objectSpread({ - allowed_unlock: allowed_unlock, - identity: identity, - test_sets_view: test_sets_view, - language: language, - last_compile_output: last_compile_output, - title: "\u6D4B\u8BD5\u96C6".concat(i + 1) - }, item), {}, { - isActive: index === i, - id: i, - onActive: trigger - }), 'item' + i); - }) - })] - }); -} // EXTERNAL MODULE: ./src/pages/tasks/vnc-view/index.less var vnc_view = __webpack_require__(45954); // EXTERNAL MODULE: ./src/pages/tasks/vnc-view/vnc-panel/index.tsx + 2 modules @@ -14988,9 +14628,6 @@ var vnc_panel = __webpack_require__(27594); var dropdown_style = __webpack_require__(68018); // EXTERNAL MODULE: ./node_modules/antd/es/dropdown/index.js var dropdown = __webpack_require__(13013); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js -var createForOfIteratorHelper = __webpack_require__(74704); -var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); ;// CONCATENATED MODULE: ./src/pages/tasks/code-repository/HorizontalTabs/index.less?modules // extracted by mini-css-extract-plugin /* harmony default export */ var HorizontalTabsmodules = ({"scrollbar":"scrollbar___lLOKh","scrollbarContent":"scrollbarContent___J5uQ6","scrollbarTrack":"scrollbarTrack___ptQqt","scrollbarThumb":"scrollbarThumb___GFuZv","item":"item___MSfbI","icon":"icon___AXhP9","dot":"dot___BA766","active":"active___Rkf93","pathActive":"pathActive___l4hB4","paths":"paths___gzBRM"}); @@ -15169,24 +14806,26 @@ var HorizontalTabs = function HorizontalTabs(_ref) { }; }, [scrollbarContent.current]); var handleObserverSize = function handleObserverSize() { - if (scrollbarContent.current.clientWidth > scrollbar.current.clientWidth) { - var _moveElement$current$; - var barWidth = scrollbar.current.clientWidth / scrollbarContent.current.clientWidth * scrollbar.current.clientWidth; - var left = Number((_moveElement$current$ = moveElement.current.style.left) === null || _moveElement$current$ === void 0 ? void 0 : _moveElement$current$.replace('px', '')); - var finalLeft = left; - if (left + barWidth >= scrollbar.current.clientWidth) { - //往右偏移量 - finalLeft = left - (left + barWidth - scrollbar.current.clientWidth); + try { + if (scrollbarContent.current.clientWidth > scrollbar.current.clientWidth) { + var _moveElement$current$; + var barWidth = scrollbar.current.clientWidth / scrollbarContent.current.clientWidth * scrollbar.current.clientWidth; + var left = Number((_moveElement$current$ = moveElement.current.style.left) === null || _moveElement$current$ === void 0 ? void 0 : _moveElement$current$.replace('px', '')); + var finalLeft = left; + if (left + barWidth >= scrollbar.current.clientWidth) { + //往右偏移量 + finalLeft = left - (left + barWidth - scrollbar.current.clientWidth); + } + moveElement.current.style.width = "".concat(barWidth, "px"); + moveElement.current.style.left = "".concat(finalLeft, "px"); + scrollbarContent.current.style.transform = "translateX(".concat(-(finalLeft / scrollbar.current.clientWidth * scrollbarContent.current.clientWidth), "px)"); + setVisible(true); + } else { + moveElement.current.style.left = "".concat(0, "px"); + scrollbarContent.current.style.transform = "translateX(0px)"; + setVisible(false); } - moveElement.current.style.width = "".concat(barWidth, "px"); - moveElement.current.style.left = "".concat(finalLeft, "px"); - scrollbarContent.current.style.transform = "translateX(".concat(-(finalLeft / scrollbar.current.clientWidth * scrollbarContent.current.clientWidth), "px)"); - setVisible(true); - } else { - moveElement.current.style.left = "".concat(0, "px"); - scrollbarContent.current.style.transform = "translateX(0px)"; - setVisible(false); - } + } catch (e) {} }; var handleWheelEvent = function handleWheelEvent(event) { //不出现滚动条时,阻止滑动 @@ -15881,7 +15520,8 @@ var CodeSetting = __webpack_require__(77696); onTabToSpace = _ref.onTabToSpace, shixun = _ref.shixun, autoFormat = _ref.autoFormat, - onAutoFormat = _ref.onAutoFormat; + onAutoFormat = _ref.onAutoFormat, + formatDocument = _ref.formatDocument; var task_pass = shixun.task_pass, forbid_copy = shixun.forbid_copy, test_set_permission = shixun.test_set_permission; @@ -15893,7 +15533,8 @@ var CodeSetting = __webpack_require__(77696); tabToSpace: tabToSpace, onTabToSpace: onTabToSpace, autoFormat: autoFormat, - onAutoFormat: onAutoFormat + onAutoFormat: onAutoFormat, + formatDocument: formatDocument }; return /*#__PURE__*/(0,jsx_runtime.jsxs)(CodeSetting/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, opt), {}, { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h3", { @@ -16044,6 +15685,26 @@ function code_repository_reducer(state, action) { _useState6 = slicedToArray_default()(_useState5, 2), isResizeLarge = _useState6[0], setIsResizeLarge = _useState6[1]; + var _useState7 = (0,react.useState)([]), + _useState8 = slicedToArray_default()(_useState7, 2), + breakPointValue = _useState8[0], + setBreakPointValue = _useState8[1]; + var _useState9 = (0,react.useState)(null), + _useState10 = slicedToArray_default()(_useState9, 2), + highlightLine = _useState10[0], + setHighlightLine = _useState10[1]; + var _useState11 = (0,react.useState)(false), + _useState12 = slicedToArray_default()(_useState11, 2), + startDebug = _useState12[0], + setStartDebug = _useState12[1]; + var _useState13 = (0,react.useState)(''), + _useState14 = slicedToArray_default()(_useState13, 2), + unique = _useState14[0], + setUnique = _useState14[1]; + var _useState15 = (0,react.useState)({}), + _useState16 = slicedToArray_default()(_useState15, 2), + allBreakPointValue = _useState16[0], + setAllBreakPointValue = _useState16[1]; var isU3d = unity_3d_routes && !with_code_file; (0,react.useEffect)(function () { var unSub = mediator/* default.subscribe */.Z.subscribe('show-case-result', function (status) { @@ -16121,6 +15782,9 @@ function code_repository_reducer(state, action) { }); (0,urlTool/* toStore */.t)('autoFormat', checked); } + function formatDocument() { + mediator/* default.publish */.Z.publish("formatDocument"); + } function onShowCodeSetting() { setShowEditorSetting(!showEditorSetting); } @@ -16128,6 +15792,7 @@ function code_repository_reducer(state, action) { var testSetHeight = moveY === '100%' ? 0 : "calc(100% - 54px - ".concat(codeAreaHeight, ")"); var index_tab = tabActiveParams.index_tab, shixun_environment_id = tabActiveParams.shixun_environment_id, + allow_use_code_debugger = tabActiveParams.allow_use_code_debugger, tab_type = tabActiveParams.tab_type; var loading = codeRepData.loading, content = codeRepData.content, @@ -16167,7 +15832,14 @@ function code_repository_reducer(state, action) { test_sets: test_sets, test_sets_count: test_sets_count, sets_error_count: sets_error_count, - last_compile_output: last_compile_output + last_compile_output: last_compile_output, + startDebug: startDebug, + unique: unique, + setHighlightLine: setHighlightLine, + setStartDebug: setStartDebug, + setBreakPointValue: setBreakPointValue, + onChangePath: _onChangePath, + currentPath: currentPath }; var codeAreaOption = { content: content, @@ -16175,17 +15847,27 @@ function code_repository_reducer(state, action) { filename: filename, file_type: file_type, onCodeChange: onCodeChange, + breakPointValue: breakPointValue, + setBreakPointValue: setBreakPointValue, + highlightLine: highlightLine, + setHighlightLine: setHighlightLine, + startDebug: startDebug, + openBreakPoint: !!allow_use_code_debugger, theme: theme, taskData: taskData, onSave: onUpdateCode, forbidCopy: shixun.forbid_copy, isEditPath: isEditPath, + currentPath: currentPath, + unique: unique, code_edit_permission: shixun.code_edit_permission, + allBreakPointValue: allBreakPointValue, + setAllBreakPointValue: setAllBreakPointValue, monacoOptions: { fontSize: fontSize, insertSpaces: tabToSpace, autoFormat: autoFormat, - readOnly: !isEditPath && !shixun.code_edit_permission + readOnly: !isEditPath && !shixun.code_edit_permission || startDebug } }; var actionBarOption = { @@ -16194,6 +15876,9 @@ function code_repository_reducer(state, action) { moveY: moveY, code_hidden: !shixun.show_code_dir, gameStatus: game.status, + myshixun: myshixun, + game: game, + currentPath: currentPath, isEditPath: isEditPath, isNotice: isNotice, git_url: git_url, @@ -16208,8 +15893,18 @@ function code_repository_reducer(state, action) { isResizeLarge: isResizeLarge, tab_type: tab_type, shixun: shixun, + startDebug: startDebug, + breakPointValue: breakPointValue, + setBreakPointValue: setBreakPointValue, + setStartDebug: setStartDebug, onShowCodeSetting: onShowCodeSetting, - onRightFullHandler: onRightFullHandler + onRightFullHandler: onRightFullHandler, + setHighlightLine: setHighlightLine, + unique: unique, + setUnique: setUnique, + allow_use_code_debugger: allow_use_code_debugger, + allBreakPointValue: allBreakPointValue, + setAllBreakPointValue: setAllBreakPointValue }; var tpiCodeSettingOption = { onFontSizeChange: onFontSizeChange, @@ -16219,6 +15914,7 @@ function code_repository_reducer(state, action) { onCodeModeChange: onCodeModeChange, onTabToSpace: onTabToSpace, onAutoFormat: onAutoFormat, + formatDocument: formatDocument, autoFormat: autoFormat, shixun: shixun }; @@ -16228,6 +15924,10 @@ function code_repository_reducer(state, action) { return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: + // if (startDebug) { + // message.warn('代码正在调试中') + // return + // } homeworkCommonId = searchParams.get('homework_common_id'); setTabActiveParams(item); if (!homeworkCommonId) { @@ -16369,10 +16069,12 @@ function code_repository_reducer(state, action) { }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: choose_repositorymodules["action-container"], children: /*#__PURE__*/(0,jsx_runtime.jsx)(footer_bar, objectSpread2_default()(objectSpread2_default()({}, taskData), {}, { + startDebug: startDebug, dispatch: _dispatch, onUpdateCode: onUpdateCode, loading: evaluateLoading, tabActiveParams: tabActiveParams, + isU3d: isU3d, onRun: function onRun() { onEval(); setShowCaseList(true); @@ -17448,7 +17150,8 @@ function tasks_reducer(state, action) { unity_3d_result = taskData.unity_3d_result, next_game = taskData.next_game, prev_game = taskData.prev_game, - mirror_description_multi = taskData.mirror_description_multi; + mirror_description_multi = taskData.mirror_description_multi, + shixun_environments = taskData.shixun_environments; var currentPath = codeRepData.currentPath, paths = codeRepData.paths, content = codeRepData.content, @@ -17693,7 +17396,13 @@ function tasks_reducer(state, action) { })); return _init2.apply(this, arguments); } - if (st === 0 && currentPath) { + if (st === 0 //实训题 + && currentPath //有文件 + && !(unity_3d_routes && !with_code_file) //不是虚拟仿真 + && shixun_environments !== null && shixun_environments !== void 0 && shixun_environments.some(function (e) { + return e.tab_type === 1; + }) //tab里有ide编辑器 + ) { init(); } }, [st, currentPath, lastedGetTaskInfoTime, timestamp]); @@ -17991,7 +17700,7 @@ function tasks_reducer(state, action) { }) }); setCodeLoading(false); - return _context7.abrupt("return"); + return _context7.abrupt("return", Promise.reject()); case 9: dispatch({ type: constant/* FETCH_REP_CONTENT */.GB, @@ -18041,7 +17750,7 @@ function tasks_reducer(state, action) { }), "\uFF09\u4E2D\u88AB\u4F7F\u7528\uFF0C\u7528\u6237\u8BD5\u5377\u5DF2\u4EA4\u5377\uFF0C\u7981\u6B62\u518D\u4F5C\u7B54\uFF01"] }) }); - return _context8.abrupt("return"); + return _context8.abrupt("return", Promise.reject()); case 6: init(); return _context8.abrupt("return", response); @@ -18804,7 +18513,6 @@ function tasks_reducer(state, action) { return e; }); setTabs(cloneTabs); - console.log(cloneTabs); } case 19: if (!(tab_type === 5)) { diff --git a/p__tasks__index.chunk.css b/p__tasks__index.chunk.css index 3e79239ef5..61fcb31526 100644 --- a/p__tasks__index.chunk.css +++ b/p__tasks__index.chunk.css @@ -885,17 +885,51 @@ body:fullscreen .task-header-container { .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/left-panel/index.less?modules ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -3143,6 +3177,55 @@ span.CodeMirror-selectedtext { .action-bar___bbigU a:hover { color: #0152d9; } +.action-bar___bbigU .startDebug___tLWzR { + width: 26px; + height: 26px; + background: rgba(88, 255, 199, 0.2); + border-radius: 4px; + display: inline-flex; + align-items: center; + justify-content: center; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + margin-right: 20px; + color: #58FFC7; +} +.action-bar___bbigU .startDebug___tLWzR i { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + pointer-events: none; +} +.action-bar___bbigU .disabledDebug___npN0z { + width: 26px; + height: 26px; + background: rgba(88, 255, 199, 0.2); + border-radius: 4px; + display: inline-flex; + align-items: center; + justify-content: center; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + margin-right: 20px; + color: #58FFC7; + color: #a69f9f; + background: #555555; + cursor: default; +} +.action-bar___bbigU .disabledDebug___npN0z i { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + pointer-events: none; +} /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ @@ -3958,6 +4041,18 @@ span.CodeMirror-selectedtext { width: 20px; background-color: #29bd8b; } +.test-header span.active-debug:after { + content: ''; + position: absolute; + left: 50%; + margin-left: -22px; + top: auto; + bottom: 0; + right: auto; + height: 2px; + width: 20px; + background-color: #29bd8b; +} .test-result { padding: 8px 15px 0 15px; font-size: 14px; @@ -4144,6 +4239,24 @@ span.CodeMirror-selectedtext { .diff-panel-container ins.empty { background: #2ea44f; } +.alert { + display: inline-flex; + align-items: center; + font-size: 12px; + height: 24px; + background-color: rgba(162, 17, 29, 0.64); + padding: 0 10px; +} +.alert b { + font-size: 12px; + margin-right: 10px; + color: red; +} +.alert i { + cursor: pointer; + font-size: 12px; + margin-left: 10px; +} /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ @@ -5538,6 +5651,18 @@ ul.menu___sjQxY [class~='ant-dropdown-menu-item-active'] { width: 20px; background-color: #29bd8b; } +.test-header___fSQRn span.active-debug___oeXMX:after { + content: ''; + position: absolute; + left: 50%; + margin-left: -22px; + top: auto; + bottom: 0; + right: auto; + height: 2px; + width: 20px; + background-color: #29bd8b; +} .test-result___DQXYd { padding: 8px 15px 0 15px; font-size: 14px; @@ -5724,6 +5849,24 @@ ul.menu___sjQxY [class~='ant-dropdown-menu-item-active'] { .diff-panel-container___OEdXu ins.empty___izbJX { background: #2ea44f; } +.alert___jv5_R { + display: inline-flex; + align-items: center; + font-size: 12px; + height: 24px; + background-color: rgba(162, 17, 29, 0.64); + padding: 0 10px; +} +.alert___jv5_R b { + font-size: 12px; + margin-right: 10px; + color: red; +} +.alert___jv5_R i { + cursor: pointer; + font-size: 12px; + margin-left: 10px; +} /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ @@ -5826,6 +5969,156 @@ ul.menu___sjQxY [class~='ant-dropdown-menu-item-active'] { /* 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/tasks/code-repository/test-case-list/Debugger/index.less?modules ***! + \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___chIKE { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___hT6Bl { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___xJY_u { + align-items: center; + box-align: center; +} +.flex_box_center_end___LPuxi { + 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___Zs0ic { + flex-direction: column; + box-orient: block-axis; +} +.wrap___cNz2Y { + background-color: #070F19; + height: 100%; + overflow: hidden; +} +.wrap___cNz2Y div[class~='ant-spin-nested-loading'], +.wrap___cNz2Y div[class~='ant-spin-container'] { + height: 100%; + background-color: #070F19; +} +.wrap___cNz2Y .content___vkduy { + display: flex; + align-items: flex-start; + height: 100%; + overflow: hidden; +} +.wrap___cNz2Y .content___vkduy .left___yWI2E { + width: 50%; + height: 100%; + overflow-y: auto; + overflow-x: hidden; + padding: 20px 43px 20px 18px; + border-right: 1px solid #474747; +} +.wrap___cNz2Y .content___vkduy .left___yWI2E .head___WMggN { + display: inline-flex; + align-items: center; + font-size: 14px; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.wrap___cNz2Y .content___vkduy .left___yWI2E .head___WMggN i { + margin-right: 5px; + font-size: 12px; +} +.wrap___cNz2Y .content___vkduy .left___yWI2E .expression___L8Pp3 input { + height: 34px; + line-height: 32px; + border-radius: 2px; + border: 1px solid #2761C5; + margin-top: 20px; + background-color: #070F19; + color: #fff; +} +.wrap___cNz2Y .content___vkduy .left___yWI2E .expression___L8Pp3 .listWarp___ofdxE > div { + display: flex; + align-items: center; + margin-top: 15px; +} +.wrap___cNz2Y .content___vkduy .left___yWI2E .expression___L8Pp3 .listWarp___ofdxE > div span { + flex: 1 1; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + font-size: 14px; + padding-right: 15px; +} +.wrap___cNz2Y .content___vkduy .left___yWI2E .expression___L8Pp3 .listWarp___ofdxE > div i { + font-size: 14px; + cursor: pointer; +} +.wrap___cNz2Y .content___vkduy .left___yWI2E .variable___REWA5 { + margin-top: 25px; +} +.wrap___cNz2Y .content___vkduy .left___yWI2E .variable___REWA5 .list___ZGP8o { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + font-size: 14px; + margin-top: 15px; +} +.wrap___cNz2Y .content___vkduy .right___T2TG6 { + width: 50%; + height: 100%; +} +.wrap___cNz2Y .content___vkduy .right___T2TG6 .btns____y3gt { + height: 67px; + border-bottom: 1px solid #333131; + padding: 0 30px; + display: flex; + align-items: center; +} +.wrap___cNz2Y .content___vkduy .right___T2TG6 .btns____y3gt b { + cursor: pointer; + color: #0077FF; + margin-right: 30px; + font-size: 22px; +} +.wrap___cNz2Y .content___vkduy .right___T2TG6 .btns____y3gt i { + margin-left: auto; + color: #fff; + cursor: pointer; +} +.wrap___cNz2Y .content___vkduy .right___T2TG6 .disabled___yPqre b { + cursor: not-allowed; + color: #676767; +} +.wrap___cNz2Y .content___vkduy .right___T2TG6 .text___V5rxy { + font-size: 14px; + color: #FFFFFF; + margin-top: 11px; + text-align: center; +} +.wrap___cNz2Y .content___vkduy .right___T2TG6 > pre { + margin: 12px 8px; + background: #121C24; + padding: 20px; + font-size: 14px; + white-space: pre-wrap; + overflow-y: auto; + height: calc(100% - 130px); +} +/* 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]!./src/pages/tasks/vnc-view/index.less ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__virtualSpaces__Lists__Announcement__Detail__index.chunk.css b/p__virtualSpaces__Lists__Announcement__Detail__index.chunk.css index d366e2e8fd..6aed4f2bf7 100644 --- a/p__virtualSpaces__Lists__Announcement__Detail__index.chunk.css +++ b/p__virtualSpaces__Lists__Announcement__Detail__index.chunk.css @@ -165,17 +165,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]!./node_modules/antd/es/rate/style/index.less ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__virtualSpaces__Lists__Announcement__index.chunk.css b/p__virtualSpaces__Lists__Announcement__index.chunk.css index 330566eb24..fb3228624d 100644 --- a/p__virtualSpaces__Lists__Announcement__index.chunk.css +++ b/p__virtualSpaces__Lists__Announcement__index.chunk.css @@ -1027,14 +1027,48 @@ 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; +} diff --git a/p__virtualSpaces__Lists__Material__index.chunk.css b/p__virtualSpaces__Lists__Material__index.chunk.css index 7cd34bafd1..6fef6b1af1 100644 --- a/p__virtualSpaces__Lists__Material__index.chunk.css +++ b/p__virtualSpaces__Lists__Material__index.chunk.css @@ -405,14 +405,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; +} diff --git a/p__virtualSpaces__Lists__Plan__Detail__index.chunk.css b/p__virtualSpaces__Lists__Plan__Detail__index.chunk.css index df4e213665..06961de20a 100644 --- a/p__virtualSpaces__Lists__Plan__Detail__index.chunk.css +++ b/p__virtualSpaces__Lists__Plan__Detail__index.chunk.css @@ -405,14 +405,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; +} diff --git a/p__virtualSpaces__Lists__Resources__Detail__index.chunk.css b/p__virtualSpaces__Lists__Resources__Detail__index.chunk.css index 7ec74b8dd2..6e48c62e27 100644 --- a/p__virtualSpaces__Lists__Resources__Detail__index.chunk.css +++ b/p__virtualSpaces__Lists__Resources__Detail__index.chunk.css @@ -405,14 +405,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; +} diff --git a/p__virtualSpaces__Lists__Survey__Detail__index.chunk.css b/p__virtualSpaces__Lists__Survey__Detail__index.chunk.css index cb4e016fa6..83da6594d6 100644 --- a/p__virtualSpaces__Lists__Survey__Detail__index.chunk.css +++ b/p__virtualSpaces__Lists__Survey__Detail__index.chunk.css @@ -405,14 +405,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; +} diff --git a/p__virtualSpaces__Lists__Syllabuses__Detail__index.chunk.css b/p__virtualSpaces__Lists__Syllabuses__Detail__index.chunk.css index f81175077e..3c466ef230 100644 --- a/p__virtualSpaces__Lists__Syllabuses__Detail__index.chunk.css +++ b/p__virtualSpaces__Lists__Syllabuses__Detail__index.chunk.css @@ -165,14 +165,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; +} diff --git a/static/iconfont.146fdbdf.woff2 b/static/iconfont.146fdbdf.woff2 new file mode 100644 index 0000000000..e4c571d98d Binary files /dev/null and b/static/iconfont.146fdbdf.woff2 differ diff --git a/static/iconfont.7d85fe26.ttf b/static/iconfont.15452b21.ttf similarity index 91% rename from static/iconfont.7d85fe26.ttf rename to static/iconfont.15452b21.ttf index 889224dc3d..907ab01176 100644 Binary files a/static/iconfont.7d85fe26.ttf and b/static/iconfont.15452b21.ttf differ diff --git a/static/iconfont.2c32e91e.svg b/static/iconfont.2c32e91e.svg new file mode 100644 index 0000000000..827e6e3e73 --- /dev/null +++ b/static/iconfont.2c32e91e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/iconfont.3f9e1d5e.woff2 b/static/iconfont.3f9e1d5e.woff2 deleted file mode 100644 index 4d15898f52..0000000000 Binary files a/static/iconfont.3f9e1d5e.woff2 and /dev/null differ diff --git a/static/iconfont.4155b7af.svg b/static/iconfont.4155b7af.svg deleted file mode 100644 index 28cec757c5..0000000000 --- a/static/iconfont.4155b7af.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/iconfont.965300a7.woff b/static/iconfont.965300a7.woff new file mode 100644 index 0000000000..3998aec95e Binary files /dev/null and b/static/iconfont.965300a7.woff differ diff --git a/static/iconfont.fe4823ec.woff b/static/iconfont.fe4823ec.woff deleted file mode 100644 index 2717ec07e7..0000000000 Binary files a/static/iconfont.fe4823ec.woff and /dev/null differ diff --git a/umi.css b/umi.css index 9460cae685..e80225dffe 100644 --- a/umi.css +++ b/umi.css @@ -1374,10 +1374,10 @@ html { \*************************************************************************************************************************************************************************************************************************************/ @font-face { font-family: "iconfont"; /* Project id 653600 */ - src: url(./static/iconfont.3f9e1d5e.woff2) format('woff2'), - url(./static/iconfont.fe4823ec.woff) format('woff'), - url(./static/iconfont.7d85fe26.ttf) format('truetype'), - url(./static/iconfont.4155b7af.svg#iconfont) format('svg'); + src: url(./static/iconfont.146fdbdf.woff2) format('woff2'), + url(./static/iconfont.965300a7.woff) format('woff'), + url(./static/iconfont.15452b21.ttf) format('truetype'), + url(./static/iconfont.2c32e91e.svg#iconfont) format('svg'); } .iconfont { @@ -1388,6 +1388,22 @@ html { -moz-osx-font-smoothing: grayscale; } +.icon-danbutiaoshi:before { + content: "\eb5c"; +} + +.icon-danbutiaochu:before { + content: "\eb5d"; +} + +.icon-jixu:before { + content: "\eb5e"; +} + +.icon-danbutiaoguo:before { + content: "\eb5f"; +} + .icon-rongqi1:before { content: "\eb5b"; } diff --git a/umi.js b/umi.js index d732ef6ad7..484eb285ae 100644 --- a/umi.js +++ b/umi.js @@ -44020,6 +44020,7 @@ var PaperlibraryModel = { + var newPaper_ExerciseModel = { namespace: 'newExercisePaper', state: { @@ -44195,6 +44196,11 @@ var newPaper_ExerciseModel = { reducers: { save: function save(state, action) { return objectSpread2_default()(objectSpread2_default()({}, state), action.payload); + }, + modifyTitle: function modifyTitle(state, action) { + var prevStateClone = (0,lodash.cloneDeep)(state); + prevStateClone.editData.exercise.exercise_name = action.payload; + return prevStateClone; } }, subscriptions: { @@ -60759,11 +60765,9 @@ function _deleteStages() { /* harmony export */ "Hb": function() { return /* binding */ importItemBanks; }, /* harmony export */ "Hm": function() { return /* binding */ batchDelete; }, /* harmony export */ "JP": function() { return /* binding */ generateExerciseId; }, -/* harmony export */ "Km": function() { return /* binding */ deleteQuestion; }, /* harmony export */ "NC": function() { return /* binding */ handleDeleteEditQuestion; }, /* harmony export */ "Pl": function() { return /* binding */ setPrivate; }, /* harmony export */ "Qp": function() { return /* binding */ batchPublic; }, -/* harmony export */ "VG": function() { return /* binding */ sortQuestion; }, /* harmony export */ "YP": function() { return /* binding */ batchSetScore; }, /* harmony export */ "ar": function() { return /* binding */ getCustomDisciplines; }, /* harmony export */ "d1": function() { return /* binding */ getDisciplines; }, @@ -60776,10 +60780,9 @@ function _deleteStages() { /* harmony export */ "tS": function() { return /* binding */ getCourseList; }, /* harmony export */ "ts": function() { return /* binding */ setScore; }, /* harmony export */ "un": function() { return /* binding */ createExam; }, -/* harmony export */ "vF": function() { return /* binding */ newBatchSetScore; }, /* harmony export */ "w0": function() { return /* binding */ updateExam; } /* harmony export */ }); -/* unused harmony exports setShixunScore, addQuestion */ +/* unused harmony exports setShixunScore, addQuestion, sortQuestion, deleteQuestion, newBatchSetScore */ /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061); /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156); @@ -61259,11 +61262,11 @@ function sortQuestion(_x25, _x26) { //删除试题 function _sortQuestion() { - _sortQuestion = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(id, params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) { + _sortQuestion = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24(id, params) { + return _regeneratorRuntime().wrap(function _callee24$(_context24) { while (1) switch (_context24.prev = _context24.next) { case 0: - return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(id, "/sort_question_type.json"), { + return _context24.abrupt("return", Fetch("/api/examination_banks/".concat(id, "/sort_question_type.json"), { method: 'post', body: params })); @@ -61281,11 +61284,11 @@ function deleteQuestion(_x27) { //新的批量设置得分 function _deleteQuestion() { - _deleteQuestion = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee25(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) { + _deleteQuestion = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25(params) { + return _regeneratorRuntime().wrap(function _callee25$(_context25) { while (1) switch (_context25.prev = _context25.next) { case 0: - return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.exam_id, "/examination_banks_item_banks/").concat(params.question_id, ".json"), { + return _context25.abrupt("return", Fetch("/api/examination_banks/".concat(params.exam_id, "/examination_banks_item_banks/").concat(params.question_id, ".json"), { method: 'delete' })); case 1: @@ -61302,11 +61305,11 @@ function newBatchSetScore(_x28, _x29) { //生成考试id function _newBatchSetScore() { - _newBatchSetScore = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee26(id, params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) { + _newBatchSetScore = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26(id, params) { + return _regeneratorRuntime().wrap(function _callee26$(_context26) { while (1) switch (_context26.prev = _context26.next) { case 0: - return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/examination_banks/".concat(id, "/batch_set_score.json"), { + return _context26.abrupt("return", Fetch("/api/examination_banks/".concat(id, "/batch_set_score.json"), { method: 'post', body: params })); @@ -70709,7 +70712,7 @@ __webpack_require__.d(__webpack_exports__, { ;// CONCATENATED MODULE: ./src/utils/env/dev.ts var DEV = { - PROXY_SERVER: 'https://data.educoder.net', + PROXY_SERVER: 'https://test-data.educoder.net', API_SERVER: 'http://localhost:8000', REPORT_SERVER: 'http://192.168.1.57:3001', IMG_SERVER: 'https://new-testali-cdn.educoder.net', @@ -73625,7 +73628,7 @@ var setHeader = function setHeader(newOptions, url) { var _Object$keys, _Object$keys2; var timenow = Date.now(); var body = typeof (newOptions === null || newOptions === void 0 ? void 0 : newOptions.body) === "string" ? JSON.parse(newOptions === null || newOptions === void 0 ? void 0 : newOptions.body) : newOptions === null || newOptions === void 0 ? void 0 : newOptions.body; - var stringToSign = "method=" + newOptions.method + "&" + (!!((_Object$keys = Object.keys((newOptions === null || newOptions === void 0 ? void 0 : newOptions.params) || {})) !== null && _Object$keys !== void 0 && _Object$keys.length) && !!parseParamsStr(newOptions.params, newOptions.method).length ? parseParamsStr(newOptions.params, newOptions.method) + "&" : "") + (!!((_Object$keys2 = Object.keys(body || {})) !== null && _Object$keys2 !== void 0 && _Object$keys2.length) ? parseParamsStr(JSON.parse(newOptions.body), newOptions.method) + "&" : "") + "ak=" + aKey + "&sk=" + sKey + "&time=" + timenow; + var stringToSign = "method=" + newOptions.method + "&" + (newOptions.method === "GET" && !!((_Object$keys = Object.keys((newOptions === null || newOptions === void 0 ? void 0 : newOptions.params) || {})) !== null && _Object$keys !== void 0 && _Object$keys.length) && !!parseParamsStr(newOptions.params, newOptions.method).length ? parseParamsStr(newOptions.params, newOptions.method) + "&" : "") + (!!((_Object$keys2 = Object.keys(body || {})) !== null && _Object$keys2 !== void 0 && _Object$keys2.length) ? parseParamsStr(JSON.parse(newOptions.body), newOptions.method) + "&" : "") + "ak=" + aKey + "&sk=" + sKey + "&time=" + timenow; newOptions.headers["X-EDU-Type"] = "pc"; newOptions.headers["X-EDU-Timestamp"] = timenow; newOptions.headers["X-EDU-Signature"] = md5__WEBPACK_IMPORTED_MODULE_17___default()(stringToSign); @@ -120336,7 +120339,7 @@ function _unsupportedIterableToArray(o, minLen) { /******/ // This function allow to reference async chunks /******/ __webpack_require__.u = function(chunkId) { /******/ // return url for filenames based on template -/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","733":"p__Paperlibrary__EditPaper__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4639":"p__virtualSpaces__Lists__Video__index","4736":"p__User__Detail__Projects__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5348":"p__virtualSpaces__Lists__Video__Upload__index","5572":"p__Paths__HigherVocationalEducation__index","5641":"p__Classrooms__Lists__Exercise__Edit__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","7918":"p__Paperlibrary__Random__ExerciseEdit__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12102":"p__Classrooms__Lists__Board__Edit__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13414":"p__virtualSpaces__Lists__Managements__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22257":"p__Paperlibrary__Random__AddAndEdit__index","22307":"p__Report__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25896":"p__virtualSpaces__Lists__Syllabuses__Detail__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27182":"p__User__ResetPassword__index","27333":"p__User__WechatLogin__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28435":"p__Classrooms__Lists__Attendance__index","28639":"p__Forums__Index__redirect","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29080":"p__virtualSpaces__Lists__Graphs__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34608":"p__virtualSpaces__Index__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35588":"p__virtualSpaces__Lists__Course__index","35729":"p__Help__Index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","43442":"p__Classrooms__Lists__Board__Add__index","43465":"p__virtualSpaces__Lists__Member__index","43862":"p__HttpStatus__403","44216":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44510":"p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index","44565":"p__HttpStatus__500","45096":"p__Shixuns__Detail__AuditSituation__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","48077":"p__Classrooms__Lists__Students__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54472":"p__virtualSpaces__Lists__Notices__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","62300":"p__Api__index","62548":"p__Engineering__Norm__Detail__index","64017":"p__Classrooms__Lists__PlaceholderPage__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65294":"p__User__OtherLogin__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66034":"p__HttpStatus__UserAgents","66531":"p__HttpStatus__404","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","70928":"p__RestFul__Edit__index","71218":"p__virtualSpaces__Lists__Syllabuses__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","81148":"p__Shixuns__Detail__Repository__UploadFile__index","81799":"p__Competitions__Entered__Assembly__TeamDateil","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91487":"p__virtualSpaces__Lists__Shixuns__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92603":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + ".async.js"; +/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4639":"p__virtualSpaces__Lists__Video__index","4736":"p__User__Detail__Projects__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5348":"p__virtualSpaces__Lists__Video__Upload__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","7918":"p__Paperlibrary__Random__ExerciseEdit__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12102":"p__Classrooms__Lists__Board__Edit__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13414":"p__virtualSpaces__Lists__Managements__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22257":"p__Paperlibrary__Random__AddAndEdit__index","22307":"p__Report__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25896":"p__virtualSpaces__Lists__Syllabuses__Detail__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27182":"p__User__ResetPassword__index","27333":"p__User__WechatLogin__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28435":"p__Classrooms__Lists__Attendance__index","28639":"p__Forums__Index__redirect","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29080":"p__virtualSpaces__Lists__Graphs__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34608":"p__virtualSpaces__Index__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35588":"p__virtualSpaces__Lists__Course__index","35729":"p__Help__Index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","43442":"p__Classrooms__Lists__Board__Add__index","43465":"p__virtualSpaces__Lists__Member__index","43862":"p__HttpStatus__403","44216":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44510":"p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index","44565":"p__HttpStatus__500","45096":"p__Shixuns__Detail__AuditSituation__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","48077":"p__Classrooms__Lists__Students__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54472":"p__virtualSpaces__Lists__Notices__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","62300":"p__Api__index","62548":"p__Engineering__Norm__Detail__index","64017":"p__Classrooms__Lists__PlaceholderPage__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65294":"p__User__OtherLogin__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66034":"p__HttpStatus__UserAgents","66531":"p__HttpStatus__404","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","70928":"p__RestFul__Edit__index","71218":"p__virtualSpaces__Lists__Syllabuses__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","81148":"p__Shixuns__Detail__Repository__UploadFile__index","81799":"p__Competitions__Entered__Assembly__TeamDateil","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91487":"p__virtualSpaces__Lists__Shixuns__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92603":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + ".async.js"; /******/ }; /******/ }(); /******/ @@ -120345,7 +120348,7 @@ function _unsupportedIterableToArray(o, minLen) { /******/ // This function allow to reference async chunks /******/ __webpack_require__.miniCssF = function(chunkId) { /******/ // return url for filenames based on template -/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","733":"p__Paperlibrary__EditPaper__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4639":"p__virtualSpaces__Lists__Video__index","4736":"p__User__Detail__Projects__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5348":"p__virtualSpaces__Lists__Video__Upload__index","5572":"p__Paths__HigherVocationalEducation__index","5641":"p__Classrooms__Lists__Exercise__Edit__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","7918":"p__Paperlibrary__Random__ExerciseEdit__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12102":"p__Classrooms__Lists__Board__Edit__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13414":"p__virtualSpaces__Lists__Managements__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22257":"p__Paperlibrary__Random__AddAndEdit__index","22307":"p__Report__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25896":"p__virtualSpaces__Lists__Syllabuses__Detail__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27182":"p__User__ResetPassword__index","27333":"p__User__WechatLogin__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28435":"p__Classrooms__Lists__Attendance__index","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29080":"p__virtualSpaces__Lists__Graphs__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34608":"p__virtualSpaces__Index__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35588":"p__virtualSpaces__Lists__Course__index","35729":"p__Help__Index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","43442":"p__Classrooms__Lists__Board__Add__index","43465":"p__virtualSpaces__Lists__Member__index","44216":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44510":"p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index","45096":"p__Shixuns__Detail__AuditSituation__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","48077":"p__Classrooms__Lists__Students__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54472":"p__virtualSpaces__Lists__Notices__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","62548":"p__Engineering__Norm__Detail__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65294":"p__User__OtherLogin__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66034":"p__HttpStatus__UserAgents","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","71218":"p__virtualSpaces__Lists__Syllabuses__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","81148":"p__Shixuns__Detail__Repository__UploadFile__index","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91487":"p__virtualSpaces__Lists__Shixuns__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92603":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + ".chunk.css"; +/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4639":"p__virtualSpaces__Lists__Video__index","4736":"p__User__Detail__Projects__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5348":"p__virtualSpaces__Lists__Video__Upload__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","7918":"p__Paperlibrary__Random__ExerciseEdit__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12102":"p__Classrooms__Lists__Board__Edit__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13414":"p__virtualSpaces__Lists__Managements__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22257":"p__Paperlibrary__Random__AddAndEdit__index","22307":"p__Report__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25896":"p__virtualSpaces__Lists__Syllabuses__Detail__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27182":"p__User__ResetPassword__index","27333":"p__User__WechatLogin__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28435":"p__Classrooms__Lists__Attendance__index","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29080":"p__virtualSpaces__Lists__Graphs__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34608":"p__virtualSpaces__Index__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35588":"p__virtualSpaces__Lists__Course__index","35729":"p__Help__Index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","43442":"p__Classrooms__Lists__Board__Add__index","43465":"p__virtualSpaces__Lists__Member__index","44216":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44510":"p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index","45096":"p__Shixuns__Detail__AuditSituation__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","48077":"p__Classrooms__Lists__Students__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54472":"p__virtualSpaces__Lists__Notices__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","62548":"p__Engineering__Norm__Detail__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65294":"p__User__OtherLogin__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66034":"p__HttpStatus__UserAgents","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","71218":"p__virtualSpaces__Lists__Syllabuses__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","81148":"p__Shixuns__Detail__Repository__UploadFile__index","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91487":"p__virtualSpaces__Lists__Shixuns__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92603":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + ".chunk.css"; /******/ }; /******/ }(); /******/ @@ -120513,7 +120516,7 @@ function _unsupportedIterableToArray(o, minLen) { /******/ }; /******/ /******/ __webpack_require__.f.miniCss = function(chunkId, promises) { -/******/ var cssChunks = {"192":1,"292":1,"310":1,"733":1,"794":1,"1226":1,"1482":1,"1660":1,"1702":1,"2082":1,"2206":1,"2282":1,"2659":1,"2819":1,"3317":1,"3391":1,"3451":1,"3509":1,"3585":1,"3951":1,"4390":1,"4639":1,"4656":1,"4736":1,"4884":1,"4900":1,"4973":1,"5348":1,"5572":1,"5641":1,"6127":1,"6685":1,"6758":1,"6788":1,"7043":1,"7852":1,"7884":1,"7918":1,"8083":1,"8787":1,"8999":1,"10195":1,"10226":1,"10485":1,"10737":1,"10799":1,"10921":1,"11004":1,"11070":1,"11512":1,"11520":1,"11545":1,"11581":1,"12102":1,"12412":1,"12476":1,"12865":1,"12884":1,"13006":1,"13355":1,"13414":1,"13581":1,"14058":1,"14074":1,"14105":1,"14514":1,"14599":1,"14610":1,"14628":1,"14662":1,"14889":1,"15148":1,"15319":1,"15402":1,"15428":1,"16328":1,"16729":1,"16758":1,"16845":1,"17379":1,"17527":1,"17622":1,"17806":1,"18241":1,"18302":1,"18307":1,"19215":1,"19360":1,"19715":1,"19891":1,"20026":1,"20576":1,"20680":1,"20700":1,"20959":1,"21265":1,"21423":1,"21578":1,"21939":1,"22254":1,"22257":1,"22307":1,"22562":1,"22707":1,"22842":1,"23332":1,"23805":1,"24504":1,"24972":1,"25470":1,"25705":1,"25896":1,"25972":1,"26366":1,"26685":1,"26741":1,"26883":1,"27078":1,"27084":1,"27182":1,"27333":1,"27395":1,"27703":1,"28072":1,"28435":1,"28723":1,"28782":1,"28982":1,"29080":1,"29647":1,"29730":1,"30067":1,"30264":1,"30342":1,"31006":1,"31211":1,"31427":1,"31674":1,"31962":1,"32030":1,"33356":1,"33747":1,"33784":1,"34093":1,"34601":1,"34608":1,"34741":1,"34800":1,"34994":1,"35238":1,"35588":1,"35631":1,"35729":1,"36040":1,"36270":1,"36433":1,"36483":1,"36579":1,"36784":1,"37062":1,"37099":1,"38447":1,"38634":1,"39332":1,"39391":1,"39404":1,"39695":1,"40018":1,"40559":1,"41048":1,"41657":1,"41717":1,"41953":1,"42240":1,"42241":1,"42977":1,"43442":1,"43465":1,"43778":1,"43915":1,"44216":1,"44259":1,"44449":1,"44510":1,"45096":1,"45359":1,"45650":1,"45775":1,"45818":1,"45825":1,"45992":1,"46059":1,"46796":1,"46963":1,"47824":1,"48077":1,"48431":1,"48689":1,"48896":1,"49205":1,"49366":1,"49666":1,"49716":1,"49890":1,"49960":1,"50869":1,"51276":1,"51370":1,"51582":1,"51855":1,"52338":1,"52404":1,"52424":1,"52806":1,"52829":1,"52875":1,"53247":1,"53440":1,"53910":1,"54056":1,"54164":1,"54285":1,"54472":1,"54572":1,"54770":1,"54836":1,"54862":1,"55573":1,"56277":1,"56379":1,"57045":1,"57549":1,"57614":1,"59133":1,"59289":1,"59649":1,"59788":1,"60479":1,"60533":1,"60547":1,"60578":1,"61043":1,"61713":1,"61727":1,"62548":1,"62654":1,"63543":1,"64144":1,"64217":1,"64496":1,"64520":1,"64547":1,"65111":1,"65148":1,"65191":1,"65294":1,"65491":1,"65549":1,"65816":1,"66034":1,"66583":1,"66651":1,"67242":1,"67570":1,"67878":1,"68014":1,"68665":1,"68827":1,"68882":1,"68922":1,"69269":1,"69922":1,"69944":1,"71218":1,"71450":1,"71783":1,"72230":1,"72465":1,"72529":1,"72570":1,"72693":1,"73183":1,"73220":1,"74264":1,"74795":1,"75043":1,"75151":1,"75357":1,"75800":1,"76904":1,"77460":1,"77857":1,"78085":1,"79489":1,"79590":1,"79921":1,"80508":1,"80670":1,"81148":1,"82339":1,"82425":1,"83141":1,"83212":1,"83935":1,"84169":1,"84546":1,"85048":1,"85111":1,"85297":1,"85343":1,"85888":1,"85891":1,"86052":1,"86452":1,"86541":1,"86634":1,"86820":1,"86913":1,"87058":1,"87260":1,"87922":1,"88517":1,"88551":1,"88866":1,"89076":1,"89540":1,"89677":1,"89785":1,"90109":1,"90265":1,"90337":1,"91045":1,"91470":1,"91487":1,"92045":1,"92501":1,"92603":1,"92823":1,"92983":1,"93260":1,"93282":1,"93291":1,"93496":1,"93665":1,"93668":1,"94078":1,"94220":1,"94498":1,"94662":1,"94715":1,"94849":1,"95125":1,"95176":1,"95335":1,"95971":1,"96444":1,"96882":1,"97008":1,"97046":1,"97278":1,"98007":1,"98062":1,"98398":1,"98688":1,"98885":1,"99674":1}; +/******/ var cssChunks = {"192":1,"292":1,"310":1,"794":1,"1226":1,"1482":1,"1660":1,"1702":1,"2082":1,"2206":1,"2282":1,"2659":1,"2819":1,"3317":1,"3391":1,"3451":1,"3509":1,"3585":1,"3951":1,"4390":1,"4639":1,"4656":1,"4736":1,"4884":1,"4900":1,"4973":1,"5348":1,"5572":1,"6127":1,"6685":1,"6758":1,"6788":1,"7043":1,"7852":1,"7884":1,"7918":1,"8083":1,"8787":1,"8999":1,"10195":1,"10226":1,"10485":1,"10737":1,"10799":1,"10921":1,"11004":1,"11070":1,"11512":1,"11520":1,"11545":1,"11581":1,"12102":1,"12412":1,"12476":1,"12865":1,"12884":1,"13006":1,"13355":1,"13414":1,"13581":1,"14058":1,"14074":1,"14105":1,"14514":1,"14599":1,"14610":1,"14628":1,"14662":1,"14889":1,"15148":1,"15319":1,"15402":1,"15428":1,"16328":1,"16729":1,"16758":1,"16845":1,"17379":1,"17527":1,"17622":1,"17806":1,"18241":1,"18302":1,"18307":1,"19215":1,"19360":1,"19715":1,"19891":1,"20026":1,"20576":1,"20680":1,"20700":1,"20959":1,"21265":1,"21423":1,"21578":1,"21939":1,"22254":1,"22257":1,"22307":1,"22562":1,"22707":1,"22842":1,"23332":1,"23805":1,"24504":1,"24972":1,"25470":1,"25705":1,"25896":1,"25972":1,"26366":1,"26685":1,"26741":1,"26883":1,"27078":1,"27084":1,"27182":1,"27333":1,"27395":1,"27703":1,"28072":1,"28435":1,"28723":1,"28782":1,"28982":1,"29080":1,"29647":1,"29730":1,"30067":1,"30264":1,"30342":1,"31006":1,"31211":1,"31427":1,"31674":1,"31962":1,"33356":1,"33747":1,"33784":1,"34093":1,"34601":1,"34608":1,"34741":1,"34800":1,"34994":1,"35238":1,"35588":1,"35631":1,"35729":1,"36040":1,"36270":1,"36433":1,"36483":1,"36579":1,"36784":1,"37062":1,"37099":1,"38447":1,"38634":1,"39332":1,"39391":1,"39404":1,"39695":1,"40018":1,"40559":1,"41048":1,"41657":1,"41717":1,"41953":1,"42240":1,"42241":1,"42977":1,"43442":1,"43465":1,"43778":1,"43915":1,"44216":1,"44259":1,"44449":1,"44510":1,"45096":1,"45359":1,"45650":1,"45775":1,"45818":1,"45825":1,"45992":1,"46059":1,"46796":1,"46963":1,"47824":1,"48077":1,"48431":1,"48689":1,"48896":1,"49205":1,"49366":1,"49666":1,"49716":1,"49890":1,"49960":1,"50869":1,"51276":1,"51370":1,"51582":1,"51855":1,"52338":1,"52404":1,"52424":1,"52806":1,"52829":1,"52875":1,"53247":1,"53440":1,"53910":1,"54056":1,"54164":1,"54285":1,"54472":1,"54572":1,"54770":1,"54836":1,"54862":1,"55573":1,"56277":1,"56379":1,"57045":1,"57614":1,"59133":1,"59289":1,"59649":1,"59788":1,"60479":1,"60533":1,"60547":1,"60578":1,"61043":1,"61713":1,"61727":1,"62548":1,"62654":1,"63543":1,"64144":1,"64217":1,"64496":1,"64520":1,"64547":1,"65111":1,"65148":1,"65191":1,"65294":1,"65491":1,"65549":1,"65816":1,"66034":1,"66583":1,"66651":1,"67242":1,"67570":1,"67878":1,"68014":1,"68665":1,"68827":1,"68882":1,"68922":1,"69922":1,"69944":1,"71218":1,"71450":1,"71783":1,"72230":1,"72465":1,"72529":1,"72570":1,"72693":1,"73183":1,"73220":1,"74264":1,"74795":1,"75043":1,"75151":1,"75357":1,"75800":1,"76904":1,"77460":1,"77857":1,"78085":1,"79489":1,"79590":1,"79921":1,"80508":1,"80670":1,"81148":1,"82339":1,"82425":1,"83141":1,"83212":1,"83935":1,"84169":1,"84546":1,"85048":1,"85111":1,"85297":1,"85343":1,"85888":1,"85891":1,"86052":1,"86452":1,"86541":1,"86634":1,"86820":1,"86913":1,"87058":1,"87260":1,"87922":1,"88517":1,"88551":1,"88866":1,"89076":1,"89540":1,"89677":1,"89785":1,"90109":1,"90265":1,"90337":1,"91045":1,"91470":1,"91487":1,"92045":1,"92501":1,"92603":1,"92823":1,"92983":1,"93260":1,"93282":1,"93291":1,"93496":1,"93665":1,"93668":1,"94078":1,"94220":1,"94498":1,"94662":1,"94715":1,"94849":1,"95125":1,"95176":1,"95335":1,"95971":1,"96444":1,"96882":1,"97008":1,"97046":1,"97278":1,"98007":1,"98062":1,"98398":1,"98688":1,"98885":1,"99674":1}; /******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]); /******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) { /******/ promises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() { @@ -120548,7 +120551,7 @@ function _unsupportedIterableToArray(o, minLen) { /******/ if(installedChunkData) { /******/ promises.push(installedChunkData[2]); /******/ } else { -/******/ if(!/^(2(0576|2562|2842|3805|8723)|36(433|483|579)|(439|8067|9326|9422)0|192|42977|62654|69269)$/.test(chunkId)) { +/******/ if(!/^(2(0576|2562|2842|3805|8723)|36(433|483|579)|(439|8067|9422)0|192|42977|62654)$/.test(chunkId)) { /******/ // setup Promise in chunk cache /******/ var promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; }); /******/ promises.push(installedChunkData[2] = promise); @@ -122245,2074 +122248,2064 @@ function _getRoutes() { "id": "5" }, "6": { - "path": "/paperlibrary/edit/:id", + "path": "/paperlibrary/see/:id", "parentId": "2", "id": "6" }, "7": { - "path": "/paperlibrary/see/:id", + "path": "/paperlibrary/edit_select/:id", "parentId": "2", "id": "7" }, "8": { - "path": "/paperlibrary/edit_select/:id", + "path": "/paperlibrary/exchangequestion", "parentId": "2", "id": "8" }, "9": { - "path": "/paperlibrary/exchangequestion", - "parentId": "2", + "path": "/paths", + "parentId": "1", "id": "9" }, "10": { "path": "/paths", - "parentId": "1", + "parentId": "9", "id": "10" }, "11": { - "path": "/paths", - "parentId": "10", + "path": "/paths/higherVocationalEducation", + "parentId": "9", "id": "11" }, "12": { - "path": "/paths/higherVocationalEducation", - "parentId": "10", + "path": "/paths/new", + "parentId": "9", "id": "12" }, "13": { - "path": "/paths/new", - "parentId": "10", + "path": "/paths/guidance", + "exact": true, + "parentId": "9", "id": "13" }, "14": { - "path": "/paths/guidance", - "exact": true, - "parentId": "10", + "path": "/paths/:pathId", + "parentId": "9", "id": "14" }, "15": { - "path": "/paths/:pathId", - "parentId": "10", + "path": "/paths/:pathId/statistics", + "parentId": "9", "id": "15" }, "16": { - "path": "/paths/:pathId/statistics", - "parentId": "10", + "path": "/paths/:pathId/edit", + "parentId": "9", "id": "16" }, "17": { - "path": "/paths/:pathId/edit", - "parentId": "10", + "path": "/classrooms", + "parentId": "1", "id": "17" }, "18": { "path": "/classrooms", - "parentId": "1", + "parentId": "17", "id": "18" }, "19": { - "path": "/classrooms", - "parentId": "18", + "path": "/classrooms/examList", + "parentId": "17", "id": "19" }, "20": { - "path": "/classrooms/examList", - "parentId": "18", + "path": "/classrooms/classicCases", + "parentId": "17", "id": "20" }, "21": { - "path": "/classrooms/classicCases", - "parentId": "18", + "path": "/classrooms/index", + "parentId": "17", "id": "21" }, "22": { - "path": "/classrooms/index", - "parentId": "18", + "path": "/classrooms/new", + "parentId": "17", "id": "22" }, "23": { - "path": "/classrooms/new", - "parentId": "18", + "path": "/classrooms/:coursesId/edit", + "parentId": "17", "id": "23" }, "24": { - "path": "/classrooms/:coursesId/edit", - "parentId": "18", + "path": "/classrooms/news/:subjectid/newgold/:id", + "parentId": "17", "id": "24" }, "25": { - "path": "/classrooms/news/:subjectid/newgold/:id", - "parentId": "18", + "path": "/classrooms/:coursesId/newgolds/settings", + "parentId": "17", "id": "25" }, "26": { - "path": "/classrooms/:coursesId/newgolds/settings", - "parentId": "18", + "path": "/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId", + "parentId": "17", "id": "26" }, "27": { - "path": "/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId", - "parentId": "18", + "path": "/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId", + "parentId": "17", "id": "27" }, "28": { - "path": "/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId", - "parentId": "18", + "path": "/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId", + "parentId": "17", "id": "28" }, "29": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId", - "parentId": "18", + "path": "/classrooms/:coursesId/shixun_homework/:categoryId/detail", + "parentId": "17", "id": "29" }, "30": { - "path": "/classrooms/:coursesId/shixun_homework/:categoryId/detail", - "parentId": "18", + "path": "/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment", + "parentId": "17", "id": "30" }, "31": { - "path": "/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment", - "parentId": "18", + "path": "/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary", + "parentId": "17", "id": "31" }, "32": { - "path": "/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary", - "parentId": "18", + "path": "/classrooms/:coursesId/group_homework/:categoryId/detail", + "parentId": "17", "id": "32" }, "33": { - "path": "/classrooms/:coursesId/group_homework/:categoryId/detail", - "parentId": "18", + "path": "/classrooms/:coursesId/common_homework/:categoryId/detail", + "parentId": "17", "id": "33" }, "34": { - "path": "/classrooms/:coursesId/common_homework/:categoryId/detail", - "parentId": "18", + "path": "/classrooms/:coursesId/common_homework/:categoryId/review/:userId", + "parentId": "17", "id": "34" }, "35": { - "path": "/classrooms/:coursesId/common_homework/:categoryId/review/:userId", - "parentId": "18", + "path": "/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId", + "parentId": "17", "id": "35" }, "36": { - "path": "/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId", - "parentId": "18", + "path": "/classrooms/:coursesId/group_homework/:commonHomeworkId/post", + "parentId": "17", "id": "36" }, "37": { - "path": "/classrooms/:coursesId/group_homework/:commonHomeworkId/post", - "parentId": "18", + "path": "/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit", + "parentId": "17", "id": "37" }, "38": { - "path": "/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail", + "parentId": "17", "id": "38" }, "39": { - "path": "/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:categoryId/detail", + "parentId": "17", "id": "39" }, "40": { - "path": "/classrooms/:coursesId/exercise/:categoryId/detail", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:categoryId/preview_select", + "parentId": "17", "id": "40" }, "41": { - "path": "/classrooms/:coursesId/exercise/:categoryId/preview_select", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:categoryId/users/:login", + "parentId": "17", "id": "41" }, "42": { - "path": "/classrooms/:coursesId/exercise/:categoryId/users/:login", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer", + "parentId": "17", "id": "42" }, "43": { - "path": "/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:categoryId/random/edit", + "parentId": "17", "id": "43" }, "44": { - "path": "/classrooms/:coursesId/exercise/:categoryId/edit", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:categoryId/random/preview", + "parentId": "17", "id": "44" }, "45": { - "path": "/classrooms/:coursesId/exercise/:categoryId/random/edit", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/add", + "parentId": "17", "id": "45" }, "46": { - "path": "/classrooms/:coursesId/exercise/:categoryId/random/preview", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/add/:exerciseId", + "parentId": "17", "id": "46" }, "47": { - "path": "/classrooms/:coursesId/exercise/add", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:exerciseId/reviews/group", + "parentId": "17", "id": "47" }, "48": { - "path": "/classrooms/:coursesId/exercise/add/:exerciseId", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:exerciseId/review/:userId", + "parentId": "17", "id": "48" }, "49": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/reviews/group", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId", + "parentId": "17", "id": "49" }, "50": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/review/:userId", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:exerciseId/export/:userId", + "parentId": "17", "id": "50" }, "51": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:exerciseId/export_blank", + "parentId": "17", "id": "51" }, "52": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/export/:userId", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId", + "parentId": "17", "id": "52" }, "53": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/export_blank", - "parentId": "18", + "path": "/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId", + "parentId": "17", "id": "53" }, "54": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code", + "parentId": "17", "id": "54" }, "55": { - "path": "/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId", - "parentId": "18", + "path": "/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code", + "parentId": "17", "id": "55" }, "56": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code", - "parentId": "18", + "path": "/classrooms/:coursesId/graduation_topics/:categoryId/detail", + "parentId": "17", "id": "56" }, "57": { - "path": "/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code", - "parentId": "18", + "path": "/classrooms/:coursesId/graduation_topics/:categoryId/add", + "parentId": "17", "id": "57" }, "58": { - "path": "/classrooms/:coursesId/graduation_topics/:categoryId/detail", - "parentId": "18", + "path": "/classrooms/:coursesId/graduation_topics/:categoryId/edit", + "parentId": "17", "id": "58" }, "59": { - "path": "/classrooms/:coursesId/graduation_topics/:categoryId/add", - "parentId": "18", + "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/add", + "parentId": "17", "id": "59" }, "60": { - "path": "/classrooms/:coursesId/graduation_topics/:categoryId/edit", - "parentId": "18", + "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/edit", + "parentId": "17", "id": "60" }, "61": { - "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/add", - "parentId": "18", + "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/detail", + "parentId": "17", "id": "61" }, "62": { - "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/edit", - "parentId": "18", + "path": "/classrooms/:coursesId/common_homework/:categoryId/add", + "parentId": "17", "id": "62" }, "63": { - "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/detail", - "parentId": "18", + "path": "/classrooms/:coursesId/common_homework/:categoryId/edit", + "parentId": "17", "id": "63" }, "64": { - "path": "/classrooms/:coursesId/common_homework/:categoryId/add", - "parentId": "18", + "path": "/classrooms/:coursesId/common_homework/:commonHomeworkId/post", + "parentId": "17", "id": "64" }, "65": { - "path": "/classrooms/:coursesId/common_homework/:categoryId/edit", - "parentId": "18", + "path": "/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit", + "parentId": "17", "id": "65" }, "66": { - "path": "/classrooms/:coursesId/common_homework/:commonHomeworkId/post", - "parentId": "18", + "path": "/classrooms/:coursesId/group_homework/:categoryId/add", + "parentId": "17", "id": "66" }, "67": { - "path": "/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit", - "parentId": "18", + "path": "/classrooms/:coursesId/group_homework/:categoryId/edit", + "parentId": "17", "id": "67" }, "68": { - "path": "/classrooms/:coursesId/group_homework/:categoryId/add", - "parentId": "18", + "path": "/classrooms/:coursesId/poll/:categoryId/add", + "parentId": "17", "id": "68" }, "69": { - "path": "/classrooms/:coursesId/group_homework/:categoryId/edit", - "parentId": "18", + "path": "/classrooms/:coursesId/poll/:categoryId/edit", + "parentId": "17", "id": "69" }, "70": { - "path": "/classrooms/:coursesId/poll/:categoryId/add", - "parentId": "18", + "path": "/classrooms/:coursesId/poll/:categoryId/detail", + "parentId": "17", "id": "70" }, "71": { - "path": "/classrooms/:coursesId/poll/:categoryId/edit", - "parentId": "18", + "path": "/classrooms/:coursesId/poll/:categoryId/users/:login", + "parentId": "17", "id": "71" }, "72": { - "path": "/classrooms/:coursesId/poll/:categoryId/detail", - "parentId": "18", + "path": "/classrooms/:coursesId/board/:categoryId/Add", + "parentId": "17", "id": "72" }, "73": { - "path": "/classrooms/:coursesId/poll/:categoryId/users/:login", - "parentId": "18", + "path": "/classrooms/:coursesId/board/:categoryId/Edit/:boardId", + "parentId": "17", "id": "73" }, "74": { - "path": "/classrooms/:coursesId/board/:categoryId/Add", - "parentId": "18", + "path": "/classrooms/:coursesId/board/:categoryId/Detail/:boardId", + "parentId": "17", "id": "74" }, "75": { - "path": "/classrooms/:coursesId/board/:categoryId/Edit/:boardId", - "parentId": "18", + "path": "/classrooms/:courseId/template/:templateId", + "parentId": "17", "id": "75" }, "76": { - "path": "/classrooms/:coursesId/board/:categoryId/Detail/:boardId", - "parentId": "18", + "path": "/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId", + "parentId": "17", "id": "76" }, "77": { - "path": "/classrooms/:courseId/template/:templateId", - "parentId": "18", + "path": "/classrooms/guidance", + "parentId": "17", "id": "77" }, "78": { - "path": "/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId", - "parentId": "18", + "path": "/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId", + "parentId": "17", "id": "78" }, "79": { - "path": "/classrooms/guidance", - "parentId": "18", + "path": "/classrooms/:coursesId/exercise/:categoryId/users/:login/check", + "parentId": "17", "id": "79" }, "80": { - "path": "/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId", - "parentId": "18", + "path": "/classrooms/:coursesId/Studentdetail/:login", + "parentId": "17", "id": "80" }, "81": { - "path": "/classrooms/:coursesId/exercise/:categoryId/users/:login/check", - "parentId": "18", + "path": "/classrooms/:coursesId/StudentSituation/:categoryId/:login", + "parentId": "17", "id": "81" }, "82": { - "path": "/classrooms/:coursesId/Studentdetail/:login", - "parentId": "18", + "path": "/classrooms/:coursesId/engineering/datail", + "parentId": "17", "id": "82" }, "83": { - "path": "/classrooms/:coursesId/StudentSituation/:categoryId/:login", - "parentId": "18", + "path": "/classrooms/:coursesId/program_homework/:categoryId/add", + "parentId": "17", "id": "83" }, "84": { - "path": "/classrooms/:coursesId/engineering/datail", - "parentId": "18", + "path": "/classrooms/:coursesId/program_homework/:categoryId/edit", + "parentId": "17", "id": "84" }, "85": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/add", - "parentId": "18", + "path": "/classrooms/:coursesId/program_homework/ranking", + "parentId": "17", "id": "85" }, "86": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/edit", - "parentId": "18", + "path": "/classrooms/:coursesId/program_homework/:categoryId/detail", + "parentId": "17", "id": "86" }, "87": { - "path": "/classrooms/:coursesId/program_homework/ranking", - "parentId": "18", + "path": "/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking", + "parentId": "17", "id": "87" }, "88": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/detail", - "parentId": "18", + "path": "/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment", + "parentId": "17", "id": "88" }, "89": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking", - "parentId": "18", + "path": "/classrooms/:coursesId/program_homework/:categoryId/answer", + "parentId": "17", "id": "89" }, "90": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment", - "parentId": "18", + "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/add", + "parentId": "17", "id": "90" }, "91": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/answer", - "parentId": "18", + "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit", + "parentId": "17", "id": "91" }, "92": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/add", - "parentId": "18", + "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail", + "parentId": "17", "id": "92" }, "93": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit", - "parentId": "18", + "path": "/classrooms/", + "parentId": "17", "id": "93" }, "94": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail", - "parentId": "18", + "path": "/classrooms/:coursesId/shixun_homework/:categoryId", + "parentId": "93", "id": "94" }, "95": { - "path": "/classrooms/", - "parentId": "18", + "path": "/classrooms/:coursesId/shixun_homework", + "parentId": "93", "id": "95" }, "96": { - "path": "/classrooms/:coursesId/shixun_homework/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/graduation_topics/:categoryId", + "parentId": "93", "id": "96" }, "97": { - "path": "/classrooms/:coursesId/shixun_homework", - "parentId": "95", + "path": "/classrooms/:coursesId/graduation_tasks/:categoryId", + "parentId": "93", "id": "97" }, "98": { - "path": "/classrooms/:coursesId/graduation_topics/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/graduation_tasks/:categoryId", + "parentId": "93", "id": "98" }, "99": { - "path": "/classrooms/:coursesId/graduation_tasks/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/exercise/:categoryId", + "parentId": "93", "id": "99" }, "100": { - "path": "/classrooms/:coursesId/graduation_tasks/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/exercise", + "parentId": "93", "id": "100" }, "101": { - "path": "/classrooms/:coursesId/exercise/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/poll/:categoryId", + "parentId": "93", "id": "101" }, "102": { - "path": "/classrooms/:coursesId/exercise", - "parentId": "95", + "path": "/classrooms/:coursesId/poll", + "parentId": "93", "id": "102" }, "103": { - "path": "/classrooms/:coursesId/poll/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/common_homework/:categoryId", + "parentId": "93", "id": "103" }, "104": { - "path": "/classrooms/:coursesId/poll", - "parentId": "95", + "path": "/classrooms/:coursesId/common_homework", + "parentId": "93", "id": "104" }, "105": { - "path": "/classrooms/:coursesId/common_homework/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/group_homework/:categoryId", + "parentId": "93", "id": "105" }, "106": { - "path": "/classrooms/:coursesId/common_homework", - "parentId": "95", + "path": "/classrooms/:coursesId/group_homework", + "parentId": "93", "id": "106" }, "107": { - "path": "/classrooms/:coursesId/group_homework/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/teachers", + "parentId": "93", "id": "107" }, "108": { - "path": "/classrooms/:coursesId/group_homework", - "parentId": "95", + "path": "/classrooms/:coursesId/students", + "parentId": "93", "id": "108" }, "109": { - "path": "/classrooms/:coursesId/teachers", - "parentId": "95", + "path": "/classrooms/:coursesId/assistant", + "parentId": "93", "id": "109" }, "110": { - "path": "/classrooms/:coursesId/students", - "parentId": "95", + "path": "/classrooms/:coursesId/program_homework", + "parentId": "93", "id": "110" }, "111": { - "path": "/classrooms/:coursesId/assistant", - "parentId": "95", + "path": "/classrooms/:coursesId/program_homework/:categoryId", + "parentId": "93", "id": "111" }, "112": { - "path": "/classrooms/:coursesId/program_homework", - "parentId": "95", + "path": "/classrooms/:coursesId/engineering", + "parentId": "93", "id": "112" }, "113": { - "path": "/classrooms/:coursesId/program_homework/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/attendance", + "parentId": "93", "id": "113" }, "114": { - "path": "/classrooms/:coursesId/engineering", - "parentId": "95", + "path": "/classrooms/:coursesId/attendance/:categoryId", + "parentId": "93", "id": "114" }, "115": { - "path": "/classrooms/:coursesId/attendance", - "parentId": "95", + "path": "/classrooms/:coursesId/attendance/:categoryId/:tabId/detail", + "parentId": "93", "id": "115" }, "116": { - "path": "/classrooms/:coursesId/attendance/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/announcement", + "parentId": "93", "id": "116" }, "117": { - "path": "/classrooms/:coursesId/attendance/:categoryId/:tabId/detail", - "parentId": "95", + "path": "/classrooms/:coursesId/announcement/:categoryId", + "parentId": "93", "id": "117" }, "118": { - "path": "/classrooms/:coursesId/announcement", - "parentId": "95", + "path": "/classrooms/:coursesId/online_learning", + "parentId": "93", "id": "118" }, "119": { - "path": "/classrooms/:coursesId/announcement/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/online_learning/:categoryId", + "parentId": "93", "id": "119" }, "120": { - "path": "/classrooms/:coursesId/online_learning", - "parentId": "95", + "path": "/classrooms/:coursesId/attachment/:categoryId", + "parentId": "93", "id": "120" }, "121": { - "path": "/classrooms/:coursesId/online_learning/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/attachment", + "parentId": "93", "id": "121" }, "122": { - "path": "/classrooms/:coursesId/attachment/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/video", + "parentId": "93", "id": "122" }, "123": { - "path": "/classrooms/:coursesId/attachment", - "parentId": "95", + "path": "/classrooms/:coursesId/video/:categoryId", + "parentId": "93", "id": "123" }, "124": { - "path": "/classrooms/:coursesId/video", - "parentId": "95", + "path": "/classrooms/:coursesId/video/:categoryId/statistics", + "parentId": "93", "id": "124" }, "125": { - "path": "/classrooms/:coursesId/video/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/video/:username/upload", + "parentId": "93", "id": "125" }, "126": { - "path": "/classrooms/:coursesId/video/:categoryId/statistics", - "parentId": "95", + "path": "/classrooms/:coursesId/video/:categoryId/statistics/:videoId", + "parentId": "93", "id": "126" }, "127": { - "path": "/classrooms/:coursesId/video/:username/upload", - "parentId": "95", + "path": "/classrooms/:coursesId/live_video/:categoryId", + "parentId": "93", "id": "127" }, "128": { - "path": "/classrooms/:coursesId/video/:categoryId/statistics/:videoId", - "parentId": "95", + "path": "/classrooms/:coursesId/live_video", + "parentId": "93", "id": "128" }, "129": { - "path": "/classrooms/:coursesId/live_video/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/video/:categoryId/studentstatistics", + "parentId": "93", "id": "129" }, "130": { - "path": "/classrooms/:coursesId/live_video", - "parentId": "95", + "path": "/classrooms/:coursesId/board/:categoryId", + "parentId": "93", "id": "130" }, "131": { - "path": "/classrooms/:coursesId/video/:categoryId/studentstatistics", - "parentId": "95", + "path": "/classrooms/:coursesId/board", + "parentId": "93", "id": "131" }, "132": { - "path": "/classrooms/:coursesId/board/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/course_group", + "parentId": "93", "id": "132" }, "133": { - "path": "/classrooms/:coursesId/board", - "parentId": "95", + "path": "/classrooms/:coursesId/course_group/:categoryId", + "parentId": "93", "id": "133" }, "134": { - "path": "/classrooms/:coursesId/course_group", - "parentId": "95", + "path": "/classrooms/:coursesId/course_group/:categoryId/detail", + "parentId": "93", "id": "134" }, "135": { - "path": "/classrooms/:coursesId/course_group/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/not_course_group/:categoryId", + "parentId": "93", "id": "135" }, "136": { - "path": "/classrooms/:coursesId/course_group/:categoryId/detail", - "parentId": "95", + "path": "/classrooms/:coursesId/not_course_group", + "parentId": "93", "id": "136" }, "137": { - "path": "/classrooms/:coursesId/not_course_group/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/statistics/", + "parentId": "93", "id": "137" }, "138": { - "path": "/classrooms/:coursesId/not_course_group", - "parentId": "95", + "path": "/classrooms/:coursesId/statistics/:categoryId", + "parentId": "93", "id": "138" }, "139": { - "path": "/classrooms/:coursesId/statistics/", - "parentId": "95", + "path": "/classrooms/:coursesId/statistics_video/:categoryId", + "parentId": "93", "id": "139" }, "140": { - "path": "/classrooms/:coursesId/statistics/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/statistics_quality/:categoryId", + "parentId": "93", "id": "140" }, "141": { - "path": "/classrooms/:coursesId/statistics_video/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/student_statistics/:categoryId", + "parentId": "93", "id": "141" }, "142": { - "path": "/classrooms/:coursesId/statistics_quality/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type", + "parentId": "93", "id": "142" }, "143": { - "path": "/classrooms/:coursesId/student_statistics/:categoryId", - "parentId": "95", + "path": "/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid", + "parentId": "93", "id": "143" }, "144": { - "path": "/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type", - "parentId": "95", + "path": "/classrooms/:coursesId/exportlist/:type", + "parentId": "93", "id": "144" }, "145": { - "path": "/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid", - "parentId": "95", + "path": "/classrooms/:coursesId", + "parentId": "93", "id": "145" }, "146": { - "path": "/classrooms/:coursesId/exportlist/:type", - "parentId": "95", + "path": "/classrooms/:coursesId/template", + "parentId": "93", "id": "146" }, "147": { - "path": "/classrooms/:coursesId", - "parentId": "95", + "path": "/competitions", + "parentId": "1", "id": "147" }, "148": { - "path": "/classrooms/:coursesId/template", - "parentId": "95", + "path": "/competitions/index", + "parentId": "147", "id": "148" }, "149": { - "path": "/competitions", - "parentId": "1", + "path": "/competitions/:identifier/list", + "parentId": "147", "id": "149" }, "150": { - "path": "/competitions/index", - "parentId": "149", + "path": "/competitions/exports", + "parentId": "147", "id": "150" }, "151": { - "path": "/competitions/:identifier/list", - "parentId": "149", + "path": "/competitions", + "parentId": "147", "id": "151" }, "152": { - "path": "/competitions/exports", - "parentId": "149", + "path": "/competitions/:identifier", + "parentId": "147", "id": "152" }, "153": { - "path": "/competitions", - "parentId": "149", + "path": "/competitions/index/:identifier", + "parentId": "147", "id": "153" }, "154": { - "path": "/competitions/:identifier", - "parentId": "149", + "path": "/competitions/:identifier/detail/enroll", + "parentId": "147", "id": "154" }, "155": { - "path": "/competitions/index/:identifier", - "parentId": "149", + "path": "/competitions/:identifier/detail/UpdateTeanname/:Teannameid", + "parentId": "147", "id": "155" }, "156": { - "path": "/competitions/:identifier/detail/enroll", - "parentId": "149", + "path": "/competitions/:identifier/detail/teamDetail/:Teamid", + "parentId": "147", "id": "156" }, "157": { - "path": "/competitions/:identifier/detail/UpdateTeanname/:Teannameid", - "parentId": "149", + "path": "/forums", + "parentId": "1", "id": "157" }, "158": { - "path": "/competitions/:identifier/detail/teamDetail/:Teamid", - "parentId": "149", + "path": "/forums", + "parentId": "157", "id": "158" }, "159": { - "path": "/forums", - "parentId": "1", + "path": "/forums/categories/:memoType", + "parentId": "157", "id": "159" }, "160": { - "path": "/forums", - "parentId": "159", + "path": "/forums/new", + "parentId": "157", "id": "160" }, "161": { - "path": "/forums/categories/:memoType", - "parentId": "159", + "path": "/forums/:memoId/edit", + "parentId": "157", "id": "161" }, "162": { - "path": "/forums/new", - "parentId": "159", + "path": "/forums/:memoId", + "parentId": "157", "id": "162" }, "163": { - "path": "/forums/:memoId/edit", - "parentId": "159", + "path": "/problemset", + "parentId": "1", "id": "163" }, "164": { - "path": "/forums/:memoId", - "parentId": "159", + "path": "/problemset", + "parentId": "163", "id": "164" }, "165": { - "path": "/problemset", - "parentId": "1", + "path": "/problemset/newitem", + "parentId": "163", "id": "165" }, "166": { - "path": "/problemset", - "parentId": "165", + "path": "/problemset/:type/:id", + "parentId": "163", "id": "166" }, "167": { - "path": "/problemset/newitem", - "parentId": "165", + "path": "/problemset/preview", + "parentId": "163", "id": "167" }, "168": { - "path": "/problemset/:type/:id", - "parentId": "165", + "path": "/problemset/preview_new", + "parentId": "163", "id": "168" }, "169": { - "path": "/problemset/preview", - "parentId": "165", + "path": "/problemset/preview_select", + "parentId": "163", "id": "169" }, "170": { - "path": "/problemset/preview_new", - "parentId": "165", + "path": "/shixuns", + "parentId": "1", "id": "170" }, "171": { - "path": "/problemset/preview_select", - "parentId": "165", + "path": "/shixuns", + "parentId": "170", "id": "171" }, "172": { - "path": "/shixuns", - "parentId": "1", + "path": "/shixuns/exports", + "parentId": "170", "id": "172" }, "173": { - "path": "/shixuns", - "parentId": "172", + "path": "/shixuns/new", + "parentId": "170", "id": "173" }, "174": { - "path": "/shixuns/exports", - "parentId": "172", + "path": "/shixuns/new/CreateImg", + "parentId": "170", "id": "174" }, "175": { - "path": "/shixuns/new", - "parentId": "172", + "path": "/shixuns/new/:id/imagepreview", + "parentId": "170", "id": "175" }, "176": { - "path": "/shixuns/new/CreateImg", - "parentId": "172", + "path": "/shixuns/:id/Merge", + "parentId": "170", "id": "176" }, "177": { - "path": "/shixuns/new/:id/imagepreview", - "parentId": "172", + "path": "/shixuns/:id/edit", + "parentId": "170", "id": "177" }, "178": { - "path": "/shixuns/:id/Merge", - "parentId": "172", + "path": "shixuns/:id/edit/warehouse", + "parentId": "177", "id": "178" }, "179": { - "path": "/shixuns/:id/edit", - "parentId": "172", + "path": "/shixuns/:id/edit/newquestion", + "parentId": "177", "id": "179" }, "180": { - "path": "shixuns/:id/edit/warehouse", - "parentId": "179", + "path": "/shixuns/:id/edit/:challengesId/editquestion", + "parentId": "177", "id": "180" }, "181": { - "path": "/shixuns/:id/edit/newquestion", - "parentId": "179", + "path": "/shixuns/:id/edit/:challengesId/editquestion/:questionId", + "parentId": "177", "id": "181" }, "182": { - "path": "/shixuns/:id/edit/:challengesId/editquestion", - "parentId": "179", + "path": "/shixuns/:id/edit/new", + "parentId": "177", "id": "182" }, "183": { - "path": "/shixuns/:id/edit/:challengesId/editquestion/:questionId", - "parentId": "179", + "path": "/shixuns/:id/edit/:challengesId/editcheckpoint", + "parentId": "177", "id": "183" }, "184": { - "path": "/shixuns/:id/edit/new", - "parentId": "179", + "path": "/shixuns/:id/edit/:challengesId/tab=2", + "parentId": "177", "id": "184" }, "185": { - "path": "/shixuns/:id/edit/:challengesId/editcheckpoint", - "parentId": "179", + "path": "/shixuns/:id/edit/:challengesId/tab=3", + "parentId": "177", "id": "185" }, "186": { - "path": "/shixuns/:id/edit/:challengesId/tab=2", - "parentId": "179", + "path": "/shixuns/:id/edit/:challengesId/tab=4", + "parentId": "177", "id": "186" }, "187": { - "path": "/shixuns/:id/edit/:challengesId/tab=3", - "parentId": "179", + "path": "/shixuns/:id", + "parentId": "170", "id": "187" }, "188": { - "path": "/shixuns/:id/edit/:challengesId/tab=4", - "parentId": "179", + "path": "/shixuns/:id/challenges", + "parentId": "187", "id": "188" }, "189": { - "path": "/shixuns/:id", - "parentId": "172", + "path": "/shixuns/:id/repository", + "parentId": "187", "id": "189" }, "190": { - "path": "/shixuns/:id/challenges", - "parentId": "189", + "path": "/shixuns/:id/secret_repository", + "parentId": "187", "id": "190" }, "191": { - "path": "/shixuns/:id/repository", - "parentId": "189", + "path": "/shixuns/:id/collaborators", + "parentId": "187", "id": "191" }, "192": { - "path": "/shixuns/:id/secret_repository", - "parentId": "189", + "path": "/shixuns/:id/dataset", + "parentId": "187", "id": "192" }, "193": { - "path": "/shixuns/:id/collaborators", - "parentId": "189", + "path": "/shixuns/:id/shixun_discuss", + "parentId": "187", "id": "193" }, "194": { - "path": "/shixuns/:id/dataset", - "parentId": "189", + "path": "/shixuns/:id/ranking_list", + "parentId": "187", "id": "194" }, "195": { - "path": "/shixuns/:id/shixun_discuss", - "parentId": "189", + "path": "/shixuns/:id/settings", + "parentId": "187", "id": "195" }, "196": { - "path": "/shixuns/:id/ranking_list", - "parentId": "189", + "path": "/shixuns/:id/repository/:repoId/commits", + "parentId": "187", "id": "196" }, "197": { - "path": "/shixuns/:id/settings", - "parentId": "189", + "path": "/shixuns/:id/secret_repository/:repoId/commits", + "parentId": "187", "id": "197" }, "198": { - "path": "/shixuns/:id/repository/:repoId/commits", - "parentId": "189", + "path": "/shixuns/:id/repository/upload_file", + "parentId": "187", "id": "198" }, "199": { - "path": "/shixuns/:id/secret_repository/:repoId/commits", - "parentId": "189", + "path": "/shixuns/:id/secret_repository/upload_file", + "parentId": "187", "id": "199" }, "200": { - "path": "/shixuns/:id/repository/upload_file", - "parentId": "189", + "path": "/shixuns/:id/repository/add_file", + "parentId": "187", "id": "200" }, "201": { - "path": "/shixuns/:id/secret_repository/upload_file", - "parentId": "189", + "path": "/shixuns/:id/secret_repository/add_file", + "parentId": "187", "id": "201" }, "202": { - "path": "/shixuns/:id/repository/add_file", - "parentId": "189", + "path": "/shixuns/:id/repository/master/shixun_show/:fileId", + "exact": false, + "parentId": "187", "id": "202" }, "203": { - "path": "/shixuns/:id/secret_repository/add_file", - "parentId": "189", + "path": "/shixuns/:id/secret_repository/master/shixun_show/:fileId", + "exact": false, + "parentId": "187", "id": "203" }, "204": { - "path": "/shixuns/:id/repository/master/shixun_show/:fileId", - "exact": false, - "parentId": "189", + "path": "/shixuns/:id/audit_situation", + "parentId": "187", "id": "204" }, "205": { - "path": "/shixuns/:id/secret_repository/master/shixun_show/:fileId", - "exact": false, - "parentId": "189", + "path": "/shixuns/:id/fork_list", + "parentId": "187", "id": "205" }, "206": { - "path": "/shixuns/:id/audit_situation", - "parentId": "189", + "path": "/users", + "parentId": "1", "id": "206" }, "207": { - "path": "/shixuns/:id/fork_list", - "parentId": "189", + "path": "/users/:username/videos/protocol", + "parentId": "206", "id": "207" }, "208": { - "path": "/users", - "parentId": "1", + "path": "/users/:username/videos/success", + "parentId": "206", "id": "208" }, "209": { - "path": "/users/:username/videos/protocol", - "parentId": "208", + "path": "/users/:username/topicbank/:topicstype", + "parentId": "206", "id": "209" }, "210": { - "path": "/users/:username/videos/success", - "parentId": "208", + "path": "/users/:username/topics/:topicId/:topictype/normal/detail", + "parentId": "206", "id": "210" }, "211": { - "path": "/users/:username/topicbank/:topicstype", - "parentId": "208", + "path": "/users/:username/topics/:topicId/:topictype/group/detail", + "parentId": "206", "id": "211" }, "212": { - "path": "/users/:username/topics/:topicId/:topictype/normal/detail", - "parentId": "208", + "path": "/users/:username/topics/:topicId/:topictype/normal/edit", + "parentId": "206", "id": "212" }, "213": { - "path": "/users/:username/topics/:topicId/:topictype/group/detail", - "parentId": "208", + "path": "/users/:username/topics/:topicId/:topictype/group/edit", + "parentId": "206", "id": "213" }, "214": { - "path": "/users/:username/topics/:topicId/:topictype/normal/edit", - "parentId": "208", + "path": "/users/:username/topics/:topicId/:topictype/exercise/edit", + "parentId": "206", "id": "214" }, "215": { - "path": "/users/:username/topics/:topicId/:topictype/group/edit", - "parentId": "208", + "path": "/users/:username/topics/:topicId/:topictype/exercise/detail", + "parentId": "206", "id": "215" }, "216": { - "path": "/users/:username/topics/:topicId/:topictype/exercise/edit", - "parentId": "208", + "path": "/users/:username/topics/:topicId/:topictype/poll/edit", + "parentId": "206", "id": "216" }, "217": { - "path": "/users/:username/topics/:topicId/:topictype/exercise/detail", - "parentId": "208", + "path": "/users/:username/topics/:topicId/:topictype/poll/detail", + "parentId": "206", "id": "217" }, "218": { - "path": "/users/:username/topics/:topicId/:topictype/poll/edit", - "parentId": "208", + "path": "/users/:username", + "parentId": "206", "id": "218" }, "219": { - "path": "/users/:username/topics/:topicId/:topictype/poll/detail", - "parentId": "208", + "path": "/users/:username", + "parentId": "218", "id": "219" }, "220": { - "path": "/users/:username", - "parentId": "208", + "path": "/users/:username/classrooms", + "parentId": "218", "id": "220" }, "221": { - "path": "/users/:username", - "parentId": "220", + "path": "/users/:username/shixuns", + "parentId": "218", "id": "221" }, "222": { - "path": "/users/:username/classrooms", - "parentId": "220", + "path": "/users/:username/userPortrait", + "parentId": "218", "id": "222" }, "223": { - "path": "/users/:username/shixuns", - "parentId": "220", + "path": "/users/:username/learningPath", + "parentId": "218", "id": "223" }, "224": { - "path": "/users/:username/userPortrait", - "parentId": "220", + "path": "/users/:username/teach-group", + "parentId": "218", "id": "224" }, "225": { - "path": "/users/:username/learningPath", - "parentId": "220", + "path": "/users/:username/experiment-img", + "parentId": "218", "id": "225" }, "226": { - "path": "/users/:username/teach-group", - "parentId": "220", + "path": "/users/:username/experiment-img/:experid/detail", + "parentId": "218", "id": "226" }, "227": { - "path": "/users/:username/experiment-img", - "parentId": "220", + "path": "/users/:username/certificate", + "parentId": "218", "id": "227" }, "228": { - "path": "/users/:username/experiment-img/:experid/detail", - "parentId": "220", + "path": "/users/:username/otherResources", + "parentId": "218", "id": "228" }, "229": { - "path": "/users/:username/certificate", - "parentId": "220", + "path": "/users/:username/paths", + "parentId": "218", "id": "229" }, "230": { - "path": "/users/:username/otherResources", - "parentId": "220", + "path": "/users/:username/projects", + "parentId": "218", "id": "230" }, "231": { - "path": "/users/:username/paths", - "parentId": "220", + "path": "/users/:username/videos", + "parentId": "218", "id": "231" }, "232": { - "path": "/users/:username/projects", - "parentId": "220", + "path": "/users/:username/videos/upload", + "parentId": "218", "id": "232" }, "233": { - "path": "/users/:username/videos", - "parentId": "220", + "path": "/users/:username/topics/:topicstype", + "parentId": "218", "id": "233" }, "234": { - "path": "/users/:username/videos/upload", - "parentId": "220", + "path": "/users/:username/vspaces", + "parentId": "218", "id": "234" }, "235": { - "path": "/users/:username/topics/:topicstype", - "parentId": "220", + "parentId": "1", "id": "235" }, "236": { - "path": "/users/:username/vspaces", - "parentId": "220", + "path": "/problems", + "parentId": "235", "id": "236" }, "237": { - "parentId": "1", + "path": "/problems", + "parentId": "236", "id": "237" }, "238": { - "path": "/problems", - "parentId": "237", + "path": "/problems/batchAdd", + "parentId": "236", "id": "238" }, "239": { - "path": "/problems", - "parentId": "238", + "path": "/problems/newcreate", + "parentId": "235", "id": "239" }, "240": { - "path": "/problems/batchAdd", - "parentId": "238", + "path": "/problems/newedit/:id", + "exact": true, + "parentId": "235", "id": "240" }, "241": { - "path": "/problems/newcreate", - "parentId": "237", + "path": "/problems/:id/edit", + "exact": true, + "parentId": "235", "id": "241" }, "242": { - "path": "/problems/newedit/:id", + "path": "/problems/new", "exact": true, - "parentId": "237", + "parentId": "235", "id": "242" }, "243": { - "path": "/problems/:id/edit", - "exact": true, - "parentId": "237", + "path": "/problems/:id/oj/:save_identifier", + "parentId": "235", "id": "243" }, "244": { - "path": "/problems/new", - "exact": true, - "parentId": "237", + "path": "/problems/:id/record-detail/:submitId", + "parentId": "235", "id": "244" }, "245": { - "path": "/problems/:id/oj/:save_identifier", - "parentId": "237", + "path": "/problems/add", + "parentId": "235", "id": "245" }, "246": { - "path": "/problems/:id/record-detail/:submitId", - "parentId": "237", + "path": "/problems/:id/ojedit", + "parentId": "235", "id": "246" }, "247": { - "path": "/problems/add", - "parentId": "237", + "path": "/engineering", + "parentId": "1", "id": "247" }, "248": { - "path": "/problems/:id/ojedit", - "parentId": "237", + "path": "/engineering", + "parentId": "247", "id": "248" }, "249": { - "path": "/engineering", - "parentId": "1", + "path": "/engineering/teacherList", + "parentId": "248", "id": "249" }, "250": { - "path": "/engineering", - "parentId": "249", + "path": "/engineering/studentList", + "parentId": "248", "id": "250" }, "251": { - "path": "/engineering/teacherList", - "parentId": "250", + "path": "/engineering/trainingProgram", + "parentId": "248", "id": "251" }, "252": { - "path": "/engineering/studentList", - "parentId": "250", + "path": "/engineering/trainingProgram/add", + "parentId": "248", "id": "252" }, "253": { - "path": "/engineering/trainingProgram", - "parentId": "250", + "path": "/engineering/trainingProgram/edit", + "parentId": "248", "id": "253" }, "254": { - "path": "/engineering/trainingProgram/add", - "parentId": "250", + "path": "/engineering/trainingObjectives", + "parentId": "248", "id": "254" }, "255": { - "path": "/engineering/trainingProgram/edit", - "parentId": "250", + "path": "/engineering/graduationindex", + "parentId": "248", "id": "255" }, "256": { - "path": "/engineering/trainingObjectives", - "parentId": "250", + "path": "/engineering/graduatedMatrix", + "parentId": "248", "id": "256" }, "257": { - "path": "/engineering/graduationindex", - "parentId": "250", + "path": "/engineering/courseList", + "parentId": "248", "id": "257" }, "258": { - "path": "/engineering/graduatedMatrix", - "parentId": "250", + "path": "/engineering/cursesetting", + "parentId": "248", "id": "258" }, "259": { - "path": "/engineering/courseList", - "parentId": "250", + "path": "/engineering/courseMatrix", + "parentId": "248", "id": "259" }, "260": { - "path": "/engineering/cursesetting", - "parentId": "250", + "path": "/engineering/navigation", + "parentId": "248", "id": "260" }, "261": { - "path": "/engineering/courseMatrix", - "parentId": "250", + "path": "/engineering/evaluate/course", + "parentId": "248", "id": "261" }, "262": { - "path": "/engineering/navigation", - "parentId": "250", + "path": "/engineering/evaluate/course/:ec_year_id/:id", + "parentId": "248", "id": "262" }, "263": { - "path": "/engineering/evaluate/course", - "parentId": "250", + "path": "/engineering/evaluate/norm", + "parentId": "248", "id": "263" }, "264": { - "path": "/engineering/evaluate/course/:ec_year_id/:id", - "parentId": "250", + "path": "/engineering/evaluate/document", + "parentId": "248", "id": "264" }, "265": { - "path": "/engineering/evaluate/norm", - "parentId": "250", + "path": "/engineering/evaluate/norm/:ec_year_id/:id", + "parentId": "248", "id": "265" }, "266": { - "path": "/engineering/evaluate/document", - "parentId": "250", + "path": "/engineering/*", + "redirect": "/404", + "parentId": "248", "id": "266" }, "267": { - "path": "/engineering/evaluate/norm/:ec_year_id/:id", - "parentId": "250", + "path": "/vspaces", + "parentId": "1", "id": "267" }, "268": { - "path": "/engineering/*", - "redirect": "/404", - "parentId": "250", + "path": "/vspaces", + "exact": true, + "parentId": "267", "id": "268" }, "269": { - "path": "/vspaces", - "parentId": "1", + "path": "/vspaces/:virtual_spacesId/syllabuses/add", + "exact": true, + "parentId": "267", "id": "269" }, "270": { - "path": "/vspaces", + "path": "/vspaces/:virtual_spacesId/syllabuses/:id/edit", "exact": true, - "parentId": "269", + "parentId": "267", "id": "270" }, "271": { - "path": "/vspaces/:virtual_spacesId/syllabuses/add", - "exact": true, - "parentId": "269", + "path": "/vspaces/:virtual_spacesId/", + "parentId": "267", "id": "271" }, "272": { - "path": "/vspaces/:virtual_spacesId/syllabuses/:id/edit", - "exact": true, - "parentId": "269", + "path": "/vspaces/:virtual_spacesId/syllabuses", + "parentId": "271", "id": "272" }, "273": { - "path": "/vspaces/:virtual_spacesId/", - "parentId": "269", + "path": "/vspaces/:virtual_spacesId/syllabuses/:id/detail", + "parentId": "271", "id": "273" }, "274": { - "path": "/vspaces/:virtual_spacesId/syllabuses", - "parentId": "273", + "path": "/vspaces/:virtual_spacesId/courses", + "parentId": "271", "id": "274" }, "275": { - "path": "/vspaces/:virtual_spacesId/syllabuses/:id/detail", - "parentId": "273", + "path": "/vspaces/:virtual_spacesId/shixuns", + "parentId": "271", "id": "275" }, "276": { - "path": "/vspaces/:virtual_spacesId/courses", - "parentId": "273", + "path": "/vspaces/:virtual_spacesId/videos", + "parentId": "271", "id": "276" }, "277": { - "path": "/vspaces/:virtual_spacesId/shixuns", - "parentId": "273", + "path": "/vspaces/:virtual_spacesId/videos/:username/upload", + "parentId": "271", "id": "277" }, "278": { - "path": "/vspaces/:virtual_spacesId/videos", - "parentId": "273", + "path": "/vspaces/:virtual_spacesId/members", + "parentId": "271", "id": "278" }, "279": { - "path": "/vspaces/:virtual_spacesId/videos/:username/upload", - "parentId": "273", + "path": "/vspaces/:virtual_spacesId/notices", + "parentId": "271", "id": "279" }, "280": { - "path": "/vspaces/:virtual_spacesId/members", - "parentId": "273", + "path": "/vspaces/:virtual_spacesId/managements", + "parentId": "271", "id": "280" }, "281": { - "path": "/vspaces/:virtual_spacesId/notices", - "parentId": "273", + "path": "/vspaces/:virtual_spacesId/graphs", + "parentId": "271", "id": "281" }, "282": { - "path": "/vspaces/:virtual_spacesId/managements", - "parentId": "273", + "path": "/vspaces/:virtual_spacesId/*", + "parentId": "271", "id": "282" }, "283": { - "path": "/vspaces/:virtual_spacesId/graphs", - "parentId": "273", + "path": "/innovation", + "parentId": "1", "id": "283" }, "284": { - "path": "/vspaces/:virtual_spacesId/*", - "parentId": "273", + "path": "/innovation/tasks/:taskId", + "parentId": "283", "id": "284" }, "285": { "path": "/innovation", - "parentId": "1", + "parentId": "283", "id": "285" }, "286": { - "path": "/innovation/tasks/:taskId", + "path": "/innovation/project", "parentId": "285", "id": "286" }, "287": { - "path": "/innovation", + "path": "/innovation/dataset", "parentId": "285", "id": "287" }, "288": { - "path": "/innovation/project", - "parentId": "287", + "path": "/innovation/mirror", + "parentId": "285", "id": "288" }, "289": { - "path": "/innovation/dataset", - "parentId": "287", + "path": "/innovation/my-project", + "parentId": "285", "id": "289" }, "290": { - "path": "/innovation/mirror", - "parentId": "287", + "path": "/innovation/my-dataset", + "parentId": "285", "id": "290" }, "291": { - "path": "/innovation/my-project", - "parentId": "287", + "path": "/innovation/my-mirror", + "parentId": "285", "id": "291" }, "292": { - "path": "/innovation/my-dataset", - "parentId": "287", + "path": "/innovation/project/create", + "parentId": "285", "id": "292" }, "293": { - "path": "/innovation/my-mirror", - "parentId": "287", + "path": "/innovation/project/edit/:id", + "parentId": "285", "id": "293" }, "294": { - "path": "/innovation/project/create", - "parentId": "287", + "path": "/innovation/project/detail/:taskId", + "parentId": "285", "id": "294" }, "295": { - "path": "/innovation/project/edit/:id", - "parentId": "287", + "path": "/tasks", + "parentId": "1", "id": "295" }, "296": { - "path": "/innovation/project/detail/:taskId", - "parentId": "287", + "path": "/tasks/:taskId", + "exact": true, + "parentId": "295", "id": "296" }, "297": { - "path": "/tasks", - "parentId": "1", + "path": "/tasks/:identifier/jupyter/", + "exact": true, + "parentId": "295", "id": "297" }, "298": { - "path": "/tasks/:taskId", + "path": "/tasks/:courseId/:homeworkId/:taskId", "exact": true, - "parentId": "297", + "parentId": "295", "id": "298" }, "299": { - "path": "/tasks/:identifier/jupyter/", + "path": "/tasks/jupyter/:courseId/:homeworkId/:identifier", "exact": true, - "parentId": "297", + "parentId": "295", "id": "299" }, "300": { - "path": "/tasks/:courseId/:homeworkId/:taskId", + "path": "/tasks/:courseId/:exerciseId/:taskId/exercise", "exact": true, - "parentId": "297", + "parentId": "295", "id": "300" }, "301": { - "path": "/tasks/jupyter/:courseId/:homeworkId/:identifier", - "exact": true, - "parentId": "297", + "path": "/myproblems", + "parentId": "1", "id": "301" }, "302": { - "path": "/tasks/:courseId/:exerciseId/:taskId/exercise", + "path": "/myproblems/:id/record-detail/:submitId", "exact": true, - "parentId": "297", + "parentId": "301", "id": "302" }, "303": { - "path": "/myproblems", - "parentId": "1", + "path": "/myproblems/:id", + "exact": true, + "parentId": "301", "id": "303" }, "304": { - "path": "/myproblems/:id/record-detail/:submitId", - "exact": true, - "parentId": "303", + "path": "/account", + "parentId": "1", "id": "304" }, "305": { - "path": "/myproblems/:id", - "exact": true, - "parentId": "303", + "path": "/account", + "parentId": "304", "id": "305" }, "306": { - "path": "/account", - "parentId": "1", + "path": "/account/profile", + "parentId": "305", "id": "306" }, "307": { - "path": "/account", - "parentId": "306", + "path": "/account/profile/edit", + "parentId": "305", "id": "307" }, "308": { - "path": "/account/profile", - "parentId": "307", + "path": "/account/certification", + "parentId": "305", "id": "308" }, "309": { - "path": "/account/profile/edit", - "parentId": "307", + "path": "/account/secure", + "parentId": "305", "id": "309" }, "310": { - "path": "/account/certification", - "parentId": "307", + "path": "/account/binding", + "parentId": "305", "id": "310" }, "311": { - "path": "/account/secure", - "parentId": "307", + "path": "/account/Results", + "parentId": "305", "id": "311" }, "312": { - "path": "/account/binding", - "parentId": "307", + "path": "/ch", + "parentId": "1", "id": "312" }, "313": { - "path": "/account/Results", - "parentId": "307", + "path": "/ch/rest/edit/:categoryId/:id", + "exact": true, + "parentId": "312", "id": "313" }, "314": { - "path": "/ch", - "parentId": "1", + "path": "/ch/rest/", + "exact": true, + "parentId": "312", "id": "314" }, "315": { - "path": "/ch/rest/edit/:categoryId/:id", + "path": "/ch/rest/:id", "exact": true, - "parentId": "314", + "parentId": "312", "id": "315" }, "316": { - "path": "/ch/rest/", - "exact": true, - "parentId": "314", + "path": "/order", + "parentId": "1", "id": "316" }, "317": { - "path": "/ch/rest/:id", - "exact": true, - "parentId": "314", + "path": "/order", + "parentId": "316", "id": "317" }, "318": { - "path": "/order", - "parentId": "1", + "path": "/order/:courseId/information", + "parentId": "316", "id": "318" }, "319": { - "path": "/order", - "parentId": "318", + "path": "/order/:courseId/pay", + "parentId": "316", "id": "319" }, "320": { - "path": "/order/:courseId/information", - "parentId": "318", + "path": "/order/:orderNum/result", + "parentId": "316", "id": "320" }, "321": { - "path": "/order/:courseId/pay", - "parentId": "318", + "path": "/messages", + "parentId": "1", "id": "321" }, "322": { - "path": "/order/:orderNum/result", - "parentId": "318", + "path": "/messages/:userId/user_tidings", + "parentId": "321", "id": "322" }, "323": { - "path": "/messages", - "parentId": "1", + "path": "/messages/:userId/private_messages", + "parentId": "321", "id": "323" }, "324": { - "path": "/messages/:userId/user_tidings", - "parentId": "323", + "path": "/messages/:userId/message_detail", + "parentId": "321", "id": "324" }, "325": { - "path": "/messages/:userId/private_messages", - "parentId": "323", + "path": "/vtrs", + "parentId": "1", "id": "325" }, "326": { - "path": "/messages/:userId/message_detail", - "parentId": "323", + "path": "/vtrs/:virtual_spacesId", + "parentId": "325", "id": "326" }, "327": { - "path": "/vtrs", - "parentId": "1", + "path": "/vtrs/:virtual_spacesId/experiment", + "parentId": "326", "id": "327" }, "328": { - "path": "/vtrs/:virtual_spacesId", - "parentId": "327", + "path": "/vtrs/:virtual_spacesId/announcement", + "parentId": "326", "id": "328" }, "329": { - "path": "/vtrs/:virtual_spacesId/experiment", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/announcement/add", + "parentId": "326", "id": "329" }, "330": { - "path": "/vtrs/:virtual_spacesId/announcement", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/announcement/:id/edit", + "parentId": "326", "id": "330" }, "331": { - "path": "/vtrs/:virtual_spacesId/announcement/add", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/announcement/:id/detail", + "parentId": "326", "id": "331" }, "332": { - "path": "/vtrs/:virtual_spacesId/announcement/:id/edit", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/survey", + "parentId": "326", "id": "332" }, "333": { - "path": "/vtrs/:virtual_spacesId/announcement/:id/detail", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/survey/:id/detail", + "parentId": "326", "id": "333" }, "334": { - "path": "/vtrs/:virtual_spacesId/survey", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/knowledge", + "parentId": "326", "id": "334" }, "335": { - "path": "/vtrs/:virtual_spacesId/survey/:id/detail", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/knowledge/add", + "parentId": "326", "id": "335" }, "336": { - "path": "/vtrs/:virtual_spacesId/knowledge", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/knowledge/:id/edit", + "parentId": "326", "id": "336" }, "337": { - "path": "/vtrs/:virtual_spacesId/knowledge/add", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/material", + "parentId": "326", "id": "337" }, "338": { - "path": "/vtrs/:virtual_spacesId/knowledge/:id/edit", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/material/:id/detail", + "parentId": "326", "id": "338" }, "339": { - "path": "/vtrs/:virtual_spacesId/material", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/settings", + "parentId": "326", "id": "339" }, "340": { - "path": "/vtrs/:virtual_spacesId/material/:id/detail", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/resources", + "parentId": "326", "id": "340" }, "341": { - "path": "/vtrs/:virtual_spacesId/settings", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/resources/:id/detail", + "parentId": "326", "id": "341" }, "342": { - "path": "/vtrs/:virtual_spacesId/resources", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/Plan", + "parentId": "326", "id": "342" }, "343": { - "path": "/vtrs/:virtual_spacesId/resources/:id/detail", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/plan/:id/detail", + "parentId": "326", "id": "343" }, "344": { - "path": "/vtrs/:virtual_spacesId/Plan", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/homepage", + "parentId": "326", "id": "344" }, "345": { - "path": "/vtrs/:virtual_spacesId/plan/:id/detail", - "parentId": "328", + "path": "/vtrs/:virtual_spacesId/*", + "parentId": "326", "id": "345" }, "346": { - "path": "/vtrs/:virtual_spacesId/homepage", - "parentId": "328", + "path": "/101", + "parentId": "1", "id": "346" }, "347": { - "path": "/vtrs/:virtual_spacesId/*", - "parentId": "328", + "path": "/101/:virtual_spacesId", + "parentId": "346", "id": "347" }, "348": { - "path": "/101", - "parentId": "1", + "path": "/101/:virtual_spacesId/experiment", + "parentId": "347", "id": "348" }, "349": { - "path": "/101/:virtual_spacesId", - "parentId": "348", + "path": "/101/:virtual_spacesId/announcement", + "parentId": "347", "id": "349" }, "350": { - "path": "/101/:virtual_spacesId/experiment", - "parentId": "349", + "path": "/101/:virtual_spacesId/announcement/add", + "parentId": "347", "id": "350" }, "351": { - "path": "/101/:virtual_spacesId/announcement", - "parentId": "349", + "path": "/101/:virtual_spacesId/announcement/:id/edit", + "parentId": "347", "id": "351" }, "352": { - "path": "/101/:virtual_spacesId/announcement/add", - "parentId": "349", + "path": "/101/:virtual_spacesId/announcement/:id/detail", + "parentId": "347", "id": "352" }, "353": { - "path": "/101/:virtual_spacesId/announcement/:id/edit", - "parentId": "349", + "path": "/101/:virtual_spacesId/survey", + "parentId": "347", "id": "353" }, "354": { - "path": "/101/:virtual_spacesId/announcement/:id/detail", - "parentId": "349", + "path": "/101/:virtual_spacesId/survey/:id/detail", + "parentId": "347", "id": "354" }, "355": { - "path": "/101/:virtual_spacesId/survey", - "parentId": "349", + "path": "/101/:virtual_spacesId/knowledge", + "parentId": "347", "id": "355" }, "356": { - "path": "/101/:virtual_spacesId/survey/:id/detail", - "parentId": "349", + "path": "/101/:virtual_spacesId/knowledge/add", + "parentId": "347", "id": "356" }, "357": { - "path": "/101/:virtual_spacesId/knowledge", - "parentId": "349", + "path": "/101/:virtual_spacesId/knowledge/:id/edit", + "parentId": "347", "id": "357" }, "358": { - "path": "/101/:virtual_spacesId/knowledge/add", - "parentId": "349", + "path": "/101/:virtual_spacesId/material", + "parentId": "347", "id": "358" }, "359": { - "path": "/101/:virtual_spacesId/knowledge/:id/edit", - "parentId": "349", + "path": "/101/:virtual_spacesId/material/:id/detail", + "parentId": "347", "id": "359" }, "360": { - "path": "/101/:virtual_spacesId/material", - "parentId": "349", + "path": "/101/:virtual_spacesId/settings", + "parentId": "347", "id": "360" }, "361": { - "path": "/101/:virtual_spacesId/material/:id/detail", - "parentId": "349", + "path": "/101/:virtual_spacesId/resources", + "parentId": "347", "id": "361" }, "362": { - "path": "/101/:virtual_spacesId/settings", - "parentId": "349", + "path": "/101/:virtual_spacesId/resources/:id/detail", + "parentId": "347", "id": "362" }, "363": { - "path": "/101/:virtual_spacesId/resources", - "parentId": "349", + "path": "/101/:virtual_spacesId/Plan", + "parentId": "347", "id": "363" }, "364": { - "path": "/101/:virtual_spacesId/resources/:id/detail", - "parentId": "349", + "path": "/101/:virtual_spacesId/plan/:id/detail", + "parentId": "347", "id": "364" }, "365": { - "path": "/101/:virtual_spacesId/Plan", - "parentId": "349", + "path": "/101/:virtual_spacesId/homepage", + "parentId": "347", "id": "365" }, "366": { - "path": "/101/:virtual_spacesId/plan/:id/detail", - "parentId": "349", + "path": "/101/:virtual_spacesId/*", + "parentId": "347", "id": "366" }, "367": { - "path": "/101/:virtual_spacesId/homepage", - "parentId": "349", + "path": "/educoder-demo", + "exact": true, + "parentId": "1", "id": "367" }, "368": { - "path": "/101/:virtual_spacesId/*", - "parentId": "349", + "path": "/training", + "parentId": "1", "id": "368" }, "369": { - "path": "/educoder-demo", - "exact": true, - "parentId": "1", + "name": "精培课程", + "path": "/training", + "parentId": "368", "id": "369" }, "370": { - "path": "/training", + "path": "/otherlogin", + "exact": true, "parentId": "1", "id": "370" }, "371": { - "name": "精培课程", - "path": "/training", - "parentId": "370", + "path": "/otherloginqq", + "exact": true, + "parentId": "1", "id": "371" }, "372": { - "path": "/otherlogin", + "path": "/otherloginstart", "exact": true, "parentId": "1", "id": "372" }, "373": { - "path": "/otherloginqq", - "exact": true, + "path": "/login", "parentId": "1", "id": "373" }, "374": { - "path": "/otherloginstart", - "exact": true, - "parentId": "1", + "path": "/login", + "parentId": "373", "id": "374" }, "375": { - "path": "/login", + "path": "/user", "parentId": "1", "id": "375" }, "376": { - "path": "/login", + "path": "/user/login", "parentId": "375", "id": "376" }, "377": { - "path": "/user", - "parentId": "1", + "path": "/user/register", + "parentId": "375", "id": "377" }, "378": { - "path": "/user/login", - "parentId": "377", + "path": "/user/reset-password", + "parentId": "375", "id": "378" }, "379": { - "path": "/user/register", - "parentId": "377", + "path": "/colleges", + "parentId": "1", "id": "379" }, "380": { - "path": "/user/reset-password", - "parentId": "377", + "path": "/colleges/:id/statistics", + "parentId": "379", "id": "380" }, "381": { - "path": "/colleges", + "path": "/help", "parentId": "1", "id": "381" }, "382": { - "path": "/colleges/:id/statistics", + "path": "/help/:id", "parentId": "381", "id": "382" }, "383": { - "path": "/help", + "path": "/video", "parentId": "1", "id": "383" }, "384": { - "path": "/help/:id", + "path": "/video/:videoId", "parentId": "383", "id": "384" }, "385": { - "path": "/video", + "path": "/terminal", "parentId": "1", "id": "385" }, "386": { - "path": "/video/:videoId", - "parentId": "385", + "path": "/report/:taskId/:game_report_id", + "parentId": "1", "id": "386" }, "387": { - "path": "/terminal", + "path": "/", "parentId": "1", "id": "387" }, "388": { - "path": "/report/:taskId/:game_report_id", - "parentId": "1", + "path": "/", + "exact": true, + "parentId": "387", "id": "388" }, "389": { - "path": "/", - "parentId": "1", + "path": "/api/*", + "exact": true, + "parentId": "387", "id": "389" }, "390": { - "path": "/", + "path": "/search", "exact": true, - "parentId": "389", + "parentId": "387", "id": "390" }, "391": { - "path": "/api/*", + "path": "/moop_cases", "exact": true, - "parentId": "389", + "parentId": "387", "id": "391" }, "392": { - "path": "/search", + "path": "/moop_cases/new", "exact": true, - "parentId": "389", + "parentId": "387", "id": "392" }, "393": { - "path": "/moop_cases", + "path": "/moop_cases/:caseId", "exact": true, - "parentId": "389", + "parentId": "387", "id": "393" }, "394": { - "path": "/moop_cases/new", + "path": "/moop_cases/:caseId/edit", "exact": true, - "parentId": "389", + "parentId": "387", "id": "394" }, "395": { - "path": "/moop_cases/:caseId", + "path": "/moop_cases/:caseId/publish-success", "exact": true, - "parentId": "389", + "parentId": "387", "id": "395" }, "396": { - "path": "/moop_cases/:caseId/edit", + "path": "/randompaper", "exact": true, - "parentId": "389", + "parentId": "387", "id": "396" }, "397": { - "path": "/moop_cases/:caseId/publish-success", + "path": "/randompaper/edit/:id", "exact": true, - "parentId": "389", + "parentId": "387", "id": "397" }, "398": { - "path": "/randompaper", + "path": "/randompaper/detail/:id", "exact": true, - "parentId": "389", + "parentId": "387", "id": "398" }, "399": { - "path": "/randompaper/edit/:id", - "exact": true, - "parentId": "389", + "path": "/403", + "parentId": "387", "id": "399" }, "400": { - "path": "/randompaper/detail/:id", - "exact": true, - "parentId": "389", + "path": "/500", + "parentId": "387", "id": "400" }, "401": { - "path": "/403", - "parentId": "389", + "path": "/404", + "parentId": "387", "id": "401" }, "402": { - "path": "/500", - "parentId": "389", + "path": "/iwce", + "parentId": "387", "id": "402" }, "403": { - "path": "/404", - "parentId": "389", + "path": "/Activities", + "parentId": "387", "id": "403" }, "404": { - "path": "/iwce", - "parentId": "389", + "path": "/iwce/:itemname", + "parentId": "387", "id": "404" }, "405": { - "path": "/Activities", - "parentId": "389", + "path": "/hpc-course", + "parentId": "387", "id": "405" }, "406": { - "path": "/iwce/:itemname", - "parentId": "389", + "path": "/user_agents", + "parentId": "387", "id": "406" }, "407": { - "path": "/hpc-course", - "parentId": "389", + "path": "/three", + "parentId": "387", "id": "407" }, "408": { - "path": "/user_agents", - "parentId": "389", + "path": "/introduction", + "parentId": "387", "id": "408" }, "409": { - "path": "/three", - "parentId": "389", + "path": "/chatgpt", + "parentId": "387", "id": "409" }, "410": { - "path": "/introduction", - "parentId": "389", - "id": "410" - }, - "411": { - "path": "/chatgpt", - "parentId": "389", - "id": "411" - }, - "412": { "path": "/*", - "parentId": "389", - "id": "412" + "parentId": "387", + "id": "410" }, "@@/global-layout": { "id": "@@/global-layout", @@ -124333,1117 +124326,1117 @@ function _getRoutes() { return Promise.all(/*! import() | p__Paperlibrary__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(36579), __webpack_require__.e(79256), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(79086), __webpack_require__.e(54862)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/index.tsx */ 26127)); }), '4': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(9442), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(32030), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 83628)); + return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(26057), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 47606)); }), '5': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(9442), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(32030), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 83628)); + return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(26057), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 47606)); }), '6': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__EditPaper__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(9442), __webpack_require__.e(69269), __webpack_require__.e(3482), __webpack_require__.e(78218), __webpack_require__.e(32030), __webpack_require__.e(733)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/EditPaper/index.tsx */ 64631)); + return Promise.all(/*! import() | p__Paperlibrary__See__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(36579), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(60696), __webpack_require__.e(79086), __webpack_require__.e(53247)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/See/index.tsx */ 7570)); }), '7': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__See__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(36579), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(60696), __webpack_require__.e(79086), __webpack_require__.e(53247)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/See/index.tsx */ 7570)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); }), '8': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); + return Promise.all(/*! import() | p__Paperlibrary__Random__ExchangeFromProblemSet__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(11545)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/ExchangeFromProblemSet/index.tsx */ 40945)); }), '9': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__ExchangeFromProblemSet__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(11545)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/ExchangeFromProblemSet/index.tsx */ 40945)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '10': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Paths__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(20085), __webpack_require__.e(42241), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(86052)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Index/index.tsx */ 18117)); }), '11': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paths__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(20085), __webpack_require__.e(42241), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(86052)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Index/index.tsx */ 18117)); + return Promise.all(/*! import() | p__Paths__HigherVocationalEducation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(66813), __webpack_require__.e(4977), __webpack_require__.e(5572)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/HigherVocationalEducation/index.tsx */ 21923)); }), '12': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paths__HigherVocationalEducation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(66813), __webpack_require__.e(4977), __webpack_require__.e(5572)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/HigherVocationalEducation/index.tsx */ 21923)); + return Promise.all(/*! import() | p__Paths__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(93562), __webpack_require__.e(84169), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(28982)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/New/index.tsx */ 81353)); }), '13': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paths__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(93562), __webpack_require__.e(84169), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(28982)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/New/index.tsx */ 81353)); + return Promise.all(/*! import() | p__Guidance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(50869)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Guidance/index.tsx */ 62744)); }), '14': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Guidance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(50869)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Guidance/index.tsx */ 62744)); + return Promise.all(/*! import() | p__Paths__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(50976), __webpack_require__.e(78617), __webpack_require__.e(80599), __webpack_require__.e(89777), __webpack_require__.e(69548), __webpack_require__.e(3502), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(8348), __webpack_require__.e(23332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Detail/[id].tsx */ 84923)); }), '15': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paths__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(50976), __webpack_require__.e(78617), __webpack_require__.e(80599), __webpack_require__.e(89777), __webpack_require__.e(69548), __webpack_require__.e(3502), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(8348), __webpack_require__.e(23332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Detail/[id].tsx */ 84923)); + return Promise.all(/*! import() | p__Paths__Detail__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(47501), __webpack_require__.e(4977), __webpack_require__.e(34601)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Detail/Statistics/index.tsx */ 41046)); }), '16': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paths__Detail__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(47501), __webpack_require__.e(4977), __webpack_require__.e(34601)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Detail/Statistics/index.tsx */ 41046)); + return Promise.all(/*! import() | p__Paths__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(93562), __webpack_require__.e(84169), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(28982)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/New/index.tsx */ 81353)); }), '17': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paths__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(93562), __webpack_require__.e(84169), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(28982)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/New/index.tsx */ 81353)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '18': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Classrooms__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(88201), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(26685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Index/index.tsx */ 22635)); }), '19': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(88201), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(26685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Index/index.tsx */ 22635)); + return Promise.all(/*! import() | p__Classrooms__ExamList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(4977), __webpack_require__.e(79921)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/ExamList/index.tsx */ 19721)); }), '20': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__ExamList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(4977), __webpack_require__.e(79921)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/ExamList/index.tsx */ 19721)); + return __webpack_require__.e(/*! import() | p__Classrooms__ClassicCases__index */ 31674).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/ClassicCases/index.tsx */ 74094)); }), '21': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__Classrooms__ClassicCases__index */ 31674).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/ClassicCases/index.tsx */ 74094)); + return Promise.all(/*! import() | p__Classrooms__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(88201), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(26685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Index/index.tsx */ 22635)); }), '22': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(88201), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(26685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Index/index.tsx */ 22635)); + return Promise.all(/*! import() | p__Classrooms__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(89540), __webpack_require__.e(12325), __webpack_require__.e(1702)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/index.tsx */ 50100)); }), '23': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(89540), __webpack_require__.e(12325), __webpack_require__.e(1702)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/index.tsx */ 50100)); }), '24': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(89540), __webpack_require__.e(12325), __webpack_require__.e(1702)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/index.tsx */ 50100)); + return Promise.all(/*! import() | p__Classrooms__New__StartClass__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(51370), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(89540), __webpack_require__.e(12325), __webpack_require__.e(96882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/StartClass/index.tsx */ 48553)); }), '25': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__New__StartClass__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(51370), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(89540), __webpack_require__.e(12325), __webpack_require__.e(96882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/StartClass/index.tsx */ 48553)); }), '26': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__New__StartClass__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(51370), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(89540), __webpack_require__.e(12325), __webpack_require__.e(96882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/StartClass/index.tsx */ 48553)); + return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(90109)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Detail/components/CodeReview/Detail/index.tsx */ 36991)); }), '27': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(90109)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Detail/components/CodeReview/Detail/index.tsx */ 36991)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(36740), __webpack_require__.e(8691), __webpack_require__.e(10737)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Detail/components/CodeReview/Detail/index.tsx */ 96035)); }), '28': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(36740), __webpack_require__.e(8691), __webpack_require__.e(10737)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Detail/components/CodeReview/Detail/index.tsx */ 96035)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(3391)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/components/CodeReview/Detail/index.tsx */ 96269)); }), '29': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(3391)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/components/CodeReview/Detail/index.tsx */ 96269)); + return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(80807), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(38448), __webpack_require__.e(13581)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Detail/index.tsx */ 61294)); }), '30': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(80807), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(38448), __webpack_require__.e(13581)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Detail/index.tsx */ 61294)); + return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Comment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(50976), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(13615), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(30342)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Comment/index.tsx */ 51517)); }), '31': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Comment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(50976), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(13615), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(30342)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Comment/index.tsx */ 51517)); + return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(65814), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(71450)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Commitsummary/index.tsx */ 47765)); }), '32': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(65814), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(71450)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Commitsummary/index.tsx */ 47765)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(70335), __webpack_require__.e(14074), __webpack_require__.e(8691), __webpack_require__.e(38448), __webpack_require__.e(10195)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Detail/index.tsx */ 82080)); }), '33': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(70335), __webpack_require__.e(14074), __webpack_require__.e(8691), __webpack_require__.e(38448), __webpack_require__.e(10195)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Detail/index.tsx */ 82080)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(70335), __webpack_require__.e(44851), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(38448), __webpack_require__.e(47015), __webpack_require__.e(93668)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Detail/index.tsx */ 59212)); }), '34': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(70335), __webpack_require__.e(44851), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(38448), __webpack_require__.e(47015), __webpack_require__.e(93668)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Detail/index.tsx */ 59212)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(70335), __webpack_require__.e(60608), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(41297), __webpack_require__.e(52338)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Review/index.tsx */ 51330)); }), '35': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(70335), __webpack_require__.e(60608), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(41297), __webpack_require__.e(52338)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Review/index.tsx */ 51330)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(70335), __webpack_require__.e(37807), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(41297), __webpack_require__.e(14662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Review/index.tsx */ 38117)); }), '36': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(70335), __webpack_require__.e(37807), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(41297), __webpack_require__.e(14662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Review/index.tsx */ 38117)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__SubmitWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(17400), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(28072)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/SubmitWork/index.tsx */ 31303)); }), '37': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__SubmitWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(17400), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(28072)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/SubmitWork/index.tsx */ 31303)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__EditWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(11417), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(60479)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/EditWork/index.tsx */ 54524)); }), '38': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__EditWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(11417), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(60479)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/EditWork/index.tsx */ 54524)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(85297)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/CheckDetail/index.tsx */ 51450)); }), '39': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(85297)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/CheckDetail/index.tsx */ 51450)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(55806), __webpack_require__.e(66012), __webpack_require__.e(99160), __webpack_require__.e(42977), __webpack_require__.e(39437), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(20139), __webpack_require__.e(37110), __webpack_require__.e(54164)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/index.tsx */ 8344)); }), '40': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(55806), __webpack_require__.e(66012), __webpack_require__.e(99160), __webpack_require__.e(42977), __webpack_require__.e(39437), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(78218), __webpack_require__.e(20139), __webpack_require__.e(37110), __webpack_require__.e(54164)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/index.tsx */ 34971)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); }), '41': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Answer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(24192), __webpack_require__.e(79361), __webpack_require__.e(47824), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(14105)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Answer/index.tsx */ 84926)); }), '42': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Answer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(24192), __webpack_require__.e(79361), __webpack_require__.e(47824), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(14105)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Answer/index.tsx */ 84926)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ImitateAnswer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(24192), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(14889)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ImitateAnswer/index.tsx */ 87746)); }), '43': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ImitateAnswer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(24192), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(14889)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ImitateAnswer/index.tsx */ 87746)); + return Promise.all(/*! import() | p__Paperlibrary__Random__ExerciseEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(51370), __webpack_require__.e(36579), __webpack_require__.e(7713), __webpack_require__.e(70368), __webpack_require__.e(7918)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/ExerciseEdit/index.tsx */ 19368)); }), '44': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(57549), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(78218), __webpack_require__.e(5641)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Edit/index.tsx */ 99542)); + return Promise.all(/*! import() | p__Paperlibrary__Random__PreviewEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(20139), __webpack_require__.e(90337)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/PreviewEdit/index.tsx */ 96382)); }), '45': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__ExerciseEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(51370), __webpack_require__.e(36579), __webpack_require__.e(7713), __webpack_require__.e(70368), __webpack_require__.e(7918)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/ExerciseEdit/index.tsx */ 19368)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(26057), __webpack_require__.e(8691), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 55105)); }), '46': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__PreviewEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(20139), __webpack_require__.e(90337)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/PreviewEdit/index.tsx */ 96382)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(26057), __webpack_require__.e(8691), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 55105)); }), '47': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(26057), __webpack_require__.e(8691), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 55105)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ReviewGroup__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(24192), __webpack_require__.e(12059), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(45992)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ReviewGroup/index.tsx */ 28927)); }), '48': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(26057), __webpack_require__.e(8691), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 55105)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(29730), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78085)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Review/index.tsx */ 48634)); }), '49': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ReviewGroup__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(24192), __webpack_require__.e(12059), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(45992)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ReviewGroup/index.tsx */ 28927)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(29730), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78085)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Review/index.tsx */ 48634)); }), '50': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(29730), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78085)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Review/index.tsx */ 48634)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Export__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(88994), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(48431)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Export/index.tsx */ 45437)); }), '51': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(29730), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78085)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Review/index.tsx */ 48634)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Export__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(88994), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(48431)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Export/index.tsx */ 45437)); }), '52': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Export__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(88994), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(48431)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Export/index.tsx */ 45437)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__DetailedAnalysis__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(95125)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/DetailedAnalysis/index.tsx */ 35951)); }), '53': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Export__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(88994), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(48431)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Export/index.tsx */ 45437)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__DetailedAnalysis__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(95125)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/DetailedAnalysis/index.tsx */ 35951)); }), '54': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__DetailedAnalysis__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(95125)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/DetailedAnalysis/index.tsx */ 35951)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__CodeDetails__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(9497), __webpack_require__.e(8691), __webpack_require__.e(10921)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/CodeDetails/index.tsx */ 66022)); }), '55': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__DetailedAnalysis__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(95125)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/DetailedAnalysis/index.tsx */ 35951)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__CodeDetails__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(9497), __webpack_require__.e(8691), __webpack_require__.e(10921)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/CodeDetails/index.tsx */ 66022)); }), '56': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__CodeDetails__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(9497), __webpack_require__.e(8691), __webpack_require__.e(10921)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/CodeDetails/index.tsx */ 66022)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21578)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Detail/index.tsx */ 37525)); }), '57': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__CodeDetails__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(9497), __webpack_require__.e(8691), __webpack_require__.e(10921)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/CodeDetails/index.tsx */ 66022)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(33210), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Add/index.tsx */ 40199)); }), '58': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21578)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Detail/index.tsx */ 37525)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(15973), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Edit/index.tsx */ 3055)); }), '59': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(33210), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Add/index.tsx */ 40199)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(45886), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(74795)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Add/index.tsx */ 69185)); }), '60': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(15973), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Edit/index.tsx */ 3055)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(45061), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(20026)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Edit/index.tsx */ 57095)); }), '61': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(45886), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(74795)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Add/index.tsx */ 69185)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(68882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Detail/index.tsx */ 55711)); }), '62': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(45061), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(20026)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Edit/index.tsx */ 57095)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(69245), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(85888)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Add/index.tsx */ 1553)); }), '63': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(68882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Detail/index.tsx */ 55711)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(68661), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(19715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Edit/index.tsx */ 13763)); }), '64': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(69245), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(85888)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Add/index.tsx */ 1553)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__SubmitWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(97141), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(57045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/SubmitWork/index.tsx */ 10373)); }), '65': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(68661), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(19715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Edit/index.tsx */ 13763)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__EditWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(99491), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(31211)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/EditWork/index.tsx */ 64280)); }), '66': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__SubmitWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(97141), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(57045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/SubmitWork/index.tsx */ 10373)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(29848), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(51582)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Add/index.tsx */ 84326)); }), '67': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__EditWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(99491), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(31211)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/EditWork/index.tsx */ 64280)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(1264), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(16729)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Edit/index.tsx */ 20671)); }), '68': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(29848), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(51582)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Add/index.tsx */ 84326)); + return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(23316), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(52546), __webpack_require__.e(39695)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Add/index.tsx */ 96272)); }), '69': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(1264), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(16729)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Edit/index.tsx */ 20671)); + return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(23316), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(52546), __webpack_require__.e(28723)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Edit/index.tsx */ 52546)); }), '70': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(23316), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(52546), __webpack_require__.e(39695)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Add/index.tsx */ 96272)); + return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(23805), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(12034), __webpack_require__.e(17622)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Detail/index.tsx */ 91405)); }), '71': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(23316), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(52546), __webpack_require__.e(28723)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Edit/index.tsx */ 52546)); + return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Answer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(24192), __webpack_require__.e(63183), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(65148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Answer/index.tsx */ 15461)); }), '72': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(23805), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(12034), __webpack_require__.e(17622)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Detail/index.tsx */ 91405)); + return Promise.all(/*! import() | p__Classrooms__Lists__Board__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(50745), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(43442)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Add/index.tsx */ 71239)); }), '73': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Answer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(24192), __webpack_require__.e(63183), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(65148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Answer/index.tsx */ 15461)); + return Promise.all(/*! import() | p__Classrooms__Lists__Board__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(32640), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12102)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Edit/index.tsx */ 45497)); }), '74': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Board__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(50745), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(43442)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Add/index.tsx */ 71239)); + return Promise.all(/*! import() | p__Classrooms__Lists__Board__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(99848), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(82425)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Detail/index.tsx */ 57639)); }), '75': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Board__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(32640), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12102)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Edit/index.tsx */ 45497)); + return Promise.all(/*! import() | p__Classrooms__Lists__Template__teacher__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42573), __webpack_require__.e(29353), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(52404)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/teacher/index.tsx */ 43519)); }), '76': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Board__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(99848), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(82425)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Detail/index.tsx */ 57639)); + return Promise.all(/*! import() | p__Classrooms__Lists__Template__student__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42573), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(89785)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/student/index.tsx */ 92068)); }), '77': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Template__teacher__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42573), __webpack_require__.e(29353), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(52404)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/teacher/index.tsx */ 43519)); + return Promise.all(/*! import() | p__Guidance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(50869)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Guidance/index.tsx */ 62744)); }), '78': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Template__student__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42573), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(89785)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/student/index.tsx */ 92068)); + return Promise.all(/*! import() | p__Classrooms__Lists__Template__detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(80599), __webpack_require__.e(34472), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(2819)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/detail/index.tsx */ 29791)); }), '79': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Guidance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(50869)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Guidance/index.tsx */ 62744)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__AnswerCheck__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(48764), __webpack_require__.e(79361), __webpack_require__.e(94220), __webpack_require__.e(90354), __webpack_require__.e(11512)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/AnswerCheck/index.tsx */ 14976)); }), '80': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Template__detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(80599), __webpack_require__.e(34472), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(2819)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/detail/index.tsx */ 29791)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(27395)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentDetail/index.tsx */ 41142)); }), '81': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__AnswerCheck__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(48764), __webpack_require__.e(79361), __webpack_require__.e(94220), __webpack_require__.e(90354), __webpack_require__.e(11512)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/AnswerCheck/index.tsx */ 14976)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentSituation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(69085), __webpack_require__.e(3585)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentSituation/index.tsx */ 68956)); }), '82': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(27395)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentDetail/index.tsx */ 41142)); + return Promise.all(/*! import() | p__Classrooms__Lists__Engineering__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72693), __webpack_require__.e(4977), __webpack_require__.e(46963)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Engineering/Detail/index.tsx */ 73852)); }), '83': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentSituation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(69085), __webpack_require__.e(3585)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentSituation/index.tsx */ 68956)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); }), '84': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Engineering__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72693), __webpack_require__.e(4977), __webpack_require__.e(46963)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Engineering/Detail/index.tsx */ 73852)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); }), '85': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Ranking__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(12034), __webpack_require__.e(87954), __webpack_require__.e(6127)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Ranking/index.tsx */ 807)); }), '86': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(80807), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(38448), __webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/index.tsx */ 25317)); }), '87': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Ranking__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(12034), __webpack_require__.e(87954), __webpack_require__.e(6127)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Ranking/index.tsx */ 807)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(12034), __webpack_require__.e(87954), __webpack_require__.e(41048)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/Ranking/index.tsx */ 85373)); }), '88': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(80807), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(38448), __webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/index.tsx */ 25317)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Comment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(54447), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(12884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Comment/index.tsx */ 13458)); }), '89': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(12034), __webpack_require__.e(87954), __webpack_require__.e(41048)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/Ranking/index.tsx */ 85373)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(72465), __webpack_require__.e(24058), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(54770)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/index.tsx */ 98739)); }), '90': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Comment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(54447), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(12884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Comment/index.tsx */ 13458)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87388), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(92603)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Add/index.tsx */ 20721)); }), '91': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(72465), __webpack_require__.e(24058), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(54770)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/index.tsx */ 98739)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(95946), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(44216)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Edit/index.tsx */ 77869)); }), '92': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87388), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(92603)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Add/index.tsx */ 20721)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(92785), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(15319)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Detail/index.tsx */ 23462)); }), '93': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(95946), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(44216)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Edit/index.tsx */ 77869)); + return Promise.all(/*! import() | layouts__ShixunDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(66012), __webpack_require__.e(27703), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93282)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/ShixunDetail/index.tsx */ 1313)); }), '94': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(92785), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(15319)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Detail/index.tsx */ 23462)); + return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(20549), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(60696), __webpack_require__.e(66550), __webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/index.tsx */ 51198)); }), '95': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__ShixunDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(66012), __webpack_require__.e(93562), __webpack_require__.e(27703), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93282)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/ShixunDetail/index.tsx */ 1313)); + return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(20549), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(60696), __webpack_require__.e(66550), __webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/index.tsx */ 51198)); }), '96': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(20549), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(60696), __webpack_require__.e(66550), __webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/index.tsx */ 51198)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(64057), __webpack_require__.e(92023), __webpack_require__.e(4977), __webpack_require__.e(85048)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/index.tsx */ 27725)); }), '97': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(20549), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(60696), __webpack_require__.e(66550), __webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/index.tsx */ 51198)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(97278), __webpack_require__.e(62654), __webpack_require__.e(75004), __webpack_require__.e(4977), __webpack_require__.e(61043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/index.tsx */ 27031)); }), '98': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(64057), __webpack_require__.e(92023), __webpack_require__.e(4977), __webpack_require__.e(85048)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/index.tsx */ 27725)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(97278), __webpack_require__.e(62654), __webpack_require__.e(75004), __webpack_require__.e(4977), __webpack_require__.e(61043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/index.tsx */ 27031)); }), '99': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(97278), __webpack_require__.e(62654), __webpack_require__.e(75004), __webpack_require__.e(4977), __webpack_require__.e(61043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/index.tsx */ 27031)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(55806), __webpack_require__.e(42102), __webpack_require__.e(65911), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(37110), __webpack_require__.e(45825)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/index.tsx */ 34690)); }), '100': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(97278), __webpack_require__.e(62654), __webpack_require__.e(75004), __webpack_require__.e(4977), __webpack_require__.e(61043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/index.tsx */ 27031)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(55806), __webpack_require__.e(42102), __webpack_require__.e(65911), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(37110), __webpack_require__.e(45825)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/index.tsx */ 34690)); }), '101': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(55806), __webpack_require__.e(42102), __webpack_require__.e(65911), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(37110), __webpack_require__.e(45825)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/index.tsx */ 34690)); + return Promise.all(/*! import() | p__Classrooms__Lists__Polls__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(23805), __webpack_require__.e(31958), __webpack_require__.e(4977), __webpack_require__.e(13355)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/index.tsx */ 64355)); }), '102': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(55806), __webpack_require__.e(42102), __webpack_require__.e(65911), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(37110), __webpack_require__.e(45825)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/index.tsx */ 34690)); + return Promise.all(/*! import() | p__Classrooms__Lists__Polls__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(23805), __webpack_require__.e(31958), __webpack_require__.e(4977), __webpack_require__.e(13355)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/index.tsx */ 64355)); }), '103': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Polls__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(23805), __webpack_require__.e(31958), __webpack_require__.e(4977), __webpack_require__.e(13355)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/index.tsx */ 64355)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(38448), __webpack_require__.e(47015), __webpack_require__.e(49890)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/index.tsx */ 97380)); }), '104': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Polls__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(23805), __webpack_require__.e(31958), __webpack_require__.e(4977), __webpack_require__.e(13355)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/index.tsx */ 64355)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(38448), __webpack_require__.e(47015), __webpack_require__.e(49890)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/index.tsx */ 97380)); }), '105': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(38448), __webpack_require__.e(47015), __webpack_require__.e(49890)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/index.tsx */ 97380)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(83935)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/index.tsx */ 46978)); }), '106': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(38448), __webpack_require__.e(47015), __webpack_require__.e(49890)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/index.tsx */ 97380)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(83935)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/index.tsx */ 46978)); }), '107': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(83935)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/index.tsx */ 46978)); + return Promise.all(/*! import() | p__Classrooms__Lists__Teachers__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(2282), __webpack_require__.e(23607), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(68014)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Teachers/index.tsx */ 19456)); }), '108': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(83935)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/index.tsx */ 46978)); + return Promise.all(/*! import() | p__Classrooms__Lists__Students__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(2282), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(48077)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Students/index.tsx */ 54148)); }), '109': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Teachers__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(2282), __webpack_require__.e(23607), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(68014)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Teachers/index.tsx */ 19456)); + return Promise.all(/*! import() | p__Classrooms__Lists__Assistant__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(2282), __webpack_require__.e(12034), __webpack_require__.e(33356)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Assistant/index.tsx */ 3453)); }), '110': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Students__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(2282), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(48077)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Students/index.tsx */ 54148)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(3395), __webpack_require__.e(4977), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/index.tsx */ 94693)); }), '111': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Assistant__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(2282), __webpack_require__.e(12034), __webpack_require__.e(33356)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Assistant/index.tsx */ 3453)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(3395), __webpack_require__.e(4977), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/index.tsx */ 94693)); }), '112': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(3395), __webpack_require__.e(4977), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/index.tsx */ 94693)); + return Promise.all(/*! import() | p__Classrooms__Lists__Engineering__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72693), __webpack_require__.e(31962)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Engineering/index.tsx */ 67325)); }), '113': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(3395), __webpack_require__.e(4977), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/index.tsx */ 94693)); + return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(48764), __webpack_require__.e(93562), __webpack_require__.e(24972), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(28435)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/index.tsx */ 83522)); }), '114': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Engineering__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72693), __webpack_require__.e(31962)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Engineering/index.tsx */ 67325)); + return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(48764), __webpack_require__.e(93562), __webpack_require__.e(24972), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(28435)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/index.tsx */ 83522)); }), '115': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(48764), __webpack_require__.e(93562), __webpack_require__.e(24972), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(28435)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/index.tsx */ 83522)); + return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(79361), __webpack_require__.e(4977), __webpack_require__.e(34093)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/Detail/index.tsx */ 58297)); }), '116': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(48764), __webpack_require__.e(93562), __webpack_require__.e(24972), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(28435)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/index.tsx */ 83522)); + return Promise.all(/*! import() | p__Classrooms__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(68922), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Announcement/index.tsx */ 91671)); }), '117': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(79361), __webpack_require__.e(4977), __webpack_require__.e(34093)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/Detail/index.tsx */ 58297)); + return Promise.all(/*! import() | p__Classrooms__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(68922), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Announcement/index.tsx */ 91671)); }), '118': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(68922), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Announcement/index.tsx */ 91671)); + return Promise.all(/*! import() | p__Classrooms__Lists__OnlineLearning__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(69548), __webpack_require__.e(66012), __webpack_require__.e(52424), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(68827)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/OnlineLearning/index.tsx */ 14665)); }), '119': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(68922), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Announcement/index.tsx */ 91671)); + return Promise.all(/*! import() | p__Classrooms__Lists__OnlineLearning__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(69548), __webpack_require__.e(66012), __webpack_require__.e(52424), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(68827)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/OnlineLearning/index.tsx */ 14665)); }), '120': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__OnlineLearning__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(66012), __webpack_require__.e(69548), __webpack_require__.e(52424), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(68827)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/OnlineLearning/index.tsx */ 14665)); + return Promise.all(/*! import() | p__Classrooms__Lists__Attachment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(62654), __webpack_require__.e(33172), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(6758)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attachment/index.tsx */ 40915)); }), '121': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__OnlineLearning__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(66012), __webpack_require__.e(69548), __webpack_require__.e(52424), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(68827)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/OnlineLearning/index.tsx */ 14665)); + return Promise.all(/*! import() | p__Classrooms__Lists__Attachment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(62654), __webpack_require__.e(33172), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(6758)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attachment/index.tsx */ 40915)); }), '122': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Attachment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(62654), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(6758)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attachment/index.tsx */ 40915)); + return Promise.all(/*! import() | p__Classrooms__Lists__Video__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(64398), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(20959), __webpack_require__.e(4977), __webpack_require__.e(8423), __webpack_require__.e(54836), __webpack_require__.e(75463), __webpack_require__.e(39332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/index.tsx */ 25127)); }), '123': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Attachment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(62654), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(6758)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attachment/index.tsx */ 40915)); + return Promise.all(/*! import() | p__Classrooms__Lists__Video__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(64398), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(20959), __webpack_require__.e(4977), __webpack_require__.e(8423), __webpack_require__.e(54836), __webpack_require__.e(75463), __webpack_require__.e(39332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/index.tsx */ 25127)); }), '124': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Video__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(64398), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(20959), __webpack_require__.e(4977), __webpack_require__.e(8423), __webpack_require__.e(54836), __webpack_require__.e(75463), __webpack_require__.e(39332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/index.tsx */ 25127)); + return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(64217)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/index.tsx */ 69687)); }), '125': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Video__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(64398), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(20959), __webpack_require__.e(4977), __webpack_require__.e(8423), __webpack_require__.e(54836), __webpack_require__.e(75463), __webpack_require__.e(39332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/index.tsx */ 25127)); + return Promise.all(/*! import() | p__Classrooms__Lists__Video__Upload__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(19428), __webpack_require__.e(73220)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Upload/index.tsx */ 13321)); }), '126': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(64217)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/index.tsx */ 69687)); + return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(60533)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/Detail/index.tsx */ 88276)); }), '127': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Video__Upload__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(19428), __webpack_require__.e(73220)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Upload/index.tsx */ 13321)); + return Promise.all(/*! import() | p__Classrooms__Lists__LiveVideo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(47054), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(67878)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/LiveVideo/index.tsx */ 75089)); }), '128': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(60533)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/Detail/index.tsx */ 88276)); + return Promise.all(/*! import() | p__Classrooms__Lists__LiveVideo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(47054), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(67878)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/LiveVideo/index.tsx */ 75089)); }), '129': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__LiveVideo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(47054), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(67878)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/LiveVideo/index.tsx */ 75089)); + return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__StudentDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(69944)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/StudentDetail/index.tsx */ 2438)); }), '130': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__LiveVideo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(47054), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(67878)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/LiveVideo/index.tsx */ 75089)); + return Promise.all(/*! import() | p__Classrooms__Lists__Board__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(42102), __webpack_require__.e(95112), __webpack_require__.e(4977), __webpack_require__.e(18302)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/index.tsx */ 1284)); }), '131': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__StudentDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(69944)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/StudentDetail/index.tsx */ 2438)); + return Promise.all(/*! import() | p__Classrooms__Lists__Board__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(42102), __webpack_require__.e(95112), __webpack_require__.e(4977), __webpack_require__.e(18302)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/index.tsx */ 1284)); }), '132': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Board__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(42102), __webpack_require__.e(95112), __webpack_require__.e(4977), __webpack_require__.e(18302)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/index.tsx */ 1284)); + return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(87075), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(38634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/List/index.tsx */ 30440)); }), '133': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Board__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(42102), __webpack_require__.e(95112), __webpack_require__.e(4977), __webpack_require__.e(18302)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/index.tsx */ 1284)); + return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(87075), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(38634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/List/index.tsx */ 30440)); }), '134': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(87075), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(38634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/List/index.tsx */ 30440)); + return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(4977), __webpack_require__.e(87922)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/Detail/index.tsx */ 33344)); }), '135': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(87075), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(38634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/List/index.tsx */ 30440)); + return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__NotList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(93562), __webpack_require__.e(35449), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(61727)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/NotList/index.tsx */ 63919)); }), '136': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(4977), __webpack_require__.e(87922)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/Detail/index.tsx */ 33344)); + return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__NotList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(93562), __webpack_require__.e(35449), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(61727)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/NotList/index.tsx */ 63919)); }), '137': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__NotList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(93562), __webpack_require__.e(35449), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(61727)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/NotList/index.tsx */ 63919)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(66422), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(31427)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/index.tsx */ 5809)); }), '138': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__NotList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(93562), __webpack_require__.e(35449), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(61727)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/NotList/index.tsx */ 63919)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(66422), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(31427)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/index.tsx */ 5809)); }), '139': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(66422), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(31427)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/index.tsx */ 5809)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__VideoStatistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(33399), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(48689)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/VideoStatistics/index.tsx */ 83307)); }), '140': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(66422), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(31427)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/index.tsx */ 5809)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StatisticsQuality__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(50976), __webpack_require__.e(17806)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StatisticsQuality/index.tsx */ 87579)); }), '141': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__VideoStatistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(33399), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(48689)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/VideoStatistics/index.tsx */ 83307)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentStatistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(98885)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentStatistics/index.tsx */ 4719)); }), '142': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StatisticsQuality__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(50976), __webpack_require__.e(17806)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StatisticsQuality/index.tsx */ 87579)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(3451)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentStatistics/Detail/index.tsx */ 75288)); }), '143': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentStatistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(98885)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentStatistics/index.tsx */ 4719)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentVideo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(33399), __webpack_require__.e(4977), __webpack_require__.e(69922)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentVideo/index.tsx */ 18709)); }), '144': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(3451)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentStatistics/Detail/index.tsx */ 75288)); + return Promise.all(/*! import() | p__Classrooms__Lists__ExportList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(12034), __webpack_require__.e(54572)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ExportList/index.tsx */ 34509)); }), '145': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentVideo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(33399), __webpack_require__.e(4977), __webpack_require__.e(69922)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentVideo/index.tsx */ 18709)); + return __webpack_require__.e(/*! import() | p__Classrooms__Lists__PlaceholderPage__index */ 64017).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/PlaceholderPage/index.tsx */ 96235)); }), '146': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ExportList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(12034), __webpack_require__.e(54572)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ExportList/index.tsx */ 34509)); + return Promise.all(/*! import() | p__Classrooms__Lists__Template__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(34510), __webpack_require__.e(4977), __webpack_require__.e(15148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/index.tsx */ 65123)); }), '147': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__Classrooms__Lists__PlaceholderPage__index */ 64017).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/PlaceholderPage/index.tsx */ 96235)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '148': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Template__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(34510), __webpack_require__.e(4977), __webpack_require__.e(15148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/index.tsx */ 65123)); + return Promise.all(/*! import() | p__Competitions__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(88551), __webpack_require__.e(87545), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(12034), __webpack_require__.e(30707), __webpack_require__.e(26883)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Index/index.tsx */ 92272)); }), '149': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Competitions__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(88551), __webpack_require__.e(87545), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(12034), __webpack_require__.e(30707), __webpack_require__.e(26883)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Index/index.tsx */ 92272)); }), '150': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(88551), __webpack_require__.e(87545), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(12034), __webpack_require__.e(30707), __webpack_require__.e(26883)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Index/index.tsx */ 92272)); + return Promise.all(/*! import() | p__Competitions__Exports__index */[__webpack_require__.e(80599), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(44449)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Exports/index.tsx */ 42056)); }), '151': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Competitions__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(88551), __webpack_require__.e(87545), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(12034), __webpack_require__.e(30707), __webpack_require__.e(26883)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Index/index.tsx */ 92272)); }), '152': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Exports__index */[__webpack_require__.e(80599), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(44449)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Exports/index.tsx */ 42056)); + return Promise.all(/*! import() | p__Competitions__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(78617), __webpack_require__.e(17194), __webpack_require__.e(64398), __webpack_require__.e(20085), __webpack_require__.e(60578), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55693), __webpack_require__.e(72570)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Detail/index.tsx */ 84541)); }), '153': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(88551), __webpack_require__.e(87545), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(12034), __webpack_require__.e(30707), __webpack_require__.e(26883)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Index/index.tsx */ 92272)); + return Promise.all(/*! import() | p__Competitions__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(78617), __webpack_require__.e(17194), __webpack_require__.e(64398), __webpack_require__.e(20085), __webpack_require__.e(60578), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55693), __webpack_require__.e(72570)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Detail/index.tsx */ 84541)); }), '154': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(78617), __webpack_require__.e(17194), __webpack_require__.e(64398), __webpack_require__.e(20085), __webpack_require__.e(60578), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55693), __webpack_require__.e(72570)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Detail/index.tsx */ 84541)); + return Promise.all(/*! import() | p__Competitions__Entered__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(84567), __webpack_require__.e(30707), __webpack_require__.e(8787)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Entered/index.tsx */ 14997)); }), '155': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(78617), __webpack_require__.e(17194), __webpack_require__.e(64398), __webpack_require__.e(20085), __webpack_require__.e(60578), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55693), __webpack_require__.e(72570)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Detail/index.tsx */ 84541)); + return Promise.all(/*! import() | p__Competitions__Update__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(67851), __webpack_require__.e(45650)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Update/index.tsx */ 88306)); }), '156': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Entered__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(84567), __webpack_require__.e(30707), __webpack_require__.e(8787)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Entered/index.tsx */ 14997)); + return Promise.all(/*! import() | p__Competitions__Entered__Assembly__TeamDateil */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(36483), __webpack_require__.e(81799)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Entered/Assembly/TeamDateil.tsx */ 26491)); }), '157': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Update__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(67851), __webpack_require__.e(45650)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Update/index.tsx */ 88306)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '158': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Entered__Assembly__TeamDateil */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(36483), __webpack_require__.e(81799)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Entered/Assembly/TeamDateil.tsx */ 26491)); + return __webpack_require__.e(/*! import() | p__Forums__Index__redirect */ 28639).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Index/redirect.tsx */ 81577)); }), '159': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Forums__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(97073), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(92983)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Index/index.tsx */ 25113)); }), '160': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__Forums__Index__redirect */ 28639).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Index/redirect.tsx */ 81577)); + return Promise.all(/*! import() | p__Forums__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(88975), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(74264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/New/index.tsx */ 40266)); }), '161': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Forums__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(97073), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(92983)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Index/index.tsx */ 25113)); + return Promise.all(/*! import() | p__Forums__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(88975), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(74264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/New/index.tsx */ 40266)); }), '162': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Forums__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(88975), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(74264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/New/index.tsx */ 40266)); + return Promise.all(/*! import() | p__Forums__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(51326), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(80508)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Detail/[id].tsx */ 49190)); }), '163': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Forums__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(88975), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(74264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/New/index.tsx */ 40266)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '164': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Forums__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(51326), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(80508)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Detail/[id].tsx */ 49190)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); }), '165': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(98007), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 177)); }), '166': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); + return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(98007), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 177)); }), '167': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(98007), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 177)); + return Promise.all(/*! import() | p__Problemset__Preview__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(66012), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(11581)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/Preview/index.tsx */ 99953)); }), '168': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(98007), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 177)); + return Promise.all(/*! import() | p__Problemset__Preview__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(51370), __webpack_require__.e(78617), __webpack_require__.e(64144)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/Preview/New/index.tsx */ 16915)); }), '169': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__Preview__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(66012), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(11581)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/Preview/index.tsx */ 99953)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); }), '170': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__Preview__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(51370), __webpack_require__.e(78617), __webpack_require__.e(64144)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/Preview/New/index.tsx */ 16915)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '171': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); + return Promise.all(/*! import() | p__Shixuns__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(5506), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(28782)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Index/index.tsx */ 30258)); }), '172': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Shixuns__Exports__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(80599), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(7884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Exports/index.tsx */ 25601)); }), '173': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(5506), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(28782)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Index/index.tsx */ 30258)); + return Promise.all(/*! import() | p__Shixuns__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(25619), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(36723), __webpack_require__.e(97008)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/index.tsx */ 19088)); }), '174': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Exports__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(80599), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(7884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Exports/index.tsx */ 25601)); + return Promise.all(/*! import() | p__Shixuns__New__CreateImg__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(55806), __webpack_require__.e(65549)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/CreateImg/index.tsx */ 74734)); }), '175': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(25619), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(36723), __webpack_require__.e(97008)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/index.tsx */ 19088)); + return Promise.all(/*! import() | p__Shixuns__New__ImagePreview__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(55806), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(39430), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(99674)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/ImagePreview/index.tsx */ 47845)); }), '176': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__New__CreateImg__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(55806), __webpack_require__.e(65549)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/CreateImg/index.tsx */ 74734)); + return Promise.all(/*! import() | p__Shixuns__Detail__Merge__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(69771), __webpack_require__.e(4977), __webpack_require__.e(55573)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Merge/index.tsx */ 39753)); }), '177': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__New__ImagePreview__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(55806), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(39430), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(99674)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/ImagePreview/index.tsx */ 47845)); + return Promise.all(/*! import() | p__Shixuns__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(66012), __webpack_require__.e(10226), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(18710), __webpack_require__.e(35643), __webpack_require__.e(56277)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/index.tsx */ 66518)); }), '178': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Merge__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(69771), __webpack_require__.e(4977), __webpack_require__.e(55573)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Merge/index.tsx */ 39753)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Warehouse__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(72465), __webpack_require__.e(27277), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(18710), __webpack_require__.e(16328)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Warehouse/index.tsx */ 18710)); }), '179': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(66012), __webpack_require__.e(10226), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(18710), __webpack_require__.e(35643), __webpack_require__.e(56277)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/index.tsx */ 66518)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(34180), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(77857)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewQuestion/index.tsx */ 75966)); }), '180': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Warehouse__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(72465), __webpack_require__.e(27277), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(18710), __webpack_require__.e(16328)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Warehouse/index.tsx */ 18710)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(34180), __webpack_require__.e(16804), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(41657)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditQuestion/index.tsx */ 13856)); }), '181': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(34180), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(77857)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewQuestion/index.tsx */ 75966)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(34180), __webpack_require__.e(16804), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(41657)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditQuestion/index.tsx */ 13856)); }), '182': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(34180), __webpack_require__.e(16804), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(41657)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditQuestion/index.tsx */ 13856)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewPractice__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(34180), __webpack_require__.e(47391), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(94498)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewPractice/index.tsx */ 77218)); }), '183': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(34180), __webpack_require__.e(16804), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(41657)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditQuestion/index.tsx */ 13856)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewPractice__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(34180), __webpack_require__.e(47391), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(94498)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewPractice/index.tsx */ 77218)); }), '184': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewPractice__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(34180), __webpack_require__.e(47391), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(94498)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewPractice/index.tsx */ 77218)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(17194), __webpack_require__.e(34180), __webpack_require__.e(27318), __webpack_require__.e(30723), __webpack_require__.e(8691), __webpack_require__.e(35574), __webpack_require__.e(49205)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditPracticeSetting/index.tsx */ 97976)); }), '185': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewPractice__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(34180), __webpack_require__.e(47391), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(94498)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewPractice/index.tsx */ 77218)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(34180), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21423)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditPracticeAnswer/index.tsx */ 36599)); }), '186': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(17194), __webpack_require__.e(34180), __webpack_require__.e(27318), __webpack_require__.e(30723), __webpack_require__.e(8691), __webpack_require__.e(35574), __webpack_require__.e(49205)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditPracticeSetting/index.tsx */ 97976)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(34180), __webpack_require__.e(57614)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/RankingSetting/index.tsx */ 14317)); }), '187': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(34180), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21423)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditPracticeAnswer/index.tsx */ 36599)); + return Promise.all(/*! import() | p__Shixuns__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(78617), __webpack_require__.e(26444), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(52875)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/[id].tsx */ 20142)); }), '188': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(34180), __webpack_require__.e(57614)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/RankingSetting/index.tsx */ 14317)); + return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(50976), __webpack_require__.e(55806), __webpack_require__.e(53362), __webpack_require__.e(89777), __webpack_require__.e(26621), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(59133)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Challenges/index.tsx */ 61282)); }), '189': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(78617), __webpack_require__.e(26444), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(52875)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/[id].tsx */ 20142)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); }), '190': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(50976), __webpack_require__.e(55806), __webpack_require__.e(53362), __webpack_require__.e(89777), __webpack_require__.e(26621), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(59133)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Challenges/index.tsx */ 61282)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); }), '191': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); + return Promise.all(/*! import() | p__Shixuns__Detail__Collaborators__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(77566), __webpack_require__.e(54285), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(92026), __webpack_require__.e(93601), __webpack_require__.e(35643), __webpack_require__.e(25470)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Collaborators/index.tsx */ 83390)); }), '192': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); + return Promise.all(/*! import() | p__Shixuns__Detail__Dataset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(50976), __webpack_require__.e(17194), __webpack_require__.e(89777), __webpack_require__.e(55203), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(86541)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Dataset/index.tsx */ 97938)); }), '193': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Collaborators__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(77566), __webpack_require__.e(54285), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(92026), __webpack_require__.e(93601), __webpack_require__.e(35643), __webpack_require__.e(25470)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Collaborators/index.tsx */ 83390)); + return Promise.all(/*! import() | p__Shixuns__Detail__Discuss__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4656), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(32925), __webpack_require__.e(22254)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Discuss/index.tsx */ 69638)); }), '194': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Dataset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(50976), __webpack_require__.e(17194), __webpack_require__.e(89777), __webpack_require__.e(55203), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(86541)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Dataset/index.tsx */ 97938)); + return Promise.all(/*! import() | p__Shixuns__Detail__RankingList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(6685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/RankingList/index.tsx */ 97513)); }), '195': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Discuss__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4656), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(32925), __webpack_require__.e(22254)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Discuss/index.tsx */ 69638)); + return Promise.all(/*! import() | p__Shixuns__Detail__Settings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(25619), __webpack_require__.e(59289), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(16845)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Settings/index.tsx */ 90418)); }), '196': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__RankingList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(6685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/RankingList/index.tsx */ 97513)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__Commit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/Commit/index.tsx */ 92041)); }), '197': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Settings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(25619), __webpack_require__.e(59289), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(16845)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Settings/index.tsx */ 90418)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__Commit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/Commit/index.tsx */ 92041)); }), '198': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__Commit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/Commit/index.tsx */ 92041)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__UploadFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(81148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/UploadFile/index.tsx */ 91802)); }), '199': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__Commit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/Commit/index.tsx */ 92041)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__UploadFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(81148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/UploadFile/index.tsx */ 91802)); }), '200': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__UploadFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(81148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/UploadFile/index.tsx */ 91802)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__AddFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(43915), __webpack_require__.e(97046)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/AddFile/index.tsx */ 95479)); }), '201': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__UploadFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(81148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/UploadFile/index.tsx */ 91802)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__AddFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(43915), __webpack_require__.e(97046)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/AddFile/index.tsx */ 95479)); }), '202': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__AddFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(43915), __webpack_require__.e(97046)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/AddFile/index.tsx */ 95479)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); }), '203': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__AddFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(43915), __webpack_require__.e(97046)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/AddFile/index.tsx */ 95479)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); }), '204': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); + return Promise.all(/*! import() | p__Shixuns__Detail__AuditSituation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4967), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(45096)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/AuditSituation/index.tsx */ 97367)); }), '205': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); + return Promise.all(/*! import() | p__Shixuns__Detail__ForkList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(19215)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/ForkList/index.tsx */ 69422)); }), '206': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__AuditSituation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4967), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(45096)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/AuditSituation/index.tsx */ 97367)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '207': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__ForkList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(19215)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/ForkList/index.tsx */ 69422)); + return Promise.all(/*! import() | p__User__Detail__Videos__Protocol__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(95176)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Protocol/index.tsx */ 50360)); }), '208': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__User__Detail__Videos__Success__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(19891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Success/index.tsx */ 33218)); }), '209': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Videos__Protocol__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(95176)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Protocol/index.tsx */ 50360)); + return Promise.all(/*! import() | p__User__Detail__Topicbank__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(11004), __webpack_require__.e(4977), __webpack_require__.e(98062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topicbank/index.tsx */ 1858)); }), '210': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Videos__Success__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(19891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Success/index.tsx */ 33218)); + return Promise.all(/*! import() | p__User__Detail__Topics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(93291), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(15402)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Detail/index.tsx */ 71683)); }), '211': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topicbank__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(11004), __webpack_require__.e(4977), __webpack_require__.e(98062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topicbank/index.tsx */ 1858)); + return Promise.all(/*! import() | p__User__Detail__Topics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(93291), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(15402)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Detail/index.tsx */ 71683)); }), '212': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(93291), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(15402)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Detail/index.tsx */ 71683)); + return Promise.all(/*! import() | p__User__Detail__Topics__Normal__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(94512), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(86820)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Normal/index.tsx */ 28282)); }), '213': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(93291), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(15402)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Detail/index.tsx */ 71683)); + return Promise.all(/*! import() | p__User__Detail__Topics__Group__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(88092), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(88517)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Group/index.tsx */ 6247)); }), '214': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Normal__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(94512), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(86820)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Normal/index.tsx */ 28282)); + return Promise.all(/*! import() | p__User__Detail__Topics__Exercise__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(16758), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Exercise/Edit/index.tsx */ 69744)); }), '215': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Group__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(88092), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(88517)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Group/index.tsx */ 6247)); + return Promise.all(/*! import() | p__User__Detail__Topics__Exercise__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(64547), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(52806)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Exercise/Detail/index.tsx */ 40216)); }), '216': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Exercise__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(16758), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Exercise/Edit/index.tsx */ 69744)); + return Promise.all(/*! import() | p__User__Detail__Topics__Poll__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(41880), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(75043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Poll/Edit/index.tsx */ 37286)); }), '217': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Exercise__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(64547), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(52806)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Exercise/Detail/index.tsx */ 40216)); + return Promise.all(/*! import() | p__User__Detail__Topics__Poll__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(36040), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(10799)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Poll/Detail/index.tsx */ 81711)); }), '218': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Poll__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(41880), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(75043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Poll/Edit/index.tsx */ 37286)); + return Promise.all(/*! import() | p__User__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(72529)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/[id].tsx */ 79296)); }), '219': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Poll__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(36040), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(10799)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Poll/Detail/index.tsx */ 81711)); + return Promise.all(/*! import() | p__User__Detail__Classrooms__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(66582), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(66583)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Classrooms/index.tsx */ 74303)); }), '220': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(72529)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/[id].tsx */ 79296)); + return Promise.all(/*! import() | p__User__Detail__Classrooms__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(66582), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(66583)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Classrooms/index.tsx */ 74303)); }), '221': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Classrooms__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(66582), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(66583)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Classrooms/index.tsx */ 74303)); + return Promise.all(/*! import() | p__User__Detail__Shixuns__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(43778), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(18307)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Shixuns/index.tsx */ 48358)); }), '222': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Classrooms__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(66582), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(66583)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Classrooms/index.tsx */ 74303)); + return Promise.all(/*! import() | p__User__Detail__UserPortrait__index */[__webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/UserPortrait/index.tsx */ 51819)); }), '223': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Shixuns__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(43778), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(18307)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Shixuns/index.tsx */ 48358)); + return Promise.all(/*! import() | p__User__Detail__LearningPath__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(3482), __webpack_require__.e(14610)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/LearningPath/index.tsx */ 62891)); }), '224': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__UserPortrait__index */[__webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/UserPortrait/index.tsx */ 51819)); + return Promise.all(/*! import() | p__User__Detail__TeachGroup__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(77566), __webpack_require__.e(80670), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(79590)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/TeachGroup/index.tsx */ 27217)); }), '225': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__LearningPath__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(3482), __webpack_require__.e(14610)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/LearningPath/index.tsx */ 62891)); + return Promise.all(/*! import() | p__User__Detail__ExperImentImg__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(75800), __webpack_require__.e(55806), __webpack_require__.e(40018), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(94849)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/ExperImentImg/index.tsx */ 73301)); }), '226': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__TeachGroup__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(77566), __webpack_require__.e(80670), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(79590)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/TeachGroup/index.tsx */ 27217)); + return Promise.all(/*! import() | p__User__Detail__ExperImentImg__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/ExperImentImg/Detail/index.tsx */ 90157)); }), '227': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__ExperImentImg__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(75800), __webpack_require__.e(55806), __webpack_require__.e(40018), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(94849)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/ExperImentImg/index.tsx */ 73301)); + return Promise.all(/*! import() | p__User__Detail__Certificate__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(55806), __webpack_require__.e(80599), __webpack_require__.e(63543), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(8348), __webpack_require__.e(65191)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Certificate/index.tsx */ 22246)); }), '228': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__ExperImentImg__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/ExperImentImg/Detail/index.tsx */ 90157)); + return Promise.all(/*! import() | p__User__Detail__OtherResources__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(48896), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(93496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/OtherResources/index.tsx */ 65571)); }), '229': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Certificate__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(55806), __webpack_require__.e(80599), __webpack_require__.e(63543), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(8348), __webpack_require__.e(65191)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Certificate/index.tsx */ 22246)); + return Promise.all(/*! import() | p__User__Detail__Paths__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(98991), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(94662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Paths/index.tsx */ 91805)); }), '230': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__OtherResources__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(48896), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(93496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/OtherResources/index.tsx */ 65571)); + return Promise.all(/*! import() | p__User__Detail__Projects__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(53440), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(4736)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Projects/index.tsx */ 2187)); }), '231': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Paths__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(98991), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(94662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Paths/index.tsx */ 91805)); + return Promise.all(/*! import() | p__User__Detail__Videos__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(99160), __webpack_require__.e(71514), __webpack_require__.e(20959), __webpack_require__.e(22562), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(8423), __webpack_require__.e(75463), __webpack_require__.e(12412)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/index.tsx */ 85077)); }), '232': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Projects__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(53440), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(4736)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Projects/index.tsx */ 2187)); + return Promise.all(/*! import() | p__User__Detail__Videos__Upload__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(39146), __webpack_require__.e(42240)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Upload/index.tsx */ 13198)); }), '233': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Videos__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(99160), __webpack_require__.e(71514), __webpack_require__.e(20959), __webpack_require__.e(22562), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(8423), __webpack_require__.e(75463), __webpack_require__.e(12412)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/index.tsx */ 85077)); + return Promise.all(/*! import() | p__User__Detail__Topics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(71514), __webpack_require__.e(11004), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(90265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/index.tsx */ 12569)); }), '234': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Videos__Upload__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(39146), __webpack_require__.e(42240)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Upload/index.tsx */ 13198)); + return Promise.all(/*! import() | p__User__Detail__virtualSpaces__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(37099), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(97642), __webpack_require__.e(36723), __webpack_require__.e(19360)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/virtualSpaces/index.tsx */ 82862)); }), '235': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(71514), __webpack_require__.e(11004), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(90265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/index.tsx */ 12569)); + return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); }), '236': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__virtualSpaces__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(37099), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(97642), __webpack_require__.e(36723), __webpack_require__.e(19360)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/virtualSpaces/index.tsx */ 82862)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '237': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); + return Promise.all(/*! import() | p__Question__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(20085), __webpack_require__.e(3446), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(29647)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/Index/index.tsx */ 83453)); }), '238': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Question__AddOrEdit__BatchAdd__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(10485)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/BatchAdd/index.tsx */ 78298)); }), '239': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Question__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(20085), __webpack_require__.e(3446), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(29647)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/Index/index.tsx */ 83453)); + return Promise.all(/*! import() | p__Problems__OjForm__NewEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(17194), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(6968), __webpack_require__.e(35631), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/NewEdit/index.tsx */ 6981)); }), '240': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Question__AddOrEdit__BatchAdd__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(10485)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/BatchAdd/index.tsx */ 78298)); + return Promise.all(/*! import() | p__Problems__OjForm__NewEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(17194), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(6968), __webpack_require__.e(35631), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/NewEdit/index.tsx */ 6981)); }), '241': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problems__OjForm__NewEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(17194), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(6968), __webpack_require__.e(35631), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/NewEdit/index.tsx */ 6981)); + return Promise.all(/*! import() | p__Problems__OjForm__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(17194), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(27078), __webpack_require__.e(6968), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34994)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/index.tsx */ 74658)); }), '242': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problems__OjForm__NewEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(17194), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(6968), __webpack_require__.e(35631), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/NewEdit/index.tsx */ 6981)); + return Promise.all(/*! import() | p__Problems__OjForm__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(17194), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(27078), __webpack_require__.e(6968), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34994)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/index.tsx */ 74658)); }), '243': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problems__OjForm__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(17194), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(27078), __webpack_require__.e(6968), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34994)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/index.tsx */ 74658)); + return Promise.all(/*! import() | p__Question__OjProblem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(75153), __webpack_require__.e(36433), __webpack_require__.e(13215), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(69060), __webpack_require__.e(77460)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/OjProblem/index.tsx */ 98968)); }), '244': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problems__OjForm__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(17194), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(27078), __webpack_require__.e(6968), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34994)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/index.tsx */ 74658)); + return Promise.all(/*! import() | p__Question__OjProblem__RecordDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(49716)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/OjProblem/RecordDetail/index.tsx */ 41721)); }), '245': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Question__OjProblem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(75153), __webpack_require__.e(36433), __webpack_require__.e(13215), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(69060), __webpack_require__.e(77460)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/OjProblem/index.tsx */ 98968)); + return Promise.all(/*! import() | p__Question__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(17194), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(192), __webpack_require__.e(8691), __webpack_require__.e(35574), __webpack_require__.e(86913)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/index.tsx */ 16347)); }), '246': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Question__OjProblem__RecordDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(49716)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/OjProblem/RecordDetail/index.tsx */ 41721)); + return Promise.all(/*! import() | p__Question__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(17194), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(192), __webpack_require__.e(8691), __webpack_require__.e(35574), __webpack_require__.e(86913)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/index.tsx */ 16347)); }), '247': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Question__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(17194), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(192), __webpack_require__.e(8691), __webpack_require__.e(35574), __webpack_require__.e(86913)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/index.tsx */ 16347)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '248': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Question__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(17194), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(192), __webpack_require__.e(8691), __webpack_require__.e(35574), __webpack_require__.e(86913)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/index.tsx */ 16347)); + return Promise.all(/*! import() | p__Engineering__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(13006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/index.tsx */ 46305)); }), '249': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Engineering__Lists__TeacherList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(2082), __webpack_require__.e(92045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TeacherList/index.tsx */ 3369)); }), '250': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(13006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/index.tsx */ 46305)); + return Promise.all(/*! import() | p__Engineering__Lists__StudentList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(2082), __webpack_require__.e(11520)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/StudentList/index.tsx */ 45721)); }), '251': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__TeacherList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(2082), __webpack_require__.e(92045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TeacherList/index.tsx */ 3369)); + return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(12034), __webpack_require__.e(59649)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/index.tsx */ 75200)); }), '252': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__StudentList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(2082), __webpack_require__.e(11520)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/StudentList/index.tsx */ 45721)); + return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(84546)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/Add/index.tsx */ 21785)); }), '253': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(12034), __webpack_require__.e(59649)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/index.tsx */ 75200)); + return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(75357)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/Edit/index.tsx */ 63879)); }), '254': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(84546)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/Add/index.tsx */ 21785)); + return Promise.all(/*! import() | p__Engineering__Lists__TrainingObjectives__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43025), __webpack_require__.e(12034), __webpack_require__.e(68665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingObjectives/index.tsx */ 64517)); }), '255': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(75357)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/Edit/index.tsx */ 63879)); + return Promise.all(/*! import() | p__Engineering__Lists__GraduationIndex__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(68369), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(73183)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/GraduationIndex/index.tsx */ 45331)); }), '256': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__TrainingObjectives__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43025), __webpack_require__.e(12034), __webpack_require__.e(68665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingObjectives/index.tsx */ 64517)); + return Promise.all(/*! import() | p__Engineering__Lists__GraduatedMatrix__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(72465), __webpack_require__.e(34800)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/GraduatedMatrix/index.tsx */ 70309)); }), '257': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__GraduationIndex__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(68369), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(73183)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/GraduationIndex/index.tsx */ 45331)); + return Promise.all(/*! import() | p__Engineering__Lists__CourseList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(12034), __webpack_require__.e(79489)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CourseList/index.tsx */ 73816)); }), '258': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__GraduatedMatrix__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(72465), __webpack_require__.e(34800)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/GraduatedMatrix/index.tsx */ 70309)); + return Promise.all(/*! import() | p__Engineering__Lists__CurseSetting__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(94220), __webpack_require__.e(87234), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(39391)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CurseSetting/index.tsx */ 15613)); }), '259': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__CourseList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(12034), __webpack_require__.e(79489)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CourseList/index.tsx */ 73816)); + return Promise.all(/*! import() | p__Engineering__Lists__CourseMatrix__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(95335)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CourseMatrix/index.tsx */ 99438)); }), '260': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__CurseSetting__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(94220), __webpack_require__.e(87234), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(39391)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CurseSetting/index.tsx */ 15613)); + return Promise.all(/*! import() | p__Engineering__Navigation__Home__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(92823)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Navigation/Home/index.tsx */ 12653)); }), '261': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__CourseMatrix__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(95335)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CourseMatrix/index.tsx */ 99438)); + return Promise.all(/*! import() | p__Engineering__Evaluate__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(53362), __webpack_require__.e(4973)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Evaluate/List/index.tsx */ 35272)); }), '262': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Navigation__Home__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(92823)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Navigation/Home/index.tsx */ 12653)); + return Promise.all(/*! import() | p__Engineering__Evaluate__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(50976), __webpack_require__.e(66651)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Evaluate/Detail/index.tsx */ 14057)); }), '263': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Evaluate__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(53362), __webpack_require__.e(4973)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Evaluate/List/index.tsx */ 35272)); + return Promise.all(/*! import() | p__Engineering__Norm__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(26741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Norm/List/index.tsx */ 12758)); }), '264': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Evaluate__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(50976), __webpack_require__.e(66651)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Evaluate/Detail/index.tsx */ 14057)); + return Promise.all(/*! import() | p__Engineering__Lists__Document__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(12034), __webpack_require__.e(45775)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/Document/index.tsx */ 31659)); }), '265': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Norm__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(26741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Norm/List/index.tsx */ 12758)); + return __webpack_require__.e(/*! import() | p__Engineering__Norm__Detail__index */ 62548).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Norm/Detail/index.tsx */ 79222)); }), '266': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__Document__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(12034), __webpack_require__.e(45775)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/Document/index.tsx */ 31659)); + return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); }), '267': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__Engineering__Norm__Detail__index */ 62548).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Norm/Detail/index.tsx */ 79222)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '268': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); + return Promise.all(/*! import() | p__virtualSpaces__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(61655), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(36723), __webpack_require__.e(34608)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Index/index.tsx */ 23468)); }), '269': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(26184), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(44510)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ 78816)); }), '270': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(61655), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(36723), __webpack_require__.e(34608)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Index/index.tsx */ 23468)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(26184), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(44510)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ 78816)); }), '271': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(26184), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(44510)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ 78816)); + return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(82375), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(66012), __webpack_require__.e(25578), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); }), '272': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(26184), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(44510)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ 78816)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(44666), __webpack_require__.e(4977), __webpack_require__.e(71218)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/index.tsx */ 95307)); }), '273': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(82375), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(66012), __webpack_require__.e(25578), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(25896)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/Detail/index.tsx */ 30769)); }), '274': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(44666), __webpack_require__.e(4977), __webpack_require__.e(71218)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/index.tsx */ 95307)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Course__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(64398), __webpack_require__.e(72230), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(35588)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Course/index.tsx */ 78342)); }), '275': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(25896)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/Detail/index.tsx */ 30769)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Shixuns__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(87261), __webpack_require__.e(56379), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(59267), __webpack_require__.e(91487)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Shixuns/index.tsx */ 87563)); }), '276': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Course__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(64398), __webpack_require__.e(72230), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(35588)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Course/index.tsx */ 78342)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Video__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(64398), __webpack_require__.e(99160), __webpack_require__.e(20959), __webpack_require__.e(15109), __webpack_require__.e(4977), __webpack_require__.e(8423), __webpack_require__.e(54836), __webpack_require__.e(4639)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Video/index.tsx */ 57418)); }), '277': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Shixuns__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(87261), __webpack_require__.e(56379), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(59267), __webpack_require__.e(91487)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Shixuns/index.tsx */ 87563)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Video__Upload__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(19428), __webpack_require__.e(5348)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Video/Upload/index.tsx */ 97257)); }), '278': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Video__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(64398), __webpack_require__.e(99160), __webpack_require__.e(20959), __webpack_require__.e(15109), __webpack_require__.e(4977), __webpack_require__.e(8423), __webpack_require__.e(54836), __webpack_require__.e(4639)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Video/index.tsx */ 57418)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Member__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(81425), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(43465)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Member/index.tsx */ 52606)); }), '279': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Video__Upload__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(19428), __webpack_require__.e(5348)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Video/Upload/index.tsx */ 97257)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Notices__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(17379), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(54472)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Notices/index.tsx */ 3968)); }), '280': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Member__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(81425), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(43465)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Member/index.tsx */ 52606)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Managements__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(8631), __webpack_require__.e(97642), __webpack_require__.e(13414)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Managements/index.tsx */ 11365)); }), '281': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Notices__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(17379), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(54472)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Notices/index.tsx */ 3968)); + return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Graphs__index */ 29080).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Graphs/index.tsx */ 98776)); }), '282': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Managements__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(8631), __webpack_require__.e(97642), __webpack_require__.e(13414)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Managements/index.tsx */ 11365)); + return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492)); }), '283': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Graphs__index */ 29080).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Graphs/index.tsx */ 98776)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '284': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492)); + return Promise.all(/*! import() | p__Innovation__Tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(77566), __webpack_require__.e(2206), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(78806), __webpack_require__.e(86634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Tasks/index.jsx */ 11198)); }), '285': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Innovation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(20680)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/index.tsx */ 78148)); }), '286': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__Tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(77566), __webpack_require__.e(2206), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(78806), __webpack_require__.e(86634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Tasks/index.jsx */ 11198)); + return Promise.all(/*! import() | p__Innovation__PublicProject__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(33692), __webpack_require__.e(4977), __webpack_require__.e(26366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicProject/index.tsx */ 62218)); }), '287': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(20680)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/index.tsx */ 78148)); + return Promise.all(/*! import() | p__Innovation__PublicDataSet__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(28338), __webpack_require__.e(86452)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicDataSet/index.tsx */ 11884)); }), '288': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__PublicProject__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(33692), __webpack_require__.e(4977), __webpack_require__.e(26366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicProject/index.tsx */ 62218)); + return Promise.all(/*! import() | p__Innovation__PublicMirror__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(11070)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicMirror/index.tsx */ 65142)); }), '289': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__PublicDataSet__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(28338), __webpack_require__.e(86452)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicDataSet/index.tsx */ 11884)); + return Promise.all(/*! import() | p__Innovation__MyProject__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(46041), __webpack_require__.e(4977), __webpack_require__.e(67242)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyProject/index.tsx */ 18263)); }), '290': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__PublicMirror__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(11070)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicMirror/index.tsx */ 65142)); + return Promise.all(/*! import() | p__Innovation__MyDataSet__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(28338), __webpack_require__.e(22707)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyDataSet/index.tsx */ 98160)); }), '291': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__MyProject__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(46041), __webpack_require__.e(4977), __webpack_require__.e(67242)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyProject/index.tsx */ 18263)); + return Promise.all(/*! import() | p__Innovation__MyMirror__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(28338), __webpack_require__.e(12865)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyMirror/index.tsx */ 72746)); }), '292': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__MyDataSet__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(28338), __webpack_require__.e(22707)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyDataSet/index.tsx */ 98160)); + return Promise.all(/*! import() | p__Innovation__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(28338), __webpack_require__.e(36784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Edit/index.tsx */ 5480)); }), '293': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__MyMirror__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(28338), __webpack_require__.e(12865)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyMirror/index.tsx */ 72746)); + return Promise.all(/*! import() | p__Innovation__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(28338), __webpack_require__.e(36784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Edit/index.tsx */ 5480)); }), '294': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(28338), __webpack_require__.e(36784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Edit/index.tsx */ 5480)); + return Promise.all(/*! import() | p__Innovation__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(77566), __webpack_require__.e(4900), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(83141)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Detail/index.tsx */ 93175)); }), '295': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(28338), __webpack_require__.e(36784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Edit/index.tsx */ 5480)); + return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); }), '296': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(77566), __webpack_require__.e(4900), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(83141)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Detail/index.tsx */ 93175)); + return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(31794), __webpack_require__.e(1988), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(32925), __webpack_require__.e(73718), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 24968)); }), '297': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); + return Promise.all(/*! import() | p__tasks__Jupyter__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(1988), __webpack_require__.e(32827), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(20700)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/Jupyter/index.tsx */ 80133)); }), '298': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(31794), __webpack_require__.e(1988), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(32925), __webpack_require__.e(73718), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 83420)); + return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(31794), __webpack_require__.e(1988), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(32925), __webpack_require__.e(73718), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 24968)); }), '299': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__tasks__Jupyter__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(1988), __webpack_require__.e(32827), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(20700)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/Jupyter/index.tsx */ 80133)); }), '300': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(31794), __webpack_require__.e(1988), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(32925), __webpack_require__.e(73718), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 83420)); + return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(31794), __webpack_require__.e(1988), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(32925), __webpack_require__.e(73718), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 24968)); }), '301': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__tasks__Jupyter__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(1988), __webpack_require__.e(32827), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(20700)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/Jupyter/index.tsx */ 80133)); + return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); }), '302': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(17194), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(31794), __webpack_require__.e(1988), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(32925), __webpack_require__.e(73718), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 83420)); + return Promise.all(/*! import() | p__MyProblem__RecordDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(28510), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(17527)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MyProblem/RecordDetail/index.tsx */ 33010)); }), '303': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); + return Promise.all(/*! import() | p__MyProblem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(36433), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(78806), __webpack_require__.e(69060), __webpack_require__.e(36270)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MyProblem/index.tsx */ 99971)); }), '304': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__MyProblem__RecordDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(28510), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(17527)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MyProblem/RecordDetail/index.tsx */ 33010)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '305': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__MyProblem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(36433), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(78806), __webpack_require__.e(69060), __webpack_require__.e(36270)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MyProblem/index.tsx */ 99971)); + return Promise.all(/*! import() | p__Account__index */[__webpack_require__.e(67851), __webpack_require__.e(60547)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/index.tsx */ 34120)); }), '306': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Account__Profile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(78617), __webpack_require__.e(46059), __webpack_require__.e(12325), __webpack_require__.e(44838), __webpack_require__.e(59788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Profile/index.tsx */ 91830)); }), '307': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Account__index */[__webpack_require__.e(67851), __webpack_require__.e(60547)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/index.tsx */ 34120)); + return Promise.all(/*! import() | p__Account__Profile__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(78617), __webpack_require__.e(46059), __webpack_require__.e(12325), __webpack_require__.e(44838), __webpack_require__.e(20576)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Profile/Edit/index.tsx */ 28744)); }), '308': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Account__Profile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(78617), __webpack_require__.e(46059), __webpack_require__.e(12325), __webpack_require__.e(44838), __webpack_require__.e(59788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Profile/index.tsx */ 91830)); + return Promise.all(/*! import() | p__Account__Certification__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(78617), __webpack_require__.e(46059), __webpack_require__.e(12325), __webpack_require__.e(55693), __webpack_require__.e(87260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Certification/index.tsx */ 24464)); }), '309': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Account__Profile__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(78617), __webpack_require__.e(46059), __webpack_require__.e(12325), __webpack_require__.e(44838), __webpack_require__.e(20576)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Profile/Edit/index.tsx */ 28744)); + return Promise.all(/*! import() | p__Account__Secure__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(64520)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Secure/index.tsx */ 29051)); }), '310': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Account__Certification__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(78617), __webpack_require__.e(46059), __webpack_require__.e(12325), __webpack_require__.e(55693), __webpack_require__.e(87260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Certification/index.tsx */ 24464)); + return __webpack_require__.e(/*! import() | p__Account__Binding__index */ 89076).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Binding/index.tsx */ 55291)); }), '311': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Account__Secure__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(64520)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Secure/index.tsx */ 29051)); + return Promise.all(/*! import() | p__Account__Results__index */[__webpack_require__.e(21649), __webpack_require__.e(1226), __webpack_require__.e(14514)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Results/index.tsx */ 55487)); }), '312': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__Account__Binding__index */ 89076).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Binding/index.tsx */ 55291)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '313': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Account__Results__index */[__webpack_require__.e(21649), __webpack_require__.e(1226), __webpack_require__.e(14514)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Results/index.tsx */ 55487)); + return Promise.all(/*! import() | p__RestFul__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(79779), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(70928)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/Edit/index.tsx */ 37513)); }), '314': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__RestFul__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(93562), __webpack_require__.e(43295), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(31006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/index.tsx */ 23632)); }), '315': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__RestFul__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(79779), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(70928)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/Edit/index.tsx */ 37513)); + return Promise.all(/*! import() | p__RestFul__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(93562), __webpack_require__.e(43295), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(31006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/index.tsx */ 23632)); }), '316': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__RestFul__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(93562), __webpack_require__.e(43295), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(31006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/index.tsx */ 23632)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '317': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__RestFul__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(93562), __webpack_require__.e(43295), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(31006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/index.tsx */ 23632)); + return Promise.all(/*! import() | p__User__Detail__Order__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(21939)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/index.tsx */ 21101)); }), '318': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return __webpack_require__.e(/*! import() | p__User__Detail__Order__pages__orderInformation__index */ 85111).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/orderInformation/index.tsx */ 76638)); }), '319': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Order__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(21939)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/index.tsx */ 21101)); + return Promise.all(/*! import() | p__User__Detail__Order__pages__orderPay__index */[__webpack_require__.e(79361), __webpack_require__.e(30264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/orderPay/index.tsx */ 97244)); }), '320': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__User__Detail__Order__pages__orderInformation__index */ 85111).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/orderInformation/index.tsx */ 76638)); + return Promise.all(/*! import() | p__User__Detail__Order__pages__result__index */[__webpack_require__.e(53114), __webpack_require__.e(44259)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/result/index.tsx */ 51972)); }), '321': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Order__pages__orderPay__index */[__webpack_require__.e(79361), __webpack_require__.e(30264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/orderPay/index.tsx */ 97244)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '322': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Order__pages__result__index */[__webpack_require__.e(53114), __webpack_require__.e(44259)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/result/index.tsx */ 51972)); + return Promise.all(/*! import() | p__Messages__Tidings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(64057), __webpack_require__.e(94078)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Tidings/index.tsx */ 20315)); }), '323': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Messages__Private__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(11525), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(52829)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Private/index.tsx */ 22845)); }), '324': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Messages__Tidings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(64057), __webpack_require__.e(94078)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Tidings/index.tsx */ 20315)); + return Promise.all(/*! import() | p__Messages__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(8774), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(45359)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Detail/index.tsx */ 82949)); }), '325': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Messages__Private__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(11525), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(52829)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Private/index.tsx */ 22845)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '326': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Messages__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(8774), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(45359)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Detail/index.tsx */ 82949)); + return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(82375), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(66012), __webpack_require__.e(25578), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); }), '327': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(87261), __webpack_require__.e(56379), __webpack_require__.e(28020), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(59267), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 45335)); }), '328': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(82375), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(66012), __webpack_require__.e(25578), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(32415), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 5563)); }), '329': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(87261), __webpack_require__.e(56379), __webpack_require__.e(28020), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(59267), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 45335)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); }), '330': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(32415), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 5563)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); }), '331': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(89626), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(46796)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/Detail/index.tsx */ 22619)); }), '332': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(47638), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(24504)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/index.tsx */ 57041)); }), '333': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(89626), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(46796)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/Detail/index.tsx */ 22619)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(79713), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(87058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/Detail/index.tsx */ 95888)); }), '334': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(47638), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(24504)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/index.tsx */ 57041)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(52182), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 47447)); }), '335': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(79713), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(87058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/Detail/index.tsx */ 95888)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); }), '336': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(52182), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 47447)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); }), '337': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87561), __webpack_require__.e(49666), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(35238)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/index.tsx */ 64909)); }), '338': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87561), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(94715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/Detail/index.tsx */ 56035)); }), '339': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87561), __webpack_require__.e(49666), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(35238)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/index.tsx */ 64909)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Settings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(49960), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(61713)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Settings/index.tsx */ 32826)); }), '340': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87561), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(94715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/Detail/index.tsx */ 56035)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(794), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(85891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/index.tsx */ 2306)); }), '341': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Settings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(49960), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(61713)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Settings/index.tsx */ 32826)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(58269), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(98398)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/Detail/index.tsx */ 7285)); }), '342': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(794), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(85891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/index.tsx */ 2306)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(99532), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(18241)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/index.tsx */ 4262)); }), '343': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(58269), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(98398)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/Detail/index.tsx */ 7285)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(95870), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(82339)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/Detail/index.tsx */ 70190)); }), '344': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(99532), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(18241)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/index.tsx */ 4262)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80747), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); }), '345': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(95870), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(82339)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/Detail/index.tsx */ 70190)); + return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492)); }), '346': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80747), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '347': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492)); + return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(82375), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(66012), __webpack_require__.e(25578), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); }), '348': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(87261), __webpack_require__.e(56379), __webpack_require__.e(28020), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(59267), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 45335)); }), '349': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(82375), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(66012), __webpack_require__.e(25578), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(32415), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 5563)); }), '350': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(87261), __webpack_require__.e(56379), __webpack_require__.e(28020), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(59267), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 45335)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); }), '351': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(32415), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 5563)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); }), '352': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(89626), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(46796)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/Detail/index.tsx */ 22619)); }), '353': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(47638), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(24504)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/index.tsx */ 57041)); }), '354': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(89626), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(46796)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/Detail/index.tsx */ 22619)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(79713), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(87058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/Detail/index.tsx */ 95888)); }), '355': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(47638), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(24504)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/index.tsx */ 57041)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(52182), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 47447)); }), '356': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(79713), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(87058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/Detail/index.tsx */ 95888)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); }), '357': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(52182), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 47447)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); }), '358': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87561), __webpack_require__.e(49666), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(35238)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/index.tsx */ 64909)); }), '359': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87561), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(94715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/Detail/index.tsx */ 56035)); }), '360': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87561), __webpack_require__.e(49666), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(35238)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/index.tsx */ 64909)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Settings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(49960), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(61713)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Settings/index.tsx */ 32826)); }), '361': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87561), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(94715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/Detail/index.tsx */ 56035)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(794), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(85891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/index.tsx */ 2306)); }), '362': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Settings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(49960), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(85343), __webpack_require__.e(61713)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Settings/index.tsx */ 32826)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(58269), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(98398)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/Detail/index.tsx */ 7285)); }), '363': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(794), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(85891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/index.tsx */ 2306)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(99532), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(18241)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/index.tsx */ 4262)); }), '364': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(58269), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(98398)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/Detail/index.tsx */ 7285)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(95870), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(82339)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/Detail/index.tsx */ 70190)); }), '365': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(99532), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(18241)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/index.tsx */ 4262)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80747), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); }), '366': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(95870), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(82339)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/Detail/index.tsx */ 70190)); + return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492)); }), '367': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80747), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); + return Promise.all(/*! import() | p__Demo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(72465), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(14058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Demo/index.tsx */ 64161)); }), '368': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '369': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Demo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(72465), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(14058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Demo/index.tsx */ 64161)); + return Promise.all(/*! import() | p__IntrainCourse__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(99836), __webpack_require__.e(20085), __webpack_require__.e(14628), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(54056)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/IntrainCourse/index.tsx */ 33654)); }), '370': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__User__OtherLogin__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(2246), __webpack_require__.e(65294)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/OtherLogin/index.tsx */ 7304)); }), '371': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__IntrainCourse__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(99836), __webpack_require__.e(20085), __webpack_require__.e(14628), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(54056)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/IntrainCourse/index.tsx */ 33654)); + return __webpack_require__.e(/*! import() | p__User__QQLogin__index */ 1660).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/QQLogin/index.tsx */ 97944)); }), '372': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__OtherLogin__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(2246), __webpack_require__.e(65294)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/OtherLogin/index.tsx */ 7304)); + return __webpack_require__.e(/*! import() | p__User__WechatLogin__index */ 27333).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/WechatLogin/index.tsx */ 128)); }), '373': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__User__QQLogin__index */ 1660).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/QQLogin/index.tsx */ 97944)); + return Promise.all(/*! import() | layouts__user__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38385), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(25972)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/user/index.tsx */ 59885)); }), '374': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__User__WechatLogin__index */ 27333).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/WechatLogin/index.tsx */ 128)); + return Promise.all(/*! import() | p__User__Login__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(8083), __webpack_require__.e(49366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Login/index.tsx */ 55942)); }), '375': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | layouts__user__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38385), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(25972)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/user/index.tsx */ 59885)); @@ -125452,111 +125445,105 @@ function _getRoutes() { return Promise.all(/*! import() | p__User__Login__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(8083), __webpack_require__.e(49366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Login/index.tsx */ 55942)); }), '377': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__user__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38385), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(25972)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/user/index.tsx */ 59885)); + return Promise.all(/*! import() | p__User__Register__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(2246), __webpack_require__.e(91470)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Register/index.tsx */ 47407)); }), '378': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Login__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(8083), __webpack_require__.e(49366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Login/index.tsx */ 55942)); + return Promise.all(/*! import() | p__User__ResetPassword__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(2246), __webpack_require__.e(27182)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/ResetPassword/index.tsx */ 95987)); }), '379': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Register__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(2246), __webpack_require__.e(91470)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Register/index.tsx */ 47407)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '380': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__ResetPassword__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(2246), __webpack_require__.e(27182)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/ResetPassword/index.tsx */ 95987)); + return Promise.all(/*! import() | p__Colleges__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(50976), __webpack_require__.e(4977), __webpack_require__.e(12476)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Colleges/index.tsx */ 94490)); }), '381': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '382': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Colleges__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(50976), __webpack_require__.e(4977), __webpack_require__.e(12476)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Colleges/index.tsx */ 94490)); + return Promise.all(/*! import() | p__Help__Index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(34131), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(35729)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Help/Index.tsx */ 68996)); }), '383': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '384': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Help__Index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(34131), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(35729)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Help/Index.tsx */ 68996)); + return Promise.all(/*! import() | p__Video__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(27084), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(8423), __webpack_require__.e(96444)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Video/Detail/[id].tsx */ 9893)); }), '385': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Terminal__index */[__webpack_require__.e(21649), __webpack_require__.e(1226), __webpack_require__.e(99836), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(73718), __webpack_require__.e(65111)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Terminal/index.tsx */ 52510)); }), '386': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Video__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(27084), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(8423), __webpack_require__.e(96444)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Video/Detail/[id].tsx */ 9893)); + return __webpack_require__.e(/*! import() | p__Report__index */ 22307).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Report/index.tsx */ 6584)); }), '387': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Terminal__index */[__webpack_require__.e(21649), __webpack_require__.e(1226), __webpack_require__.e(99836), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(73718), __webpack_require__.e(65111)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Terminal/index.tsx */ 52510)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '388': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__Report__index */ 22307).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Report/index.tsx */ 6584)); + return Promise.all(/*! import() | p__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(99160), __webpack_require__.e(20085), __webpack_require__.e(20959), __webpack_require__.e(94220), __webpack_require__.e(66813), __webpack_require__.e(88551), __webpack_require__.e(95971), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(8423), __webpack_require__.e(88866)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/index.tsx */ 60145)); }), '389': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return __webpack_require__.e(/*! import() | p__Api__index */ 62300).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Api/index.tsx */ 56541)); }), '390': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(99160), __webpack_require__.e(20085), __webpack_require__.e(20959), __webpack_require__.e(94220), __webpack_require__.e(66813), __webpack_require__.e(88551), __webpack_require__.e(95971), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(8423), __webpack_require__.e(88866)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/index.tsx */ 60145)); + return Promise.all(/*! import() | p__Search__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(58240), __webpack_require__.e(92501)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Search/index.tsx */ 60269)); }), '391': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__Api__index */ 62300).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Api/index.tsx */ 56541)); + return Promise.all(/*! import() | p__MoopCases__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(83212)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/index.tsx */ 56514)); }), '392': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Search__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(58240), __webpack_require__.e(92501)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Search/index.tsx */ 60269)); + return Promise.all(/*! import() | p__MoopCases__FormPanel__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(63695), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(76904)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/FormPanel/index.tsx */ 93592)); }), '393': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__MoopCases__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(83212)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/index.tsx */ 56514)); + return Promise.all(/*! import() | p__MoopCases__InfoPanel__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(51855)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/InfoPanel/index.tsx */ 66867)); }), '394': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__MoopCases__FormPanel__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(63695), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(76904)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/FormPanel/index.tsx */ 93592)); }), '395': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__MoopCases__InfoPanel__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(51855)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/InfoPanel/index.tsx */ 66867)); + return __webpack_require__.e(/*! import() | p__MoopCases__Success__index */ 51276).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/Success/index.tsx */ 10968)); }), '396': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__MoopCases__FormPanel__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(63695), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(76904)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/FormPanel/index.tsx */ 93592)); + return Promise.all(/*! import() | p__Paperlibrary__Random__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42977), __webpack_require__.e(7713), __webpack_require__.e(45818), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(20139), __webpack_require__.e(70368), __webpack_require__.e(22257)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/AddAndEdit/index.tsx */ 1931)); }), '397': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__MoopCases__Success__index */ 51276).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/Success/index.tsx */ 10968)); + return Promise.all(/*! import() | p__Paperlibrary__Random__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42977), __webpack_require__.e(7713), __webpack_require__.e(45818), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(20139), __webpack_require__.e(70368), __webpack_require__.e(22257)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/AddAndEdit/index.tsx */ 1931)); }), '398': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42977), __webpack_require__.e(7713), __webpack_require__.e(45818), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(20139), __webpack_require__.e(70368), __webpack_require__.e(22257)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/AddAndEdit/index.tsx */ 1931)); + return Promise.all(/*! import() | p__Paperlibrary__Random__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(36579), __webpack_require__.e(60696), __webpack_require__.e(79086), __webpack_require__.e(33784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Detail/index.tsx */ 20032)); }), '399': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42977), __webpack_require__.e(7713), __webpack_require__.e(45818), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(20139), __webpack_require__.e(70368), __webpack_require__.e(22257)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/AddAndEdit/index.tsx */ 1931)); + return __webpack_require__.e(/*! import() | p__HttpStatus__403 */ 43862).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/403.tsx */ 34247)); }), '400': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(36579), __webpack_require__.e(60696), __webpack_require__.e(79086), __webpack_require__.e(33784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Detail/index.tsx */ 20032)); + return __webpack_require__.e(/*! import() | p__HttpStatus__500 */ 44565).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/500.tsx */ 51601)); }), '401': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__HttpStatus__403 */ 43862).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/403.tsx */ 34247)); + return __webpack_require__.e(/*! import() | p__HttpStatus__404 */ 66531).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/404.tsx */ 70876)); }), '402': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__HttpStatus__500 */ 44565).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/500.tsx */ 51601)); + return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(7303), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(64496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/HpcCourse.tsx */ 94736)); }), '403': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__HttpStatus__404 */ 66531).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/404.tsx */ 70876)); + return Promise.all(/*! import() | p__HttpStatus__SixActivities */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(24192), __webpack_require__.e(54051), __webpack_require__.e(3509)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/SixActivities.tsx */ 65226)); }), '404': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(7303), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(64496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/HpcCourse.tsx */ 94736)); }), '405': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__HttpStatus__SixActivities */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(24192), __webpack_require__.e(54051), __webpack_require__.e(3509)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/SixActivities.tsx */ 65226)); - }), - '406': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(7303), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(64496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/HpcCourse.tsx */ 94736)); - }), - '407': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(7303), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(64496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/HpcCourse.tsx */ 94736)); }), - '408': /*#__PURE__*/react.lazy(function () { + '406': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__HttpStatus__UserAgents */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(66034)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/UserAgents.tsx */ 86441)); }), - '409': /*#__PURE__*/react.lazy(function () { + '407': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Three__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(75151), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(20390), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Three/index.tsx */ 2868)); }), - '410': /*#__PURE__*/react.lazy(function () { + '408': /*#__PURE__*/react.lazy(function () { return __webpack_require__.e(/*! import() | p__HttpStatus__introduction */ 53910).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/introduction.tsx */ 16249)); }), - '411': /*#__PURE__*/react.lazy(function () { + '409': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Message__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(42255), __webpack_require__.e(30067)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Message/index.tsx */ 49929)); }), - '412': /*#__PURE__*/react.lazy(function () { + '410': /*#__PURE__*/react.lazy(function () { return __webpack_require__.e(/*! import() | p__HttpStatus__404 */ 66531).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/404.tsx */ 70876)); }), '@@/global-layout': /*#__PURE__*/react.lazy(function () {