Auto Submit

pull/1/head
autosubmit 2 years ago
parent c8b72ef74a
commit dbd8436ef1

@ -806,7 +806,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -99,7 +99,7 @@ var RecordScreen = function RecordScreen(_ref) {
setIsFirstFull(false);
}
if ((_exercise$exerciseUse2 = exercise.exerciseUserInfo) !== null && _exercise$exerciseUse2 !== void 0 && _exercise$exerciseUse2.screen_open && !(0,fullscreen/* IsFull */.vp)()) {
var plusTime = document.domain === "kepukehuan.educoder.net" ? 30 : exercise.exerciseUserInfo.screen_sec + 10 + 1;
var plusTime = document.domain === "kepukehuan.educoder.net" ? 30 : localStorage.getItem('Refresh') === '1' ? exercise.exerciseUserInfo.screen_sec + 3 : exercise.exerciseUserInfo.screen_sec + 10 + 1;
modals.current = es_modal/* default */.Z.info({
icon: null,
centered: true,

@ -564,7 +564,7 @@ if (false) {}
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -940,7 +940,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -848,7 +848,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -848,7 +848,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -1427,7 +1427,7 @@ function getIcons(_ref) {
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -811,7 +811,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -570,8 +570,8 @@ var SingleEditor = function SingleEditor(_ref, ref) {
children: "--"
}), questionChoiceList.map(function (item, index) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_21__["default"].Option, {
value: String(index + 2),
children: index + 2
value: String(index + 1),
children: index + 1
});
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
@ -590,8 +590,8 @@ var SingleEditor = function SingleEditor(_ref, ref) {
children: "--"
}), questionChoiceList.map(function (item, index) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_21__["default"].Option, {
value: String(index + 2),
children: index + 2
value: String(index + 1),
children: index + 1
});
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {

@ -848,7 +848,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -1425,7 +1425,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -26,8 +26,8 @@ var colors = __webpack_require__(36785);
var reactNode = __webpack_require__(92343);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.18.0@@ant-design/cssinjs/es/index.js + 35 modules
var cssinjs_es = __webpack_require__(67937);
// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.18.1@@ant-design/cssinjs/es/index.js + 35 modules
var cssinjs_es = __webpack_require__(36646);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
var style = __webpack_require__(17313);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genPresetColor.js

@ -0,0 +1,615 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[50662],{
/***/ 25213:
/*!***********************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/components/BottomControl/index.tsx + 1 modules ***!
\***********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ components_BottomControl; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(11006);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var es_menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules
var input = __webpack_require__(1056);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules
var es_checkbox = __webpack_require__(24905);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/BottomControl/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var BottomControlmodules = ({"bottomControlContainer":"bottomControlContainer___woAeo","buttonWrap":"buttonWrap___iRw4K","moveCategory":"moveCategory___oiQqw"});
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(13186);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/DownOutlined.js + 1 modules
var DownOutlined = __webpack_require__(42884);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/BottomControl/index.tsx
var BottomControl = function BottomControl(_ref) {
var buttonDataSource = _ref.buttonDataSource,
onButtonClick = _ref.onButtonClick,
useBatchStatus = _ref.useBatchStatus,
allSelect = _ref.allSelect,
setAllSelect = _ref.setAllSelect,
selectArrs = _ref.selectArrs,
onMenuClick = _ref.onMenuClick,
setSeleArr = _ref.setSeleArr,
catalogue = _ref.catalogue,
addCatalogue = _ref.addCatalogue;
var _useState = (0,_react_17_0_2_react.useState)(false),
_useState2 = slicedToArray_default()(_useState, 2),
moveVisible = _useState2[0],
setMoveVisible = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(''),
_useState4 = slicedToArray_default()(_useState3, 2),
keyword = _useState4[0],
setKeyword = _useState4[1];
console.log('---', catalogue);
var menu = /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BottomControlmodules.moveCategory,
onMouseLeave: function onMouseLeave(e) {
return setMoveVisible(false);
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_menu/* default */.Z, {
onClick: onMenuClick,
style: {
maxHeight: 300,
width: 240,
overflow: 'auto'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", {
className: "ant-menu-item multi-llipsis1e ant-menu-item-only-child",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
onChange: function onChange(e) {
setKeyword(e.target.value);
}
})
}), catalogue === null || catalogue === void 0 ? void 0 : catalogue.map(function (item, key) {
var _item$third_category;
if (keyword !== '' && item.category_name.indexOf(keyword) < 0) {
return;
}
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_menu/* default */.Z.Item, {
className: "multi-llipsis1e",
children: item.category_name
}, item.category_id), item === null || item === void 0 || (_item$third_category = item.third_category) === null || _item$third_category === void 0 ? void 0 : _item$third_category.map(function (val) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_menu/* default */.Z.Item, {
style: {
marginLeft: 20
},
className: "multi-llipsis1e",
children: val.category_name
}, val.category_id);
})]
});
}), addCatalogue && /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
className: "ant-menu-item multi-llipsis1e ant-menu-item-only-child",
onClick: addCatalogue,
children: "\u65B0\u5EFA\u5B50\u76EE\u5F55..."
})]
})
});
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: BottomControlmodules.bottomControlContainer,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, {
checked: allSelect,
onChange: setAllSelect,
children: ["\u5168\u9009\u672C\u9875\uFF08", selectArrs.length, "\uFF09"]
})
}), (0,authority/* isAdmin */.GJ)() && buttonDataSource.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
icon: item.icon,
className: BottomControlmodules.buttonWrap,
onClick: function onClick() {
return onButtonClick(item);
},
children: item.name
})
}, item.name);
}), (0,authority/* isAdmin */.GJ)() && (addCatalogue || catalogue) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
open: moveVisible,
placement: "topLeft",
autoAdjustOverflow: false,
dropdownRender: function dropdownRender() {
return menu;
},
getPopupContainer: function getPopupContainer(trigger) {
return trigger.parentNode;
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "ant-dropdown-link",
onMouseEnter: function onMouseEnter(e) {
return setMoveVisible(true);
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
className: BottomControlmodules.buttonWrap,
icon: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-yidongmulu"
}),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u79FB\u52A8\u5230\u76EE\u5F55 ", /*#__PURE__*/(0,jsx_runtime.jsx)(DownOutlined/* default */.Z, {})]
})
})
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
ghost: true,
onClick: function onClick() {
useBatchStatus(false);
setSeleArr([]);
},
children: "\u53D6\u6D88\u64CD\u4F5C"
})
})]
});
};
/* harmony default export */ var components_BottomControl = (BottomControl);
/***/ }),
/***/ 24757:
/*!******************************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/components/SearchSortController/index.tsx + 1 modules ***!
\******************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ components_SearchSortController; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(10574);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/toConsumableArray.js
var toConsumableArray = __webpack_require__(93923);
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(39343);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(11006);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules
var es_checkbox = __webpack_require__(24905);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
// 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/input/index.js + 5 modules
var input = __webpack_require__(1056);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/SearchSortController/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var SearchSortControllermodules = ({"searchSortControllerContainer":"searchSortControllerContainer___Xca1m","btn":"btn___sNJPX","btnSort":"btnSort___Fx9OM","tips":"tips___LrmpR"});
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(13186);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/UpOutlined.js + 1 modules
var UpOutlined = __webpack_require__(20114);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/DownOutlined.js + 1 modules
var DownOutlined = __webpack_require__(42884);
// EXTERNAL MODULE: ./node_modules/_react-infinite-scroller@1.2.4@react-infinite-scroller/index.js
var _react_infinite_scroller_1_2_4_react_infinite_scroller = __webpack_require__(26724);
var _react_infinite_scroller_1_2_4_react_infinite_scroller_default = /*#__PURE__*/__webpack_require__.n(_react_infinite_scroller_1_2_4_react_infinite_scroller);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(49266);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/SearchSortController/index.tsx
var SearchSortController = function SearchSortController(_ref) {
var isAdmin = _ref.isAdmin,
dataSource = _ref.dataSource,
batchStatus = _ref.batchStatus,
SortMenuName = _ref.SortMenuName,
setSortMenuName = _ref.setSortMenuName,
detailCourseGroupsList = _ref.detailCourseGroupsList,
onSearch = _ref.onSearch,
onBoard = _ref.onBoard,
onSort = _ref.onSort,
isboard = _ref.isboard,
dispatch = _ref.dispatch,
onBatch = _ref.onBatch,
SortMenus = _ref.SortMenus;
var _useState = (0,_react_17_0_2_react.useState)(false),
_useState2 = slicedToArray_default()(_useState, 2),
submenuVisible = _useState2[0],
setSubmenuVisible = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)([]),
_useState4 = slicedToArray_default()(_useState3, 2),
selectArrs = _useState4[0],
setSelectArrs = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(true),
_useState6 = slicedToArray_default()(_useState5, 2),
hasMore = _useState6[0],
setHasmore = _useState6[1];
var _useState7 = (0,_react_17_0_2_react.useState)([]),
_useState8 = slicedToArray_default()(_useState7, 2),
tableData = _useState8[0],
setTableData = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)(1),
_useState10 = slicedToArray_default()(_useState9, 2),
page = _useState10[0],
setPage = _useState10[1];
var _useState11 = (0,_react_17_0_2_react.useState)(false),
_useState12 = slicedToArray_default()(_useState11, 2),
isLoading = _useState12[0],
setIsLoading = _useState12[1];
var paramsFromRouter = (0,_umi_production_exports.useParams)();
/**
* 排序点击事件
*/
var sortClick = function sortClick(data) {
setSortMenuName(data.name);
onSort(data);
};
(0,_react_17_0_2_react.useEffect)(function () {
if (isboard) {
handleInfiniteOnLoad();
}
}, [isboard]);
var handleInfiniteOnLoad = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _res$course_groups, res, items;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
if (!(hasMore && !isLoading)) {
_context.next = 10;
break;
}
setIsLoading(true);
setPage(page + 1);
_context.next = 5;
return dispatch({
type: 'classroomList/getCourseGroupsList',
payload: {
page: page,
id: paramsFromRouter.coursesId,
limit: 20,
nonenavigate: true
}
});
case 5:
res = _context.sent;
items = toConsumableArray_default()((res === null || res === void 0 ? void 0 : res.course_groups) || []);
if ((res === null || res === void 0 || (_res$course_groups = res.course_groups) === null || _res$course_groups === void 0 ? void 0 : _res$course_groups.length) < 20) {
setHasmore(false);
items.push({
id: 0,
name: '未分班'
});
}
setIsLoading(false);
setTableData([].concat(toConsumableArray_default()(tableData), toConsumableArray_default()(items)));
case 10:
case "end":
return _context.stop();
}
}, _callee);
}));
return function handleInfiniteOnLoad() {
return _ref2.apply(this, arguments);
};
}();
var submenu = /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
className: SearchSortControllermodules.dropmenu,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
maxHeight: 200,
overflow: 'auto'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)((_react_infinite_scroller_1_2_4_react_infinite_scroller_default()), {
initialLoad: false,
pageStart: 1,
threshold: 20,
loadMore: function loadMore(page) {
handleInfiniteOnLoad();
},
hasMore: hasMore,
useWindow: false,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
style: {
width: 240,
zIndex: 10
},
children: (detailCourseGroupsList === null || detailCourseGroupsList === void 0 ? void 0 : detailCourseGroupsList.group_count) > 0 && (tableData === null || tableData === void 0 ? void 0 : tableData.filter(function (item) {
return item.edit_auth || item.name === '未分班';
}).map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
checked: selectArrs.includes(item.id),
value: item.id,
onChange: function onChange(e) {
var key = selectArrs.indexOf(item.id);
if (selectArrs.indexOf(item.id) > -1) {
setSelectArrs(selectArrs.filter(function (val) {
return val !== item.id;
}));
} else {
setSelectArrs(selectArrs.concat(item.id));
}
},
children: item.name
})
}, item.id);
}))
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
style: {
background: "#fff"
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "link",
onClick: function onClick() {
// if (selectArrs == '') {
// message.error('请选择你要操作的任务');
// return null;
// }
onBoard(selectArrs);
// params.group_ids = selectArrs;
// params.page = 1;
// setparams({ ...params })
},
children: "\u786E\u5B9A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "link",
onClick: function onClick() {
setSelectArrs([]);
},
children: "\u91CD\u7F6E"
})]
})
})]
});
// 默认排序
var isDefault = SortMenuName === '默认排序';
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SearchSortControllermodules.searchSortControllerContainer,
children: [!!(SortMenus !== null && SortMenus !== void 0 && SortMenus.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
selectedKeys: [SortMenuName],
children: SortMenus.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
onClick: function onClick() {
return sortClick(item);
},
children: item.name
}, item.name);
})
});
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "".concat(SearchSortControllermodules.btn, " ").concat(isDefault ? SearchSortControllermodules.btnSort : ''),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-paixu font14 mr5"
}), SortMenuName]
})
})
})
}), isDefault && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: SearchSortControllermodules.tips,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-a-wenhaobeifen2"
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
allowClear: true,
placeholder: "\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",
onSearch: onSearch,
style: {
width: 220,
marginLeft: 'auto',
marginRight: 10
}
}), (0,authority/* isAdmins */.eB)() && isboard && /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return submenu;
},
open: submenuVisible,
onOpenChange: function onOpenChange(flag) {
setSubmenuVisible(flag);
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
children: ["\u5206\u73ED", submenuVisible ? /*#__PURE__*/(0,jsx_runtime.jsx)(UpOutlined/* default */.Z, {
style: {
marginLeft: 6
}
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(DownOutlined/* default */.Z, {
style: {
marginLeft: 6
}
})]
})
})]
});
};
/* harmony default export */ var components_SearchSortController = (SearchSortController);
/***/ }),
/***/ 57534:
/*!*****************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx + 1 modules ***!
\*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ components_TabMenu; }
});
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// 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/col/index.js
var col = __webpack_require__(43604);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var TabMenumodules = ({"tabMenuContainer":"tabMenuContainer___uf5IP","control":"control___GheLs","iconH":"iconH___Wzw_r","selectBtn":"selectBtn___mfEnI"});
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(49266);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx
var TabMenu = function TabMenu(_ref) {
var isLoading = _ref.isLoading,
addText = _ref.addText,
tabDataSource = _ref.tabDataSource,
isAdmin = _ref.isAdmin,
dispatch = _ref.dispatch,
type = _ref.type,
isExercise = _ref.isExercise,
defaultSelectedKeys = _ref.defaultSelectedKeys,
onTabMenuClick = _ref.onTabMenuClick,
getDropdownMenu = _ref.getDropdownMenu,
showControlButton = _ref.showControlButton,
buttonText = _ref.buttonText,
_ref$buttonIcon = _ref.buttonIcon,
buttonIcon = _ref$buttonIcon === void 0 ? 'icon-tianjiadaohang' : _ref$buttonIcon,
extraNode = _ref.extraNode,
_ref$onButtonClick = _ref.onButtonClick,
onButtonClick = _ref$onButtonClick === void 0 ? function () {} : _ref$onButtonClick;
var params = (0,_umi_production_exports.useParams)();
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.tabMenuContainer,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "1",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
onSelect: function onSelect(v) {
return !isLoading ? onTabMenuClick(v) : {};
},
mode: "horizontal",
selectedKeys: defaultSelectedKeys,
children: tabDataSource.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(menu/* default */.Z.Item, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-666",
children: item.name
}), item.total !== undefined && isAdmin && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-999 ml20",
children: item.total || 0
})]
}, typeof item.index === 'number' ? item.index : item.id);
})
})
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mr20 gutter-row",
style: {
display: 'flex',
alignItems: 'center',
color: '#0152d9',
paddingBottom: 3
},
children: [isExercise && false && /*#__PURE__*/0, /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: TabMenumodules.control,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.extra,
children: extraNode
}), showControlButton && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: onButtonClick,
style: {
cursor: 'pointer'
},
className: TabMenumodules.selectBtn,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont ".concat(buttonIcon)
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: buttonText
})]
}), !!getDropdownMenu && /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
className: "ml10",
dropdownRender: getDropdownMenu,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: TabMenumodules.selectBtn,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-tianjiadaohang"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: addText ? addText : '创建试卷'
})]
})
})]
})]
})]
})
});
};
/* harmony default export */ var components_TabMenu = (TabMenu);
/***/ })
}]);

@ -15,7 +15,7 @@
/* harmony export */ oN: function() { return /* binding */ initSlideMotion; }
/* harmony export */ });
/* unused harmony exports slideLeftIn, slideLeftOut, slideRightIn, slideRightOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -6946,7 +6946,7 @@ var jsx_runtime = __webpack_require__(37712);
var _excluded = ["pathsDetail", "globalSetting", "user", "loading", "visibleType", "subjectHomeworkType", "updateSort", "isPaths", "dispatch", "keywords"];
var _excluded = ["pathsDetail", "globalSetting", "user", "loading", "visibleType", "subjectHomeworkType", "updateSort", "isPaths", "dispatch", "keywords", "isShowSchedule", "getData"];
@ -6978,6 +6978,8 @@ var SendToClassModal = function SendToClassModal(_ref) {
isPaths = _ref.isPaths,
dispatch = _ref.dispatch,
keywords = _ref.keywords,
isShowSchedule = _ref.isShowSchedule,
getData = _ref.getData,
props = objectWithoutProperties_default()(_ref, _excluded);
var _useState = (0,_react_17_0_2_react.useState)([]),
_useState2 = slicedToArray_default()(_useState, 2),
@ -7414,7 +7416,7 @@ var SendToClassModal = function SendToClassModal(_ref) {
var toStudentVideo = /*#__PURE__*/function () {
var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) {
var _user$userInfo, _user$userInfo2, _item$name, _item$name2;
var realUrl, type, _pathsDetail$detail7;
var realUrl, type, _pathsDetail$detail7, res;
return regeneratorRuntime_default()().wrap(function _callee6$(_context6) {
while (1) switch (_context6.prev = _context6.next) {
case 0:
@ -7466,6 +7468,22 @@ var SendToClassModal = function SendToClassModal(_ref) {
case 14:
(0,util/* openNewWindow */.xg)(item.link || "/video/".concat(item.id, "?").concat(realUrl));
case 15:
if (!(item.item_type === 'Attachment' && item.complete_status != 2)) {
_context6.next = 19;
break;
}
_context6.next = 18;
return (0,paths/* watchAttachmentHistories */.rS)({
attachment_id: item.id,
status: 2
});
case 18:
res = _context6.sent;
case 19:
if (item.item_type === 'Attachment' || item.item_type === 'VideoItem') {
getData();
}
case 20:
case "end":
return _context6.stop();
}
@ -7958,6 +7976,7 @@ var SendToClassModal = function SendToClassModal(_ref) {
children: "\u53D1\u9001"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
className: "mr10",
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee13() {
return regeneratorRuntime_default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
@ -8068,7 +8087,9 @@ var SendToClassModal = function SendToClassModal(_ref) {
})),
children: item !== null && item !== void 0 && item.need_authorize ? '需授权' : !(nodeData !== null && nodeData !== void 0 && nodeData.finished_challenges_count) ? '开始实战' : (nodeData === null || nodeData === void 0 ? void 0 : nodeData.finished_challenges_count) - (nodeData === null || nodeData === void 0 ? void 0 : nodeData.challenges_count) === 0 ? '再次实战' : '继续实战'
})]
}),
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: [
// editKey === -1 &&
props.disabled && item.shixun_status === '暂未公开' && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "".concat(Sortmodules.color204, " ml5"),
@ -8078,10 +8099,50 @@ var SendToClassModal = function SendToClassModal(_ref) {
item.shixun_status === '已删除' && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "".concat(Sortmodules.color204, " ml5"),
children: "\u5DF2\u5220\u9664"
}), props.disabled && item.item_type === 'Shixun' && !!item.challenges_count && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
}), props.disabled && !isShowSchedule && item.item_type === 'Shixun' && !!item.challenges_count && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "exper\u02C6iment-number ml5 c-grey-999",
children: ["\u5B9E\u9A8C\u6570 ", item.challenges_count]
}), visibleType === 'All' && !!((_nodeData$children = nodeData.children) !== null && _nodeData$children !== void 0 && _nodeData$children.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
}), props.disabled && isShowSchedule && item.item_type === 'Shixun' && !!item.challenges_count && item.shixun_status !== '暂未公开' && item.shixun_status !== '已删除' && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-wanchenggouxuan font14",
style: {
marginLeft: '5px',
color: item.finished_challenges_count === item.challenges_count ? '#50DAAE' : '#DEDEDE'
}
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
marginLeft: '4px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#165DFF',
fontSize: '14px'
},
children: item.finished_challenges_count
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#DEDEDE',
fontSize: '14px'
},
children: ["/", item.challenges_count]
})]
})]
}), props.disabled && isShowSchedule && (item.item_type === 'VideoItem' || item.item_type === 'Attachment') && (item.complete_status == 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-weidianjixuexi font14",
style: {
color: '#DEDEDE'
}
}) : item.complete_status == 1 ? /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-yidianjixuexiweiwancheng font14",
style: {
color: "#50DAAE"
}
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-xuexiwancheng font14",
style: {
color: "#50DAAE"
}
})), visibleType === 'All' && !!((_nodeData$children = nodeData.children) !== null && _nodeData$children !== void 0 && _nodeData$children.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "ml10",
children: openkeys.includes(nodeData.key) ? /*#__PURE__*/(0,jsx_runtime.jsx)(DownOutlined/* default */.Z, {}) : /*#__PURE__*/(0,jsx_runtime.jsx)(RightOutlined/* default */.Z, {})
})]

@ -0,0 +1,784 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[55054],{
/***/ 15997:
/*!*****************************************************************************************************!*\
!*** ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***!
\*****************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ icons_EyeOutlined; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.5@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(61796);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.3.1@@ant-design/icons-svg/es/asn/EyeOutlined.js
// This icon file is generated automatically.
var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" };
/* harmony default export */ var asn_EyeOutlined = (EyeOutlined);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(91851);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/EyeOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) {
return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_EyeOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/_react_17_0_2_react.forwardRef(EyeOutlined_EyeOutlined));
/***/ }),
/***/ 1056:
/*!*********************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules ***!
\*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ input; }
});
// EXTERNAL MODULE: ./node_modules/_classnames@2.3.2@classnames/index.js
var _classnames_2_3_2_classnames = __webpack_require__(12124);
var _classnames_2_3_2_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_3_2_classnames);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/context.js
var form_context = __webpack_require__(32441);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/style/index.js
var style = __webpack_require__(9937);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Group.js
"use client";
const Group = props => {
const {
getPrefixCls,
direction
} = (0,_react_17_0_2_react.useContext)(context/* ConfigContext */.E_);
const {
prefixCls: customizePrefixCls,
className
} = props;
const prefixCls = getPrefixCls('input-group', customizePrefixCls);
const inputPrefixCls = getPrefixCls('input');
const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls);
const cls = _classnames_2_3_2_classnames_default()(prefixCls, {
[`${prefixCls}-lg`]: props.size === 'large',
[`${prefixCls}-sm`]: props.size === 'small',
[`${prefixCls}-compact`]: props.compact,
[`${prefixCls}-rtl`]: direction === 'rtl'
}, hashId, className);
const formItemContext = (0,_react_17_0_2_react.useContext)(form_context/* FormItemInputContext */.aM);
const groupFormItemContext = (0,_react_17_0_2_react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), {
isFormItemInput: false
}), [formItemContext]);
if (false) {}
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("span", {
className: cls,
style: props.style,
onMouseEnter: props.onMouseEnter,
onMouseLeave: props.onMouseLeave,
onFocus: props.onFocus,
onBlur: props.onBlur
}, /*#__PURE__*/_react_17_0_2_react.createElement(form_context/* FormItemInputContext */.aM.Provider, {
value: groupFormItemContext
}, props.children)));
};
/* harmony default export */ var input_Group = (Group);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Input.js + 1 modules
var Input = __webpack_require__(9432);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.5@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(61796);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.3.1@@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js
// This icon file is generated automatically.
var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" };
/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(91851);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/EyeInvisibleOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) {
return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_EyeInvisibleOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/_react_17_0_2_react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined));
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules
var EyeOutlined = __webpack_require__(15997);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.38.1@rc-util/es/omit.js
var omit = __webpack_require__(99468);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.38.1@rc-util/es/ref.js
var es_ref = __webpack_require__(88831);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/hooks/useRemovePasswordTimeout.js
var useRemovePasswordTimeout = __webpack_require__(59412);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Password.js
"use client";
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;
};
const defaultIconRender = visible => visible ? /*#__PURE__*/_react_17_0_2_react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/_react_17_0_2_react.createElement(icons_EyeInvisibleOutlined, null);
const ActionMap = {
click: 'onClick',
hover: 'onMouseOver'
};
const Password = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
const {
visibilityToggle = true
} = props;
const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined;
const [visible, setVisible] = (0,_react_17_0_2_react.useState)(() => visibilityControlled ? visibilityToggle.visible : false);
const inputRef = (0,_react_17_0_2_react.useRef)(null);
_react_17_0_2_react.useEffect(() => {
if (visibilityControlled) {
setVisible(visibilityToggle.visible);
}
}, [visibilityControlled, visibilityToggle]);
// Remove Password value
const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef);
const onVisibleChange = () => {
const {
disabled
} = props;
if (disabled) {
return;
}
if (visible) {
removePasswordTimeout();
}
setVisible(prevState => {
var _a;
const newState = !prevState;
if (typeof visibilityToggle === 'object') {
(_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState);
}
return newState;
});
};
const getIcon = prefixCls => {
const {
action = 'click',
iconRender = defaultIconRender
} = props;
const iconTrigger = ActionMap[action] || '';
const icon = iconRender(visible);
const iconProps = {
[iconTrigger]: onVisibleChange,
className: `${prefixCls}-icon`,
key: 'passwordIcon',
onMouseDown: e => {
// Prevent focused state lost
// https://github.com/ant-design/ant-design/issues/15173
e.preventDefault();
},
onMouseUp: e => {
// Prevent caret position change
// https://github.com/ant-design/ant-design/issues/23524
e.preventDefault();
}
};
return /*#__PURE__*/_react_17_0_2_react.cloneElement( /*#__PURE__*/_react_17_0_2_react.isValidElement(icon) ? icon : /*#__PURE__*/_react_17_0_2_react.createElement("span", null, icon), iconProps);
};
const {
className,
prefixCls: customizePrefixCls,
inputPrefixCls: customizeInputPrefixCls,
size
} = props,
restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]);
const {
getPrefixCls
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
const prefixCls = getPrefixCls('input-password', customizePrefixCls);
const suffixIcon = visibilityToggle && getIcon(prefixCls);
const inputClassName = _classnames_2_3_2_classnames_default()(prefixCls, className, {
[`${prefixCls}-${size}`]: !!size
});
const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), {
type: visible ? 'text' : 'password',
className: inputClassName,
prefixCls: inputPrefixCls,
suffix: suffixIcon
});
if (size) {
omittedProps.size = size;
}
return /*#__PURE__*/_react_17_0_2_react.createElement(Input/* default */.Z, Object.assign({
ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef)
}, omittedProps));
});
if (false) {}
/* harmony default export */ var input_Password = (Password);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/SearchOutlined.js + 1 modules
var SearchOutlined = __webpack_require__(46820);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js
var reactNode = __webpack_require__(92343);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js
var useSize = __webpack_require__(19716);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js
var Compact = __webpack_require__(33234);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Search.js
"use client";
var Search_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;
};
const Search = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
const {
prefixCls: customizePrefixCls,
inputPrefixCls: customizeInputPrefixCls,
className,
size: customizeSize,
suffix,
enterButton = false,
addonAfter,
loading,
disabled,
onSearch: customOnSearch,
onChange: customOnChange,
onCompositionStart,
onCompositionEnd
} = props,
restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]);
const {
getPrefixCls,
direction
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const composedRef = _react_17_0_2_react.useRef(false);
const prefixCls = getPrefixCls('input-search', customizePrefixCls);
const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
const {
compactSize
} = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction);
const size = (0,useSize/* default */.Z)(ctx => {
var _a;
return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx;
});
const inputRef = _react_17_0_2_react.useRef(null);
const onChange = e => {
if (e && e.target && e.type === 'click' && customOnSearch) {
customOnSearch(e.target.value, e, {
source: 'clear'
});
}
if (customOnChange) {
customOnChange(e);
}
};
const onMouseDown = e => {
var _a;
if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) {
e.preventDefault();
}
};
const onSearch = e => {
var _a, _b;
if (customOnSearch) {
customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e, {
source: 'input'
});
}
};
const onPressEnter = e => {
if (composedRef.current || loading) {
return;
}
onSearch(e);
};
const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/_react_17_0_2_react.createElement(SearchOutlined/* default */.Z, null) : null;
const btnClassName = `${prefixCls}-button`;
let button;
const enterButtonAsElement = enterButton || {};
const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true;
if (isAntdButton || enterButtonAsElement.type === 'button') {
button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({
onMouseDown,
onClick: e => {
var _a, _b;
(_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e);
onSearch(e);
},
key: 'enterButton'
}, isAntdButton ? {
className: btnClassName,
size
} : {}));
} else {
button = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, {
className: btnClassName,
type: enterButton ? 'primary' : undefined,
size: size,
disabled: disabled,
key: "enterButton",
onMouseDown: onMouseDown,
onClick: onSearch,
loading: loading,
icon: searchIcon
}, enterButton);
}
if (addonAfter) {
button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, {
key: 'addonAfter'
})];
}
const cls = _classnames_2_3_2_classnames_default()(prefixCls, {
[`${prefixCls}-rtl`]: direction === 'rtl',
[`${prefixCls}-${size}`]: !!size,
[`${prefixCls}-with-button`]: !!enterButton
}, className);
const handleOnCompositionStart = e => {
composedRef.current = true;
onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);
};
const handleOnCompositionEnd = e => {
composedRef.current = false;
onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e);
};
return /*#__PURE__*/_react_17_0_2_react.createElement(Input/* default */.Z, Object.assign({
ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref),
onPressEnter: onPressEnter
}, restProps, {
size: size,
onCompositionStart: handleOnCompositionStart,
onCompositionEnd: handleOnCompositionEnd,
prefixCls: inputPrefixCls,
addonAfter: button,
suffix: suffix,
onChange: onChange,
className: cls,
disabled: disabled
}));
});
if (false) {}
/* harmony default export */ var input_Search = (Search);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/TextArea.js
var TextArea = __webpack_require__(1643);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js
"use client";
const input_Input = Input/* default */.Z;
if (false) {}
input_Input.Group = input_Group;
input_Input.Search = input_Search;
input_Input.TextArea = TextArea/* default */.Z;
input_Input.Password = input_Password;
/* harmony default export */ var input = (input_Input);
/***/ }),
/***/ 8378:
/*!*******************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/style/motion/collapse.js ***!
\*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
const genCollapseMotion = token => ({
[token.componentCls]: {
// For common/openAnimation
[`${token.antCls}-motion-collapse-legacy`]: {
overflow: 'hidden',
'&-active': {
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
}
},
[`${token.antCls}-motion-collapse`]: {
overflow: 'hidden',
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
}
}
});
/* harmony default export */ __webpack_exports__.Z = (genCollapseMotion);
/***/ }),
/***/ 92899:
/*!***************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/style/motion/move.js ***!
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);
const moveDownIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveDownIn', {
'0%': {
transform: 'translate3d(0, 100%, 0)',
transformOrigin: '0 0',
opacity: 0
},
'100%': {
transform: 'translate3d(0, 0, 0)',
transformOrigin: '0 0',
opacity: 1
}
});
const moveDownOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveDownOut', {
'0%': {
transform: 'translate3d(0, 0, 0)',
transformOrigin: '0 0',
opacity: 1
},
'100%': {
transform: 'translate3d(0, 100%, 0)',
transformOrigin: '0 0',
opacity: 0
}
});
const moveLeftIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveLeftIn', {
'0%': {
transform: 'translate3d(-100%, 0, 0)',
transformOrigin: '0 0',
opacity: 0
},
'100%': {
transform: 'translate3d(0, 0, 0)',
transformOrigin: '0 0',
opacity: 1
}
});
const moveLeftOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveLeftOut', {
'0%': {
transform: 'translate3d(0, 0, 0)',
transformOrigin: '0 0',
opacity: 1
},
'100%': {
transform: 'translate3d(-100%, 0, 0)',
transformOrigin: '0 0',
opacity: 0
}
});
const moveRightIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveRightIn', {
'0%': {
transform: 'translate3d(100%, 0, 0)',
transformOrigin: '0 0',
opacity: 0
},
'100%': {
transform: 'translate3d(0, 0, 0)',
transformOrigin: '0 0',
opacity: 1
}
});
const moveRightOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveRightOut', {
'0%': {
transform: 'translate3d(0, 0, 0)',
transformOrigin: '0 0',
opacity: 1
},
'100%': {
transform: 'translate3d(100%, 0, 0)',
transformOrigin: '0 0',
opacity: 0
}
});
const moveUpIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveUpIn', {
'0%': {
transform: 'translate3d(0, -100%, 0)',
transformOrigin: '0 0',
opacity: 0
},
'100%': {
transform: 'translate3d(0, 0, 0)',
transformOrigin: '0 0',
opacity: 1
}
});
const moveUpOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveUpOut', {
'0%': {
transform: 'translate3d(0, 0, 0)',
transformOrigin: '0 0',
opacity: 1
},
'100%': {
transform: 'translate3d(0, -100%, 0)',
transformOrigin: '0 0',
opacity: 0
}
});
const moveMotion = {
'move-up': {
inKeyframes: moveUpIn,
outKeyframes: moveUpOut
},
'move-down': {
inKeyframes: moveDownIn,
outKeyframes: moveDownOut
},
'move-left': {
inKeyframes: moveLeftIn,
outKeyframes: moveLeftOut
},
'move-right': {
inKeyframes: moveRightIn,
outKeyframes: moveRightOut
}
};
const initMoveMotion = (token, motionName) => {
const {
antCls
} = token;
const motionCls = `${antCls}-${motionName}`;
const {
inKeyframes,
outKeyframes
} = moveMotion[motionName];
return [(0,_motion__WEBPACK_IMPORTED_MODULE_1__/* .initMotion */ .R)(motionCls, inKeyframes, outKeyframes, token.motionDurationMid), {
[`
${motionCls}-enter,
${motionCls}-appear
`]: {
opacity: 0,
animationTimingFunction: token.motionEaseOutCirc
},
[`${motionCls}-leave`]: {
animationTimingFunction: token.motionEaseInOutCirc
}
}];
};
/***/ }),
/***/ 13826:
/*!****************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/style/motion/slide.js ***!
\****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ Qt: function() { return /* binding */ slideDownIn; },
/* harmony export */ Uw: function() { return /* binding */ slideUpOut; },
/* harmony export */ fJ: function() { return /* binding */ slideUpIn; },
/* harmony export */ ly: function() { return /* binding */ slideDownOut; },
/* harmony export */ oN: function() { return /* binding */ initSlideMotion; }
/* harmony export */ });
/* unused harmony exports slideLeftIn, slideLeftOut, slideRightIn, slideRightOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);
const slideUpIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antSlideUpIn', {
'0%': {
transform: 'scaleY(0.8)',
transformOrigin: '0% 0%',
opacity: 0
},
'100%': {
transform: 'scaleY(1)',
transformOrigin: '0% 0%',
opacity: 1
}
});
const slideUpOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antSlideUpOut', {
'0%': {
transform: 'scaleY(1)',
transformOrigin: '0% 0%',
opacity: 1
},
'100%': {
transform: 'scaleY(0.8)',
transformOrigin: '0% 0%',
opacity: 0
}
});
const slideDownIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antSlideDownIn', {
'0%': {
transform: 'scaleY(0.8)',
transformOrigin: '100% 100%',
opacity: 0
},
'100%': {
transform: 'scaleY(1)',
transformOrigin: '100% 100%',
opacity: 1
}
});
const slideDownOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antSlideDownOut', {
'0%': {
transform: 'scaleY(1)',
transformOrigin: '100% 100%',
opacity: 1
},
'100%': {
transform: 'scaleY(0.8)',
transformOrigin: '100% 100%',
opacity: 0
}
});
const slideLeftIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antSlideLeftIn', {
'0%': {
transform: 'scaleX(0.8)',
transformOrigin: '0% 0%',
opacity: 0
},
'100%': {
transform: 'scaleX(1)',
transformOrigin: '0% 0%',
opacity: 1
}
});
const slideLeftOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antSlideLeftOut', {
'0%': {
transform: 'scaleX(1)',
transformOrigin: '0% 0%',
opacity: 1
},
'100%': {
transform: 'scaleX(0.8)',
transformOrigin: '0% 0%',
opacity: 0
}
});
const slideRightIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antSlideRightIn', {
'0%': {
transform: 'scaleX(0.8)',
transformOrigin: '100% 0%',
opacity: 0
},
'100%': {
transform: 'scaleX(1)',
transformOrigin: '100% 0%',
opacity: 1
}
});
const slideRightOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antSlideRightOut', {
'0%': {
transform: 'scaleX(1)',
transformOrigin: '100% 0%',
opacity: 1
},
'100%': {
transform: 'scaleX(0.8)',
transformOrigin: '100% 0%',
opacity: 0
}
});
const slideMotion = {
'slide-up': {
inKeyframes: slideUpIn,
outKeyframes: slideUpOut
},
'slide-down': {
inKeyframes: slideDownIn,
outKeyframes: slideDownOut
},
'slide-left': {
inKeyframes: slideLeftIn,
outKeyframes: slideLeftOut
},
'slide-right': {
inKeyframes: slideRightIn,
outKeyframes: slideRightOut
}
};
const initSlideMotion = (token, motionName) => {
const {
antCls
} = token;
const motionCls = `${antCls}-${motionName}`;
const {
inKeyframes,
outKeyframes
} = slideMotion[motionName];
return [(0,_motion__WEBPACK_IMPORTED_MODULE_1__/* .initMotion */ .R)(motionCls, inKeyframes, outKeyframes, token.motionDurationMid), {
[`
${motionCls}-enter,
${motionCls}-appear
`]: {
transform: 'scale(0)',
transformOrigin: '0% 0%',
opacity: 0,
animationTimingFunction: token.motionEaseOutQuint,
[`&-prepare`]: {
transform: 'scale(1)'
}
},
[`${motionCls}-leave`]: {
animationTimingFunction: token.motionEaseInQuint
}
}];
};
/***/ })
}]);

@ -1316,7 +1316,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -55,8 +55,8 @@ const Element = props => {
});
};
/* harmony default export */ var skeleton_Element = (Element);
// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.18.0@@ant-design/cssinjs/es/index.js + 35 modules
var es = __webpack_require__(67937);
// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.18.1@@ant-design/cssinjs/es/index.js + 35 modules
var es = __webpack_require__(36646);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js
var genComponentStyleHook = __webpack_require__(83116);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js

@ -765,8 +765,8 @@ var colors = __webpack_require__(36785);
var reactNode = __webpack_require__(92343);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.18.0@@ant-design/cssinjs/es/index.js + 35 modules
var cssinjs_es = __webpack_require__(67937);
// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.18.1@@ant-design/cssinjs/es/index.js + 35 modules
var cssinjs_es = __webpack_require__(36646);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
var style = __webpack_require__(17313);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genPresetColor.js

@ -1551,8 +1551,8 @@ const genListStyle = token => {
};
};
/* harmony default export */ var list = (genListStyle);
// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.18.0@@ant-design/cssinjs/es/index.js + 35 modules
var cssinjs_es = __webpack_require__(67937);
// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.18.1@@ant-design/cssinjs/es/index.js + 35 modules
var cssinjs_es = __webpack_require__(36646);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/motion/fade.js
var fade = __webpack_require__(1950);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/upload/style/motion.js

@ -1375,7 +1375,7 @@ input_Input.Password = input_Password;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -848,7 +848,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -138,7 +138,7 @@ if (false) {}
/* harmony export */ Yk: function() { return /* binding */ genTreeStyle; }
/* harmony export */ });
/* unused harmony exports genBaseStyle, genDirectoryStyle */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _checkbox_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../checkbox/style */ 98447);
/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style */ 17313);
/* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style/motion */ 8378);

@ -5074,7 +5074,7 @@ Object.defineProperty(exports, "defaultIconPrefixCls", ({
}
}));
exports.warnContext = exports.globalConfig = exports.defaultPrefixCls = void 0;
var _cssinjs = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
var _cssinjs = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
var _Context = _interopRequireDefault(__webpack_require__(/*! @ant-design/icons/lib/components/Context */ 94728));
var _useMemo = _interopRequireDefault(__webpack_require__(/*! rc-util/lib/hooks/useMemo */ 61199));
var _set = __webpack_require__(/*! rc-util/lib/utils/set */ 76906);
@ -8186,7 +8186,7 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports.defaultTheme = exports.defaultConfig = exports.DesignTokenContext = void 0;
var _cssinjs = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
var _cssinjs = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
var _react = _interopRequireDefault(__webpack_require__(/*! react */ 59301));
var _default = _interopRequireDefault(__webpack_require__(/*! ./themes/default */ 62));
var _seed = _interopRequireDefault(__webpack_require__(/*! ./themes/seed */ 54303));
@ -8324,7 +8324,7 @@ Object.defineProperty(exports, "useToken", ({
return _useToken.default;
}
}));
var _cssinjs = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
var _cssinjs = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
var _interface = __webpack_require__(/*! ./interface */ 32732);
var _useToken = _interopRequireDefault(__webpack_require__(/*! ./useToken */ 34313));
var _genComponentStyleHook = _interopRequireWildcard(__webpack_require__(/*! ./util/genComponentStyleHook */ 79081));
@ -8892,7 +8892,7 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports["default"] = useToken;
exports.getComputedToken = void 0;
var _cssinjs = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
var _cssinjs = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
var _react = _interopRequireDefault(__webpack_require__(/*! react */ 59301));
var _version = _interopRequireDefault(__webpack_require__(/*! ../version */ 11025));
var _context = __webpack_require__(/*! ./context */ 81542);
@ -9172,7 +9172,7 @@ Object.defineProperty(exports, "__esModule", ({
exports["default"] = genComponentStyleHook;
exports.genSubStyleComponent = void 0;
var _react = __webpack_require__(/*! react */ 59301);
var _cssinjs = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
var _cssinjs = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
var _rcUtil = __webpack_require__(/*! rc-util */ 33401);
var _context = __webpack_require__(/*! ../../config-provider/context */ 11033);
var _style = __webpack_require__(/*! ../../style */ 51011);
@ -9467,7 +9467,7 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _cssinjs = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
var _cssinjs = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
var _style = __webpack_require__(/*! ../../style */ 51011);
var _useToken = _interopRequireDefault(__webpack_require__(/*! ../useToken */ 34313));
const useResetIconStyle = (iconPrefixCls, csp) => {

File diff suppressed because it is too large Load Diff

@ -1619,7 +1619,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -1657,6 +1657,9 @@ var TabMenu = function TabMenu(_ref) {
addText = _ref.addText,
tabDataSource = _ref.tabDataSource,
isAdmin = _ref.isAdmin,
dispatch = _ref.dispatch,
type = _ref.type,
exportType = _ref.exportType,
TooltipTitle = _ref.TooltipTitle,
categoryId = _ref.categoryId,
dropdownMenu = _ref.dropdownMenu,
@ -1683,6 +1686,7 @@ var TabMenu = function TabMenu(_ref) {
})
});
};
var params = (0,_umi_production_exports.useParams)();
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.tabMenuContainer,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
@ -1714,7 +1718,7 @@ var TabMenu = function TabMenu(_ref) {
color: '#0152d9',
paddingBottom: 3
},
children: [(0,authority/* isAssistant */.Rm)() && !((_classroomList$Assist = classroomList.AssistantObject.normal) !== null && _classroomList$Assist !== void 0 && _classroomList$Assist.can_create) ? '' : /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: [ false && /*#__PURE__*/0, (0,authority/* isAssistant */.Rm)() && !((_classroomList$Assist = classroomList.AssistantObject.normal) !== null && _classroomList$Assist !== void 0 && _classroomList$Assist.can_create) ? '' : /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-666",
style: {
marginLeft: 8,

@ -546,7 +546,7 @@ if (false) {}
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -932,7 +932,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -1670,7 +1670,7 @@ Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -1610,7 +1610,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -83,6 +83,8 @@ var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var TabMenumodules = ({"tabMenuContainer":"tabMenuContainer___uf5IP","control":"control___GheLs","iconH":"iconH___Wzw_r","selectBtn":"selectBtn___mfEnI"});
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(49266);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx
@ -91,11 +93,15 @@ var jsx_runtime = __webpack_require__(37712);
var TabMenu = function TabMenu(_ref) {
var isLoading = _ref.isLoading,
addText = _ref.addText,
tabDataSource = _ref.tabDataSource,
isAdmin = _ref.isAdmin,
dispatch = _ref.dispatch,
type = _ref.type,
isExercise = _ref.isExercise,
defaultSelectedKeys = _ref.defaultSelectedKeys,
onTabMenuClick = _ref.onTabMenuClick,
getDropdownMenu = _ref.getDropdownMenu,
@ -106,6 +112,7 @@ var TabMenu = function TabMenu(_ref) {
extraNode = _ref.extraNode,
_ref$onButtonClick = _ref.onButtonClick,
onButtonClick = _ref$onButtonClick === void 0 ? function () {} : _ref$onButtonClick;
var params = (0,_umi_production_exports.useParams)();
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.tabMenuContainer,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
@ -129,9 +136,15 @@ var TabMenu = function TabMenu(_ref) {
}, typeof item.index === 'number' ? item.index : item.id);
})
})
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "mr20",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mr20 gutter-row",
style: {
display: 'flex',
alignItems: 'center',
color: '#0152d9',
paddingBottom: 3
},
children: [isExercise && false && /*#__PURE__*/0, /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: TabMenumodules.control,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.extra,
@ -163,7 +176,7 @@ var TabMenu = function TabMenu(_ref) {
})]
})
})]
})
})]
})]
})
});

@ -777,8 +777,8 @@ const Steps = props => {
}, styledSteps, children);
};
/* harmony default export */ var progress_Steps = (Steps);
// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.18.0@@ant-design/cssinjs/es/index.js + 35 modules
var cssinjs_es = __webpack_require__(67937);
// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.18.1@@ant-design/cssinjs/es/index.js + 35 modules
var cssinjs_es = __webpack_require__(36646);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
var style = __webpack_require__(17313);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js

@ -1335,7 +1335,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

File diff suppressed because it is too large Load Diff

@ -43,6 +43,243 @@
margin-bottom: 0;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.0.89@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.89@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/layouts/ShixunDetail/components/ExportScore.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.exportmodal___e1u_C {
max-height: 650px;
}
.exportmodal___e1u_C [class~='ant-form-item'] {
margin-bottom: 10px !important;
}
.searchWrap___GunRy {
display: flex;
align-items: center;
}
.searchWrap___GunRy .addQuestionBtn___Qiuf5 {
border-radius: 18px;
margin-right: 20px;
height: 36px;
padding-left: 16px;
padding-right: 16px;
display: flex;
align-items: center;
color: #3061d0;
border-color: #bacffe;
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
}
.searchWrap___GunRy .addQuestionBtn___Qiuf5:hover {
color: #165dff;
border-color: #165dff;
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
}
.searchWrap___GunRy .search___aHuEr {
display: flex;
align-items: center;
overflow: auto;
border-radius: 19px;
height: 38px;
width: 100%;
margin: 15px;
padding-left: 20px;
background-color: #f6f7f9;
border: none;
}
.searchWrap___GunRy .search___aHuEr [class~='ant-input-affix-wrapper'] {
background-color: #f6f7f9;
border: none;
}
.searchWrap___GunRy .search___aHuEr [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.searchWrap___GunRy .search___aHuEr span[class~='ant-input-group-addon'] {
display: none;
}
.searchWrap___GunRy .search___aHuEr .searchIcon___SYYcy {
margin-right: 14px;
cursor: pointer;
}
.searchWrap___GunRy .search___aHuEr input {
background-color: #f6f7f9;
}
.loading___DAGDK {
width: 560px;
top: 0;
bottom: 70px;
left: 200px;
position: absolute;
}
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.0.89@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.89@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/layouts/ShixunDetail/components/TrfListClass/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.leftdiv____DQvt {
flex: 1 1;
margin-right: 8px;
height: 368px;
border-radius: 4px;
border: 1px solid #d9d9d9;
padding: 14px;
}
.leftdiv____DQvt .listClass___NmeAK {
display: flex;
align-items: center;
}
.leftdiv____DQvt .spantitle___meGbS {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 108px;
display: inline-block;
}
.rightdiv___Ypfvm {
margin-left: 8px;
flex: 1 1;
height: 368px;
border-radius: 4px;
border: 1px solid #d9d9d9;
padding: 14px;
}
.searchWrap___GXTGm {
display: flex;
align-items: center;
}
.searchWrap___GXTGm .addQuestionBtn___DTPbT {
border-radius: 18px;
margin-right: 20px;
height: 36px;
padding-left: 16px;
padding-right: 16px;
display: flex;
align-items: center;
color: #3061d0;
border-color: #bacffe;
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
}
.searchWrap___GXTGm .addQuestionBtn___DTPbT:hover {
color: #165dff;
border-color: #165dff;
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
}
.searchWrap___GXTGm .search___ti6sF {
display: flex;
align-items: center;
overflow: hidden;
border-radius: 19px;
height: 38px;
width: 100%;
padding-left: 20px;
background-color: #f6f7f9;
border: none;
margin-bottom: 10px;
}
.searchWrap___GXTGm .search___ti6sF [class~='ant-input-affix-wrapper'] {
background-color: #f6f7f9;
border: none;
}
.searchWrap___GXTGm .search___ti6sF [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.searchWrap___GXTGm .search___ti6sF span[class~='ant-input-group-addon'] {
display: none;
}
.searchWrap___GXTGm .search___ti6sF .searchIcon___BEcfO {
margin-right: 14px;
cursor: pointer;
}
.searchWrap___GXTGm .search___ti6sF input {
background-color: #f6f7f9;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.0.89@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.89@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/layouts/ShixunDetail/components/TrfListStudent/index.less?modules ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.leftdiv___F3YNl {
flex: 1 1;
margin-right: 8px;
height: 368px;
border-radius: 4px;
border: 1px solid #d9d9d9;
padding: 14px;
}
.leftdiv___F3YNl .listClass___Q_C6i {
display: flex;
align-items: center;
}
.leftdiv___F3YNl .spantitle___SPfdV {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 108px;
display: inline-block;
}
.rightdiv___dvG3H {
margin-left: 8px;
flex: 1 1;
height: 368px;
border-radius: 4px;
border: 1px solid #d9d9d9;
padding: 14px;
}
.searchWrap___CFcp_ {
display: flex;
align-items: center;
}
.searchWrap___CFcp_ .addQuestionBtn___x16Cc {
border-radius: 18px;
margin-right: 20px;
height: 36px;
padding-left: 16px;
padding-right: 16px;
display: flex;
align-items: center;
color: #3061d0;
border-color: #bacffe;
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
}
.searchWrap___CFcp_ .addQuestionBtn___x16Cc:hover {
color: #165dff;
border-color: #165dff;
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
}
.searchWrap___CFcp_ .search___eLYTt {
display: flex;
align-items: center;
overflow: hidden;
border-radius: 19px;
height: 38px;
width: 100%;
padding-left: 20px;
background-color: #f6f7f9;
border: none;
margin-bottom: 10px;
}
.searchWrap___CFcp_ .search___eLYTt [class~='ant-input-affix-wrapper'] {
background-color: #f6f7f9;
border: none;
}
.searchWrap___CFcp_ .search___eLYTt [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.searchWrap___CFcp_ .search___eLYTt span[class~='ant-input-group-addon'] {
display: none;
}
.searchWrap___CFcp_ .search___eLYTt .searchIcon___zNep3 {
margin-right: 14px;
cursor: pointer;
}
.searchWrap___CFcp_ .search___eLYTt input {
background-color: #f6f7f9;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.0.89@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.89@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/layouts/ShixunDetail/components/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@ -588,6 +825,22 @@
border: 12px solid transparent;
border-top-color: #fa8d30;
}
.export___Dr4oV {
width: 110px;
text-align: center;
font-size: 14px;
}
.export___Dr4oV p:nth-last-child(1) {
margin-bottom: 0;
}
.export___Dr4oV p {
color: #333 !important;
padding: 5px 15px;
}
.export___Dr4oV p:hover {
cursor: pointer;
background-color: #ededed;
}
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.0.89@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.89@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/layouts/ShixunDetail/components/MoocModal/index.less?modules ***!

@ -3056,8 +3056,8 @@ var theme = {
/* harmony default export */ var antd_theme = (theme);
// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.10@dayjs/locale/zh-cn.js
var zh_cn = __webpack_require__(46789);
// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.18.0@@ant-design/cssinjs/es/index.js + 35 modules
var es = __webpack_require__(67937);
// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.18.1@@ant-design/cssinjs/es/index.js + 35 modules
var es = __webpack_require__(36646);
;// CONCATENATED MODULE: ./src/layouts/index.tsx

@ -745,6 +745,10 @@ var util = __webpack_require__(22739);
var listPlanLibrary = [{
icon_type: "workplace",
name: "个人工作台",
icon: 'iconfont icon-a-101jihua'
}, {
icon_type: "lesson",
name: "好课展示",
icon: 'iconfont icon-haokezhanshi'

@ -419,7 +419,7 @@
}
.menuWrap___oMbDo .nav___tDkKA a span {
display: inline-block;
width: 90px;
width: 120px;
white-space: break-spaces;
margin-top: -2px;
}

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[6758],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[6758,50662],{
/***/ 98915:
/*!***********************************************************************************************************!*\
@ -1035,14 +1035,6 @@ var TrfList = function TrfList(_ref) {
_useState6 = slicedToArray_default()(_useState5, 2),
checkoutList = _useState6[0],
setCheckoutList = _useState6[1];
var _useState7 = (0,_react_17_0_2_react.useState)(1),
_useState8 = slicedToArray_default()(_useState7, 2),
page = _useState8[0],
setpage = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)(),
_useState10 = slicedToArray_default()(_useState9, 2),
sechar = _useState10[0],
setsechar = _useState10[1];
(0,_react_17_0_2_react.useEffect)(function () {
setleftList(data);
setRightList([]);
@ -5992,6 +5984,8 @@ var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var TabMenumodules = ({"tabMenuContainer":"tabMenuContainer___uf5IP","control":"control___GheLs","iconH":"iconH___Wzw_r","selectBtn":"selectBtn___mfEnI"});
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(49266);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx
@ -6000,11 +5994,15 @@ var jsx_runtime = __webpack_require__(37712);
var TabMenu = function TabMenu(_ref) {
var isLoading = _ref.isLoading,
addText = _ref.addText,
tabDataSource = _ref.tabDataSource,
isAdmin = _ref.isAdmin,
dispatch = _ref.dispatch,
type = _ref.type,
isExercise = _ref.isExercise,
defaultSelectedKeys = _ref.defaultSelectedKeys,
onTabMenuClick = _ref.onTabMenuClick,
getDropdownMenu = _ref.getDropdownMenu,
@ -6015,6 +6013,7 @@ var TabMenu = function TabMenu(_ref) {
extraNode = _ref.extraNode,
_ref$onButtonClick = _ref.onButtonClick,
onButtonClick = _ref$onButtonClick === void 0 ? function () {} : _ref$onButtonClick;
var params = (0,_umi_production_exports.useParams)();
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.tabMenuContainer,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
@ -6038,9 +6037,15 @@ var TabMenu = function TabMenu(_ref) {
}, typeof item.index === 'number' ? item.index : item.id);
})
})
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "mr20",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mr20 gutter-row",
style: {
display: 'flex',
alignItems: 'center',
color: '#0152d9',
paddingBottom: 3
},
children: [isExercise && false && /*#__PURE__*/0, /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: TabMenumodules.control,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.extra,
@ -6072,7 +6077,7 @@ var TabMenu = function TabMenu(_ref) {
})]
})
})]
})
})]
})]
})
});

@ -2370,6 +2370,8 @@ var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var TabMenumodules = ({"tabMenuContainer":"tabMenuContainer___uf5IP","control":"control___GheLs","iconH":"iconH___Wzw_r","selectBtn":"selectBtn___mfEnI"});
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(49266);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx
@ -2378,11 +2380,15 @@ var jsx_runtime = __webpack_require__(37712);
var TabMenu = function TabMenu(_ref) {
var isLoading = _ref.isLoading,
addText = _ref.addText,
tabDataSource = _ref.tabDataSource,
isAdmin = _ref.isAdmin,
dispatch = _ref.dispatch,
type = _ref.type,
isExercise = _ref.isExercise,
defaultSelectedKeys = _ref.defaultSelectedKeys,
onTabMenuClick = _ref.onTabMenuClick,
getDropdownMenu = _ref.getDropdownMenu,
@ -2393,6 +2399,7 @@ var TabMenu = function TabMenu(_ref) {
extraNode = _ref.extraNode,
_ref$onButtonClick = _ref.onButtonClick,
onButtonClick = _ref$onButtonClick === void 0 ? function () {} : _ref$onButtonClick;
var params = (0,_umi_production_exports.useParams)();
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.tabMenuContainer,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
@ -2416,9 +2423,15 @@ var TabMenu = function TabMenu(_ref) {
}, typeof item.index === 'number' ? item.index : item.id);
})
})
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "mr20",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mr20 gutter-row",
style: {
display: 'flex',
alignItems: 'center',
color: '#0152d9',
paddingBottom: 3
},
children: [isExercise && false && /*#__PURE__*/0, /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: TabMenumodules.control,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.extra,
@ -2450,7 +2463,7 @@ var TabMenu = function TabMenu(_ref) {
})]
})
})]
})
})]
})]
})
});

@ -1587,604 +1587,6 @@ var Board_ShixunsListPage = function ShixunsListPage(_ref) {
};
})(Board_ShixunsListPage));
/***/ }),
/***/ 25213:
/*!***********************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/components/BottomControl/index.tsx + 1 modules ***!
\***********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ components_BottomControl; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(11006);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var es_menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules
var input = __webpack_require__(1056);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules
var es_checkbox = __webpack_require__(24905);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/BottomControl/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var BottomControlmodules = ({"bottomControlContainer":"bottomControlContainer___woAeo","buttonWrap":"buttonWrap___iRw4K","moveCategory":"moveCategory___oiQqw"});
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(13186);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/DownOutlined.js + 1 modules
var DownOutlined = __webpack_require__(42884);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/BottomControl/index.tsx
var BottomControl = function BottomControl(_ref) {
var buttonDataSource = _ref.buttonDataSource,
onButtonClick = _ref.onButtonClick,
useBatchStatus = _ref.useBatchStatus,
allSelect = _ref.allSelect,
setAllSelect = _ref.setAllSelect,
selectArrs = _ref.selectArrs,
onMenuClick = _ref.onMenuClick,
setSeleArr = _ref.setSeleArr,
catalogue = _ref.catalogue,
addCatalogue = _ref.addCatalogue;
var _useState = (0,_react_17_0_2_react.useState)(false),
_useState2 = slicedToArray_default()(_useState, 2),
moveVisible = _useState2[0],
setMoveVisible = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(''),
_useState4 = slicedToArray_default()(_useState3, 2),
keyword = _useState4[0],
setKeyword = _useState4[1];
console.log('---', catalogue);
var menu = /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BottomControlmodules.moveCategory,
onMouseLeave: function onMouseLeave(e) {
return setMoveVisible(false);
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_menu/* default */.Z, {
onClick: onMenuClick,
style: {
maxHeight: 300,
width: 240,
overflow: 'auto'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", {
className: "ant-menu-item multi-llipsis1e ant-menu-item-only-child",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
onChange: function onChange(e) {
setKeyword(e.target.value);
}
})
}), catalogue === null || catalogue === void 0 ? void 0 : catalogue.map(function (item, key) {
var _item$third_category;
if (keyword !== '' && item.category_name.indexOf(keyword) < 0) {
return;
}
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_menu/* default */.Z.Item, {
className: "multi-llipsis1e",
children: item.category_name
}, item.category_id), item === null || item === void 0 || (_item$third_category = item.third_category) === null || _item$third_category === void 0 ? void 0 : _item$third_category.map(function (val) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_menu/* default */.Z.Item, {
style: {
marginLeft: 20
},
className: "multi-llipsis1e",
children: val.category_name
}, val.category_id);
})]
});
}), addCatalogue && /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
className: "ant-menu-item multi-llipsis1e ant-menu-item-only-child",
onClick: addCatalogue,
children: "\u65B0\u5EFA\u5B50\u76EE\u5F55..."
})]
})
});
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: BottomControlmodules.bottomControlContainer,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, {
checked: allSelect,
onChange: setAllSelect,
children: ["\u5168\u9009\u672C\u9875\uFF08", selectArrs.length, "\uFF09"]
})
}), (0,authority/* isAdmin */.GJ)() && buttonDataSource.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
icon: item.icon,
className: BottomControlmodules.buttonWrap,
onClick: function onClick() {
return onButtonClick(item);
},
children: item.name
})
}, item.name);
}), (0,authority/* isAdmin */.GJ)() && (addCatalogue || catalogue) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
open: moveVisible,
placement: "topLeft",
autoAdjustOverflow: false,
dropdownRender: function dropdownRender() {
return menu;
},
getPopupContainer: function getPopupContainer(trigger) {
return trigger.parentNode;
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "ant-dropdown-link",
onMouseEnter: function onMouseEnter(e) {
return setMoveVisible(true);
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
className: BottomControlmodules.buttonWrap,
icon: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-yidongmulu"
}),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u79FB\u52A8\u5230\u76EE\u5F55 ", /*#__PURE__*/(0,jsx_runtime.jsx)(DownOutlined/* default */.Z, {})]
})
})
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
ghost: true,
onClick: function onClick() {
useBatchStatus(false);
setSeleArr([]);
},
children: "\u53D6\u6D88\u64CD\u4F5C"
})
})]
});
};
/* harmony default export */ var components_BottomControl = (BottomControl);
/***/ }),
/***/ 24757:
/*!******************************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/components/SearchSortController/index.tsx + 1 modules ***!
\******************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ components_SearchSortController; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(10574);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/toConsumableArray.js
var toConsumableArray = __webpack_require__(93923);
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(39343);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(11006);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules
var es_checkbox = __webpack_require__(24905);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
// 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/input/index.js + 5 modules
var input = __webpack_require__(1056);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/SearchSortController/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var SearchSortControllermodules = ({"searchSortControllerContainer":"searchSortControllerContainer___Xca1m","btn":"btn___sNJPX","btnSort":"btnSort___Fx9OM","tips":"tips___LrmpR"});
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(13186);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/UpOutlined.js + 1 modules
var UpOutlined = __webpack_require__(20114);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/DownOutlined.js + 1 modules
var DownOutlined = __webpack_require__(42884);
// EXTERNAL MODULE: ./node_modules/_react-infinite-scroller@1.2.4@react-infinite-scroller/index.js
var _react_infinite_scroller_1_2_4_react_infinite_scroller = __webpack_require__(26724);
var _react_infinite_scroller_1_2_4_react_infinite_scroller_default = /*#__PURE__*/__webpack_require__.n(_react_infinite_scroller_1_2_4_react_infinite_scroller);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(49266);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/SearchSortController/index.tsx
var SearchSortController = function SearchSortController(_ref) {
var isAdmin = _ref.isAdmin,
dataSource = _ref.dataSource,
batchStatus = _ref.batchStatus,
SortMenuName = _ref.SortMenuName,
setSortMenuName = _ref.setSortMenuName,
detailCourseGroupsList = _ref.detailCourseGroupsList,
onSearch = _ref.onSearch,
onBoard = _ref.onBoard,
onSort = _ref.onSort,
isboard = _ref.isboard,
dispatch = _ref.dispatch,
onBatch = _ref.onBatch,
SortMenus = _ref.SortMenus;
var _useState = (0,_react_17_0_2_react.useState)(false),
_useState2 = slicedToArray_default()(_useState, 2),
submenuVisible = _useState2[0],
setSubmenuVisible = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)([]),
_useState4 = slicedToArray_default()(_useState3, 2),
selectArrs = _useState4[0],
setSelectArrs = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(true),
_useState6 = slicedToArray_default()(_useState5, 2),
hasMore = _useState6[0],
setHasmore = _useState6[1];
var _useState7 = (0,_react_17_0_2_react.useState)([]),
_useState8 = slicedToArray_default()(_useState7, 2),
tableData = _useState8[0],
setTableData = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)(1),
_useState10 = slicedToArray_default()(_useState9, 2),
page = _useState10[0],
setPage = _useState10[1];
var _useState11 = (0,_react_17_0_2_react.useState)(false),
_useState12 = slicedToArray_default()(_useState11, 2),
isLoading = _useState12[0],
setIsLoading = _useState12[1];
var paramsFromRouter = (0,_umi_production_exports.useParams)();
/**
* 排序点击事件
*/
var sortClick = function sortClick(data) {
setSortMenuName(data.name);
onSort(data);
};
(0,_react_17_0_2_react.useEffect)(function () {
if (isboard) {
handleInfiniteOnLoad();
}
}, [isboard]);
var handleInfiniteOnLoad = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _res$course_groups, res, items;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
if (!(hasMore && !isLoading)) {
_context.next = 10;
break;
}
setIsLoading(true);
setPage(page + 1);
_context.next = 5;
return dispatch({
type: 'classroomList/getCourseGroupsList',
payload: {
page: page,
id: paramsFromRouter.coursesId,
limit: 20,
nonenavigate: true
}
});
case 5:
res = _context.sent;
items = toConsumableArray_default()((res === null || res === void 0 ? void 0 : res.course_groups) || []);
if ((res === null || res === void 0 || (_res$course_groups = res.course_groups) === null || _res$course_groups === void 0 ? void 0 : _res$course_groups.length) < 20) {
setHasmore(false);
items.push({
id: 0,
name: '未分班'
});
}
setIsLoading(false);
setTableData([].concat(toConsumableArray_default()(tableData), toConsumableArray_default()(items)));
case 10:
case "end":
return _context.stop();
}
}, _callee);
}));
return function handleInfiniteOnLoad() {
return _ref2.apply(this, arguments);
};
}();
var submenu = /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
className: SearchSortControllermodules.dropmenu,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
maxHeight: 200,
overflow: 'auto'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)((_react_infinite_scroller_1_2_4_react_infinite_scroller_default()), {
initialLoad: false,
pageStart: 1,
threshold: 20,
loadMore: function loadMore(page) {
handleInfiniteOnLoad();
},
hasMore: hasMore,
useWindow: false,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
style: {
width: 240,
zIndex: 10
},
children: (detailCourseGroupsList === null || detailCourseGroupsList === void 0 ? void 0 : detailCourseGroupsList.group_count) > 0 && (tableData === null || tableData === void 0 ? void 0 : tableData.filter(function (item) {
return item.edit_auth || item.name === '未分班';
}).map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
checked: selectArrs.includes(item.id),
value: item.id,
onChange: function onChange(e) {
var key = selectArrs.indexOf(item.id);
if (selectArrs.indexOf(item.id) > -1) {
setSelectArrs(selectArrs.filter(function (val) {
return val !== item.id;
}));
} else {
setSelectArrs(selectArrs.concat(item.id));
}
},
children: item.name
})
}, item.id);
}))
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
style: {
background: "#fff"
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "link",
onClick: function onClick() {
// if (selectArrs == '') {
// message.error('请选择你要操作的任务');
// return null;
// }
onBoard(selectArrs);
// params.group_ids = selectArrs;
// params.page = 1;
// setparams({ ...params })
},
children: "\u786E\u5B9A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "link",
onClick: function onClick() {
setSelectArrs([]);
},
children: "\u91CD\u7F6E"
})]
})
})]
});
// 默认排序
var isDefault = SortMenuName === '默认排序';
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SearchSortControllermodules.searchSortControllerContainer,
children: [!!(SortMenus !== null && SortMenus !== void 0 && SortMenus.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
selectedKeys: [SortMenuName],
children: SortMenus.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
onClick: function onClick() {
return sortClick(item);
},
children: item.name
}, item.name);
})
});
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "".concat(SearchSortControllermodules.btn, " ").concat(isDefault ? SearchSortControllermodules.btnSort : ''),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-paixu font14 mr5"
}), SortMenuName]
})
})
})
}), isDefault && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: SearchSortControllermodules.tips,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-a-wenhaobeifen2"
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
allowClear: true,
placeholder: "\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",
onSearch: onSearch,
style: {
width: 220,
marginLeft: 'auto',
marginRight: 10
}
}), (0,authority/* isAdmins */.eB)() && isboard && /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return submenu;
},
open: submenuVisible,
onOpenChange: function onOpenChange(flag) {
setSubmenuVisible(flag);
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
children: ["\u5206\u73ED", submenuVisible ? /*#__PURE__*/(0,jsx_runtime.jsx)(UpOutlined/* default */.Z, {
style: {
marginLeft: 6
}
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(DownOutlined/* default */.Z, {
style: {
marginLeft: 6
}
})]
})
})]
});
};
/* harmony default export */ var components_SearchSortController = (SearchSortController);
/***/ }),
/***/ 57534:
/*!*****************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx + 1 modules ***!
\*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ components_TabMenu; }
});
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// 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/col/index.js
var col = __webpack_require__(43604);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var TabMenumodules = ({"tabMenuContainer":"tabMenuContainer___uf5IP","control":"control___GheLs","iconH":"iconH___Wzw_r","selectBtn":"selectBtn___mfEnI"});
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx
var TabMenu = function TabMenu(_ref) {
var isLoading = _ref.isLoading,
addText = _ref.addText,
tabDataSource = _ref.tabDataSource,
isAdmin = _ref.isAdmin,
defaultSelectedKeys = _ref.defaultSelectedKeys,
onTabMenuClick = _ref.onTabMenuClick,
getDropdownMenu = _ref.getDropdownMenu,
showControlButton = _ref.showControlButton,
buttonText = _ref.buttonText,
_ref$buttonIcon = _ref.buttonIcon,
buttonIcon = _ref$buttonIcon === void 0 ? 'icon-tianjiadaohang' : _ref$buttonIcon,
extraNode = _ref.extraNode,
_ref$onButtonClick = _ref.onButtonClick,
onButtonClick = _ref$onButtonClick === void 0 ? function () {} : _ref$onButtonClick;
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.tabMenuContainer,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "1",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
onSelect: function onSelect(v) {
return !isLoading ? onTabMenuClick(v) : {};
},
mode: "horizontal",
selectedKeys: defaultSelectedKeys,
children: tabDataSource.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(menu/* default */.Z.Item, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-666",
children: item.name
}), item.total !== undefined && isAdmin && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-999 ml20",
children: item.total || 0
})]
}, typeof item.index === 'number' ? item.index : item.id);
})
})
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "mr20",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: TabMenumodules.control,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.extra,
children: extraNode
}), showControlButton && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: onButtonClick,
style: {
cursor: 'pointer'
},
className: TabMenumodules.selectBtn,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont ".concat(buttonIcon)
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: buttonText
})]
}), !!getDropdownMenu && /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
className: "ml10",
dropdownRender: getDropdownMenu,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: TabMenumodules.selectBtn,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-tianjiadaohang"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: addText ? addText : '创建试卷'
})]
})
})]
})
})]
})
});
};
/* harmony default export */ var components_TabMenu = (TabMenu);
/***/ })
}]);

@ -4626,6 +4626,9 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
isLoading: loading[(0,authority/* isAdmin */.GJ)() ? 'classroomList/getClassroomTeacherCommonList' : 'classroomList/getClassroomCommonList'],
tabDataSource: getMenus(),
isAdmin: (0,authority/* isAdmin */.GJ)(),
dispatch: dispatch,
type: detailCommonHomeworksList === null || detailCommonHomeworksList === void 0 ? void 0 : detailCommonHomeworksList.main_category_name,
exportType: 'normal',
TooltipTitle: !params.categoryId ? '新建子目录' : '目录重命名',
categoryId: params.categoryId,
dropdownMenu: dropdownMenu,

@ -1888,6 +1888,8 @@ var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var TabMenumodules = ({"tabMenuContainer":"tabMenuContainer___uf5IP","control":"control___GheLs","iconH":"iconH___Wzw_r","selectBtn":"selectBtn___mfEnI"});
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(49266);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx
@ -1896,11 +1898,15 @@ var jsx_runtime = __webpack_require__(37712);
var TabMenu = function TabMenu(_ref) {
var isLoading = _ref.isLoading,
addText = _ref.addText,
tabDataSource = _ref.tabDataSource,
isAdmin = _ref.isAdmin,
dispatch = _ref.dispatch,
type = _ref.type,
isExercise = _ref.isExercise,
defaultSelectedKeys = _ref.defaultSelectedKeys,
onTabMenuClick = _ref.onTabMenuClick,
getDropdownMenu = _ref.getDropdownMenu,
@ -1911,6 +1917,7 @@ var TabMenu = function TabMenu(_ref) {
extraNode = _ref.extraNode,
_ref$onButtonClick = _ref.onButtonClick,
onButtonClick = _ref$onButtonClick === void 0 ? function () {} : _ref$onButtonClick;
var params = (0,_umi_production_exports.useParams)();
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.tabMenuContainer,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
@ -1934,9 +1941,15 @@ var TabMenu = function TabMenu(_ref) {
}, typeof item.index === 'number' ? item.index : item.id);
})
})
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "mr20",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mr20 gutter-row",
style: {
display: 'flex',
alignItems: 'center',
color: '#0152d9',
paddingBottom: 3
},
children: [isExercise && false && /*#__PURE__*/0, /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: TabMenumodules.control,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.extra,
@ -1968,7 +1981,7 @@ var TabMenu = function TabMenu(_ref) {
})]
})
})]
})
})]
})]
})
});

@ -1310,6 +1310,8 @@ var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var TabMenumodules = ({"tabMenuContainer":"tabMenuContainer___uf5IP","control":"control___GheLs","iconH":"iconH___Wzw_r","selectBtn":"selectBtn___mfEnI"});
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(49266);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx
@ -1318,11 +1320,15 @@ var jsx_runtime = __webpack_require__(37712);
var TabMenu = function TabMenu(_ref) {
var isLoading = _ref.isLoading,
addText = _ref.addText,
tabDataSource = _ref.tabDataSource,
isAdmin = _ref.isAdmin,
dispatch = _ref.dispatch,
type = _ref.type,
isExercise = _ref.isExercise,
defaultSelectedKeys = _ref.defaultSelectedKeys,
onTabMenuClick = _ref.onTabMenuClick,
getDropdownMenu = _ref.getDropdownMenu,
@ -1333,6 +1339,7 @@ var TabMenu = function TabMenu(_ref) {
extraNode = _ref.extraNode,
_ref$onButtonClick = _ref.onButtonClick,
onButtonClick = _ref$onButtonClick === void 0 ? function () {} : _ref$onButtonClick;
var params = (0,_umi_production_exports.useParams)();
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.tabMenuContainer,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
@ -1356,9 +1363,15 @@ var TabMenu = function TabMenu(_ref) {
}, typeof item.index === 'number' ? item.index : item.id);
})
})
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "mr20",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mr20 gutter-row",
style: {
display: 'flex',
alignItems: 'center',
color: '#0152d9',
paddingBottom: 3
},
children: [isExercise && false && /*#__PURE__*/0, /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: TabMenumodules.control,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.extra,
@ -1390,7 +1403,7 @@ var TabMenu = function TabMenu(_ref) {
})]
})
})]
})
})]
})]
})
});

@ -12496,10 +12496,6 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
name: "全部",
value: "",
question_type: 0
}, {
name: "编程题",
value: "PROGRAM",
question_type: 6
}, {
name: "单选题",
value: "SINGLE",
@ -12524,6 +12520,10 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
name: "实训题",
value: "SHIXUN",
question_type: 5
}, {
name: "编程题",
value: "PROGRAM",
question_type: 6
}, {
name: "组合题",
value: "COMBINATION",
@ -12569,6 +12569,8 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
var handleClearButtonClick = function handleClearButtonClick() {
form.resetFields();
isshixun = false;
setisshixun(false);
setShowClearButton(false); // 更新显示清空按钮的状态
form.submit();
};
@ -12585,7 +12587,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
getdisciplines();
getwjj();
form.setFieldsValue({
item_type: null,
item_type: '',
courseid: '',
tag_discipline_id: null,
difficulty: null,
@ -12595,6 +12597,8 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
form.setFieldsValue({
item_type: 'SHIXUN'
});
param.item_type = "SHIXUN";
setparam(objectSpread2_default()({}, param));
setindexi(false);
}
}
@ -12825,11 +12829,26 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
keyword: null,
group_id: null
});
// if (!param?.item_type && param.type !== '5') {
// param.item_type = 'SINGLE'
// form.setFieldsValue({
// item_type: 'SINGLE'
// })
// }
if ((param === null || param === void 0 ? void 0 : param.item_type) === 'SHIXUN' && param.type !== '5') {
isshixun = true;
setisshixun(true);
}
setShowClearButton(false);
if (param.type === '5') {
isshixun = false;
setisshixun(false);
// param.item_type = ''
// form.setFieldsValue({
// item_type: ''
// })
}
setparam(objectSpread2_default()({}, param));
getdatas(objectSpread2_default()({}, param));
},

@ -7354,7 +7354,7 @@ var BFill_TextArea = input/* default */.Z.TextArea;
var BFill = function BFill(_ref) {
var _item$user_answer4, _item$standard_answer3, _item$standard_answer4;
var _item$user_answer2, _item$standard_answer2, _item$standard_answer3;
var item = _ref.item,
answerData = _ref.answerData,
_ref$onBlur = _ref.onBlur,
@ -7375,22 +7375,21 @@ var BFill = function BFill(_ref) {
});
setUserAnswer(data);
}, [item === null || item === void 0 ? void 0 : item.standard_answer_with_score]);
(0,_react_17_0_2_react.useEffect)(function () {
var _item$user_answer2;
if ((item === null || item === void 0 || (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2.length) > 0) {
var _Array$fill;
var data = (_Array$fill = new Array(item.multi_count).fill({
value: ''
})) === null || _Array$fill === void 0 ? void 0 : _Array$fill.map(function (val, index) {
var _item$standard_answer2, _item$user_answer3;
return objectSpread2_default()(objectSpread2_default()({}, val), {}, {
score: item === null || item === void 0 || (_item$standard_answer2 = item.standard_answer_with_score) === null || _item$standard_answer2 === void 0 || (_item$standard_answer2 = _item$standard_answer2[index]) === null || _item$standard_answer2 === void 0 ? void 0 : _item$standard_answer2.score,
value: (item === null || item === void 0 || (_item$user_answer3 = item.user_answer) === null || _item$user_answer3 === void 0 || (_item$user_answer3 = _item$user_answer3[index]) === null || _item$user_answer3 === void 0 ? void 0 : _item$user_answer3.answer_text) || ''
});
});
setUserAnswer(data);
}
}, [item === null || item === void 0 ? void 0 : item.user_answer]);
// useEffect(() => {
// if (item?.user_answer?.length > 0) {
// let data = new Array(item.multi_count).fill({ value: '' })?.map((val: any, index: any) => {
// return {
// ...val,
// score: item?.standard_answer_with_score?.[index]?.score,
// value: item?.user_answer?.[index]?.answer_text || '',
// }
// })
// setUserAnswer(data);
// }
// }, [item?.user_answer])
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [(item === null || item === void 0 ? void 0 : item.code) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
@ -7399,7 +7398,7 @@ var BFill = function BFill(_ref) {
marginBottom: 20
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
disabledFill: !item.repeat_answer && (item === null || item === void 0 || (_item$user_answer4 = item.user_answer) === null || _item$user_answer4 === void 0 ? void 0 : _item$user_answer4.length) > 0 && item.ques_status !== 0 || !!(answerData !== null && answerData !== void 0 && answerData.exercise.commit_status),
disabledFill: !item.repeat_answer && (item === null || item === void 0 || (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2.length) > 0 && item.ques_status !== 0 || !!(answerData !== null && answerData !== void 0 && answerData.exercise.commit_status),
onFillBlur: /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(e, index) {
var _e$parseInt;
@ -7433,7 +7432,7 @@ var BFill = function BFill(_ref) {
showProgramFill: true,
value: base64.Base64.decode((item === null || item === void 0 ? void 0 : item.code) || '')
})
}), !!(item !== null && item !== void 0 && (_item$standard_answer3 = item.standard_answer) !== null && _item$standard_answer3 !== void 0 && _item$standard_answer3.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), !!(item !== null && item !== void 0 && (_item$standard_answer2 = item.standard_answer) !== null && _item$standard_answer2 !== void 0 && _item$standard_answer2.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: componentsmodules.analysisWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: componentsmodules.greyBg,
@ -7446,7 +7445,7 @@ var BFill = function BFill(_ref) {
color: '#6A7283'
},
children: "\u3010\u7B54\u6848\u3011"
}), item === null || item === void 0 || (_item$standard_answer4 = item.standard_answer) === null || _item$standard_answer4 === void 0 ? void 0 : _item$standard_answer4.map(function (answer, index) {
}), item === null || item === void 0 || (_item$standard_answer3 = item.standard_answer) === null || _item$standard_answer3 === void 0 ? void 0 : _item$standard_answer3.map(function (answer, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mr40",
children: ["\u586B\u7A7A\u9879", index + 1, ":", answer === null || answer === void 0 ? void 0 : answer.answer_text]
@ -7836,7 +7835,6 @@ var Answer = function Answer(_ref) {
if ((_user$userInfo4 = user.userInfo) !== null && _user$userInfo4 !== void 0 && _user$userInfo4.user_id) {
if ((0,authority/* isAdmin */.GJ)()) {
initData();
// window.addEventListener("beforeunload", onBeforeunload);
} else if (user.userInfo.login) {
// 检测进入考试流程是否合法
checkCanStart();
@ -7845,7 +7843,6 @@ var Answer = function Answer(_ref) {
window.addEventListener('message', handleMessage);
return function () {
window.removeEventListener('message', handleMessage);
// window.removeEventListener("beforeunload", onBeforeunload);
if (location.pathname.indexOf("/detail") > -1) (0,fullscreen/* exitFull */.BU)();
};
}, [params.categoryId, user.userInfo.login]);
@ -7879,11 +7876,12 @@ var Answer = function Answer(_ref) {
}, 1300);
}
}, [answerData]);
var sendBeacon = function sendBeacon() {
var sendBeacon = function sendBeacon(e) {
var _exercise$exerciseUse;
if (!(answerCheckData !== null && answerCheckData !== void 0 && answerCheckData.is_commit) && (0,authority/* isStudent */.dE)()) {
(0,util/* copyTextFuc */.RG)(" ", true);
}
localStorage.setItem('Refresh', '1');
if ((_exercise$exerciseUse = exercise.exerciseUserInfo) !== null && _exercise$exerciseUse !== void 0 && _exercise$exerciseUse.screen_open) window.navigator.sendBeacon("".concat(env/* default */.Z.API_SERVER, "/api/exercises/").concat(params.categoryId, "/commit_screen_at.json"), {});
};
var handleMessage = function handleMessage(data) {
@ -8418,9 +8416,7 @@ var Answer = function Answer(_ref) {
}
} catch (_unused) {}
;
// window.removeEventListener("beforeunload", onBeforeunload)
}
if ((_res12 = res) !== null && _res12 !== void 0 && (_res12 = _res12.exercise) !== null && _res12 !== void 0 && _res12.left_time) {
setTimeout(function () {
setCountDownColor(Answermodules.red);

@ -821,7 +821,7 @@ if (false) {}
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -20675,7 +20675,7 @@ var PaperlibraryPage = function PaperlibraryPage(_ref) {
case 4:
res = _context.sent;
setLoading(false);
setEditData((0,util/* formatRandomPaperData */.ad)(res));
setEditData((0,util/* formatRandomPaperDatas */.PF)(res));
case 7:
case "end":
return _context.stop();

@ -485,7 +485,8 @@ var Notice = function Notice(_ref2) {
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
localStorage.removeItem('Refresh');
_context2.next = 3;
return (0,util/* startExercise */.nr)({
inner_ip: inner_ip,
public_ip: public_ip,
@ -506,7 +507,7 @@ var Notice = function Notice(_ref2) {
current_status: user_permission,
unlockClose: true
});
case 2:
case 3:
case "end":
return _context2.stop();
}

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[45825],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[45825,50662],{
/***/ 90136:
/*!******************************************************!*\
@ -3067,6 +3067,9 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
isLoading: loading['classroomList/getClassroomExercisesList'],
tabDataSource: Menus,
isAdmin: (0,authority/* isAdmin */.GJ)(),
dispatch: dispatch,
type: detailExerciseList === null || detailExerciseList === void 0 ? void 0 : detailExerciseList.main_category_name,
isExercise: true,
getDropdownMenu: getDropdownMenu,
onTabMenuClick: onMenuSelect,
defaultSelectedKeys: [params.type || 'all']
@ -3841,6 +3844,8 @@ var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var TabMenumodules = ({"tabMenuContainer":"tabMenuContainer___uf5IP","control":"control___GheLs","iconH":"iconH___Wzw_r","selectBtn":"selectBtn___mfEnI"});
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(49266);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx
@ -3849,11 +3854,15 @@ var jsx_runtime = __webpack_require__(37712);
var TabMenu = function TabMenu(_ref) {
var isLoading = _ref.isLoading,
addText = _ref.addText,
tabDataSource = _ref.tabDataSource,
isAdmin = _ref.isAdmin,
dispatch = _ref.dispatch,
type = _ref.type,
isExercise = _ref.isExercise,
defaultSelectedKeys = _ref.defaultSelectedKeys,
onTabMenuClick = _ref.onTabMenuClick,
getDropdownMenu = _ref.getDropdownMenu,
@ -3864,6 +3873,7 @@ var TabMenu = function TabMenu(_ref) {
extraNode = _ref.extraNode,
_ref$onButtonClick = _ref.onButtonClick,
onButtonClick = _ref$onButtonClick === void 0 ? function () {} : _ref$onButtonClick;
var params = (0,_umi_production_exports.useParams)();
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.tabMenuContainer,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
@ -3887,9 +3897,15 @@ var TabMenu = function TabMenu(_ref) {
}, typeof item.index === 'number' ? item.index : item.id);
})
})
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "mr20",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mr20 gutter-row",
style: {
display: 'flex',
alignItems: 'center',
color: '#0152d9',
paddingBottom: 3
},
children: [isExercise && false && /*#__PURE__*/0, /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: TabMenumodules.control,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.extra,
@ -3921,7 +3937,7 @@ var TabMenu = function TabMenu(_ref) {
})]
})
})]
})
})]
})]
})
});

@ -3209,6 +3209,9 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
isLoading: loading[(0,authority/* isAdmin */.GJ)() ? 'classroomList/getClassroomTeacherCommonList' : 'classroomList/getClassroomCommonList'],
tabDataSource: getMenus(),
isAdmin: (0,authority/* isAdmin */.GJ)(),
dispatch: dispatch,
type: detailCommonHomeworksList === null || detailCommonHomeworksList === void 0 ? void 0 : detailCommonHomeworksList.main_category_name,
exportType: 'group',
TooltipTitle: !params.categoryId ? '新建子目录' : '目录重命名',
categoryId: params.categoryId,
dropdownMenu: dropdownMenu,

@ -1384,6 +1384,8 @@ var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var TabMenumodules = ({"tabMenuContainer":"tabMenuContainer___uf5IP","control":"control___GheLs","iconH":"iconH___Wzw_r","selectBtn":"selectBtn___mfEnI"});
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(49266);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx
@ -1392,11 +1394,15 @@ var jsx_runtime = __webpack_require__(37712);
var TabMenu = function TabMenu(_ref) {
var isLoading = _ref.isLoading,
addText = _ref.addText,
tabDataSource = _ref.tabDataSource,
isAdmin = _ref.isAdmin,
dispatch = _ref.dispatch,
type = _ref.type,
isExercise = _ref.isExercise,
defaultSelectedKeys = _ref.defaultSelectedKeys,
onTabMenuClick = _ref.onTabMenuClick,
getDropdownMenu = _ref.getDropdownMenu,
@ -1407,6 +1413,7 @@ var TabMenu = function TabMenu(_ref) {
extraNode = _ref.extraNode,
_ref$onButtonClick = _ref.onButtonClick,
onButtonClick = _ref$onButtonClick === void 0 ? function () {} : _ref$onButtonClick;
var params = (0,_umi_production_exports.useParams)();
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.tabMenuContainer,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
@ -1430,9 +1437,15 @@ var TabMenu = function TabMenu(_ref) {
}, typeof item.index === 'number' ? item.index : item.id);
})
})
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "mr20",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mr20 gutter-row",
style: {
display: 'flex',
alignItems: 'center',
color: '#0152d9',
paddingBottom: 3
},
children: [isExercise && false && /*#__PURE__*/0, /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: TabMenumodules.control,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.extra,
@ -1464,7 +1477,7 @@ var TabMenu = function TabMenu(_ref) {
})]
})
})]
})
})]
})]
})
});
@ -1825,7 +1838,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -1097,6 +1097,8 @@ var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var TabMenumodules = ({"tabMenuContainer":"tabMenuContainer___uf5IP","control":"control___GheLs","iconH":"iconH___Wzw_r","selectBtn":"selectBtn___mfEnI"});
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(49266);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx
@ -1105,11 +1107,15 @@ var jsx_runtime = __webpack_require__(37712);
var TabMenu = function TabMenu(_ref) {
var isLoading = _ref.isLoading,
addText = _ref.addText,
tabDataSource = _ref.tabDataSource,
isAdmin = _ref.isAdmin,
dispatch = _ref.dispatch,
type = _ref.type,
isExercise = _ref.isExercise,
defaultSelectedKeys = _ref.defaultSelectedKeys,
onTabMenuClick = _ref.onTabMenuClick,
getDropdownMenu = _ref.getDropdownMenu,
@ -1120,6 +1126,7 @@ var TabMenu = function TabMenu(_ref) {
extraNode = _ref.extraNode,
_ref$onButtonClick = _ref.onButtonClick,
onButtonClick = _ref$onButtonClick === void 0 ? function () {} : _ref$onButtonClick;
var params = (0,_umi_production_exports.useParams)();
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.tabMenuContainer,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
@ -1143,9 +1150,15 @@ var TabMenu = function TabMenu(_ref) {
}, typeof item.index === 'number' ? item.index : item.id);
})
})
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "mr20",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mr20 gutter-row",
style: {
display: 'flex',
alignItems: 'center',
color: '#0152d9',
paddingBottom: 3
},
children: [isExercise && false && /*#__PURE__*/0, /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: TabMenumodules.control,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.extra,
@ -1177,7 +1190,7 @@ var TabMenu = function TabMenu(_ref) {
})]
})
})]
})
})]
})]
})
});

@ -3095,6 +3095,8 @@ var Stage = function Stage(_ref) {
cust_seq: true,
hiddenEditBtn: true,
keywords: keywords,
isShowSchedule: originData === null || originData === void 0 ? void 0 : originData.is_show_schedule,
getData: getData,
showVideoPlay: true
// user.userInfo?.admin ||
// user.userInfo?.business ||

@ -374,7 +374,10 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
case 7:
_context3.next = 9;
return (0,polls/* addPolls */.rJ)(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, value), params), {}, {
poll_questions: editData.map(function (item) {
poll_questions: editData.filter(function (item) {
var _item$question;
return item === null || item === void 0 || (_item$question = item.question) === null || _item$question === void 0 ? void 0 : _item$question.question_title;
}).map(function (item) {
return item.question;
})
}));
@ -416,7 +419,10 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
case 7:
_context4.next = 9;
return (0,polls/* addPolls */.rJ)(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, value), params), {}, {
poll_questions: editData.map(function (item) {
poll_questions: editData.filter(function (item) {
var _item$question2;
return item === null || item === void 0 || (_item$question2 = item.question) === null || _item$question2 === void 0 ? void 0 : _item$question2.question_title;
}).map(function (item) {
return item.question;
})
}));

@ -2305,604 +2305,6 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
/***/ }),
/***/ 25213:
/*!***********************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/components/BottomControl/index.tsx + 1 modules ***!
\***********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ components_BottomControl; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(11006);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var es_menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules
var input = __webpack_require__(1056);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules
var es_checkbox = __webpack_require__(24905);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/BottomControl/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var BottomControlmodules = ({"bottomControlContainer":"bottomControlContainer___woAeo","buttonWrap":"buttonWrap___iRw4K","moveCategory":"moveCategory___oiQqw"});
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(13186);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/DownOutlined.js + 1 modules
var DownOutlined = __webpack_require__(42884);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/BottomControl/index.tsx
var BottomControl = function BottomControl(_ref) {
var buttonDataSource = _ref.buttonDataSource,
onButtonClick = _ref.onButtonClick,
useBatchStatus = _ref.useBatchStatus,
allSelect = _ref.allSelect,
setAllSelect = _ref.setAllSelect,
selectArrs = _ref.selectArrs,
onMenuClick = _ref.onMenuClick,
setSeleArr = _ref.setSeleArr,
catalogue = _ref.catalogue,
addCatalogue = _ref.addCatalogue;
var _useState = (0,_react_17_0_2_react.useState)(false),
_useState2 = slicedToArray_default()(_useState, 2),
moveVisible = _useState2[0],
setMoveVisible = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(''),
_useState4 = slicedToArray_default()(_useState3, 2),
keyword = _useState4[0],
setKeyword = _useState4[1];
console.log('---', catalogue);
var menu = /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BottomControlmodules.moveCategory,
onMouseLeave: function onMouseLeave(e) {
return setMoveVisible(false);
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_menu/* default */.Z, {
onClick: onMenuClick,
style: {
maxHeight: 300,
width: 240,
overflow: 'auto'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", {
className: "ant-menu-item multi-llipsis1e ant-menu-item-only-child",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
onChange: function onChange(e) {
setKeyword(e.target.value);
}
})
}), catalogue === null || catalogue === void 0 ? void 0 : catalogue.map(function (item, key) {
var _item$third_category;
if (keyword !== '' && item.category_name.indexOf(keyword) < 0) {
return;
}
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_menu/* default */.Z.Item, {
className: "multi-llipsis1e",
children: item.category_name
}, item.category_id), item === null || item === void 0 || (_item$third_category = item.third_category) === null || _item$third_category === void 0 ? void 0 : _item$third_category.map(function (val) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_menu/* default */.Z.Item, {
style: {
marginLeft: 20
},
className: "multi-llipsis1e",
children: val.category_name
}, val.category_id);
})]
});
}), addCatalogue && /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
className: "ant-menu-item multi-llipsis1e ant-menu-item-only-child",
onClick: addCatalogue,
children: "\u65B0\u5EFA\u5B50\u76EE\u5F55..."
})]
})
});
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: BottomControlmodules.bottomControlContainer,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, {
checked: allSelect,
onChange: setAllSelect,
children: ["\u5168\u9009\u672C\u9875\uFF08", selectArrs.length, "\uFF09"]
})
}), (0,authority/* isAdmin */.GJ)() && buttonDataSource.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
icon: item.icon,
className: BottomControlmodules.buttonWrap,
onClick: function onClick() {
return onButtonClick(item);
},
children: item.name
})
}, item.name);
}), (0,authority/* isAdmin */.GJ)() && (addCatalogue || catalogue) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
open: moveVisible,
placement: "topLeft",
autoAdjustOverflow: false,
dropdownRender: function dropdownRender() {
return menu;
},
getPopupContainer: function getPopupContainer(trigger) {
return trigger.parentNode;
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "ant-dropdown-link",
onMouseEnter: function onMouseEnter(e) {
return setMoveVisible(true);
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
className: BottomControlmodules.buttonWrap,
icon: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-yidongmulu"
}),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u79FB\u52A8\u5230\u76EE\u5F55 ", /*#__PURE__*/(0,jsx_runtime.jsx)(DownOutlined/* default */.Z, {})]
})
})
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
ghost: true,
onClick: function onClick() {
useBatchStatus(false);
setSeleArr([]);
},
children: "\u53D6\u6D88\u64CD\u4F5C"
})
})]
});
};
/* harmony default export */ var components_BottomControl = (BottomControl);
/***/ }),
/***/ 24757:
/*!******************************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/components/SearchSortController/index.tsx + 1 modules ***!
\******************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ components_SearchSortController; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(10574);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/toConsumableArray.js
var toConsumableArray = __webpack_require__(93923);
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(39343);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(11006);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules
var es_checkbox = __webpack_require__(24905);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
// 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/input/index.js + 5 modules
var input = __webpack_require__(1056);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/SearchSortController/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var SearchSortControllermodules = ({"searchSortControllerContainer":"searchSortControllerContainer___Xca1m","btn":"btn___sNJPX","btnSort":"btnSort___Fx9OM","tips":"tips___LrmpR"});
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(13186);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/UpOutlined.js + 1 modules
var UpOutlined = __webpack_require__(20114);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/DownOutlined.js + 1 modules
var DownOutlined = __webpack_require__(42884);
// EXTERNAL MODULE: ./node_modules/_react-infinite-scroller@1.2.4@react-infinite-scroller/index.js
var _react_infinite_scroller_1_2_4_react_infinite_scroller = __webpack_require__(26724);
var _react_infinite_scroller_1_2_4_react_infinite_scroller_default = /*#__PURE__*/__webpack_require__.n(_react_infinite_scroller_1_2_4_react_infinite_scroller);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(49266);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/SearchSortController/index.tsx
var SearchSortController = function SearchSortController(_ref) {
var isAdmin = _ref.isAdmin,
dataSource = _ref.dataSource,
batchStatus = _ref.batchStatus,
SortMenuName = _ref.SortMenuName,
setSortMenuName = _ref.setSortMenuName,
detailCourseGroupsList = _ref.detailCourseGroupsList,
onSearch = _ref.onSearch,
onBoard = _ref.onBoard,
onSort = _ref.onSort,
isboard = _ref.isboard,
dispatch = _ref.dispatch,
onBatch = _ref.onBatch,
SortMenus = _ref.SortMenus;
var _useState = (0,_react_17_0_2_react.useState)(false),
_useState2 = slicedToArray_default()(_useState, 2),
submenuVisible = _useState2[0],
setSubmenuVisible = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)([]),
_useState4 = slicedToArray_default()(_useState3, 2),
selectArrs = _useState4[0],
setSelectArrs = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(true),
_useState6 = slicedToArray_default()(_useState5, 2),
hasMore = _useState6[0],
setHasmore = _useState6[1];
var _useState7 = (0,_react_17_0_2_react.useState)([]),
_useState8 = slicedToArray_default()(_useState7, 2),
tableData = _useState8[0],
setTableData = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)(1),
_useState10 = slicedToArray_default()(_useState9, 2),
page = _useState10[0],
setPage = _useState10[1];
var _useState11 = (0,_react_17_0_2_react.useState)(false),
_useState12 = slicedToArray_default()(_useState11, 2),
isLoading = _useState12[0],
setIsLoading = _useState12[1];
var paramsFromRouter = (0,_umi_production_exports.useParams)();
/**
* 排序点击事件
*/
var sortClick = function sortClick(data) {
setSortMenuName(data.name);
onSort(data);
};
(0,_react_17_0_2_react.useEffect)(function () {
if (isboard) {
handleInfiniteOnLoad();
}
}, [isboard]);
var handleInfiniteOnLoad = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _res$course_groups, res, items;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
if (!(hasMore && !isLoading)) {
_context.next = 10;
break;
}
setIsLoading(true);
setPage(page + 1);
_context.next = 5;
return dispatch({
type: 'classroomList/getCourseGroupsList',
payload: {
page: page,
id: paramsFromRouter.coursesId,
limit: 20,
nonenavigate: true
}
});
case 5:
res = _context.sent;
items = toConsumableArray_default()((res === null || res === void 0 ? void 0 : res.course_groups) || []);
if ((res === null || res === void 0 || (_res$course_groups = res.course_groups) === null || _res$course_groups === void 0 ? void 0 : _res$course_groups.length) < 20) {
setHasmore(false);
items.push({
id: 0,
name: '未分班'
});
}
setIsLoading(false);
setTableData([].concat(toConsumableArray_default()(tableData), toConsumableArray_default()(items)));
case 10:
case "end":
return _context.stop();
}
}, _callee);
}));
return function handleInfiniteOnLoad() {
return _ref2.apply(this, arguments);
};
}();
var submenu = /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
className: SearchSortControllermodules.dropmenu,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
maxHeight: 200,
overflow: 'auto'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)((_react_infinite_scroller_1_2_4_react_infinite_scroller_default()), {
initialLoad: false,
pageStart: 1,
threshold: 20,
loadMore: function loadMore(page) {
handleInfiniteOnLoad();
},
hasMore: hasMore,
useWindow: false,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
style: {
width: 240,
zIndex: 10
},
children: (detailCourseGroupsList === null || detailCourseGroupsList === void 0 ? void 0 : detailCourseGroupsList.group_count) > 0 && (tableData === null || tableData === void 0 ? void 0 : tableData.filter(function (item) {
return item.edit_auth || item.name === '未分班';
}).map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
checked: selectArrs.includes(item.id),
value: item.id,
onChange: function onChange(e) {
var key = selectArrs.indexOf(item.id);
if (selectArrs.indexOf(item.id) > -1) {
setSelectArrs(selectArrs.filter(function (val) {
return val !== item.id;
}));
} else {
setSelectArrs(selectArrs.concat(item.id));
}
},
children: item.name
})
}, item.id);
}))
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
style: {
background: "#fff"
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "link",
onClick: function onClick() {
// if (selectArrs == '') {
// message.error('请选择你要操作的任务');
// return null;
// }
onBoard(selectArrs);
// params.group_ids = selectArrs;
// params.page = 1;
// setparams({ ...params })
},
children: "\u786E\u5B9A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "link",
onClick: function onClick() {
setSelectArrs([]);
},
children: "\u91CD\u7F6E"
})]
})
})]
});
// 默认排序
var isDefault = SortMenuName === '默认排序';
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SearchSortControllermodules.searchSortControllerContainer,
children: [!!(SortMenus !== null && SortMenus !== void 0 && SortMenus.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
selectedKeys: [SortMenuName],
children: SortMenus.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
onClick: function onClick() {
return sortClick(item);
},
children: item.name
}, item.name);
})
});
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "".concat(SearchSortControllermodules.btn, " ").concat(isDefault ? SearchSortControllermodules.btnSort : ''),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-paixu font14 mr5"
}), SortMenuName]
})
})
})
}), isDefault && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: SearchSortControllermodules.tips,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-a-wenhaobeifen2"
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
allowClear: true,
placeholder: "\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",
onSearch: onSearch,
style: {
width: 220,
marginLeft: 'auto',
marginRight: 10
}
}), (0,authority/* isAdmins */.eB)() && isboard && /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return submenu;
},
open: submenuVisible,
onOpenChange: function onOpenChange(flag) {
setSubmenuVisible(flag);
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
children: ["\u5206\u73ED", submenuVisible ? /*#__PURE__*/(0,jsx_runtime.jsx)(UpOutlined/* default */.Z, {
style: {
marginLeft: 6
}
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(DownOutlined/* default */.Z, {
style: {
marginLeft: 6
}
})]
})
})]
});
};
/* harmony default export */ var components_SearchSortController = (SearchSortController);
/***/ }),
/***/ 57534:
/*!*****************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx + 1 modules ***!
\*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ components_TabMenu; }
});
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// 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/col/index.js
var col = __webpack_require__(43604);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var TabMenumodules = ({"tabMenuContainer":"tabMenuContainer___uf5IP","control":"control___GheLs","iconH":"iconH___Wzw_r","selectBtn":"selectBtn___mfEnI"});
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx
var TabMenu = function TabMenu(_ref) {
var isLoading = _ref.isLoading,
addText = _ref.addText,
tabDataSource = _ref.tabDataSource,
isAdmin = _ref.isAdmin,
defaultSelectedKeys = _ref.defaultSelectedKeys,
onTabMenuClick = _ref.onTabMenuClick,
getDropdownMenu = _ref.getDropdownMenu,
showControlButton = _ref.showControlButton,
buttonText = _ref.buttonText,
_ref$buttonIcon = _ref.buttonIcon,
buttonIcon = _ref$buttonIcon === void 0 ? 'icon-tianjiadaohang' : _ref$buttonIcon,
extraNode = _ref.extraNode,
_ref$onButtonClick = _ref.onButtonClick,
onButtonClick = _ref$onButtonClick === void 0 ? function () {} : _ref$onButtonClick;
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.tabMenuContainer,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "1",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
onSelect: function onSelect(v) {
return !isLoading ? onTabMenuClick(v) : {};
},
mode: "horizontal",
selectedKeys: defaultSelectedKeys,
children: tabDataSource.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(menu/* default */.Z.Item, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-666",
children: item.name
}), item.total !== undefined && isAdmin && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-999 ml20",
children: item.total || 0
})]
}, typeof item.index === 'number' ? item.index : item.id);
})
})
}), isAdmin && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "mr20",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: TabMenumodules.control,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: TabMenumodules.extra,
children: extraNode
}), showControlButton && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: onButtonClick,
style: {
cursor: 'pointer'
},
className: TabMenumodules.selectBtn,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont ".concat(buttonIcon)
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: buttonText
})]
}), !!getDropdownMenu && /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
className: "ml10",
dropdownRender: getDropdownMenu,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: TabMenumodules.selectBtn,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-tianjiadaohang"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: addText ? addText : '创建试卷'
})]
})
})]
})
})]
})
});
};
/* harmony default export */ var components_TabMenu = (TabMenu);
/***/ }),
/***/ 44000:
/*!**********************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/layout/index.js ***!

@ -2265,6 +2265,8 @@ var TabMenu = function TabMenu(_ref) {
addText = _ref.addText,
tabDataSource = _ref.tabDataSource,
isAdmin = _ref.isAdmin,
dispatch = _ref.dispatch,
type = _ref.type,
TooltipTitle = _ref.TooltipTitle,
categoryId = _ref.categoryId,
dropdownMenu = _ref.dropdownMenu,
@ -2315,14 +2317,14 @@ var TabMenu = function TabMenu(_ref) {
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "gutter-row iconfont icon-paihang",
className: "gutter-row",
style: {
display: 'flex',
alignItems: 'center',
color: '#0152d9',
paddingBottom: 3
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: [isAdmin && false && /*#__PURE__*/0, /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
marginLeft: 8,
cursor: 'pointer'
@ -2330,7 +2332,9 @@ var TabMenu = function TabMenu(_ref) {
onClick: function onClick() {
_umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/program_homework/ranking"));
},
children: "\u6392\u884C\u699C"
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-paihang mr5"
}), " \u6392\u884C\u699C"]
}), isAdmin && isShowRightControl && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: TabMenumodules.control,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@ -4280,6 +4284,8 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
tabDataSource: getMenus(),
classroomList: classroomList,
isAdmin: (0,authority/* isAdmin */.GJ)(),
dispatch: dispatch,
type: detailCommonHomeworksList === null || detailCommonHomeworksList === void 0 ? void 0 : detailCommonHomeworksList.main_category_name,
TooltipTitle: !params.categoryId ? '新建子目录' : '目录重命名',
categoryId: params.categoryId,
dropdownMenu: dropdownMenu,

@ -5694,6 +5694,9 @@ var ShixunStatic_ShixunsListPage = function ShixunsListPage(_ref) {
},
scrollBeyondLastLine: false
};
(0,_react_17_0_2_react.useEffect)(function () {
console.log(params);
}, []);
var columns = [{
title: '评测次数',
dataIndex: 'position',
@ -5732,7 +5735,8 @@ var ShixunStatic_ShixunsListPage = function ShixunsListPage(_ref) {
_context.next = 2;
return (0,classrooms/* getCommitIdContent */.Lk)(record.game_identifier, {
path: (_record$path = record.path) === null || _record$path === void 0 || (_record$path = _record$path.replace(/\/g, ";")) === null || _record$path === void 0 ? void 0 : _record$path.split(";")[0],
query_index: record.query_index
query_index: record.query_index,
homework_common_id: params.categoryId
});
case 2:
res = _context.sent;
@ -6380,7 +6384,7 @@ var _excluded = ["shixunHomeworks", "classroomList", "globalSetting", "loading",
var Comment_ShixunsListPage = function ShixunsListPage(_ref) {
var _shixunWorkReport$shi2, _shixunWorkReport$tar2;
var _shixunWorkReport$tar2;
var shixunHomeworks = _ref.shixunHomeworks,
classroomList = _ref.classroomList,
globalSetting = _ref.globalSetting,
@ -7249,13 +7253,12 @@ var Comment_ShixunsListPage = function ShixunsListPage(_ref) {
className: Commentmodules.title1_right,
children: [shixunWorkReport.view_tpi && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "iconfont icon-yijiandianping mr5"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
className: "c-black",
target: "_blank",
to: "/tasks/".concat(shixunWorkReport === null || shixunWorkReport === void 0 || (_shixunWorkReport$shi2 = shixunWorkReport.shixun_detail) === null || _shixunWorkReport$shi2 === void 0 || (_shixunWorkReport$shi2 = _shixunWorkReport$shi2[0]) === null || _shixunWorkReport$shi2 === void 0 ? void 0 : _shixunWorkReport$shi2["game_identifier"]),
children: "\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"
})]
className: "iconfont icon-yijiandianping mr5",
onClick: function onClick() {
var _shixunWorkReport$shi2;
(0,util/* openNewWindow */.xg)("/tasks/".concat(shixunWorkReport === null || shixunWorkReport === void 0 || (_shixunWorkReport$shi2 = shixunWorkReport.shixun_detail) === null || _shixunWorkReport$shi2 === void 0 || (_shixunWorkReport$shi2 = _shixunWorkReport$shi2[0]) === null || _shixunWorkReport$shi2 === void 0 ? void 0 : _shixunWorkReport$shi2["game_identifier"]));
}
}), "\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"]
}), (0,authority/* isAdmin */.GJ)() && shixunWorkReport.homework_end === false && !!shixunWorkReport.myshixun_id && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
className: "ml10",
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11() {

@ -6231,10 +6231,12 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
name: '实验名称降序',
type: 'name_pinyin',
direction: 'desc'
}] : [{
}] : [
// { name: '默认排序', type: 'position', direction: 'desc' },
{
name: '默认排序',
type: 'position',
direction: 'desc'
type: null,
direction: null
}, {
name: '按发布时间升序',
type: 'created_at',
@ -6493,7 +6495,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
alignItems: 'center',
marginBottom: 6
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: [ false && /*#__PURE__*/0, /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-blue font16 ml20 current",
style: {
marginTop: 2
@ -6621,7 +6623,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
})
})
}), isDefault && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217",
title: "\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167".concat((0,authority/* isAdmin */.GJ)() ? '创建时间降序' : params.status == 5 ? '截止时间降序' : '截止时间升序', "\u6392\u5217"),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: ShixunHomeworksmodules.tips,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {

@ -961,7 +961,7 @@ if (false) {}
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -1341,7 +1341,7 @@ input_Input.Password = input_Password;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -12424,6 +12424,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
per_page: 10,
updated_at: '',
quotes: ''
// item_type: 'SINGLE',
}),
_useState2 = slicedToArray_default()(_useState, 2),
param = _useState2[0],
@ -12483,10 +12484,6 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
name: "全部",
value: "",
question_type: 0
}, {
name: "编程题",
value: "PROGRAM",
question_type: 6
}, {
name: "单选题",
value: "SINGLE",
@ -12511,6 +12508,10 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
name: "实训题",
value: "SHIXUN",
question_type: 5
}, {
name: "编程题",
value: "PROGRAM",
question_type: 6
}, {
name: "组合题",
value: "COMBINATION",
@ -12556,6 +12557,8 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
var handleClearButtonClick = function handleClearButtonClick() {
form.resetFields();
isshixun = false;
setisshixun(false);
setShowClearButton(false); // 更新显示清空按钮的状态
form.submit();
};
@ -12565,7 +12568,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
getdisciplines();
getwjj();
form.setFieldsValue({
item_type: null,
item_type: '',
courseid: '',
tag_discipline_id: null,
difficulty: null,
@ -12575,6 +12578,8 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
form.setFieldsValue({
item_type: 'SHIXUN'
});
param.item_type = "SHIXUN";
setparam(objectSpread2_default()({}, param));
setindexi(false);
}
}
@ -12802,11 +12807,20 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
keyword: null,
group_id: null
});
if ((param === null || param === void 0 ? void 0 : param.item_type) === 'SHIXUN' && param.type !== '5') {
isshixun = true;
setisshixun(true);
}
setShowClearButton(false);
if (param.type === '5') {
isshixun = false;
setisshixun(false);
// param.item_type = ''
// form.setFieldsValue({
// item_type: ''
// })
}
setparam(objectSpread2_default()({}, param));
getdatas(objectSpread2_default()({}, param));
// setcheckitems([])
@ -12882,8 +12896,9 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
style: {
width: 110
},
size: "middle",
allowClear: true,
size: "middle"
// allowClear
,
children: typeData.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
children: item.name

@ -5385,7 +5385,7 @@ var QuestionInfo = function QuestionInfo(_ref) {
type: 'setQuestionType',
payload: selectedQuestionType
});
setCurrentItemType(nextState.item_types.length ? nextState.item_types[0].item_type : '');
setCurrentItemType(currentItemType ? currentItemType : nextState.item_types[0].item_type);
setVisibleModalType('');
case 14:
case "end":

@ -299,7 +299,7 @@ var PaperlibraryPage = function PaperlibraryPage(_ref) {
case 4:
res = _context.sent;
setLoading(false);
setEditData((0,util/* formatRandomPaperData */.ad)(res));
setEditData((0,util/* formatRandomPaperDatas */.PF)(res));
case 7:
case "end":
return _context.stop();

@ -11746,6 +11746,8 @@ var Stage = function Stage(_ref) {
cust_seq: !!(pathsDetail !== null && pathsDetail !== void 0 && (_pathsDetail$detail19 = pathsDetail.detail) !== null && _pathsDetail$detail19 !== void 0 && _pathsDetail$detail19.cust_seq),
showVideoPlay: ((_user$userInfo11 = user.userInfo) === null || _user$userInfo11 === void 0 ? void 0 : _user$userInfo11.admin) || ((_user$userInfo12 = user.userInfo) === null || _user$userInfo12 === void 0 ? void 0 : _user$userInfo12.business) || isSHow(),
isPaths: true,
isShowSchedule: pathsDetail.isShowSchedule,
getData: getData,
keywords: props === null || props === void 0 ? void 0 : props.keywords
})

@ -1132,7 +1132,7 @@ var Preview = function Preview(_ref) {
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -2007,7 +2007,7 @@ if (false) {}
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -355,11 +355,11 @@ var Banner = function Banner(_ref) {
className: Mergemodules.titleredio
}), " \u6E90\u5B9E\u8DF5\u9879\u76EE"]
}), ' ', /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
checked: checkvalues.length === ((_shixunsDetail$challe = shixunsDetail.challenges) === null || _shixunsDetail$challe === void 0 ? void 0 : _shixunsDetail$challe.challenge_list.length),
checked: checkvalues.length === ((_shixunsDetail$challe = shixunsDetail.challenges) === null || _shixunsDetail$challe === void 0 || (_shixunsDetail$challe = _shixunsDetail$challe.challenge_list) === null || _shixunsDetail$challe === void 0 ? void 0 : _shixunsDetail$challe.length),
onChange: function onChange(e) {
if (e.target.checked) {
var _shixunsDetail$challe2;
setcheckvalues((_shixunsDetail$challe2 = shixunsDetail.challenges) === null || _shixunsDetail$challe2 === void 0 ? void 0 : _shixunsDetail$challe2.challenge_list.map(function (item) {
setcheckvalues((_shixunsDetail$challe2 = shixunsDetail.challenges) === null || _shixunsDetail$challe2 === void 0 || (_shixunsDetail$challe2 = _shixunsDetail$challe2.challenge_list) === null || _shixunsDetail$challe2 === void 0 ? void 0 : _shixunsDetail$challe2.map(function (item) {
return item.challenge_id;
}));
} else {
@ -404,7 +404,7 @@ var Banner = function Banner(_ref) {
onChange: function onChange(e) {
setcheckvalues(e);
},
children: (_shixunsDetail$challe3 = shixunsDetail.challenges) === null || _shixunsDetail$challe3 === void 0 ? void 0 : _shixunsDetail$challe3.challenge_list.map(function (item, index) {
children: (_shixunsDetail$challe3 = shixunsDetail.challenges) === null || _shixunsDetail$challe3 === void 0 || (_shixunsDetail$challe3 = _shixunsDetail$challe3.challenge_list) === null || _shixunsDetail$challe3 === void 0 ? void 0 : _shixunsDetail$challe3.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
style: {
marginTop: index === 0 ? '' : '24px'

@ -1329,7 +1329,7 @@ var Banner = function Banner(_ref) {
res = _context.sent;
if (res.status === 0) {
setisLoading(false);
_umi_production_exports.history === null || _umi_production_exports.history === void 0 || _umi_production_exports.history.push("/shixuns/".concat((_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.shixun, "/challenges"));
window.location.href = "/shixuns/".concat((_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.shixun, "/challenges");
message/* default */.ZP.success('复制成功');
setisshowmodal(false);
} else {
@ -2284,7 +2284,7 @@ var Banner = function Banner(_ref) {
} else {
// console.log('shixunId.current',shixunId.current);
_umi_production_exports.history.push("/shixuns/".concat(shixunId.current, "/Merge"));
window.location.href = "/shixuns/".concat(shixunId.current, "/Merge");
}
},
style: {

@ -6640,7 +6640,7 @@ var resetmodules = __webpack_require__(23875);
var Option = es_select["default"].Option;
var MAX_COUNT = 3;
var Environment = function Environment(_ref) {
var _cloudList$find, _mirror_repository$ch, _mirror_repository$sh2, _mirror_repository$sh3, _mirror_repository$sh4, _mirror_repository$sh5, _mirrorItems$Number2;
var _cloudList$find, _mirror_repository$ch, _mirror_repository$sh4, _mirror_repository$sh5, _mirror_repository$sh6, _mirror_repository$sh7, _mirrorItems$Number2;
var practiceSetting = _ref.practiceSetting,
dispatch = _ref.dispatch,
shixunsDetail = _ref.shixunsDetail,
@ -6706,40 +6706,44 @@ var Environment = function Environment(_ref) {
_useState24 = slicedToArray_default()(_useState23, 2),
btnLoading = _useState24[0],
setBtnLoading = _useState24[1];
//右边抽屉
var _useState25 = (0,_react_17_0_2_react.useState)(false),
_useState26 = slicedToArray_default()(_useState25, 2),
settingDrawer = _useState26[0],
setSettingDrawer = _useState26[1];
showError = _useState26[0],
setShowError = _useState26[1];
//添加和切换环境
//右边抽屉
var _useState27 = (0,_react_17_0_2_react.useState)(false),
_useState28 = slicedToArray_default()(_useState27, 2),
mirrorModal = _useState28[0],
setMirrorModal = _useState28[1];
settingDrawer = _useState28[0],
setSettingDrawer = _useState28[1];
// SuperiorTabs切换
var _useState29 = (0,_react_17_0_2_react.useState)(0),
//添加和切换环境
var _useState29 = (0,_react_17_0_2_react.useState)(false),
_useState30 = slicedToArray_default()(_useState29, 2),
superTabs = _useState30[0],
setSuperTabs = _useState30[1];
var _useState31 = (0,_react_17_0_2_react.useState)(false),
mirrorModal = _useState30[0],
setMirrorModal = _useState30[1];
// SuperiorTabs切换
var _useState31 = (0,_react_17_0_2_react.useState)(0),
_useState32 = slicedToArray_default()(_useState31, 2),
isEmpty = _useState32[0],
setIsEmpty = _useState32[1];
var _useState33 = (0,_react_17_0_2_react.useState)({}),
superTabs = _useState32[0],
setSuperTabs = _useState32[1];
var _useState33 = (0,_react_17_0_2_react.useState)(false),
_useState34 = slicedToArray_default()(_useState33, 2),
publicMirrorInfo = _useState34[0],
setPublicMirrorInfo = _useState34[1]; //公共镜像数据
isEmpty = _useState34[0],
setIsEmpty = _useState34[1];
var _useState35 = (0,_react_17_0_2_react.useState)({}),
_useState36 = slicedToArray_default()(_useState35, 2),
customizeMirrorInfo = _useState36[0],
setCustomizeMirrorInfo = _useState36[1]; //自定义镜像数据
publicMirrorInfo = _useState36[0],
setPublicMirrorInfo = _useState36[1]; //公共镜像数据
var _useState37 = (0,_react_17_0_2_react.useState)({}),
_useState38 = slicedToArray_default()(_useState37, 2),
shareMirrorInfo = _useState38[0],
setShareMirrorInfo = _useState38[1]; //共享镜像数据
customizeMirrorInfo = _useState38[0],
setCustomizeMirrorInfo = _useState38[1]; //自定义镜像数据
var _useState39 = (0,_react_17_0_2_react.useState)({}),
_useState40 = slicedToArray_default()(_useState39, 2),
shareMirrorInfo = _useState40[0],
setShareMirrorInfo = _useState40[1]; //共享镜像数据
var cloudItems = [{
id: 1,
@ -7619,7 +7623,7 @@ var Environment = function Environment(_ref) {
var handleConfirm = /*#__PURE__*/function () {
var _ref9 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11() {
var _tabs$find;
var _shixun_environment$p, _shixun_environment$p2, _mirror_repository$sh, _iterator, _step, item, regex, name, res;
var _shixun_environment$p, _shixun_environment$p2, _mirror_repository$sh, _mirror_repository$sh2, _iterator, _step, item, regex, _mirror_repository$sh3, _regex, name, res;
return regeneratorRuntime_default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
@ -7630,7 +7634,7 @@ var Environment = function Environment(_ref) {
return _context11.abrupt("return");
case 2:
if (!((shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.resource_type) === 1)) {
_context11.next = 46;
_context11.next = 51;
break;
}
if (mirror_repository !== null && mirror_repository !== void 0 && mirror_repository.id) {
@ -7719,43 +7723,56 @@ var Environment = function Environment(_ref) {
message/* default */.ZP.warning('主机名只能输入数字、小写字母、连字符');
return _context11.abrupt("return");
case 46:
if (!(mirror_repository !== null && mirror_repository !== void 0 && (_mirror_repository$sh2 = mirror_repository.shixun_service_configs) !== null && _mirror_repository$sh2 !== void 0 && (_mirror_repository$sh2 = _mirror_repository$sh2[0]) !== null && _mirror_repository$sh2 !== void 0 && _mirror_repository$sh2.webssh_host)) {
_context11.next = 51;
break;
}
_regex = /^(?![0-9]+$)(?!.*--)[a-z0-9](?:[a-z0-9-]{0,60}[a-z0-9])$/;
if (_regex.test(mirror_repository === null || mirror_repository === void 0 || (_mirror_repository$sh3 = mirror_repository.shixun_service_configs) === null || _mirror_repository$sh3 === void 0 || (_mirror_repository$sh3 = _mirror_repository$sh3[0]) === null || _mirror_repository$sh3 === void 0 ? void 0 : _mirror_repository$sh3.webssh_host)) {
_context11.next = 51;
break;
}
// message.warning('请输入规范的主机名')
setShowError(true);
return _context11.abrupt("return");
case 51:
if (!((shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.resource_type) === 2)) {
_context11.next = 59;
_context11.next = 64;
break;
}
if (shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.operating_system) {
_context11.next = 50;
_context11.next = 55;
break;
}
setError('system');
return _context11.abrupt("return");
case 50:
case 55:
if (shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.instance_startup_template_id) {
_context11.next = 53;
_context11.next = 58;
break;
}
setError('template');
return _context11.abrupt("return");
case 53:
case 58:
if (!(!(shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.private_is_support_vnc) && !(shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.private_is_support_webssh))) {
_context11.next = 56;
_context11.next = 61;
break;
}
setError('interface');
return _context11.abrupt("return");
case 56:
case 61:
if (!((shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.operating_system) === 1 && shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.private_is_support_vnc && isAliCloud && !(shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.instance_startup_type))) {
_context11.next = 59;
_context11.next = 64;
break;
}
setError('instance_startup_type');
return _context11.abrupt("return");
case 59:
case 64:
setBtnLoading(true);
name = (_tabs$find = tabs.find(function (e) {
return e.id === tabsActive;
})) === null || _tabs$find === void 0 ? void 0 : _tabs$find.name;
_context11.next = 63;
_context11.next = 68;
return (0,fetch/* default */.ZP)("/api/shixuns/".concat(id, "/update_for_multi.json"), {
method: 'put',
body: {
@ -7771,7 +7788,7 @@ var Environment = function Environment(_ref) {
new_service_configs: new_service_configs
}
});
case 63:
case 68:
res = _context11.sent;
if (res.status === 0) {
getData(res.shixun_environment_id);
@ -7780,7 +7797,7 @@ var Environment = function Environment(_ref) {
message/* default */.ZP.success('保存成功');
}
setBtnLoading(false);
case 66:
case 71:
case "end":
return _context11.stop();
}
@ -8289,18 +8306,18 @@ var Environment = function Environment(_ref) {
errorValue: error,
errorName: "\u8BF7\u6DFB\u52A0\u955C\u50CF\u914D\u7F6E",
contentStyle: {
overflow: mirror_repository !== null && mirror_repository !== void 0 && (_mirror_repository$sh2 = mirror_repository.shixun_service_configs) !== null && _mirror_repository$sh2 !== void 0 && _mirror_repository$sh2.length ? 'hidden' : 'initial'
overflow: mirror_repository !== null && mirror_repository !== void 0 && (_mirror_repository$sh4 = mirror_repository.shixun_service_configs) !== null && _mirror_repository$sh4 !== void 0 && _mirror_repository$sh4.length ? 'hidden' : 'initial'
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Environmentmodules.tabsBox,
children: [!(mirror_repository !== null && mirror_repository !== void 0 && (_mirror_repository$sh3 = mirror_repository.shixun_service_configs) !== null && _mirror_repository$sh3 !== void 0 && _mirror_repository$sh3.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(empty/* default */.Z, {
children: [!(mirror_repository !== null && mirror_repository !== void 0 && (_mirror_repository$sh5 = mirror_repository.shixun_service_configs) !== null && _mirror_repository$sh5 !== void 0 && _mirror_repository$sh5.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(empty/* default */.Z, {
image: noEnvData,
imageStyle: {
height: 180,
marginTop: 67
},
description: ''
}), !!(mirror_repository !== null && mirror_repository !== void 0 && (_mirror_repository$sh4 = mirror_repository.shixun_service_configs) !== null && _mirror_repository$sh4 !== void 0 && _mirror_repository$sh4.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_tabs/* default */.Z, {
}), !!(mirror_repository !== null && mirror_repository !== void 0 && (_mirror_repository$sh6 = mirror_repository.shixun_service_configs) !== null && _mirror_repository$sh6 !== void 0 && _mirror_repository$sh6.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_tabs/* default */.Z, {
destroyInactiveTabPane: true,
moreIcon: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: Environmentmodules.more,
@ -8308,7 +8325,7 @@ var Environment = function Environment(_ref) {
className: "iconfont icon-xiala1"
})]
}),
children: mirror_repository === null || mirror_repository === void 0 || (_mirror_repository$sh5 = mirror_repository.shixun_service_configs) === null || _mirror_repository$sh5 === void 0 ? void 0 : _mirror_repository$sh5.map(function (e, i) {
children: mirror_repository === null || mirror_repository === void 0 || (_mirror_repository$sh7 = mirror_repository.shixun_service_configs) === null || _mirror_repository$sh7 === void 0 ? void 0 : _mirror_repository$sh7.map(function (e, i) {
var _data$mirror_reposito2;
var cpu_limit = e.cpu_limit,
lower_cpu_limit = e.lower_cpu_limit,
@ -8477,24 +8494,50 @@ var Environment = function Environment(_ref) {
className: "c-grey-999",
children: "\uFF08\u767B\u5F55\u5BB9\u5668\u65F6\u53EF\u6307\u5B9A\u4E3B\u673A\u540D\uFF09"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mb20",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
bordered: false,
onClick: verifyModal,
value: e === null || e === void 0 ? void 0 : e.webssh_host,
maxLength: 255,
placeholder: "\u9009\u586B\uFF0C\u64CD\u4F5C\u7CFB\u7EDF\u5185\u90E8\u7684\u8BA1\u7B97\u673A\u540D",
onChange: function onChange(e) {
dealConfigs(i, 'webssh_host', e.target.value);
if (e.target.value) {
var regex = /^(?![0-9]+$)(?!.*--)[a-z0-9](?:[a-z0-9-]{0,60}[a-z0-9])$/;
if (!regex.test(e.target.value)) {
setShowError(true);
} else {
setShowError(false);
}
} else {
setShowError(false);
}
},
style: {
width: 400,
height: 50,
background: '#F5F5F5',
borderRadius: 4,
marginTop: 5
marginTop: 5,
marginRight: 10
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginTop: 8,
maxWidth: 575
},
className: "c-grey-999",
children: ["\u957F\u5EA6\u4E3A2~64\u4E2A\u5B57\u7B26\uFF0C\u53EA\u80FD\u5305\u542B\u5C0F\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u3001\u8FDE\u5B57\u7B26 \u201C-\u201D\uFF0C\u5FC5\u987B\u4EE5\u5B57\u6BCD\u6216\u6570\u5B57\u5F00\u5934\u548C\u7ED3\u5C3E", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u4E0D\u80FD\u8FDE\u7EED\u4F7F\u7528 \u201C-\u201D\uFF0C\u4E0D\u80FD\u4F7F\u7528\u7EAF\u6570\u5B57"]
})]
}), showError && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
color: '#E53333',
marginTop: '-15px',
marginBottom: '5px'
},
children: "\u8BF7\u8F93\u5165\u89C4\u8303\u7684\u4E3B\u673A\u540D"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, {
checked: e === null || e === void 0 ? void 0 : e.open_start_command,
onChange: function onChange(e) {

@ -1008,9 +1008,13 @@ var Page = function Page(_ref3) {
}), item.name]
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: Overviewmodules.LearnChartItemRole,
children: item === null || item === void 0 ? void 0 : item.role
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: item === null || item === void 0 ? void 0 : item.role,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "".concat(Overviewmodules.Onerow, " ").concat(Overviewmodules.LearnChartItemRole),
children: item === null || item === void 0 ? void 0 : item.role
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "".concat(Overviewmodules.Onerow, " ").concat(Overviewmodules.LearnChartItemId),
children: index == 0 ? item.student_id : /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {

@ -1508,6 +1508,7 @@ var TimeTicket = 30000;
var el = (0,_react_17_0_2_react.useRef)();
var socket = (0,_react_17_0_2_react.useRef)();
var isFirstConnected = (0,_react_17_0_2_react.useRef)(false);
var lockConnectFail = (0,_react_17_0_2_react.useRef)(false);
var urlParamsAll = (0,util/* getJsonFromUrl */.oP)();
var shixun_environment_id = itemData.shixun_environment_id,
position = itemData.position,
@ -1713,6 +1714,7 @@ var TimeTicket = 30000;
console.log('------in socket error----', error, socketInstance, link_url);
};
socketInstance.onmessage = function (event) {
lockConnectFail.current = false;
if (!isFirstConnected.current) {
term.write('\r');
// term.focus()
@ -1740,7 +1742,8 @@ var TimeTicket = 30000;
clearInterval(tid);
}
console.log(tid, 'tid', index_tab);
term.write('\r\nconnection closed');
if (!lockConnectFail.current) term.write('\r\nconnection closed');
lockConnectFail.current = true;
setTimeout(function () {
createSocket();
}, 10 * 1000);

@ -520,8 +520,8 @@ var SingleEditor = function SingleEditor(_ref, ref) {
children: "--"
}), questionChoiceList.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: String(index + 2),
children: index + 2
value: String(index + 1),
children: index + 1
});
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
@ -540,8 +540,8 @@ var SingleEditor = function SingleEditor(_ref, ref) {
children: "--"
}), questionChoiceList.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: String(index + 2),
children: index + 2
value: String(index + 1),
children: index + 1
});
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {

@ -667,7 +667,7 @@ if (false) {}
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -1886,7 +1886,7 @@ input_Input.Password = input_Password;
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -10828,7 +10828,8 @@ function VncTimer(_ref4) {
if (time !== 0) {
setIsPlusTime(false);
} else {
toShixun();
window.location.reload();
// toShixun();
}
}
function onAddTime() {
@ -10889,17 +10890,21 @@ function VncTimer(_ref4) {
maskClosable: false,
closable: false,
centered: true,
open: isPlusTime,
open: isPlusTime
// open={true}
,
onOk: onAddTime,
cancelButtonProps: {
style: {
display: time !== 0 ? 'inline-block' : 'none'
// display: time !== 0 ? 'inline-block' : 'none'
background: time === 0 && '#009e9c',
color: time === 0 && '#fff'
}
},
confirmLoading: btnLoading,
onCancel: onCancel,
okText: time !== 0 ? '立即延长' : '退出',
cancelText: "\u4E0D\u9700\u8981",
cancelText: time !== 0 ? '不需要' : '重新开启实验',
children: time !== 0 ? "\u5F53\u524D\u5B9E\u9A8C\u73AF\u5883\u5C06\u4E8E ".concat(Math.round(time / 60), " \u5206\u949F\u540E\u5173\u95ED\uFF0C\u9700\u8981\u5EF6\u957F\u4F7F\u7528\u65F6\u95F4\u5417\uFF1F") : '实验环境倒计时结束,资源已经被回收。'
})
})]
@ -21778,6 +21783,7 @@ var TimeTicket = 30000;
var el = (0,_react_17_0_2_react.useRef)();
var socket = (0,_react_17_0_2_react.useRef)();
var isFirstConnected = (0,_react_17_0_2_react.useRef)(false);
var lockConnectFail = (0,_react_17_0_2_react.useRef)(false);
var urlParamsAll = (0,util/* getJsonFromUrl */.oP)();
var shixun_environment_id = itemData.shixun_environment_id,
position = itemData.position,
@ -21983,6 +21989,7 @@ var TimeTicket = 30000;
console.log('------in socket error----', error, socketInstance, link_url);
};
socketInstance.onmessage = function (event) {
lockConnectFail.current = false;
if (!isFirstConnected.current) {
term.write('\r');
// term.focus()
@ -22010,7 +22017,8 @@ var TimeTicket = 30000;
clearInterval(tid);
}
console.log(tid, 'tid', index_tab);
term.write('\r\nconnection closed');
if (!lockConnectFail.current) term.write('\r\nconnection closed');
lockConnectFail.current = true;
setTimeout(function () {
createSocket();
}, 10 * 1000);

@ -812,7 +812,7 @@ var Page = function Page(_ref) {
/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
/* harmony export */ });
/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 67937);
/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 36646);
/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);

@ -354,6 +354,17 @@ var Page = function Page(_ref) {
})]
});
};
var findName = '';
var findNames = function findNames(box, index) {
if (menus.find(function (item) {
return item.name == box + '(' + index + ')';
})) {
findNames(box, index + 1);
} else {
findName = box + '(' + index + ')';
}
return findName;
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
form: form,
colon: false,
@ -488,7 +499,7 @@ var Page = function Page(_ref) {
move = _ref3.move;
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
children: fields.map(function (field, index) {
var _menus$key;
var _menus$name, _menus$name2;
var key = field.key,
name = field.name,
restField = objectWithoutProperties_default()(field, _excluded2);
@ -500,7 +511,7 @@ var Page = function Page(_ref) {
valuePropName: "checked",
name: [name, 'checked'],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
disabled: menus[key].disabled
disabled: (_menus$name = menus[name]) === null || _menus$name === void 0 ? void 0 : _menus$name.disabled
})
})), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, objectSpread2_default()(objectSpread2_default()({}, restField), {}, {
style: {
@ -521,7 +532,7 @@ var Page = function Page(_ref) {
className: "mr10",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "right",
title: titleDesc[menus === null || menus === void 0 || (_menus$key = menus[key]) === null || _menus$key === void 0 ? void 0 : _menus$key.icon_type],
title: titleDesc[menus === null || menus === void 0 || (_menus$name2 = menus[name]) === null || _menus$name2 === void 0 ? void 0 : _menus$name2.icon_type],
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-tishixiaowenhao",
style: {
@ -569,7 +580,7 @@ var Page = function Page(_ref) {
})]
})]
})
}, key);
}, name);
})
});
}

@ -0,0 +1,493 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[4757],{
/***/ 73208:
/*!*****************************************!*\
!*** ./src/components/NoData/index.tsx ***!
\*****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/objectSpread2.js */ 26801);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/assets/images/icons/nodata.png */ 93314);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd */ 3113);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
var noData = function noData(_ref) {
var img = _ref.img,
_ref$buttonProps = _ref.buttonProps,
buttonProps = _ref$buttonProps === void 0 ? {} : _ref$buttonProps,
_ref$styles = _ref.styles,
styles = _ref$styles === void 0 ? {} : _ref$styles,
customText = _ref.customText,
ButtonText = _ref.ButtonText,
ButtonClick = _ref.ButtonClick,
Buttonclass = _ref.Buttonclass,
ButtonTwo = _ref.ButtonTwo,
imgStyles = _ref.imgStyles,
_ref$loading = _ref.loading,
loading = _ref$loading === void 0 ? false : _ref$loading;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("section", {
className: "tc animated fadeIn",
style: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, {
color: '#999',
margin: '100px auto',
visibility: loading ? 'hidden' : 'visible'
}), styles),
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("img", {
src: img || _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_2__,
style: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, imgStyles)
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("p", {
className: "mt20 font14",
children: customText || '暂时还没有相关数据哦!'
}), ButtonText && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(antd__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({
className: Buttonclass,
onClick: ButtonClick
}, buttonProps), {}, {
children: ButtonText
})), ButtonTwo && ButtonTwo]
});
};
/* harmony default export */ __webpack_exports__.Z = (noData);
/***/ }),
/***/ 64024:
/*!***********************************************************************!*\
!*** ./src/pages/virtualSpaces/Lists/Workplace/index.tsx + 2 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 */ Workplace; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(10574);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(39343);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(11006);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(27161);
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 + 15 modules
var _umi_production_exports = __webpack_require__(49266);
// 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/row/index.js
var row = __webpack_require__(95237);
// 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/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/radio/index.js + 5 modules
var es_radio = __webpack_require__(5112);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules
var input = __webpack_require__(1056);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/date-picker/index.js + 66 modules
var date_picker = __webpack_require__(52409);
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
var NoData = __webpack_require__(73208);
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Workplace/img/hy.png
var hy_namespaceObject = __webpack_require__.p + "static/hy.0eb54ee4.png";
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Workplace/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Workplacemodules = ({"flex_box_center":"flex_box_center___ofzEF","flex_space_between":"flex_space_between___JM7gy","flex_box_vertical_center":"flex_box_vertical_center___oXDsy","flex_box_center_end":"flex_box_center_end___C_Cy9","flex_box_column":"flex_box_column___xOOoP","Onerow":"Onerow___ZVyoi","MultiLine":"MultiLine___NSBwM","TitleStyle":"TitleStyle___XZNci","DivStyle":"DivStyle___FouU1","InitDataStyle":"InitDataStyle___hMdIo","ImgDivStyle":"ImgDivStyle___yt06T","ImgDivStyleNum":"ImgDivStyleNum___r7B_6","ImgDivStyleBody":"ImgDivStyleBody___Hf3_B","Notice":"Notice___kM2Gm","NoticeTitle":"NoticeTitle___mEOQg","TeachActiv":"TeachActiv___PAehr","TeachActivTitle":"TeachActivTitle___nbkgq"});
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(78130);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(22739);
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(91506);
// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.10@dayjs/dayjs.min.js
var dayjs_min = __webpack_require__(9498);
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Workplace/index.tsx
var _excluded = ["classroomList", "virtualSpaces", "loading", "dispatch"];
var WorkplacePage = function WorkplacePage(_ref) {
var _virtualSpacesDetails, _virtualSpacesDetails2;
var classroomList = _ref.classroomList,
virtualSpaces = _ref.virtualSpaces,
loading = _ref.loading,
dispatch = _ref.dispatch,
props = objectWithoutProperties_default()(_ref, _excluded);
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
form = _Form$useForm2[0];
var virtualSpacesDetails = virtualSpaces.virtualSpacesDetails;
var _virtualSpaces$Workpl = virtualSpaces === null || virtualSpaces === void 0 ? void 0 : virtualSpaces.Workplace,
base_statistic_data = _virtualSpaces$Workpl.BaseData.base_statistic_data;
var _useParams = (0,_umi_production_exports.useParams)(),
virtual_spacesId = _useParams.virtual_spacesId;
var _useState = (0,_react_17_0_2_react.useState)([]),
_useState2 = slicedToArray_default()(_useState, 2),
list = _useState2[0],
setList = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(false),
_useState4 = slicedToArray_default()(_useState3, 2),
isAddOpen = _useState4[0],
setIsAddOpen = _useState4[1];
var InitData = [{
name: "通知数量",
num: (base_statistic_data === null || base_statistic_data === void 0 ? void 0 : base_statistic_data.inform_count) || 0
}, {
name: "知识模块数量",
num: (base_statistic_data === null || base_statistic_data === void 0 ? void 0 : base_statistic_data.knowledge_module_count) || 0
}, {
name: "知识点数量",
num: (base_statistic_data === null || base_statistic_data === void 0 ? void 0 : base_statistic_data.knowledge_point_count) || 0
}, {
name: "教案数量",
num: (base_statistic_data === null || base_statistic_data === void 0 ? void 0 : base_statistic_data.teaching_plan_count) || 0
}, {
name: "教材数量",
num: (base_statistic_data === null || base_statistic_data === void 0 ? void 0 : base_statistic_data.teaching_material_count) || 0
}, {
name: "资源数量",
num: (base_statistic_data === null || base_statistic_data === void 0 ? void 0 : base_statistic_data.resource_count) || 0
}, {
name: "成员数量",
num: (base_statistic_data === null || base_statistic_data === void 0 ? void 0 : base_statistic_data.member_count) || 0
}, {
name: "线上会议数量",
num: (base_statistic_data === null || base_statistic_data === void 0 ? void 0 : base_statistic_data.online_meeting_count) || 0
}, {
name: "线下活动数量",
num: (base_statistic_data === null || base_statistic_data === void 0 ? void 0 : base_statistic_data.offline_activity_count) || 0
}];
var getInforms = /*#__PURE__*/function () {
var _ref2 = 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/virtual_classrooms/".concat(virtual_spacesId, "/informs.json"), {
method: 'get',
params: {
page: 1,
limit: 3
}
});
case 2:
res = _context.sent;
if (res !== null && res !== void 0 && res.informs) {
setList(res === null || res === void 0 ? void 0 : res.informs);
}
case 4:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getInforms() {
return _ref2.apply(this, arguments);
};
}();
var getData = function getData() {
dispatch({
type: "virtualSpaces/getBaseStatisticData",
payload: {
virtual_spacesId: virtual_spacesId
}
});
getInforms();
};
(0,_react_17_0_2_react.useEffect)(function () {
getData();
}, []);
(0,_react_17_0_2_react.useEffect)(function () {
console.log(virtualSpaces);
}, [virtualSpaces]);
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: !!loading["virtualSpaces/getBaseStatisticData"],
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "ml30 mr30 mt20",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "".concat(Workplacemodules.DivStyle, " ").concat(Workplacemodules.InitDataStyle),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workplacemodules.TitleStyle,
style: {
position: "absolute",
top: "20px",
left: "20px"
},
children: "\u57FA\u7840\u6570\u636E"
}), InitData === null || InitData === void 0 ? void 0 : InitData.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "font18",
style: {
color: "#3061D0",
textAlign: "center"
},
children: item.num
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "font14 mt10",
style: {
color: "#666"
},
children: item.name
})]
}, index);
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mt20",
style: {
gap: "20px"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "".concat(Workplacemodules.DivStyle),
flex: 1,
style: {
width: 300
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
align: "middle",
justify: "space-between",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: Workplacemodules.TitleStyle,
children: (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.name) || ""
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mt20 ".concat(Workplacemodules.ImgDivStyle),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: "".concat(env/* default */.Z.IMG_SERVER).concat(virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.cover_url),
width: "100%",
height: "100%"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workplacemodules.ImgDivStyleNum,
children: ["\u6210\u5458\xA0", (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.members_count) || 0, "\u4EBA"]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workplacemodules.ImgDivStyleBody,
children: ["\u7275\u5934\u4EBA/\u5355\u4F4D\xA0", virtualSpacesDetails === null || virtualSpacesDetails === void 0 || (_virtualSpacesDetails = virtualSpacesDetails.admin_user_info) === null || _virtualSpacesDetails === void 0 ? void 0 : _virtualSpacesDetails.name, "\xA0", (virtualSpacesDetails === null || virtualSpacesDetails === void 0 || (_virtualSpacesDetails2 = virtualSpacesDetails.admin_user_info) === null || _virtualSpacesDetails2 === void 0 ? void 0 : _virtualSpacesDetails2.school) || ""]
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "".concat(Workplacemodules.DivStyle),
flex: 1,
style: {
width: 300
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
justify: "space-between",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: Workplacemodules.TitleStyle,
children: "\u901A\u77E5\u516C\u544A"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
onClick: function onClick() {
return _umi_production_exports.history.push("/".concat(util/* vtrsKey */.AS, "/").concat(virtual_spacesId, "/announcement/add"));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-bianji-moren mr5"
}), "\u521B\u5EFA\u901A\u77E5"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-you3 ml20",
style: {
fontSize: "10px",
cursor: "pointer"
},
onClick: function onClick() {
return _umi_production_exports.history.push("/".concat(util/* vtrsKey */.AS, "/").concat(virtual_spacesId, "/announcement"));
}
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mt20 ",
children: list === null || list === void 0 ? void 0 : list.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "".concat(Workplacemodules.Notice),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: item === null || item === void 0 ? void 0 : item.name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(Workplacemodules.NoticeTitle, " ").concat(Workplacemodules.Onerow),
style: {
width: 260
},
onClick: function onClick() {
return _umi_production_exports.history.push("/".concat(util/* vtrsKey */.AS, "/").concat(virtual_spacesId, "/announcement/").concat(item.id, "/detail"));
},
children: item === null || item === void 0 ? void 0 : item.name
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mt5 ".concat(Workplacemodules.NoticeContent),
align: "middle",
justify: "space-between",
wrap: false,
style: {
color: "#333"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "mr5",
style: {
color: "#999"
},
children: "\u53D1\u5E03\u4EBA"
}), item === null || item === void 0 ? void 0 : item.author_name]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: dayjs_min_default()(item === null || item === void 0 ? void 0 : item.publish_time).format("YYYY-MM-DD")
})]
})]
}, index);
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "".concat(Workplacemodules.DivStyle),
flex: 1,
style: {
width: 300
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
align: "middle",
justify: "space-between",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: Workplacemodules.TitleStyle,
children: "\u6559\u7814\u6210\u679C"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
img: hy_namespaceObject,
imgStyles: {
width: 215,
height: 150
},
styles: {
margin: '10px auto'
}
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mt20 ".concat(Workplacemodules.DivStyle),
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
justify: "space-between",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: Workplacemodules.TitleStyle,
children: "\u6559\u7814\u6D3B\u52A8"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
onClick: function onClick() {
setIsAddOpen(true);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-bianji-moren mr5"
}), "\u521B\u5EFA\u6D3B\u52A8"]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
img: hy_namespaceObject,
imgStyles: {
width: 215,
height: 150
}
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
open: isAddOpen,
destroyOnClose: true,
centered: true,
title: "创建教研活动",
onCancel: function onCancel() {
setIsAddOpen(false);
},
onOk: function onOk() {
setIsAddOpen(false);
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
form: form,
initialValues: {},
colon: false,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "name1",
label: "\u6D3B\u52A8\u7C7B\u578B",
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: "\u7EBF\u4E0A\u4F1A\u8BAE"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
value: "2",
children: "\u7EBF\u4E0B\u6D3B\u52A8"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "name2",
label: "\u6D3B\u52A8\u540D\u79F0",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
placeholder: "\u8BF7\u8F93\u5165\u6D3B\u52A8\u540D\u79F0"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "time3",
label: "\u5F00\u59CB\u65F6\u95F4",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"], {
style: {
width: "100%"
},
showTime: true
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "time4",
label: "\u7ED3\u675F\u65F6\u95F4",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"], {
style: {
width: "100%"
},
showTime: true
})
})]
})
})]
})
});
};
/* harmony default export */ var Workplace = ((0,_umi_production_exports.connect)(function (_ref3) {
var loading = _ref3.loading,
user = _ref3.user,
virtualSpaces = _ref3.virtualSpaces;
return {
loading: loading.effects,
user: user,
virtualSpaces: virtualSpaces
};
})(WorkplacePage));
/***/ })
}]);

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

@ -292,10 +292,10 @@ mark {
\**************************************************************************************************************************************************************************************************************************************************************************************/
@font-face {
font-family: "iconfont"; /* Project id 653600 */
src: url(./static/iconfont.c2b062e4.woff2) format('woff2'),
url(./static/iconfont.85a14d82.woff) format('woff'),
url(./static/iconfont.64dfc176.ttf) format('truetype'),
url(./static/iconfont.8d28887b.svg#iconfont) format('svg');
src: url(./static/iconfont.83c10235.woff2) format('woff2'),
url(./static/iconfont.5a731b10.woff) format('woff'),
url(./static/iconfont.d0cfa584.ttf) format('truetype'),
url(./static/iconfont.817006e9.svg#iconfont) format('svg');
}
.iconfont {
@ -306,6 +306,42 @@ mark {
-moz-osx-font-smoothing: grayscale;
}
.icon-xuexiwancheng:before {
content: "\ec1e";
}
.icon-jiantou4:before {
content: "\ec20";
}
.icon-weidianjixuexi:before {
content: "\ec1f";
}
.icon-yidianjixuexiweiwancheng:before {
content: "\ec1d";
}
.icon-shuziketang:before {
content: "\ec1c";
}
.icon-jinru:before {
content: "\ec1b";
}
.icon-SCMliucheng:before {
content: "\ec19";
}
.icon--baobiaomokuai:before {
content: "\ec1a";
}
.icon-icon_xinyong_xianxing_jijin-249:before {
content: "\ec18";
}
.icon-liucheng:before {
content: "\ec16";
}

2012
umi.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save