Auto Submit

dev_local_v9_bw
autosubmit 2 years ago
parent 620715076a
commit 914e02b809

@ -3382,8 +3382,8 @@ ImmutableTable.Column = sugar_Column;
ImmutableTable.ColumnGroup = sugar_ColumnGroup;
ImmutableTable.Summary = FooterComponents;
/* harmony default export */ var es_Table = (ImmutableTable);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/index.js + 16 modules
var _rc_virtual_list_3_14_2_rc_virtual_list_es = __webpack_require__(42164);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/index.js + 16 modules
var _rc_virtual_list_3_14_3_rc_virtual_list_es = __webpack_require__(76795);
;// CONCATENATED MODULE: ./node_modules/_rc-table@7.33.4@rc-table/es/VirtualTable/context.js
var StaticContext = createContext(null);
@ -3794,7 +3794,7 @@ var Grid = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (props, ref) {
var tblPrefixCls = "".concat(prefixCls, "-tbody");
var bodyContent;
if (flattenData.length) {
bodyContent = /*#__PURE__*/_react_17_0_2_react.createElement(_rc_virtual_list_3_14_2_rc_virtual_list_es/* default */.Z, {
bodyContent = /*#__PURE__*/_react_17_0_2_react.createElement(_rc_virtual_list_3_14_3_rc_virtual_list_es/* default */.Z, {
fullHeight: false,
ref: listRef,
className: _classnames_2_5_1_classnames_default()(tblPrefixCls, "".concat(tblPrefixCls, "-virtual")),

@ -3540,8 +3540,8 @@ Option.isSelectOption = true;
var useMemo = __webpack_require__(48547);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.42.1@rc-util/es/omit.js
var omit = __webpack_require__(54798);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/index.js + 16 modules
var _rc_virtual_list_3_14_2_rc_virtual_list_es = __webpack_require__(42164);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/index.js + 16 modules
var _rc_virtual_list_3_14_3_rc_virtual_list_es = __webpack_require__(76795);
;// CONCATENATED MODULE: ./node_modules/_rc-select@14.8.1@rc-select/es/SelectContext.js
@ -3833,7 +3833,7 @@ var OptionList = function OptionList(_, ref) {
width: 0,
overflow: 'hidden'
}
}), renderItem(activeIndex - 1), renderItem(activeIndex), renderItem(activeIndex + 1)), /*#__PURE__*/_react_17_0_2_react.createElement(_rc_virtual_list_3_14_2_rc_virtual_list_es/* default */.Z, {
}), renderItem(activeIndex - 1), renderItem(activeIndex), renderItem(activeIndex + 1)), /*#__PURE__*/_react_17_0_2_react.createElement(_rc_virtual_list_3_14_3_rc_virtual_list_es/* default */.Z, {
itemKey: "key",
ref: listRef,
data: memoFlattenOptions,

@ -1354,8 +1354,8 @@ var slicedToArray = __webpack_require__(4816);
var objectWithoutProperties = __webpack_require__(92413);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.42.1@rc-util/es/hooks/useLayoutEffect.js
var useLayoutEffect = __webpack_require__(90205);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/index.js + 16 modules
var es = __webpack_require__(42164);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/index.js + 16 modules
var es = __webpack_require__(76795);
// EXTERNAL MODULE: ./node_modules/_rc-motion@2.9.1@rc-motion/es/index.js + 12 modules
var _rc_motion_2_9_1_rc_motion_es = __webpack_require__(19090);
// EXTERNAL MODULE: ./node_modules/_rc-tree@5.7.12@rc-tree/es/TreeNode.js + 1 modules

@ -1,16 +1,16 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[42164],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[99401],{
/***/ 42164:
/***/ 76795:
/*!***************************************************************************************!*\
!*** ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/index.js + 16 modules ***!
!*** ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/index.js + 16 modules ***!
\***************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ _rc_virtual_list_3_14_2_rc_virtual_list_es; }
Z: function() { return /* binding */ _rc_virtual_list_3_14_3_rc_virtual_list_es; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.7@@babel/runtime/helpers/esm/extends.js
@ -38,7 +38,7 @@ var useLayoutEffect = __webpack_require__(90205);
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_react-dom@17.0.2@react-dom/index.js
var _react_dom_17_0_2_react_dom = __webpack_require__(4676);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/Filler.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/Filler.js
@ -91,7 +91,7 @@ var Filler = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (_ref, ref) {
});
Filler.displayName = 'Filler';
/* harmony default export */ var es_Filler = (Filler);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/Item.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/Item.js
function Item(_ref) {
var children = _ref.children,
@ -103,7 +103,7 @@ function Item(_ref) {
ref: refFunc
});
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/hooks/useChildren.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/hooks/useChildren.js
function useChildren(list, startIndex, endIndex, scrollWidth, offsetX, setNodeRef, renderFunc, _ref) {
@ -125,7 +125,7 @@ function useChildren(list, startIndex, endIndex, scrollWidth, offsetX, setNodeRe
}, node);
});
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/utils/algorithmUtil.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/utils/algorithmUtil.js
/**
* Get index with specific start index one by one. e.g.
* min: 3, max: 9, start: 6
@ -206,7 +206,7 @@ function findListDiffIndex(originList, targetList, getKey) {
multiple: multiple
};
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/hooks/useDiffItem.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/hooks/useDiffItem.js
@ -231,11 +231,11 @@ function useDiffItem(data, getKey, onDiff) {
}
// EXTERNAL MODULE: ./node_modules/_rc-util@5.42.1@rc-util/es/raf.js
var raf = __webpack_require__(79640);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/utils/isFirefox.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/utils/isFirefox.js
var isFF = (typeof navigator === "undefined" ? "undefined" : (0,esm_typeof/* default */.Z)(navigator)) === 'object' && /Firefox/i.test(navigator.userAgent);
/* harmony default export */ var isFirefox = (isFF);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/hooks/useOriginScroll.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/hooks/useOriginScroll.js
/* harmony default export */ var useOriginScroll = (function (isScrollAtTop, isScrollAtBottom, isScrollAtLeft, isScrollAtRight) {
// Do lock for a wheel when scrolling
@ -280,7 +280,7 @@ var isFF = (typeof navigator === "undefined" ? "undefined" : (0,esm_typeof/* def
return !lockRef.current && originScroll;
};
});
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/hooks/useFrameWheel.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/hooks/useFrameWheel.js
@ -366,7 +366,7 @@ onWheelDelta) {
}
return [onWheel, onFireFoxScroll];
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/hooks/useGetSize.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/hooks/useGetSize.js
@ -421,7 +421,7 @@ var findDOMNode = __webpack_require__(11746);
var classCallCheck = __webpack_require__(40419);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.7@@babel/runtime/helpers/esm/createClass.js
var createClass = __webpack_require__(38467);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/utils/CacheMap.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/utils/CacheMap.js
@ -450,7 +450,7 @@ var CacheMap = /*#__PURE__*/function () {
return CacheMap;
}();
/* harmony default export */ var utils_CacheMap = (CacheMap);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/hooks/useHeights.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/hooks/useHeights.js
@ -517,7 +517,7 @@ function useHeights(getKey, onItemAdd, onItemRemove) {
}, []);
return [setInstanceRef, collectHeight, heightsRef.current, updatedMark];
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/hooks/useMobileTouchMove.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/hooks/useMobileTouchMove.js
var SMOOTH_PTG = 14 / 15;
@ -595,7 +595,7 @@ function useMobileTouchMove(inVirtual, listRef, callback) {
};
}, [inVirtual]);
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/hooks/useScrollTo.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/hooks/useScrollTo.js
@ -737,7 +737,7 @@ function useScrollTo(containerRef, data, heights, itemHeight, getKey, collectHei
}
};
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/ScrollBar.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/ScrollBar.js
@ -867,8 +867,9 @@ var ScrollBar = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (props, ref
statePageY = _stateRef$current.pageY,
stateStartTop = _stateRef$current.startTop;
raf/* default */.Z.cancel(moveRafId);
var scale = containerSize / scrollbarRef.current.getBoundingClientRect().height;
if (stateDragging) {
var offset = getPageXY(e, horizontal) - statePageY;
var offset = (getPageXY(e, horizontal) - statePageY) * scale;
var newTop = stateStartTop;
if (!isLTR && horizontal) {
newTop -= offset;
@ -973,7 +974,7 @@ var ScrollBar = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (props, ref
});
if (false) {}
/* harmony default export */ var es_ScrollBar = (ScrollBar);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/utils/scrollbarUtil.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/utils/scrollbarUtil.js
var MIN_SIZE = 20;
function getSpinSize() {
var containerSize = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
@ -985,7 +986,7 @@ function getSpinSize() {
baseSize = Math.max(baseSize, MIN_SIZE);
return Math.floor(baseSize);
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/List.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/List.js
@ -1204,8 +1205,8 @@ function RawList(props, ref) {
setSize = _React$useState2[1];
var onHolderResize = function onHolderResize(sizeInfo) {
setSize({
width: sizeInfo.width || sizeInfo.offsetWidth,
height: sizeInfo.height || sizeInfo.offsetHeight
width: sizeInfo.offsetWidth,
height: sizeInfo.offsetHeight
});
};
@ -1481,9 +1482,9 @@ function RawList(props, ref) {
var List = /*#__PURE__*/_react_17_0_2_react.forwardRef(RawList);
List.displayName = 'List';
/* harmony default export */ var es_List = (List);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/index.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/index.js
/* harmony default export */ var _rc_virtual_list_3_14_2_rc_virtual_list_es = (es_List);
/* harmony default export */ var _rc_virtual_list_3_14_3_rc_virtual_list_es = (es_List);
/***/ })

@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.4f8be8ba.js"></script>
<script src="/react/build/umi.a4069ae7.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -757,8 +757,8 @@ var AchievementList = function AchievementList(_ref) {
/* harmony default export */ var LearningAnalysis_AchievementList = (AchievementList);
// EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/lodash.js
var lodash = __webpack_require__(89392);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.14.2@rc-virtual-list/es/index.js + 16 modules
var es = __webpack_require__(42164);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.14.3@rc-virtual-list/es/index.js + 16 modules
var es = __webpack_require__(76795);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Statistics/components/LearningAnalysis/index.tsx

@ -1,5 +1,80 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[20700],{
/***/ 5929:
/*!**********************************************!*\
!*** ./src/components/AsyncButton/index.tsx ***!
\**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ Z: function() { return /* binding */ AsyncButton; }
/* harmony export */ });
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js */ 79800);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js */ 39647);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd */ 3113);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
var _excluded = ["children"];
var AsyncButton = function AsyncButton(_ref) {
var children = _ref.children,
props = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default()(_ref, _excluded);
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),
_useState2 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2),
btnLoading = _useState2[0],
setBtnLoading = _useState2[1];
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP, _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, props), {}, {
loading: btnLoading,
onClick: ( /*#__PURE__*/function () {
var _ref2 = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(e) {
return _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.prev = 0;
setBtnLoading(true);
_context.next = 4;
return props.onClick(e);
case 4:
setBtnLoading(false);
_context.next = 11;
break;
case 7:
_context.prev = 7;
_context.t0 = _context["catch"](0);
console.error(_context.t0);
setBtnLoading(false);
case 11:
case "end":
return _context.stop();
}
}, _callee, null, [[0, 7]]);
}));
return function (_x) {
return _ref2.apply(this, arguments);
};
}()),
children: children
}));
};
/***/ }),
/***/ 25943:
/*!********************************************************!*\
!*** ./src/pages/tasks/Jupyter/index.tsx + 17 modules ***!
@ -53,6 +128,8 @@ var es_button = __webpack_require__(3113);
var es_checkbox = __webpack_require__(24905);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/drawer/index.js + 9 modules
var drawer = __webpack_require__(43428);
// EXTERNAL MODULE: ./src/components/AsyncButton/index.tsx
var AsyncButton = __webpack_require__(5929);
// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/components/Unlock.tsx
var Unlock = __webpack_require__(70125);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.7@@ant-design/icons/es/icons/PoweroffOutlined.js + 1 modules
@ -1006,6 +1083,7 @@ var _excluded = ["globalSetting", "loading", "dispatch"];
var Countdown = statistic/* default */.Z.Countdown;
@ -1197,25 +1275,39 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
});
};
var submitWork = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
var iframe;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
iframe = document.getElementById('taskJupyterIframe');
iframe.contentWindow.postMessage('saveCode', '*');
_context2.next = 4;
return (0,fetch/* default */.ZP)("/api/homework_commons/".concat(searchParams.get("homework_common_id"), "/student_works.json"), {
method: 'post',
body: {
myshixun_identifier: jupyterData === null || jupyterData === void 0 ? void 0 : jupyterData.myshixun_identifier
}
});
case 4:
return _context3.abrupt("return", new Promise(function (resolve, reject) {
setTimeout( /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return (0,fetch/* default */.ZP)("/api/homework_commons/".concat(searchParams.get("homework_common_id"), "/student_works.json"), {
method: 'post',
body: {
myshixun_identifier: jupyterData === null || jupyterData === void 0 ? void 0 : jupyterData.myshixun_identifier
}
});
case 2:
resolve();
case 3:
case "end":
return _context2.stop();
}
}, _callee2);
})), 2000);
}));
case 3:
case "end":
return _context2.stop();
return _context3.stop();
}
}, _callee2);
}, _callee3);
}));
return function submitWork() {
return _ref3.apply(this, arguments);
@ -1234,13 +1326,13 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
}
};
var handleSaveWithTPI = /*#__PURE__*/function () {
var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() {
var _urlRef$current;
var res, _exerciseDataRef$curr, _exerciseDataRef$curr2;
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
_context3.next = 2;
_context4.next = 2;
return (0,task/* saveWithTPI */.zE)({
identifier: params.identifier,
jupyter_port: port.current,
@ -1249,9 +1341,9 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
exercise_id: searchParams.get("exercisesId") //试卷id
});
case 2:
res = _context3.sent;
res = _context4.sent;
if (!(res.status === 0)) {
_context3.next = 7;
_context4.next = 7;
break;
}
if (clickEvaluating.current) {
@ -1260,11 +1352,11 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
} else {
message/* default */.ZP.success('保存成功!');
}
_context3.next = 10;
_context4.next = 10;
break;
case 7:
if (!(res.status === -5 && typeof_default()(res === null || res === void 0 ? void 0 : res.message) === "object")) {
_context3.next = 10;
_context4.next = 10;
break;
}
(0,_umi_production_exports.getDvaApp)()._store.dispatch({
@ -1278,23 +1370,23 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
})
}
});
return _context3.abrupt("return");
return _context4.abrupt("return");
case 10:
case "end":
return _context3.stop();
return _context4.stop();
}
}, _callee3);
}, _callee4);
}));
return function handleSaveWithTPI() {
return _ref4.apply(this, arguments);
return _ref5.apply(this, arguments);
};
}();
var getGame = /*#__PURE__*/function () {
var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(re) {
var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(re) {
var _saveJupyterData$curr, _saveJupyterData$curr2;
var _params, rs, count, time_out, finalTime, fnc;
return regeneratorRuntime_default()().wrap(function _callee5$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
return regeneratorRuntime_default()().wrap(function _callee6$(_context6) {
while (1) switch (_context6.prev = _context6.next) {
case 0:
_params = {
extras: {
@ -1314,38 +1406,38 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
homework_common_id: searchParams.get("homework_common_id")
};
}
_context5.next = 4;
_context6.next = 4;
return (0,service/* codeGameBuild */.Xy)((_saveJupyterData$curr = saveJupyterData.current) === null || _saveJupyterData$curr === void 0 ? void 0 : _saveJupyterData$curr.game_identifier, _params);
case 4:
rs = _context5.sent;
rs = _context6.sent;
if (!(rs.status === -1)) {
_context5.next = 14;
_context6.next = 14;
break;
}
if (!(searchParams.get("type") === 'exercises')) {
_context5.next = 9;
_context6.next = 9;
break;
}
window.parent.location.href = "/classrooms/".concat(searchParams.get("coursesId"), "/exercise/").concat(searchParams.get("exercisesId"), "/detail");
return _context5.abrupt("return");
return _context6.abrupt("return");
case 9:
setBtnLoading(false);
setBtnTime(10);
clickEvaluating.current = false;
jupyterMessageFlag.current = true;
return _context5.abrupt("return");
return _context6.abrupt("return");
case 14:
count = 1;
time_out = false;
finalTime = ((_saveJupyterData$curr2 = saveJupyterData.current) === null || _saveJupyterData$curr2 === void 0 ? void 0 : _saveJupyterData$curr2.exec_time) + 11;
fnc = /*#__PURE__*/function () {
var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() {
var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() {
var _saveJupyterData$curr3, _saveJupyterData$curr4, _saveJupyterData$curr5;
var source;
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
return regeneratorRuntime_default()().wrap(function _callee5$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
_context4.next = 2;
_context5.next = 2;
return (0,service/* getCodeGameStatus */.Qo)((_saveJupyterData$curr3 = saveJupyterData.current) === null || _saveJupyterData$curr3 === void 0 ? void 0 : _saveJupyterData$curr3.game_identifier, {
resubmit: re === null || re === void 0 ? void 0 : re.resubmit,
time_out: time_out,
@ -1354,7 +1446,7 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
challenge_id: (_saveJupyterData$curr5 = saveJupyterData.current) === null || _saveJupyterData$curr5 === void 0 ? void 0 : _saveJupyterData$curr5.challenge_id
});
case 2:
source = _context4.sent;
source = _context5.sent;
if ((source === null || source === void 0 ? void 0 : source.running_code_status) === null || (source === null || source === void 0 ? void 0 : source.running_code_status) === 1 || (source === null || source === void 0 ? void 0 : source.running_code_status) === 2) {
count = count + 1;
if (count > finalTime) {
@ -1384,38 +1476,38 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
}
case 4:
case "end":
return _context4.stop();
return _context5.stop();
}
}, _callee4);
}, _callee5);
}));
return function fnc() {
return _ref6.apply(this, arguments);
return _ref7.apply(this, arguments);
};
}();
fnc();
case 19:
case "end":
return _context5.stop();
return _context6.stop();
}
}, _callee5);
}, _callee6);
}));
return function getGame(_x) {
return _ref5.apply(this, arguments);
return _ref6.apply(this, arguments);
};
}();
var handleGetJupyterData = /*#__PURE__*/function () {
var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6() {
var _ref8 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() {
var res;
return regeneratorRuntime_default()().wrap(function _callee6$(_context6) {
while (1) switch (_context6.prev = _context6.next) {
return regeneratorRuntime_default()().wrap(function _callee7$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
case 0:
_context6.next = 2;
_context7.next = 2;
return (0,task/* getJupyterData */.dU)({
identifier: params.identifier,
homework_id: searchParams.get("homework_common_id")
});
case 2:
res = _context6.sent;
res = _context7.sent;
if (res) {
setJupyterData(res);
saveJupyterData.current = objectSpread2_default()({}, res);
@ -1429,41 +1521,41 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
}
case 4:
case "end":
return _context6.stop();
return _context7.stop();
}
}, _callee6);
}, _callee7);
}));
return function handleGetJupyterData() {
return _ref7.apply(this, arguments);
return _ref8.apply(this, arguments);
};
}();
var handleGetJupyterTPIUrl = /*#__PURE__*/function () {
var _ref8 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() {
var _ref9 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() {
var _res$data;
var res, _res$data2, _res$data3, _parseUrl, _res$data4, _res$data5, _res$data6, _res$data10, _res$data11, _res$data12, _res$data7, _res$data8, _res$data9;
return regeneratorRuntime_default()().wrap(function _callee7$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
return regeneratorRuntime_default()().wrap(function _callee8$(_context8) {
while (1) switch (_context8.prev = _context8.next) {
case 0:
_context7.next = 2;
_context8.next = 2;
return (0,task/* getInfoWithTPI */.rV)({
identifier: params.identifier,
homework_common_id: searchParams.get("homework_common_id") || ''
});
case 2:
res = _context7.sent;
res = _context8.sent;
setSpinning(false);
if (!(res !== null && res !== void 0 && (_res$data = res.data) !== null && _res$data !== void 0 && (_res$data = _res$data.data_list) !== null && _res$data !== void 0 && _res$data.length)) {
_context7.next = 7;
_context8.next = 7;
break;
}
mediator/* default */.Z.publish('pod-restrict-data', {
identifier: res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.identifier,
data_list: res === null || res === void 0 || (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.data_list
});
return _context7.abrupt("return");
return _context8.abrupt("return");
case 7:
if (!(res !== null && res !== void 0 && res.data)) {
_context7.next = 21;
_context8.next = 21;
break;
}
setUrl(res.data);
@ -1471,18 +1563,18 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
token.current = (_parseUrl = (0,util/* parseUrl */.en)(res === null || res === void 0 || (_res$data4 = res.data) === null || _res$data4 === void 0 || (_res$data4 = _res$data4[0]) === null || _res$data4 === void 0 ? void 0 : _res$data4["link_url"])) === null || _parseUrl === void 0 ? void 0 : _parseUrl.token;
port.current = res === null || res === void 0 || (_res$data5 = res.data) === null || _res$data5 === void 0 || (_res$data5 = _res$data5[0]) === null || _res$data5 === void 0 ? void 0 : _res$data5["port"];
if (!(((_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.length) > 1)) {
_context7.next = 16;
_context8.next = 16;
break;
}
setTime(Date.now() + (res === null || res === void 0 || (_res$data7 = res.data) === null || _res$data7 === void 0 || (_res$data7 = _res$data7[0]) === null || _res$data7 === void 0 ? void 0 : _res$data7.remaining_time));
setEndTime((res === null || res === void 0 || (_res$data8 = res.data) === null || _res$data8 === void 0 || (_res$data8 = _res$data8[0]) === null || _res$data8 === void 0 ? void 0 : _res$data8.remaining_time) - 300 * 1000 <= 0 ? Date.now() + 1000 : Date.now() + ((res === null || res === void 0 || (_res$data9 = res.data) === null || _res$data9 === void 0 || (_res$data9 = _res$data9[0]) === null || _res$data9 === void 0 ? void 0 : _res$data9.remaining_time) - 300 * 1000));
return _context7.abrupt("return");
return _context8.abrupt("return");
case 16:
setUrlSign(false);
setStatus(Status.Success);
setTime(Date.now() + (res === null || res === void 0 || (_res$data10 = res.data) === null || _res$data10 === void 0 || (_res$data10 = _res$data10[0]) === null || _res$data10 === void 0 ? void 0 : _res$data10.remaining_time));
setEndTime((res === null || res === void 0 || (_res$data11 = res.data) === null || _res$data11 === void 0 || (_res$data11 = _res$data11[0]) === null || _res$data11 === void 0 ? void 0 : _res$data11.remaining_time) - 300 * 1000 <= 0 ? Date.now() + 1000 : Date.now() + ((res === null || res === void 0 || (_res$data12 = res.data) === null || _res$data12 === void 0 || (_res$data12 = _res$data12[0]) === null || _res$data12 === void 0 ? void 0 : _res$data12.remaining_time) - 300 * 1000));
return _context7.abrupt("return");
return _context8.abrupt("return");
case 21:
if (res.status === -1) {
setStatus(Status.LoadFail);
@ -1492,12 +1584,12 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
}
case 22:
case "end":
return _context7.stop();
return _context8.stop();
}
}, _callee7);
}, _callee8);
}));
return function handleGetJupyterTPIUrl() {
return _ref8.apply(this, arguments);
return _ref9.apply(this, arguments);
};
}();
var handleUrlClick = function handleUrlClick(num) {
@ -1507,29 +1599,29 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
setStatus(Status.Success);
};
var handleGetTPITimeInfo = /*#__PURE__*/function () {
var _ref9 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() {
var _ref10 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() {
var res;
return regeneratorRuntime_default()().wrap(function _callee8$(_context8) {
while (1) switch (_context8.prev = _context8.next) {
return regeneratorRuntime_default()().wrap(function _callee9$(_context9) {
while (1) switch (_context9.prev = _context9.next) {
case 0:
_context8.next = 2;
_context9.next = 2;
return (0,task/* getTimeInfoWithTPI */.x4)({
identifier: params.identifier
});
case 2:
res = _context8.sent;
res = _context9.sent;
if (!((res === null || res === void 0 ? void 0 : res.status) !== 0)) {
_context8.next = 5;
_context9.next = 5;
break;
}
return _context8.abrupt("return");
return _context9.abrupt("return");
case 5:
if (res !== null && res !== void 0 && res.useSeconds) {
_context8.next = 8;
_context9.next = 8;
break;
}
handleResetEnvModal();
return _context8.abrupt("return");
return _context9.abrupt("return");
case 8:
if (res !== null && res !== void 0 && res.remainingSeconds) {
setTime(Date.now() + res.remainingSeconds * 1000);
@ -1537,12 +1629,12 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
}
case 9:
case "end":
return _context8.stop();
return _context9.stop();
}
}, _callee8);
}, _callee9);
}));
return function handleGetTPITimeInfo() {
return _ref9.apply(this, arguments);
return _ref10.apply(this, arguments);
};
}();
var handleResetEnvModal = function handleResetEnvModal() {
@ -1564,22 +1656,22 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
});
};
var handleResetEnv = /*#__PURE__*/function () {
var _ref10 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() {
var _ref11 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10() {
var res;
return regeneratorRuntime_default()().wrap(function _callee9$(_context9) {
while (1) switch (_context9.prev = _context9.next) {
return regeneratorRuntime_default()().wrap(function _callee10$(_context10) {
while (1) switch (_context10.prev = _context10.next) {
case 0:
_context9.next = 2;
_context10.next = 2;
return (0,task/* resetWithTPI */.m_)({
identifier: jupyterData === null || jupyterData === void 0 ? void 0 : jupyterData.myshixun_identifier
});
case 2:
res = _context9.sent;
res = _context10.sent;
if (!((res === null || res === void 0 ? void 0 : res.status) !== 0)) {
_context9.next = 5;
_context10.next = 5;
break;
}
return _context9.abrupt("return");
return _context10.abrupt("return");
case 5:
message/* default */.ZP.success('重置成功!');
setSpinning(false);
@ -1588,12 +1680,12 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
}, 300);
case 8:
case "end":
return _context9.stop();
return _context10.stop();
}
}, _callee9);
}, _callee10);
}));
return function handleResetEnv() {
return _ref10.apply(this, arguments);
return _ref11.apply(this, arguments);
};
}();
var handleEndTimeFinish = function handleEndTimeFinish() {
@ -1614,28 +1706,28 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
okText: '立即延长',
cancelText: '不需要',
onOk: function () {
var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10() {
var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11() {
var res;
return regeneratorRuntime_default()().wrap(function _callee10$(_context10) {
while (1) switch (_context10.prev = _context10.next) {
return regeneratorRuntime_default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
_context10.next = 2;
_context11.next = 2;
return (0,task/* activeWithTPI */.rB)(jupyterData === null || jupyterData === void 0 ? void 0 : jupyterData.myshixun_identifier);
case 2:
res = _context10.sent;
res = _context11.sent;
if (!(res.status === 0)) {
_context10.next = 7;
_context11.next = 7;
break;
}
_context10.next = 6;
_context11.next = 6;
return handleGetJupyterTPIUrl();
case 6:
message/* default */.ZP.success('延长成功!');
case 7:
case "end":
return _context10.stop();
return _context11.stop();
}
}, _callee10);
}, _callee11);
}));
function onOk() {
return _onOk.apply(this, arguments);
@ -1706,22 +1798,22 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
okText: '确定',
cancelText: '取消',
onOk: function () {
var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11() {
var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee12() {
var res;
return regeneratorRuntime_default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
return regeneratorRuntime_default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
_context11.next = 2;
_context12.next = 2;
return (0,task/* syncCode */.fi)({
identifier: params.identifier
});
case 2:
res = _context11.sent;
res = _context12.sent;
if (!(res.status !== 0)) {
_context11.next = 5;
_context12.next = 5;
break;
}
return _context11.abrupt("return");
return _context12.abrupt("return");
case 5:
message/* default */.ZP.success('操作成功');
setSpinning(false);
@ -1730,9 +1822,9 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
}, 300);
case 8:
case "end":
return _context11.stop();
return _context12.stop();
}
}, _callee11);
}, _callee12);
}));
function onOk() {
return _onOk2.apply(this, arguments);
@ -1785,12 +1877,12 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
answerData = _useState38[0],
setAnswerData = _useState38[1];
var getAnswerData = /*#__PURE__*/function () {
var _ref11 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee12(identifier) {
var _ref12 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee13(identifier) {
var res;
return regeneratorRuntime_default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
return regeneratorRuntime_default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
case 0:
_context12.next = 2;
_context13.next = 2;
return (0,fetch/* default */.ZP)("/api/shixuns/".concat(identifier, "/get_standard_answer.json"), {
method: 'get',
params: {
@ -1798,18 +1890,18 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
}
});
case 2:
res = _context12.sent;
res = _context13.sent;
if (res.status === 0) {
setAnswerData(res);
}
case 4:
case "end":
return _context12.stop();
return _context13.stop();
}
}, _callee12);
}, _callee13);
}));
return function getAnswerData(_x2) {
return _ref11.apply(this, arguments);
return _ref12.apply(this, arguments);
};
}();
(0,_react_17_0_2_react.useEffect)(function () {
@ -1870,18 +1962,18 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
return _onResetGitCode.apply(this, arguments);
}
function _onResetGitCode() {
_onResetGitCode = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee13() {
_onResetGitCode = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee14() {
var _window$location;
var response;
return regeneratorRuntime_default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
return regeneratorRuntime_default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
case 0:
_context13.next = 2;
_context14.next = 2;
return (0,service/* resetGitCode */.Tf)(jupyterData === null || jupyterData === void 0 ? void 0 : jupyterData.myshixun_identifier, {});
case 2:
response = _context13.sent;
response = _context14.sent;
if (!((response === null || response === void 0 ? void 0 : response.status) === -5)) {
_context13.next = 6;
_context14.next = 6;
break;
}
modal/* default */.Z.info({
@ -1897,15 +1989,15 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
}), "\uFF09\u4E2D\u88AB\u4F7F\u7528\uFF0C\u7528\u6237\u8BD5\u5377\u5DF2\u4EA4\u5377\uFF0C\u7981\u6B62\u518D\u4F5C\u7B54\uFF01"]
})
});
return _context13.abrupt("return");
return _context14.abrupt("return");
case 6:
(_window$location = window.location) === null || _window$location === void 0 || _window$location.reload();
return _context13.abrupt("return", response);
return _context14.abrupt("return", response);
case 8:
case "end":
return _context13.stop();
return _context14.stop();
}
}, _callee13);
}, _callee14);
}));
return _onResetGitCode.apply(this, arguments);
}
@ -2237,7 +2329,7 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
style: {
background: '#111c24'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
onClick: function onClick() {
return submitWork();
},
@ -2272,9 +2364,9 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
})]
});
};
/* harmony default export */ var Jupyter = ((0,_umi_production_exports.connect)(function (_ref12) {
var loading = _ref12.loading,
globalSetting = _ref12.globalSetting;
/* harmony default export */ var Jupyter = ((0,_umi_production_exports.connect)(function (_ref13) {
var loading = _ref13.loading,
globalSetting = _ref13.globalSetting;
return {
globalSetting: globalSetting,
loading: loading

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