You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__virtualSpaces__Lists__Le...

747 lines
43 KiB

"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[23873],{
/***/ 21475:
/*!**********************************************************!*\
!*** ./src/components/QuestionEditor/MdEditorInForm.tsx ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ h: function() { return /* binding */ MdEditorInForm; },
/* harmony export */ x: function() { return /* binding */ RegularInput; }
/* harmony export */ });
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js */ 39647);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _components_markdown_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components/markdown-editor */ 29616);
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./index.less?modules */ 38969);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var _components_RenderHtml__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/components/RenderHtml */ 74666);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
var _excluded = ["value", "onChange", "scrollId"];
var MdEditorInForm = function MdEditorInForm(_ref) {
var value = _ref.value,
_onChange = _ref.onChange,
scrollId = _ref.scrollId,
props = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1___default()(_ref, _excluded);
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", {
id: scrollId || '',
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_markdown_editor__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, props), {}, {
// hidetoolBar
defaultValue: value,
onChange: function onChange(a, b) {
console.log("a:", a, b);
if (!!(b !== null && b !== void 0 && b.length)) _onChange(a, b);else _onChange(a);
}
}))
});
};
var RegularInput = function RegularInput(_ref2) {
var value = _ref2.value,
onChange = _ref2.onChange,
placeholder = _ref2.placeholder,
_ref2$height = _ref2.height,
height = _ref2$height === void 0 ? 140 : _ref2$height,
isEdit = _ref2.isEdit;
return isEdit ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_markdown_editor__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {
watch: true,
isFocus: true,
height: height,
placeholder: placeholder,
defaultValue: value,
onChange: onChange
}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", {
style: {
cursor: 'pointer'
},
children: value ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.inputBorder,
value: value
}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", {
className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.inputBorder, " ").concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.placeholder),
children: placeholder
})
});
};
/***/ }),
/***/ 14332:
/*!******************************************************************!*\
!*** ./src/pages/virtualSpaces/Lists/Lesson/AddOrEdit/index.tsx ***!
\******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js */ 79800);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js */ 39647);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 8591);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 59028);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 43418);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 71418);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 78241);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 73782);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 57809);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! antd */ 95237);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! antd */ 43604);
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../index.less?modules */ 28540);
/* harmony import */ var _utils_env__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/env */ 41681);
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ant-design/icons */ 58670);
/* harmony import */ var _components_QuestionEditor_MdEditorInForm__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/components/QuestionEditor/MdEditorInForm */ 21475);
/* harmony import */ var _components_ui_customization__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/components/ui-customization */ 6897);
/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/utils/fetch */ 18838);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
var _excluded = ["handleFinish", "form", "dispatch"];
var AddOrEdit = function AddOrEdit(_ref) {
var _fileList$2;
var handleFinish = _ref.handleFinish,
form = _ref.form,
dispatch = _ref.dispatch,
props = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default()(_ref, _excluded);
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]),
_useState2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2),
fileList = _useState2[0],
setFileList = _useState2[1];
var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]),
_useState4 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState3, 2),
filterSchoolList = _useState4[0],
setFilterSchoolList = _useState4[1];
var timer = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);
var fetchIndex = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(1);
var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),
_useState6 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState5, 2),
isLoading = _useState6[0],
setIsLoading = _useState6[1];
var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),
_useState8 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState7, 2),
fetchLoading = _useState8[0],
setFetchLoading = _useState8[1];
var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]),
_useState10 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState9, 2),
schoolList = _useState10[0],
setSchoolList = _useState10[1];
var uploadProps = {
fileList: fileList,
maxCount: 1,
// accept: ".pdf, .docx, .doc, .xlsx, .xls, .ppt, .pptx, .zip,.jpg,.png",
accept: "image/*",
withCredentials: true,
beforeUpload: function beforeUpload(file) {
var fileSize = file.size / 1024 / 1024;
if (fileSize > 2 || fileSize == 0) {
antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.error("".concat(file.name, " \u56FE\u7247\u65E0\u6CD5\u4E0A\u4F20\u3002").concat(fileSize == 0 ? "文件内容不能为空" : '超过图片大小限制(2MB)'));
return antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.LIST_IGNORE;
}
return true;
},
onRemove: function onRemove(file) {
setFileList([]);
},
onChange: function onChange(info) {
form.setFieldsValue({
cover_id: ''
});
var statusList = ["uploading", "done", "removed"];
if (statusList.includes(info.file.status)) {
var _info$fileList;
setFileList(info.fileList);
form.setFieldsValue({
cover_id: (_info$fileList = info.fileList) === null || _info$fileList === void 0 || (_info$fileList = _info$fileList[0]) === null || _info$fileList === void 0 || (_info$fileList = _info$fileList.response) === null || _info$fileList === void 0 ? void 0 : _info$fileList.id
});
}
},
action: "".concat(_utils_env__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z.API_SERVER, "/api/attachments.json")
};
var renderImg = function renderImg() {
var _fileList$;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.imgUpLoad,
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("img", {
src: _utils_env__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z.API_SERVER + "/api/attachments/" + (fileList === null || fileList === void 0 || (_fileList$ = fileList[0]) === null || _fileList$ === void 0 || (_fileList$ = _fileList$.response) === null || _fileList$ === void 0 ? void 0 : _fileList$.id),
alt: "avatar",
style: {
width: '100%'
}
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
onClick: function onClick() {
setFileList([]);
form.setFieldsValue({
cover_id: ''
});
},
style: {
fontSize: '16px',
color: 'red'
}
})
})]
});
};
var getSchoolOption = /*#__PURE__*/function () {
var _ref2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee() {
var _res$schools;
var res;
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
setIsLoading(true);
_context.next = 3;
return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .ZP)("/api/schools/search.json", {
method: "get",
params: {
display_aliases: true,
per_page: 9999
}
});
case 3:
res = _context.sent;
setSchoolList(res === null || res === void 0 ? void 0 : res.schools);
setFilterSchoolList(res === null || res === void 0 ? void 0 : res.schools);
form.setFieldsValue({
school_id: (res === null || res === void 0 || (_res$schools = res.schools) === null || _res$schools === void 0 || (_res$schools = _res$schools.find(function (item) {
return item.id == parseInt(form.getFieldValue("school_id"));
})) === null || _res$schools === void 0 ? void 0 : _res$schools.name) || form.getFieldValue("school_id")
});
setIsLoading(false);
case 8:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getSchoolOption() {
return _ref2.apply(this, arguments);
};
}();
var getSchools = function getSchools(name) {
var time = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
setFetchLoading(true);
clearTimeout(timer.current);
timer.current = setTimeout( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2() {
var currentFetch, res;
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
fetchIndex.current += 1;
currentFetch = fetchIndex.current;
_context2.next = 4;
return dispatch({
type: 'account/getSchoolOption',
payload: {
display_aliases: true,
keyword: name
}
});
case 4:
res = _context2.sent;
if (res.status === 0 && fetchIndex.current === currentFetch) {
setSchoolList(res === null || res === void 0 ? void 0 : res.schools);
setFetchLoading(false);
}
case 6:
case "end":
return _context2.stop();
}
}, _callee2);
})), time);
};
(0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {
if (props.open) {
if (form.getFieldValue("cover_id") && form.getFieldValue("cover")) {
setFileList([{
response: form.getFieldValue("cover")
}]);
}
getSchoolOption();
} else {
setFileList([]);
}
}, [props.open]);
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, props), {}, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
spinning: isLoading,
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
form: form,
size: "large",
initialValues: {},
layout: "vertical"
// onValuesChange={(changedValues: any) => {
// setFilterSchoolList(schoolList.filter(item => item.name.includes(changedValues.school_id)));
// }}
,
onFinish: function onFinish(ValueAll) {
// ValueAll.school_id = schoolList.find(item => item.name === ValueAll.school_id)?.id;
handleFinish(ValueAll);
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z.Item, {
htmlFor: null,
name: "name",
label: "\u597D\u8BFE\u540D\u79F0",
rules: [{
required: true,
message: '请输入好课名称'
}],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
placeholder: "\u8BF7\u8F93\u5165\u597D\u8BFE\u540D\u79F0",
maxLength: 60,
showCount: true
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z.Item, {
htmlFor: null,
name: "creator",
label: "\u521B\u5EFA\u8005",
rules: [{
required: true,
message: '请输入创建者'
}],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
placeholder: "\u8BF7\u8F93\u5165\u521B\u5EFA\u8005",
maxLength: 60,
showCount: true
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z.Item, {
htmlFor: null,
name: "school_id",
label: "\u6240\u5C5E\u5355\u4F4D",
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__["default"], {
showSearch: true,
filterOption: false,
onSearch: function onSearch(v) {
getSchools(v);
},
loading: fetchLoading,
size: "large",
style: {
width: '100%'
},
children: schoolList.map(function (item) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__["default"].Option, {
value: item.id,
children: item.name
}, item.id);
})
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z.Item, {
htmlFor: null,
name: "desc",
label: "\u7B80\u4ECB",
rules: [{
required: true,
message: '请输入好课简介'
}],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components_QuestionEditor_MdEditorInForm__WEBPACK_IMPORTED_MODULE_8__/* .MdEditorInForm */ .h, {
placeholder: "\u8BF7\u8F93\u5165\u597D\u8BFE\u7B80\u4ECB",
scrollId: '',
watch: true,
height: 192
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z.Item, {
name: "cover_id",
label: "\u5C01\u9762\u56FE\u7247",
rules: [{
required: true,
message: '请上传好课图片'
}],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.upload,
children: fileList !== null && fileList !== void 0 && (_fileList$2 = fileList[0]) !== null && _fileList$2 !== void 0 && (_fileList$2 = _fileList$2.response) !== null && _fileList$2 !== void 0 && _fileList$2.id ? renderImg() : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, uploadProps), {}, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z, {
wrap: false,
align: "middle",
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components_ui_customization__WEBPACK_IMPORTED_MODULE_9__/* .CustomButton */ .op, {
style: {
borderRadius: "2px"
},
icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("i", {
className: "iconfont icon-shangchuan3"
}),
children: "\u56FE\u7247\u4E0A\u4F20"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Z, {
style: {
marginLeft: "16px",
color: "#5F6367"
},
onClick: function onClick(e) {
e.preventDefault();
e.stopPropagation();
},
children: "\u8BF7\u9009\u62E9jpg\u3001png\u683C\u5F0F\uFF0C\u5EFA\u8BAE\u5C3A\u5BF8282*212\u50CF\u7D20"
})]
})
}))
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z.Item, {
htmlFor: null,
name: "lesson_url",
label: "\u8BFE\u7A0B\u94FE\u63A5",
rules: [{
type: 'url',
message: '资源链接格式不正确'
}],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
placeholder: "\u8BF7\u8F93\u5165\u8BFE\u7A0B\u94FE\u63A5",
maxLength: 150
})
})]
})
})
}));
};
/* harmony default export */ __webpack_exports__.Z = (AddOrEdit);
/***/ }),
/***/ 1610:
/*!********************************************************************!*\
!*** ./src/pages/virtualSpaces/Lists/Lesson/index.tsx + 1 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 */ Lesson; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(7557);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(41498);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
var objectSpread2 = __webpack_require__(82242);
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(79800);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(39647);
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(26789);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules
var es_form = __webpack_require__(78241);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js
var col = __webpack_require__(43604);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js
var row = __webpack_require__(95237);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
var pagination = __webpack_require__(27092);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
var message = __webpack_require__(8591);
// EXTERNAL MODULE: ./src/components/ui-customization/index.tsx + 32 modules
var ui_customization = __webpack_require__(6897);
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
var NoData = __webpack_require__(88820);
// EXTERNAL MODULE: ./src/pages/virtualSpaces/Lists/Lesson/index.less?modules
var Lessonmodules = __webpack_require__(28540);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(41681);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(23603);
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Lesson/imgs/AddIcon.png
var AddIcon_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAABE9JREFUOE+t1OtPU3ccx/HPOac9l5ZSxEuhwKZSIVW0CGFInEEHLhDHpiQjmSLO7cGyZdklS5YtE5Lhhblp2Ngkc/PCbHDIxcUEnOJikMV5WShRJsqlCBRs4XBraUvpac9vcTrHRvDBtt8f8Mrv+37woQghDP7HRz0W7G1SArdMEpQmmaJCFZRvOOB3XuYMu3rn+sPcoP1kdO+VY4f1qTs2Kucl0BTDAvI0iKfXScYt++hlW0qBZPmf8EOwhW4/2ZCnC2eVjMwADKG0qyNeu3G+NjXg7oVpQxYodSwobhFobiEwPRgM2FvLJ/rDLDQAr28aTi7MkvD827cegDfN/KEjVWPmNhurFnhsTgvHG1uT0Nlci6tNfUhM0cFoigRoNSheB0qIQmBqHB8etaHjnhec24mSnS8UL9+2p/gPcOimma+pOC2eEP3CvFA1yrJsMEQEce1iD6JiVLB2uaBgVUhI1kHFyZCDMoJBgusjT+KQRQ968C72PremMH7rnpJHYO2JH8Rjgx4hZYkCn663osfqRlAiiIqNgS4CcA07YO32wiuHQK8PwYLQKfiDNN5qSoQ0OIbiTamFxplgTUWdeNg2KRQk+RExcAP1FgWy1yzAvQkCdUgQQy4JSVFA56ASPo8PPY4pfJDPoWY8Ga0tk9i/Ob3ImL9736OGX1bUiV/1jAvvp4yhv6kd7HwtVmTkwnLlOtLXxmGy7zKWpeVi78EGvP7KBpw9XokUowIjsck4cwk4sCW90Lh9xsmnjteKZd2jwu5UO8ZvDUBWMDCsNACMCqGsiOSnn8DFn0QoWQ084yMYstpAgSAYF4+66yqUvfRsoXFr8cOGjWa++lydeMThF0rXWcE5h9H22xS2bddD0AigaIKJ0QDCF7KQ/DJco258X+mAPlKJqahYVDQLKM3LLFpZsPfByUONZv7UuVrx23vTwtEcGyLpMbRYPBAEGpnZkThzbgK377ixNk2LdU+p0VjvgH1YQuJKASOCHp/Va3AgN73I9HLJX2DV2Wqx3OYRvst1IF7rxsDANJp/diEykoUpSQNCAMgErS0uiKKEVavUiFsmoMM9H0VVPD7Pe+bvYGV9tVjW5xIyDD5kLvFCBT8cAwSinUYM2w9NCIMJZwDDZCk04V5EL2bhV6pRf4dHZ5sX5flZhat3fvKgob3+G+7C5fN3RmVKydAUgUqn9cdsEHzcUooJuJEtfA3O34VgaApqxG3geRrc6FVZ6fh1jEhSQJp0wbTceDDzzdLSWeNw+hd79KhEX3NN+nTd3XfBK4LIyzDCJ8lQ0gRVFzrBszz0i6OhVSu+eHV91HszB2IWWN7Y97FXoj9yOmxoN+/CfmMcfPcDUhTuh2QYBpaIFeiI34iwEM4Vo5EML64zjP2JzgJLf+y5BLApI31daHh3E2vWLYKHEBBQoEFAAkHczimQe9bvCIRrBUIF3FveyVneOCf4X8f78Yv9L/TfAdDhGTPNBgwfAAAAAElFTkSuQmCC";
// EXTERNAL MODULE: ./src/pages/virtualSpaces/Lists/Lesson/AddOrEdit/index.tsx
var AddOrEdit = __webpack_require__(14332);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Lesson/index.tsx
var _excluded = ["classroomList", "globalSetting", "user", "virtualSpaces", "loading", "dispatch"];
var LessonPage = function LessonPage(_ref) {
var _menus$find, _LessonsList$data, _LessonsList$data2, _LessonsList$data3, _LessonsList$data4, _LessonsList$data5, _LessonsList$data6;
var classroomList = _ref.classroomList,
globalSetting = _ref.globalSetting,
user = _ref.user,
virtualSpaces = _ref.virtualSpaces,
loading = _ref.loading,
dispatch = _ref.dispatch,
props = objectWithoutProperties_default()(_ref, _excluded);
var virtualSpacesDetails = virtualSpaces.virtualSpacesDetails,
menus = virtualSpaces.menus,
LessonsList = virtualSpaces.LessonsList;
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
form = _Form$useForm2[0];
var _useState = (0,_react_17_0_2_react.useState)({}),
_useState2 = slicedToArray_default()(_useState, 2),
fileList = _useState2[0],
setFileList = _useState2[1];
var _useParams = (0,_umi_production_exports.useParams)(),
virtual_spacesId = _useParams.virtual_spacesId;
var _useState3 = (0,_react_17_0_2_react.useState)(false),
_useState4 = slicedToArray_default()(_useState3, 2),
isAddLesson = _useState4[0],
setIsAddLesson = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)({
page: 1,
limit: 15
}),
_useState6 = slicedToArray_default()(_useState5, 2),
urlData = _useState6[0],
setUrlData = _useState6[1];
// const moduleName = menus?.find((e: any) => e.module_url === location.pathname)?.name || '';
var moduleName = (menus === null || menus === void 0 || (_menus$find = menus.find(function (e) {
return e.module_url === location.pathname;
})) === null || _menus$find === void 0 ? void 0 : _menus$find.name) || '';
var getGoodLessonsList = function getGoodLessonsList() {
console.log('1111');
window.scrollTo(0, 0);
dispatch({
type: "virtualSpaces/getGoodLessonsList",
payload: objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
virtual_spacesId: virtual_spacesId
})
});
};
(0,_react_17_0_2_react.useEffect)(function () {
getGoodLessonsList();
}, [urlData]);
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading["virtualSpaces/getGoodLessonsList"],
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "ml40 mr40",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomTabs */.YG, {
value: 'all',
onChange: function onChange() {},
tabBarExtraContent: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
icon: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
width: 20,
src: AddIcon_namespaceObject
}),
onClick: function onClick() {
var _user$userInfo;
setIsAddLesson(true);
form.setFieldsValue({
creator: user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.real_name
});
},
children: "\u65B0\u5EFA\u597D\u8BFE"
}),
dataSource: [{
id: 'all',
name: moduleName,
total: LessonsList === null || LessonsList === void 0 || (_LessonsList$data = LessonsList.data) === null || _LessonsList$data === void 0 ? void 0 : _LessonsList$data.count
}]
}), (LessonsList === null || LessonsList === void 0 || (_LessonsList$data2 = LessonsList.data) === null || _LessonsList$data2 === void 0 ? void 0 : _LessonsList$data2.count) == 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {}) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Lessonmodules/* default */.Z.LessonsList,
children: LessonsList === null || LessonsList === void 0 || (_LessonsList$data3 = LessonsList.data) === null || _LessonsList$data3 === void 0 || (_LessonsList$data3 = _LessonsList$data3.list) === null || _LessonsList$data3 === void 0 ? void 0 : _LessonsList$data3.map(function (item, index) {
var _item$cover;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Lessonmodules/* default */.Z.LessonsListItem,
onClick: function onClick() {
_umi_production_exports.history.push("/".concat(util/* vtrsKey */.AS, "/").concat(virtual_spacesId, "/lesson/").concat(item.id, "/detail"));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
style: {
width: 283,
height: 177,
overflow: "hidden"
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: Lessonmodules/* default */.Z.LessonsListItemImg,
src: "".concat(env/* default */.Z.API_SERVER).concat(item === null || item === void 0 || (_item$cover = item.cover) === null || _item$cover === void 0 ? void 0 : _item$cover.url)
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
padding: "26px 12px"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: item.name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "font16 ".concat(Lessonmodules/* default */.Z.Onerow),
style: {
color: "#333",
fontWeight: 600
},
children: item.name
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mt10 ".concat(Lessonmodules/* default */.Z.MultiLine),
style: {
color: "#666"
},
children: item.desc
})]
})]
}, index);
})
}), (LessonsList === null || LessonsList === void 0 || (_LessonsList$data4 = LessonsList.data) === null || _LessonsList$data4 === void 0 ? void 0 : _LessonsList$data4.count) != 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mt20 mb20",
wrap: false,
align: "middle",
justify: "space-between",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: ["\u5171\xA0", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#165DFF"
},
children: (LessonsList === null || LessonsList === void 0 || (_LessonsList$data5 = LessonsList.data) === null || _LessonsList$data5 === void 0 ? void 0 : _LessonsList$data5.count) || 0
}), "\xA0\u6761\u6570\u636E"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
showSizeChanger: false,
showQuickJumper: true,
current: urlData.page,
pageSize: urlData.limit,
onChange: function onChange(page, limit) {
return setUrlData(objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
page: page,
limit: limit
}));
},
total: (LessonsList === null || LessonsList === void 0 || (_LessonsList$data6 = LessonsList.data) === null || _LessonsList$data6 === void 0 ? void 0 : _LessonsList$data6.count) || 0
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(AddOrEdit/* default */.Z, {
title: "新建好课",
form: form,
width: 1200,
open: isAddLesson,
destroyOnClose: true,
centered: true,
dispatch: dispatch,
onCancel: function onCancel() {
form.resetFields();
setIsAddLesson(false);
},
confirmLoading: loading["virtualSpaces/postGoodLessonsList"],
onOk: function onOk() {
return form.submit();
},
handleFinish: ( /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(ValueAll) {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return dispatch({
type: "virtualSpaces/postGoodLessonsList",
payload: objectSpread2_default()({
virtual_spacesId: virtual_spacesId
}, ValueAll)
});
case 2:
res = _context.sent;
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
message/* default */.ZP.success("创建成功");
form.resetFields();
setIsAddLesson(false);
getGoodLessonsList();
}
case 4:
case "end":
return _context.stop();
}
}, _callee);
}));
return function (_x) {
return _ref2.apply(this, arguments);
};
}())
})]
})
});
};
/* harmony default export */ var Lesson = ((0,_umi_production_exports.connect)(function (_ref3) {
var classroomList = _ref3.classroomList,
loading = _ref3.loading,
globalSetting = _ref3.globalSetting,
virtualSpaces = _ref3.virtualSpaces,
user = _ref3.user;
return {
classroomList: classroomList,
globalSetting: globalSetting,
loading: loading.effects,
virtualSpaces: virtualSpaces,
user: user
};
})(LessonPage));
/***/ }),
/***/ 38969:
/*!**********************************************************!*\
!*** ./src/components/QuestionEditor/index.less?modules ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
// 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"});
/***/ }),
/***/ 28540:
/*!*****************************************************************!*\
!*** ./src/pages/virtualSpaces/Lists/Lesson/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___cFjD5","flex_space_between":"flex_space_between___WX1ma","flex_box_vertical_center":"flex_box_vertical_center___iyMsP","flex_box_center_end":"flex_box_center_end___LFV4U","flex_box_column":"flex_box_column___GujFO","Onerow":"Onerow___QKU3O","MultiLine":"MultiLine___ZOVUQ","LessonsList":"LessonsList___lfvK6","LessonsListItem":"LessonsListItem___Opl7o","LessonsListItemImg":"LessonsListItemImg___rvVXp","imgUpLoad":"imgUpLoad___wax6e"});
/***/ })
}]);