Auto Submit

dev_local_v9_test2
autosubmit 1 year ago
parent 764b813308
commit 2786e89a04

@ -0,0 +1,651 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[24680],{
/***/ 680:
/*!*******************************************************************************************************************!*\
!*** ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***!
\*******************************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ icons_ExclamationCircleOutlined; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(5891);
// 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.4.2@@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js
// This icon file is generated automatically.
var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" };
/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(22589);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/ExclamationCircleOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) {
return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_ExclamationCircleOutlined
}));
};
/**![exclamation-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0wIDgyMGMtMjA1LjQgMC0zNzItMTY2LjYtMzcyLTM3MnMxNjYuNi0zNzIgMzcyLTM3MiAzNzIgMTY2LjYgMzcyIDM3Mi0xNjYuNiAzNzItMzcyIDM3MnoiIC8+PHBhdGggZD0iTTQ2NCA2ODhhNDggNDggMCAxMDk2IDAgNDggNDggMCAxMC05NiAwem0yNC0xMTJoNDhjNC40IDAgOC0zLjYgOC04VjI5NmMwLTQuNC0zLjYtOC04LThoLTQ4Yy00LjQgMC04IDMuNi04IDh2MjcyYzAgNC40IDMuNiA4IDggOHoiIC8+PC9zdmc+) */
var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined);
if (false) {}
/* harmony default export */ var icons_ExclamationCircleOutlined = (RefIcon);
/***/ }),
/***/ 80010:
/*!*********************************************************************************!*\
!*** ./node_modules/_react-resizable@1.11.0@react-resizable/build/Resizable.js ***!
\*********************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
exports.__esModule = true;
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(/*! react */ 59301));
var _reactDraggable = __webpack_require__(/*! react-draggable */ 12911);
var _utils = __webpack_require__(/*! ./utils */ 73638);
var _propTypes = __webpack_require__(/*! ./propTypes */ 6217);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var Resizable = /*#__PURE__*/function (_React$Component) {
_inheritsLoose(Resizable, _React$Component);
function Resizable() {
var _this;
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
_this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
_defineProperty(_assertThisInitialized(_this), "state", undefined);
_defineProperty(_assertThisInitialized(_this), "lastHandleRect", null);
_defineProperty(_assertThisInitialized(_this), "slack", null);
return _this;
}
var _proto = Resizable.prototype;
_proto.componentWillUnmount = function componentWillUnmount() {
this.resetData();
};
_proto.lockAspectRatio = function lockAspectRatio(width, height, aspectRatio) {
height = width / aspectRatio;
width = height * aspectRatio;
return [width, height];
};
_proto.resetData = function resetData() {
this.lastHandleRect = this.slack = null;
} // Clamp width and height within provided constraints
;
_proto.runConstraints = function runConstraints(width, height) {
var _ref = [this.props.minConstraints, this.props.maxConstraints],
min = _ref[0],
max = _ref[1];
if (!min && !max) return [width, height]; // If constraining to min and max, we need to also fit width and height to aspect ratio.
if (this.props.lockAspectRatio) {
var resizingHorizontally = height === this.props.height;
if (resizingHorizontally) {
var ratio = this.props.width / this.props.height;
height = width / ratio;
width = height * ratio;
} else {
// Take into account vertical resize with N/S handles on locked aspect
// ratio. Calculate the change height-first, instead of width-first
var _ratio = this.props.height / this.props.width;
width = height / _ratio;
height = width * _ratio;
}
}
var oldW = width,
oldH = height; // Add slack to the values used to calculate bound position. This will ensure that if
// we start removing slack, the element won't react to it right away until it's been
// completely removed.
var _ref2 = this.slack || [0, 0],
slackW = _ref2[0],
slackH = _ref2[1];
width += slackW;
height += slackH;
if (min) {
width = Math.max(min[0], width);
height = Math.max(min[1], height);
}
if (max) {
width = Math.min(max[0], width);
height = Math.min(max[1], height);
} // If the width or height changed, we must have introduced some slack. Record it for the next iteration.
this.slack = [slackW + (oldW - width), slackH + (oldH - height)];
return [width, height];
}
/**
* Wrapper around drag events to provide more useful data.
*
* @param {String} handlerName Handler name to wrap.
* @return {Function} Handler function.
*/
;
_proto.resizeHandler = function resizeHandler(handlerName, axis) {
var _this2 = this;
return function (e, _ref3) {
var node = _ref3.node,
deltaX = _ref3.deltaX,
deltaY = _ref3.deltaY;
// Reset data in case it was left over somehow (should not be possible)
if (handlerName === 'onResizeStart') _this2.resetData(); // Axis restrictions
var canDragX = (_this2.props.axis === 'both' || _this2.props.axis === 'x') && axis !== 'n' && axis !== 's';
var canDragY = (_this2.props.axis === 'both' || _this2.props.axis === 'y') && axis !== 'e' && axis !== 'w'; // No dragging possible.
if (!canDragX && !canDragY) return; // Decompose axis for later use
var axisV = axis[0];
var axisH = axis[axis.length - 1]; // intentionally not axis[1], so that this catches axis === 'w' for example
// Track the element being dragged to account for changes in position.
// If a handle's position is changed between callbacks, we need to factor this in to the next callback.
// Failure to do so will cause the element to "skip" when resized upwards or leftwards.
var handleRect = node.getBoundingClientRect();
if (_this2.lastHandleRect != null) {
// If the handle has repositioned on either axis since last render,
// we need to increase our callback values by this much.
// Only checking 'n', 'w' since resizing by 's', 'w' won't affect the overall position on page,
if (axisH === 'w') {
var deltaLeftSinceLast = handleRect.left - _this2.lastHandleRect.left;
deltaX += deltaLeftSinceLast;
}
if (axisV === 'n') {
var deltaTopSinceLast = handleRect.top - _this2.lastHandleRect.top;
deltaY += deltaTopSinceLast;
}
} // Storage of last rect so we know how much it has really moved.
_this2.lastHandleRect = handleRect; // Reverse delta if using top or left drag handles.
if (axisH === 'w') deltaX = -deltaX;
if (axisV === 'n') deltaY = -deltaY; // Update w/h by the deltas. Also factor in transformScale.
var width = _this2.props.width + (canDragX ? deltaX / _this2.props.transformScale : 0);
var height = _this2.props.height + (canDragY ? deltaY / _this2.props.transformScale : 0); // Run user-provided constraints.
var _this2$runConstraints = _this2.runConstraints(width, height);
width = _this2$runConstraints[0];
height = _this2$runConstraints[1];
var dimensionsChanged = width !== _this2.props.width || height !== _this2.props.height; // Call user-supplied callback if present.
var cb = typeof _this2.props[handlerName] === 'function' ? _this2.props[handlerName] : null; // Don't call 'onResize' if dimensions haven't changed.
var shouldSkipCb = handlerName === 'onResize' && !dimensionsChanged;
if (cb && !shouldSkipCb) {
if (typeof e.persist === 'function') e.persist();
cb(e, {
node: node,
size: {
width: width,
height: height
},
handle: axis
});
} // Reset internal data
if (handlerName === 'onResizeStop') _this2.resetData();
};
};
_proto.renderResizeHandle = function renderResizeHandle(resizeHandleAxis) {
var handle = this.props.handle;
if (handle) {
if (typeof handle === 'function') {
return handle(resizeHandleAxis);
}
return handle;
}
return /*#__PURE__*/_react.default.createElement("span", {
className: "react-resizable-handle react-resizable-handle-" + resizeHandleAxis
});
};
_proto.render = function render() {
var _this3 = this;
// Pass along only props not meant for the `<Resizable>`.`
// eslint-disable-next-line no-unused-vars
var _this$props = this.props,
children = _this$props.children,
className = _this$props.className,
draggableOpts = _this$props.draggableOpts,
width = _this$props.width,
height = _this$props.height,
handle = _this$props.handle,
handleSize = _this$props.handleSize,
lockAspectRatio = _this$props.lockAspectRatio,
axis = _this$props.axis,
minConstraints = _this$props.minConstraints,
maxConstraints = _this$props.maxConstraints,
onResize = _this$props.onResize,
onResizeStop = _this$props.onResizeStop,
onResizeStart = _this$props.onResizeStart,
resizeHandles = _this$props.resizeHandles,
transformScale = _this$props.transformScale,
p = _objectWithoutPropertiesLoose(_this$props, ["children", "className", "draggableOpts", "width", "height", "handle", "handleSize", "lockAspectRatio", "axis", "minConstraints", "maxConstraints", "onResize", "onResizeStop", "onResizeStart", "resizeHandles", "transformScale"]); // What we're doing here is getting the child of this element, and cloning it with this element's props.
// We are then defining its children as:
// Its original children (resizable's child's children), and
// One or more draggable handles.
return (0, _utils.cloneElement)(children, _objectSpread(_objectSpread({}, p), {}, {
className: (className ? className + " " : '') + "react-resizable",
children: [].concat(children.props.children, resizeHandles.map(function (handleAxis) {
return /*#__PURE__*/_react.default.createElement(_reactDraggable.DraggableCore, _extends({}, draggableOpts, {
key: "resizableHandle-" + handleAxis,
onStop: _this3.resizeHandler('onResizeStop', handleAxis),
onStart: _this3.resizeHandler('onResizeStart', handleAxis),
onDrag: _this3.resizeHandler('onResize', handleAxis)
}), _this3.renderResizeHandle(handleAxis));
}))
}));
};
return Resizable;
}(_react.default.Component);
exports["default"] = Resizable;
_defineProperty(Resizable, "propTypes", _propTypes.resizableProps);
_defineProperty(Resizable, "defaultProps", {
handleSize: [20, 20],
lockAspectRatio: false,
axis: 'both',
minConstraints: [20, 20],
maxConstraints: [Infinity, Infinity],
resizeHandles: ['se'],
transformScale: 1
});
/***/ }),
/***/ 60842:
/*!************************************************************************************!*\
!*** ./node_modules/_react-resizable@1.11.0@react-resizable/build/ResizableBox.js ***!
\************************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
var __webpack_unused_export__;
__webpack_unused_export__ = true;
exports["default"] = void 0;
var React = _interopRequireWildcard(__webpack_require__(/*! react */ 59301));
var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ 12708));
var _Resizable = _interopRequireDefault(__webpack_require__(/*! ./Resizable */ 80010));
var _propTypes2 = __webpack_require__(/*! ./propTypes */ 6217);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var ResizableBox = /*#__PURE__*/function (_React$Component) {
_inheritsLoose(ResizableBox, _React$Component);
function ResizableBox() {
var _this;
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
_this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
_defineProperty(_assertThisInitialized(_this), "state", {
width: _this.props.width,
height: _this.props.height,
propsWidth: _this.props.width,
propsHeight: _this.props.height
});
_defineProperty(_assertThisInitialized(_this), "onResize", function (e, data) {
var size = data.size;
if (_this.props.onResize) {
e.persist && e.persist();
_this.setState(size, function () {
return _this.props.onResize && _this.props.onResize(e, data);
});
} else {
_this.setState(size);
}
});
return _this;
}
ResizableBox.getDerivedStateFromProps = function getDerivedStateFromProps(props, state) {
// If parent changes height/width, set that in our state.
if (state.propsWidth !== props.width || state.propsHeight !== props.height) {
return {
width: props.width,
height: props.height,
propsWidth: props.width,
propsHeight: props.height
};
}
return null;
};
var _proto = ResizableBox.prototype;
_proto.render = function render() {
// Basic wrapper around a Resizable instance.
// If you use Resizable directly, you are responsible for updating the child component
// with a new width and height.
var _this$props = this.props,
handle = _this$props.handle,
handleSize = _this$props.handleSize,
onResize = _this$props.onResize,
onResizeStart = _this$props.onResizeStart,
onResizeStop = _this$props.onResizeStop,
draggableOpts = _this$props.draggableOpts,
minConstraints = _this$props.minConstraints,
maxConstraints = _this$props.maxConstraints,
lockAspectRatio = _this$props.lockAspectRatio,
axis = _this$props.axis,
width = _this$props.width,
height = _this$props.height,
resizeHandles = _this$props.resizeHandles,
style = _this$props.style,
transformScale = _this$props.transformScale,
props = _objectWithoutPropertiesLoose(_this$props, ["handle", "handleSize", "onResize", "onResizeStart", "onResizeStop", "draggableOpts", "minConstraints", "maxConstraints", "lockAspectRatio", "axis", "width", "height", "resizeHandles", "style", "transformScale"]);
return /*#__PURE__*/React.createElement(_Resizable.default, {
axis: axis,
draggableOpts: draggableOpts,
handle: handle,
handleSize: handleSize,
height: this.state.height,
lockAspectRatio: lockAspectRatio,
maxConstraints: maxConstraints,
minConstraints: minConstraints,
onResizeStart: onResizeStart,
onResize: this.onResize,
onResizeStop: onResizeStop,
resizeHandles: resizeHandles,
transformScale: transformScale,
width: this.state.width
}, /*#__PURE__*/React.createElement("div", _extends({}, props, {
style: _objectSpread(_objectSpread({}, style), {}, {
width: this.state.width + 'px',
height: this.state.height + 'px'
})
})));
};
return ResizableBox;
}(React.Component);
exports["default"] = ResizableBox;
_defineProperty(ResizableBox, "propTypes", _objectSpread(_objectSpread({}, _propTypes2.resizableProps), {}, {
children: _propTypes.default.element
}));
/***/ }),
/***/ 6217:
/*!*********************************************************************************!*\
!*** ./node_modules/_react-resizable@1.11.0@react-resizable/build/propTypes.js ***!
\*********************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
exports.__esModule = true;
exports.resizableProps = void 0;
var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ 12708));
var _reactDraggable = __webpack_require__(/*! react-draggable */ 12911);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var resizableProps = {
/*
* Restricts resizing to a particular axis (default: 'both')
* 'both' - allows resizing by width or height
* 'x' - only allows the width to be changed
* 'y' - only allows the height to be changed
* 'none' - disables resizing altogether
* */
axis: _propTypes.default.oneOf(['both', 'x', 'y', 'none']),
className: _propTypes.default.string,
/*
* Require that one and only one child be present.
* */
children: _propTypes.default.element.isRequired,
/*
* These will be passed wholesale to react-draggable's DraggableCore
* */
draggableOpts: _propTypes.default.shape({
allowAnyClick: _propTypes.default.bool,
cancel: _propTypes.default.string,
children: _propTypes.default.node,
disabled: _propTypes.default.bool,
enableUserSelectHack: _propTypes.default.bool,
offsetParent: _propTypes.default.node,
grid: _propTypes.default.arrayOf(_propTypes.default.number),
handle: _propTypes.default.string,
nodeRef: _propTypes.default.object,
onStart: _propTypes.default.func,
onDrag: _propTypes.default.func,
onStop: _propTypes.default.func,
onMouseDown: _propTypes.default.func,
scale: _propTypes.default.number
}),
/*
* Initial height
* */
height: _propTypes.default.number.isRequired,
/*
* Customize cursor resize handle
* */
handle: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.func]),
/*
* If you change this, be sure to update your css
* */
handleSize: _propTypes.default.arrayOf(_propTypes.default.number),
lockAspectRatio: _propTypes.default.bool,
/*
* Max X & Y measure
* */
maxConstraints: _propTypes.default.arrayOf(_propTypes.default.number),
/*
* Min X & Y measure
* */
minConstraints: _propTypes.default.arrayOf(_propTypes.default.number),
/*
* Called on stop resize event
* */
onResizeStop: _propTypes.default.func,
/*
* Called on start resize event
* */
onResizeStart: _propTypes.default.func,
/*
* Called on resize event
* */
onResize: _propTypes.default.func,
/*
* Defines which resize handles should be rendered (default: 'se')
* 's' - South handle (bottom-center)
* 'w' - West handle (left-center)
* 'e' - East handle (right-center)
* 'n' - North handle (top-center)
* 'sw' - Southwest handle (bottom-left)
* 'nw' - Northwest handle (top-left)
* 'se' - Southeast handle (bottom-right)
* 'ne' - Northeast handle (top-center)
* */
resizeHandles: _propTypes.default.arrayOf(_propTypes.default.oneOf(['s', 'w', 'e', 'n', 'sw', 'nw', 'se', 'ne'])),
/*
* If `transform: scale(n)` is set on the parent, this should be set to `n`.
* */
transformScale: _propTypes.default.number,
/*
* Initial width
*/
width: _propTypes.default.number.isRequired
};
exports.resizableProps = resizableProps;
/***/ }),
/***/ 73638:
/*!*****************************************************************************!*\
!*** ./node_modules/_react-resizable@1.11.0@react-resizable/build/utils.js ***!
\*****************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
exports.__esModule = true;
exports.cloneElement = cloneElement;
var _react = _interopRequireDefault(__webpack_require__(/*! react */ 59301));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
// React.addons.cloneWithProps look-alike that merges style & className.
function cloneElement(element, props) {
if (props.style && element.props.style) {
props.style = _objectSpread(_objectSpread({}, element.props.style), props.style);
}
if (props.className && element.props.className) {
props.className = element.props.className + " " + props.className;
}
return /*#__PURE__*/_react.default.cloneElement(element, props);
}
/***/ }),
/***/ 9221:
/*!***********************************************************************!*\
!*** ./node_modules/_react-resizable@1.11.0@react-resizable/index.js ***!
\***********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = function() {
throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable");
};
module.exports.Resizable = __webpack_require__(/*! ./build/Resizable */ 80010)["default"];
module.exports.ResizableBox = __webpack_require__(/*! ./build/ResizableBox */ 60842)["default"];
/***/ })
}]);

File diff suppressed because it is too large Load Diff

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[91987,56047],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[91987,56047,24680],{
/***/ 64711:
/*!*************************************************************************************************************!*\

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

@ -3081,7 +3081,8 @@ var SubmenuIcons = {
"online_learning": "iconfont icon-kechengxuexi",
"ecs": "iconfont icon-gongchengrenzheng",
"program_homework": 'iconfont icon-bianchengzuoye',
"new_graduation": "iconfont icon-biyesheji"
"new_graduation": "iconfont icon-biyesheji",
"subject_exercise": 'iconfont icon-shuatilianxi1'
};
;// CONCATENATED MODULE: ./src/layouts/ShixunDetail/index.less?modules
// extracted by mini-css-extract-plugin

@ -1,51 +1,6 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[45825],{
/***/ 680:
/*!*******************************************************************************************************************!*\
!*** ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***!
\*******************************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ icons_ExclamationCircleOutlined; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(5891);
// 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.4.2@@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js
// This icon file is generated automatically.
var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" };
/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(22589);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/ExclamationCircleOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) {
return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_ExclamationCircleOutlined
}));
};
/**![exclamation-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0wIDgyMGMtMjA1LjQgMC0zNzItMTY2LjYtMzcyLTM3MnMxNjYuNi0zNzIgMzcyLTM3MiAzNzIgMTY2LjYgMzcyIDM3Mi0xNjYuNiAzNzItMzcyIDM3MnoiIC8+PHBhdGggZD0iTTQ2NCA2ODhhNDggNDggMCAxMDk2IDAgNDggNDggMCAxMC05NiAwem0yNC0xMTJoNDhjNC40IDAgOC0zLjYgOC04VjI5NmMwLTQuNC0zLjYtOC04LThoLTQ4Yy00LjQgMC04IDMuNi04IDh2MjcyYzAgNC40IDMuNiA4IDggOHoiIC8+PC9zdmc+) */
var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined);
if (false) {}
/* harmony default export */ var icons_ExclamationCircleOutlined = (RefIcon);
/***/ }),
/***/ 80120:
/*!******************************************************!*\
!*** ./src/components/CodeBox/index.tsx + 1 modules ***!
@ -4445,608 +4400,6 @@ const Countdown = props => {
statistic_Statistic.Countdown = statistic_Countdown;
/* harmony default export */ var es_statistic = (statistic_Statistic);
/***/ }),
/***/ 80010:
/*!*********************************************************************************!*\
!*** ./node_modules/_react-resizable@1.11.0@react-resizable/build/Resizable.js ***!
\*********************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
exports.__esModule = true;
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(/*! react */ 59301));
var _reactDraggable = __webpack_require__(/*! react-draggable */ 12911);
var _utils = __webpack_require__(/*! ./utils */ 73638);
var _propTypes = __webpack_require__(/*! ./propTypes */ 6217);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var Resizable = /*#__PURE__*/function (_React$Component) {
_inheritsLoose(Resizable, _React$Component);
function Resizable() {
var _this;
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
_this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
_defineProperty(_assertThisInitialized(_this), "state", undefined);
_defineProperty(_assertThisInitialized(_this), "lastHandleRect", null);
_defineProperty(_assertThisInitialized(_this), "slack", null);
return _this;
}
var _proto = Resizable.prototype;
_proto.componentWillUnmount = function componentWillUnmount() {
this.resetData();
};
_proto.lockAspectRatio = function lockAspectRatio(width, height, aspectRatio) {
height = width / aspectRatio;
width = height * aspectRatio;
return [width, height];
};
_proto.resetData = function resetData() {
this.lastHandleRect = this.slack = null;
} // Clamp width and height within provided constraints
;
_proto.runConstraints = function runConstraints(width, height) {
var _ref = [this.props.minConstraints, this.props.maxConstraints],
min = _ref[0],
max = _ref[1];
if (!min && !max) return [width, height]; // If constraining to min and max, we need to also fit width and height to aspect ratio.
if (this.props.lockAspectRatio) {
var resizingHorizontally = height === this.props.height;
if (resizingHorizontally) {
var ratio = this.props.width / this.props.height;
height = width / ratio;
width = height * ratio;
} else {
// Take into account vertical resize with N/S handles on locked aspect
// ratio. Calculate the change height-first, instead of width-first
var _ratio = this.props.height / this.props.width;
width = height / _ratio;
height = width * _ratio;
}
}
var oldW = width,
oldH = height; // Add slack to the values used to calculate bound position. This will ensure that if
// we start removing slack, the element won't react to it right away until it's been
// completely removed.
var _ref2 = this.slack || [0, 0],
slackW = _ref2[0],
slackH = _ref2[1];
width += slackW;
height += slackH;
if (min) {
width = Math.max(min[0], width);
height = Math.max(min[1], height);
}
if (max) {
width = Math.min(max[0], width);
height = Math.min(max[1], height);
} // If the width or height changed, we must have introduced some slack. Record it for the next iteration.
this.slack = [slackW + (oldW - width), slackH + (oldH - height)];
return [width, height];
}
/**
* Wrapper around drag events to provide more useful data.
*
* @param {String} handlerName Handler name to wrap.
* @return {Function} Handler function.
*/
;
_proto.resizeHandler = function resizeHandler(handlerName, axis) {
var _this2 = this;
return function (e, _ref3) {
var node = _ref3.node,
deltaX = _ref3.deltaX,
deltaY = _ref3.deltaY;
// Reset data in case it was left over somehow (should not be possible)
if (handlerName === 'onResizeStart') _this2.resetData(); // Axis restrictions
var canDragX = (_this2.props.axis === 'both' || _this2.props.axis === 'x') && axis !== 'n' && axis !== 's';
var canDragY = (_this2.props.axis === 'both' || _this2.props.axis === 'y') && axis !== 'e' && axis !== 'w'; // No dragging possible.
if (!canDragX && !canDragY) return; // Decompose axis for later use
var axisV = axis[0];
var axisH = axis[axis.length - 1]; // intentionally not axis[1], so that this catches axis === 'w' for example
// Track the element being dragged to account for changes in position.
// If a handle's position is changed between callbacks, we need to factor this in to the next callback.
// Failure to do so will cause the element to "skip" when resized upwards or leftwards.
var handleRect = node.getBoundingClientRect();
if (_this2.lastHandleRect != null) {
// If the handle has repositioned on either axis since last render,
// we need to increase our callback values by this much.
// Only checking 'n', 'w' since resizing by 's', 'w' won't affect the overall position on page,
if (axisH === 'w') {
var deltaLeftSinceLast = handleRect.left - _this2.lastHandleRect.left;
deltaX += deltaLeftSinceLast;
}
if (axisV === 'n') {
var deltaTopSinceLast = handleRect.top - _this2.lastHandleRect.top;
deltaY += deltaTopSinceLast;
}
} // Storage of last rect so we know how much it has really moved.
_this2.lastHandleRect = handleRect; // Reverse delta if using top or left drag handles.
if (axisH === 'w') deltaX = -deltaX;
if (axisV === 'n') deltaY = -deltaY; // Update w/h by the deltas. Also factor in transformScale.
var width = _this2.props.width + (canDragX ? deltaX / _this2.props.transformScale : 0);
var height = _this2.props.height + (canDragY ? deltaY / _this2.props.transformScale : 0); // Run user-provided constraints.
var _this2$runConstraints = _this2.runConstraints(width, height);
width = _this2$runConstraints[0];
height = _this2$runConstraints[1];
var dimensionsChanged = width !== _this2.props.width || height !== _this2.props.height; // Call user-supplied callback if present.
var cb = typeof _this2.props[handlerName] === 'function' ? _this2.props[handlerName] : null; // Don't call 'onResize' if dimensions haven't changed.
var shouldSkipCb = handlerName === 'onResize' && !dimensionsChanged;
if (cb && !shouldSkipCb) {
if (typeof e.persist === 'function') e.persist();
cb(e, {
node: node,
size: {
width: width,
height: height
},
handle: axis
});
} // Reset internal data
if (handlerName === 'onResizeStop') _this2.resetData();
};
};
_proto.renderResizeHandle = function renderResizeHandle(resizeHandleAxis) {
var handle = this.props.handle;
if (handle) {
if (typeof handle === 'function') {
return handle(resizeHandleAxis);
}
return handle;
}
return /*#__PURE__*/_react.default.createElement("span", {
className: "react-resizable-handle react-resizable-handle-" + resizeHandleAxis
});
};
_proto.render = function render() {
var _this3 = this;
// Pass along only props not meant for the `<Resizable>`.`
// eslint-disable-next-line no-unused-vars
var _this$props = this.props,
children = _this$props.children,
className = _this$props.className,
draggableOpts = _this$props.draggableOpts,
width = _this$props.width,
height = _this$props.height,
handle = _this$props.handle,
handleSize = _this$props.handleSize,
lockAspectRatio = _this$props.lockAspectRatio,
axis = _this$props.axis,
minConstraints = _this$props.minConstraints,
maxConstraints = _this$props.maxConstraints,
onResize = _this$props.onResize,
onResizeStop = _this$props.onResizeStop,
onResizeStart = _this$props.onResizeStart,
resizeHandles = _this$props.resizeHandles,
transformScale = _this$props.transformScale,
p = _objectWithoutPropertiesLoose(_this$props, ["children", "className", "draggableOpts", "width", "height", "handle", "handleSize", "lockAspectRatio", "axis", "minConstraints", "maxConstraints", "onResize", "onResizeStop", "onResizeStart", "resizeHandles", "transformScale"]); // What we're doing here is getting the child of this element, and cloning it with this element's props.
// We are then defining its children as:
// Its original children (resizable's child's children), and
// One or more draggable handles.
return (0, _utils.cloneElement)(children, _objectSpread(_objectSpread({}, p), {}, {
className: (className ? className + " " : '') + "react-resizable",
children: [].concat(children.props.children, resizeHandles.map(function (handleAxis) {
return /*#__PURE__*/_react.default.createElement(_reactDraggable.DraggableCore, _extends({}, draggableOpts, {
key: "resizableHandle-" + handleAxis,
onStop: _this3.resizeHandler('onResizeStop', handleAxis),
onStart: _this3.resizeHandler('onResizeStart', handleAxis),
onDrag: _this3.resizeHandler('onResize', handleAxis)
}), _this3.renderResizeHandle(handleAxis));
}))
}));
};
return Resizable;
}(_react.default.Component);
exports["default"] = Resizable;
_defineProperty(Resizable, "propTypes", _propTypes.resizableProps);
_defineProperty(Resizable, "defaultProps", {
handleSize: [20, 20],
lockAspectRatio: false,
axis: 'both',
minConstraints: [20, 20],
maxConstraints: [Infinity, Infinity],
resizeHandles: ['se'],
transformScale: 1
});
/***/ }),
/***/ 60842:
/*!************************************************************************************!*\
!*** ./node_modules/_react-resizable@1.11.0@react-resizable/build/ResizableBox.js ***!
\************************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
var __webpack_unused_export__;
__webpack_unused_export__ = true;
exports["default"] = void 0;
var React = _interopRequireWildcard(__webpack_require__(/*! react */ 59301));
var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ 12708));
var _Resizable = _interopRequireDefault(__webpack_require__(/*! ./Resizable */ 80010));
var _propTypes2 = __webpack_require__(/*! ./propTypes */ 6217);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var ResizableBox = /*#__PURE__*/function (_React$Component) {
_inheritsLoose(ResizableBox, _React$Component);
function ResizableBox() {
var _this;
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
_this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
_defineProperty(_assertThisInitialized(_this), "state", {
width: _this.props.width,
height: _this.props.height,
propsWidth: _this.props.width,
propsHeight: _this.props.height
});
_defineProperty(_assertThisInitialized(_this), "onResize", function (e, data) {
var size = data.size;
if (_this.props.onResize) {
e.persist && e.persist();
_this.setState(size, function () {
return _this.props.onResize && _this.props.onResize(e, data);
});
} else {
_this.setState(size);
}
});
return _this;
}
ResizableBox.getDerivedStateFromProps = function getDerivedStateFromProps(props, state) {
// If parent changes height/width, set that in our state.
if (state.propsWidth !== props.width || state.propsHeight !== props.height) {
return {
width: props.width,
height: props.height,
propsWidth: props.width,
propsHeight: props.height
};
}
return null;
};
var _proto = ResizableBox.prototype;
_proto.render = function render() {
// Basic wrapper around a Resizable instance.
// If you use Resizable directly, you are responsible for updating the child component
// with a new width and height.
var _this$props = this.props,
handle = _this$props.handle,
handleSize = _this$props.handleSize,
onResize = _this$props.onResize,
onResizeStart = _this$props.onResizeStart,
onResizeStop = _this$props.onResizeStop,
draggableOpts = _this$props.draggableOpts,
minConstraints = _this$props.minConstraints,
maxConstraints = _this$props.maxConstraints,
lockAspectRatio = _this$props.lockAspectRatio,
axis = _this$props.axis,
width = _this$props.width,
height = _this$props.height,
resizeHandles = _this$props.resizeHandles,
style = _this$props.style,
transformScale = _this$props.transformScale,
props = _objectWithoutPropertiesLoose(_this$props, ["handle", "handleSize", "onResize", "onResizeStart", "onResizeStop", "draggableOpts", "minConstraints", "maxConstraints", "lockAspectRatio", "axis", "width", "height", "resizeHandles", "style", "transformScale"]);
return /*#__PURE__*/React.createElement(_Resizable.default, {
axis: axis,
draggableOpts: draggableOpts,
handle: handle,
handleSize: handleSize,
height: this.state.height,
lockAspectRatio: lockAspectRatio,
maxConstraints: maxConstraints,
minConstraints: minConstraints,
onResizeStart: onResizeStart,
onResize: this.onResize,
onResizeStop: onResizeStop,
resizeHandles: resizeHandles,
transformScale: transformScale,
width: this.state.width
}, /*#__PURE__*/React.createElement("div", _extends({}, props, {
style: _objectSpread(_objectSpread({}, style), {}, {
width: this.state.width + 'px',
height: this.state.height + 'px'
})
})));
};
return ResizableBox;
}(React.Component);
exports["default"] = ResizableBox;
_defineProperty(ResizableBox, "propTypes", _objectSpread(_objectSpread({}, _propTypes2.resizableProps), {}, {
children: _propTypes.default.element
}));
/***/ }),
/***/ 6217:
/*!*********************************************************************************!*\
!*** ./node_modules/_react-resizable@1.11.0@react-resizable/build/propTypes.js ***!
\*********************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
exports.__esModule = true;
exports.resizableProps = void 0;
var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ 12708));
var _reactDraggable = __webpack_require__(/*! react-draggable */ 12911);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var resizableProps = {
/*
* Restricts resizing to a particular axis (default: 'both')
* 'both' - allows resizing by width or height
* 'x' - only allows the width to be changed
* 'y' - only allows the height to be changed
* 'none' - disables resizing altogether
* */
axis: _propTypes.default.oneOf(['both', 'x', 'y', 'none']),
className: _propTypes.default.string,
/*
* Require that one and only one child be present.
* */
children: _propTypes.default.element.isRequired,
/*
* These will be passed wholesale to react-draggable's DraggableCore
* */
draggableOpts: _propTypes.default.shape({
allowAnyClick: _propTypes.default.bool,
cancel: _propTypes.default.string,
children: _propTypes.default.node,
disabled: _propTypes.default.bool,
enableUserSelectHack: _propTypes.default.bool,
offsetParent: _propTypes.default.node,
grid: _propTypes.default.arrayOf(_propTypes.default.number),
handle: _propTypes.default.string,
nodeRef: _propTypes.default.object,
onStart: _propTypes.default.func,
onDrag: _propTypes.default.func,
onStop: _propTypes.default.func,
onMouseDown: _propTypes.default.func,
scale: _propTypes.default.number
}),
/*
* Initial height
* */
height: _propTypes.default.number.isRequired,
/*
* Customize cursor resize handle
* */
handle: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.func]),
/*
* If you change this, be sure to update your css
* */
handleSize: _propTypes.default.arrayOf(_propTypes.default.number),
lockAspectRatio: _propTypes.default.bool,
/*
* Max X & Y measure
* */
maxConstraints: _propTypes.default.arrayOf(_propTypes.default.number),
/*
* Min X & Y measure
* */
minConstraints: _propTypes.default.arrayOf(_propTypes.default.number),
/*
* Called on stop resize event
* */
onResizeStop: _propTypes.default.func,
/*
* Called on start resize event
* */
onResizeStart: _propTypes.default.func,
/*
* Called on resize event
* */
onResize: _propTypes.default.func,
/*
* Defines which resize handles should be rendered (default: 'se')
* 's' - South handle (bottom-center)
* 'w' - West handle (left-center)
* 'e' - East handle (right-center)
* 'n' - North handle (top-center)
* 'sw' - Southwest handle (bottom-left)
* 'nw' - Northwest handle (top-left)
* 'se' - Southeast handle (bottom-right)
* 'ne' - Northeast handle (top-center)
* */
resizeHandles: _propTypes.default.arrayOf(_propTypes.default.oneOf(['s', 'w', 'e', 'n', 'sw', 'nw', 'se', 'ne'])),
/*
* If `transform: scale(n)` is set on the parent, this should be set to `n`.
* */
transformScale: _propTypes.default.number,
/*
* Initial width
*/
width: _propTypes.default.number.isRequired
};
exports.resizableProps = resizableProps;
/***/ }),
/***/ 73638:
/*!*****************************************************************************!*\
!*** ./node_modules/_react-resizable@1.11.0@react-resizable/build/utils.js ***!
\*****************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
exports.__esModule = true;
exports.cloneElement = cloneElement;
var _react = _interopRequireDefault(__webpack_require__(/*! react */ 59301));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
// React.addons.cloneWithProps look-alike that merges style & className.
function cloneElement(element, props) {
if (props.style && element.props.style) {
props.style = _objectSpread(_objectSpread({}, element.props.style), props.style);
}
if (props.className && element.props.className) {
props.className = element.props.className + " " + props.className;
}
return /*#__PURE__*/_react.default.cloneElement(element, props);
}
/***/ }),
/***/ 9221:
/*!***********************************************************************!*\
!*** ./node_modules/_react-resizable@1.11.0@react-resizable/index.js ***!
\***********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = function() {
throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable");
};
module.exports.Resizable = __webpack_require__(/*! ./build/Resizable */ 80010)["default"];
module.exports.ResizableBox = __webpack_require__(/*! ./build/ResizableBox */ 60842)["default"];
/***/ })
}]);

@ -0,0 +1,547 @@
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.31@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.31@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/ProblemPractice/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___RzKlr {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___irOEg {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___NKdBD {
align-items: center;
box-align: center;
}
.flex_box_center_end___oaqIm {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___Dwp85 {
flex-direction: column;
box-orient: block-axis;
}
.header___ThSRZ {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #fff;
padding: 30px 30px 0 30px;
}
.header___ThSRZ .span___n9GeW {
font-size: 16px;
color: #333333;
font-weight: 500;
}
.list_item___KlLnC {
margin-top: 15px;
height: 100px;
background: #FFFFFF;
border-radius: 4px;
padding: 20px 30px;
display: flex;
align-items: center;
justify-content: space-between;
}
.question_count___opP3t {
font-size: 14px;
color: #666;
margin-top: 12px;
line-height: 22px;
}
.question_count___opP3t span {
color: #000;
}
.name___lZt5I {
font-size: 16px;
color: #333;
font-weight: 500;
line-height: 26px;
}
.icons___vPinv {
display: flex;
color: #3061D0;
cursor: pointer;
font-size: 14px;
}
.not_started___wSWW2 {
margin-left: 10px;
width: 60px;
height: 24px;
line-height: 24px;
text-align: center;
background: #B8B8B8;
border-radius: 12px;
color: #fff;
font-size: 12px;
font-weight: 500;
}
.comp_btn___Dk60w {
font-weight: 500;
font-size: 16px;
color: #3061D0;
cursor: pointer;
}
.comp_btn___Dk60w:hover {
color: #487bf1;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.31@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.31@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/components/SearchSortController/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.searchSortControllerContainer___Xca1m {
background-color: white;
display: flex;
align-items: center;
height: 74px;
padding: 0 20px;
}
.searchSortControllerContainer___Xca1m .btn___sNJPX {
text-align: center;
font-size: 14px;
color: #666666;
margin-right: 30px;
cursor: default;
}
.searchSortControllerContainer___Xca1m .btn___sNJPX.btnSort___Fx9OM {
margin-right: 8px;
}
.searchSortControllerContainer___Xca1m .btn___sNJPX:hover {
color: #0152d9;
}
.searchSortControllerContainer___Xca1m .tips___LrmpR {
cursor: pointer;
}
.searchSortControllerContainer___Xca1m .tips___LrmpR > i {
font-size: 14px;
}
.searchSortControllerContainer___Xca1m .tips___LrmpR:hover {
color: #0152d9;
}
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.31@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.31@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Paths/Detail/components/Stage/AddOrEditExercise/index.less?modules ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
body {
background: #fff;
}
.bg___sK28H {
width: 1200px;
margin: 20px auto 60px auto;
}
.title___OrR3z {
width: 96px;
height: 26px;
font-size: 16px;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333333;
line-height: 26px;
}
.lableSty___B6Cwq {
background-color: #fff;
padding-top: 20px;
}
.lableSty___B6Cwq div[class~='ant-form-item-label'] label {
font-size: 14px;
color: #5F6368 !important;
}
.lableSty___B6Cwq span[class~='ant-input-affix-wrapper'] {
padding: 0 7px;
font-size: 14px;
}
.lableSty___B6Cwq input[class~='ant-input'] {
border-width: 1px;
height: 40px;
font-size: 14px;
padding: 0 7px;
}
.lableSty___B6Cwq div[class~='ant-form-item-label'] label {
font-size: 14px;
color: #5F6368 !important;
}
.lableSty___B6Cwq .inputNum___KjODd {
margin: 0 10px;
}
.lableSty___B6Cwq .inputNum___KjODd input[class~='ant-input-number-input'] {
height: 40px;
font-size: 14px;
}
.lableSty___B6Cwq .select_ids___Se6Gr [class~='ant-select-selector'] {
height: 40px !important;
}
.lableSty___B6Cwq .select_ids___Se6Gr [class~='ant-select-selector'] span[class~='ant-select-selection-item'] {
line-height: 40px;
}
.lableSty___B6Cwq .select_ids___Se6Gr [class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'] {
line-height: 40px;
}
.footer_style___t3MFU {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 64px;
background: #fff;
box-shadow: 0px -2px 4px 0px #E0DFE1;
position: fixed;
bottom: 0;
left: 0;
z-index: 100;
}
.footer_style___t3MFU .submit_button___jtEBu {
width: 60px;
height: 38px;
background: #3061D0;
border-radius: 2px;
font-size: 14px;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #FFFFFF;
line-height: 38px;
text-align: center;
cursor: pointer;
}
.footer_style___t3MFU .close_button___ecFOg {
width: 60px;
height: 38px;
border-radius: 2px;
opacity: 0.9;
border: 1px solid #BACFFE;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #3061D0;
line-height: 38px;
text-align: center;
cursor: pointer;
margin-right: 20px;
}
.aBtn___De9oB {
height: 32px;
background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%), #F6F7F9;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-size: 14px;
color: #3061D0;
line-height: 30px;
display: inline-block;
padding: 0 16px;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.aBtn___De9oB:hover {
border: 1px solid #3061D0;
}
.folderAreaWrapper___iQ9XG {
background: #FDFDFE;
border: 1px solid #ECECEC;
min-height: 200px;
margin-bottom: 16px;
}
.folderAreaWrapper___iQ9XG .folderAreaHeader___zxxB4 {
background-color: #F6F7F9;
height: 42px;
padding: 0 20px;
padding-right: 0px;
}
.folderAreaWrapper___iQ9XG .folderWrapper___qROqJ {
height: 150px;
padding: 0 20px;
overflow: auto;
}
.folderAreaWrapper___iQ9XG .folderWrapper___qROqJ span[class~='ant-tree-checkbox'] {
margin-right: 3px;
margin-left: 10px;
}
.folderAreaWrapper___iQ9XG .folderWrapper___qROqJ span[class~='ant-tree-iconEle'] {
margin-right: 4px;
line-height: 20px !important;
}
.folderAreaWrapper___iQ9XG .folderWrapper___qROqJ span[class~='ant-tree-node-content-wrapper'] {
display: flex;
flex-wrap: nowrap;
}
.folderAreaWrapper___iQ9XG .folderWrapper___qROqJ span[class~='ant-tree-title'] {
flex: 1 1 auto;
}
.folderAreaWrapper___iQ9XG .folderWrapper___qROqJ span[class~='ant-tree-title'] div[class~='ant-row-space-between'] {
margin-left: 5px;
}
.folderAreaWrapper___iQ9XG .folderWrapper___qROqJ .folderIcon___TEiGv {
height: 20px;
width: 20px;
}
.folderAreaWrapper___iQ9XG .folderWrapper___qROqJ .shareFolderIcon___ENLrJ {
height: 20px;
object-fit: contain;
}
.folderAreaWrapper___iQ9XG .folderWrapper___qROqJ .treeNodeItem___ntoZa .treeNodeDifficulty___Q33tO {
margin-left: auto;
}
.folderAreaWrapper___iQ9XG .item_group_ids___cNudt div[class~='ant-form-item-explain-error'] {
padding: 5px 0px 10px 20px;
}
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.31@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.31@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/ResTable/index.less ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.react-resizable {
position: relative;
background-clip: padding-box;
}
.react-resizable-handle {
position: absolute;
width: 10px;
height: 100%;
bottom: 0;
right: -5px;
cursor: col-resize;
z-index: 1;
}
/** 线线;
1000 */
.react-resizable-handle.active::before {
content: '';
position: absolute;
left: 50%;
top: 0;
bottom: 0;
border-left: solid 1px black;
}
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.31@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.31@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Paths/Detail/components/Stage/AddOrEditExercise/SelectExercise/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___A88PD {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___fcLxD {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___MVaTm {
align-items: center;
box-align: center;
}
.flex_box_center_end___rIjBC {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___VVH9a {
flex-direction: column;
box-orient: block-axis;
}
.bg___N8kOB {
background: white;
}
.containerTitle___tSQhE {
height: 88px;
line-height: 88px;
font-size: 18px;
padding: 0 30px;
color: #333;
border-bottom: 1px solid #eee;
display: box;
display: flex;
align-items: center;
box-align: center;
}
.containerTitle___tSQhE div:nth-child(1) {
flex: 1 1;
}
.containerDesc___bGkO2 {
height: 50px;
line-height: 40px;
padding: 0 30px;
margin-bottom: -20px;
margin-top: 10px;
display: box;
display: flex;
}
.containerDesc___bGkO2 p:nth-child(1) {
flex: 1 1;
}
.menus___JjUaL {
padding-right: 31px;
padding-top: 10px;
}
.menus___JjUaL [class~='ant-menu-horizontal'] {
border-bottom: 0;
}
.listItem___iLN1J {
padding: 25px 30px 25px 30px;
display: box;
display: flex;
background: white;
margin-top: 20px;
cursor: pointer;
}
.listItem___iLN1J > div {
flex: 1 1;
}
.listItem___iLN1J:hover {
box-shadow: 0 0 10px #ccc;
}
.info___xx7Uq {
margin-left: 20px;
}
.info___xx7Uq p {
margin-top: 18px;
}
.title___WDNrp {
display: box;
display: flex;
align-items: center;
box-align: center;
}
.title___WDNrp strong {
color: #333;
}
.titleLeft___nkvyn {
flex: 1 1;
}
.titleRight____7Yeh a {
margin-right: 20px;
font-weight: bold;
}
.acitons___ihZra {
height: 70px;
background: white;
display: box;
display: flex;
align-items: center;
box-align: center;
padding: 0 30px;
}
.acitons___ihZra > div:nth-child(2) {
display: box;
display: flex;
align-items: center;
box-align: center;
flex: 1 1;
}
.acitons___ihZra > div:nth-child(2) .move___l3VcY {
cursor: pointer;
color: #999;
padding: 0 16px;
position: relative;
}
.acitons___ihZra > div:nth-child(2) p {
cursor: pointer;
color: #999;
margin-bottom: 0;
}
.acitons___ihZra > div:nth-child(2) p:hover {
color: #333;
}
.acitons___ihZra > div:nth-child(2) p span {
position: relative;
padding: 0 16px;
}
.acitons___ihZra > div:nth-child(2) p span:after {
content: '';
width: 1px;
height: 10px;
background: #ededed;
position: absolute;
right: 0;
top: 50%;
margin-top: -5px;
}
.acitons___ihZra > div:nth-child(2) p:nth-last-child(1) span {
padding-right: 0;
}
.acitons___ihZra > div:nth-child(2) p:nth-last-child(1) span:after {
display: none;
}
.hideHeadCheckbox___PbO3s table {
background: #f4faff;
}
.hideHeadCheckbox___PbO3s table > thead > tr > th:nth-child(1) > div {
display: none;
}
.moveCategory___kR63T {
padding: 30px 0;
position: relative;
top: -25px;
}
.moveCategory___kR63T ul {
box-shadow: 0 0 6px 0 rgba(76, 76, 76, 0.2) !important;
background: white;
padding: 10px 0;
}
.moveCategory___kR63T ul li {
padding: 0 12px;
margin: 5px 0;
font-size: 14px;
}
.tabSearch___JHOHT {
display: flex;
align-items: center;
margin: 8px 0;
}
.warpModal___W28jx .ant-tabs-nav::before {
border-bottom: 0;
}
.modalColumn___TDkuk {
font-size: 14px;
}
.modalColumn___TDkuk .modalRow___XOjkH {
display: flex;
align-items: center;
font-size: 14px;
flex-direction: row;
margin-top: 12px;
}
.modalColumn___TDkuk .modalRow___XOjkH .sup___ri3Vt {
color: #fb3226;
font-size: 16px;
margin-top: 21px;
margin-right: 2px;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.31@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.31@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/CodeBox/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.codeBox___WpkVl {
display: flex;
}
.codeBox___WpkVl > aside {
margin-right: 20px;
height: 50px;
}
.codeBox___WpkVl > aside > div {
color: #f23838;
}
.codeBox___WpkVl > div {
display: flex;
flex-direction: column;
align-items: center;
}
.codeBox___WpkVl > div > div {
color: #999;
margin-top: 6px;
}

@ -3124,8 +3124,10 @@ var Answer = function Answer(_ref) {
exercise = _ref.exercise,
dispatch = _ref.dispatch,
props = objectWithoutProperties_default()(_ref, _excluded);
var location = (0,_umi_production_exports.useLocation)();
var params = (0,_umi_production_exports.useParams)();
var location = (0,_umi_production_exports.useLocation)();
var isClassroomRoute = location.pathname.startsWith('/classrooms');
var urlStr = isClassroomRoute ? "/classrooms/".concat(params.coursesId, "/subject_exercise") : "/paths/".concat(params.pathId);
var _useState = (0,_react_17_0_2_react.useState)({}),
_useState2 = slicedToArray_default()(_useState, 2),
answerData = _useState2[0],
@ -4492,7 +4494,7 @@ var Answer = function Answer(_ref) {
cancelText: '再看看',
centered: true,
onOk: function onOk() {
_umi_production_exports.history.push("/paths/".concat(params.pathId));
_umi_production_exports.history.push(urlStr);
}
});
} else if (b == a) {
@ -4511,8 +4513,8 @@ var Answer = function Answer(_ref) {
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [isPass && !next_exercise_id && "\u6B63\u786E\u7387 ".concat(accuracy, "%\uFF0C\u606D\u559C\u60A8\u5B8C\u6210\u672C\u6B21\u5237\u9898\u4EFB\u52A1\uFF01"), isPass && next_exercise_id && "\u6B63\u786E\u7387 ".concat(accuracy, "%\uFF0C\u606D\u559C\u60A8\u5B8C\u6210\u672C\u6B21\u5237\u9898\u4EFB\u52A1\uFF01\u662F\u5426\u524D\u5F80\u4E0B\u4E00\u9636\u6BB5\u7684\u5237\u9898\u7EC3\u4E60"), !isPass && "\u6B63\u786E\u7387 ".concat(accuracy, "%\uFF0C\u5F88\u9057\u61BE\u60A8\u672A\u5B8C\u6210\u672C\u6B21\u5237\u9898\u4EFB\u52A1\uFF01")]
}),
okText: isPass && !next_exercise_id && '返回课程' || isPass && next_exercise_id && '立即前往' || !isPass && '重新刷题',
cancelText: isPass && next_exercise_id && '稍后再说' || !isPass && '返回课程',
okText: isPass && !next_exercise_id && (isClassroomRoute ? '返回刷题练习' : '返回课程') || isPass && next_exercise_id && '立即前往' || !isPass && '重新刷题',
cancelText: isPass && next_exercise_id && '稍后再说' || !isPass && (isClassroomRoute ? '返回刷题练习' : '返回课程'),
centered: true,
cancelButtonProps: {
style: {
@ -4520,13 +4522,14 @@ var Answer = function Answer(_ref) {
}
},
onCancel: function onCancel() {
return _umi_production_exports.history.push("/paths/".concat(params.pathId));
return _umi_production_exports.history.push(urlStr);
},
onOk: function onOk() {
if (isPass && !next_exercise_id) {
_umi_production_exports.history.push("/paths/".concat(params.pathId));
_umi_production_exports.history.push(urlStr);
} else if (isPass && next_exercise_id) {
_umi_production_exports.history.push("/paths/".concat(params.pathId, "/exercise/").concat(params.stageId, "/exerciseId/").concat(next_exercise_id));
var str = isClassroomRoute ? "/classrooms/".concat(params.coursesId) : "/paths/".concat(params.pathId);
_umi_production_exports.history.push("".concat(str, "/exercise/").concat(params.stageId, "/exerciseId/").concat(next_exercise_id));
} else if (!isPass) {
restPrompt();
}
@ -4550,7 +4553,7 @@ var Answer = function Answer(_ref) {
settwoindex(0);
},
onCancel: function onCancel() {
_umi_production_exports.history.push("/paths/".concat(params.pathId));
_umi_production_exports.history.push(urlStr);
}
});
};

@ -175,6 +175,9 @@ var Statistics = function Statistics(_ref) {
dispatch = _ref.dispatch,
props = objectWithoutProperties_default()(_ref, _excluded);
var params = (0,_umi_production_exports.useParams)();
var location = (0,_umi_production_exports.useLocation)();
var isClassroomRoute = location.pathname.startsWith('/classrooms');
var urlStr = isClassroomRoute ? "/classrooms/".concat(params.coursesId, "/statistics/").concat(params.coursesId) : "/paths/".concat(params.pathId, "/statistics/").concat(params.stageId);
var user_ids = new URL(window.location.href).searchParams.getAll("user_ids");
var _useCustomRequest = (0,useCustomRequest/* useCustomRequest */.U)(paths/* getConsultExercise */.Do, {
practiceId: params === null || params === void 0 ? void 0 : params.practiceId,
@ -954,7 +957,7 @@ var Statistics = function Statistics(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
onClick: function onClick() {
_umi_production_exports.history.push("/paths/".concat(params.pathId, "/statistics/").concat(params.stageId, "/practice/").concat(params === null || params === void 0 ? void 0 : params.practiceId));
_umi_production_exports.history.push("".concat(urlStr, "/practice/").concat(params === null || params === void 0 ? void 0 : params.practiceId));
},
children: "\u8FD4\u56DE"
})
@ -963,7 +966,7 @@ var Statistics = function Statistics(_ref) {
disabled: !(ExerciseData !== null && ExerciseData !== void 0 && (_ExerciseData$review_ = ExerciseData.review_progress) !== null && _ExerciseData$review_ !== void 0 && _ExerciseData$review_.prev_login),
onClick: function onClick() {
var _ExerciseData$review_2;
_umi_production_exports.history.push("/paths/".concat(params.pathId, "/statistics/").concat(params.stageId, "/practice/").concat(params.practiceId, "/detail/").concat(ExerciseData === null || ExerciseData === void 0 || (_ExerciseData$review_2 = ExerciseData.review_progress) === null || _ExerciseData$review_2 === void 0 ? void 0 : _ExerciseData$review_2.prev_login, "?") + (user_ids === null || user_ids === void 0 ? void 0 : user_ids.map(function (item) {
_umi_production_exports.history.push("".concat(urlStr, "/practice/").concat(params.practiceId, "/detail/").concat(ExerciseData === null || ExerciseData === void 0 || (_ExerciseData$review_2 = ExerciseData.review_progress) === null || _ExerciseData$review_2 === void 0 ? void 0 : _ExerciseData$review_2.prev_login, "?") + (user_ids === null || user_ids === void 0 ? void 0 : user_ids.map(function (item) {
return "user_ids=".concat(item);
}).join("&")));
},
@ -973,7 +976,7 @@ var Statistics = function Statistics(_ref) {
disabled: !(ExerciseData !== null && ExerciseData !== void 0 && (_ExerciseData$review_3 = ExerciseData.review_progress) !== null && _ExerciseData$review_3 !== void 0 && _ExerciseData$review_3.next_login),
onClick: function onClick() {
var _ExerciseData$review_4;
_umi_production_exports.history.push("/paths/".concat(params.pathId, "/statistics/").concat(params.stageId, "/practice/").concat(params.practiceId, "/detail/").concat(ExerciseData === null || ExerciseData === void 0 || (_ExerciseData$review_4 = ExerciseData.review_progress) === null || _ExerciseData$review_4 === void 0 ? void 0 : _ExerciseData$review_4.next_login, "?") + (user_ids === null || user_ids === void 0 ? void 0 : user_ids.map(function (item) {
_umi_production_exports.history.push("".concat(urlStr, "/practice/").concat(params.practiceId, "/detail/").concat(ExerciseData === null || ExerciseData === void 0 || (_ExerciseData$review_4 = ExerciseData.review_progress) === null || _ExerciseData$review_4 === void 0 ? void 0 : _ExerciseData$review_4.next_login, "?") + (user_ids === null || user_ids === void 0 ? void 0 : user_ids.map(function (item) {
return "user_ids=".concat(item);
}).join("&")));
},

@ -1458,6 +1458,8 @@ var Statistics = function Statistics(_ref8) {
dispatch = _ref8.dispatch,
props = objectWithoutProperties_default()(_ref8, _excluded3);
var params = (0,_umi_production_exports.useParams)();
var location = (0,_umi_production_exports.useLocation)();
var isClassroomRoute = location.pathname.startsWith('/classrooms');
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
form = _Form$useForm2[0];
@ -1489,14 +1491,16 @@ var Statistics = function Statistics(_ref8) {
order_by: undefined,
question_type: [],
practiceId: params === null || params === void 0 ? void 0 : params.practiceId,
stage_id: params === null || params === void 0 ? void 0 : params.stageId
stage_id: params === null || params === void 0 ? void 0 : params.stageId,
course_id: params === null || params === void 0 ? void 0 : params.coursesId
}),
_useState10 = slicedToArray_default()(_useState9, 2),
urlData = _useState10[0],
setUrlData = _useState10[1];
var _useCustomRequest = (0,useCustomRequest/* useCustomRequest */.U)(paths/* getPractice */.Wf, {
practiceId: params === null || params === void 0 ? void 0 : params.practiceId,
stage_id: params === null || params === void 0 ? void 0 : params.stageId
stage_id: params === null || params === void 0 ? void 0 : params.stageId,
course_id: params === null || params === void 0 ? void 0 : params.coursesId
}),
_useCustomRequest2 = slicedToArray_default()(_useCustomRequest, 4),
PracticeLoading = _useCustomRequest2[1],
@ -1567,7 +1571,8 @@ var Statistics = function Statistics(_ref8) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
var _PracticeData$data;
(0,util/* openNewWindow */.xg)("/paths/".concat(params.pathId, "/statistics/").concat(params.stageId, "/practice/").concat(params.practiceId, "/detail/").concat(text, "?") + (PracticeData === null || PracticeData === void 0 || (_PracticeData$data = PracticeData.data) === null || _PracticeData$data === void 0 || (_PracticeData$data = _PracticeData$data.user_ids) === null || _PracticeData$data === void 0 ? void 0 : _PracticeData$data.map(function (item) {
var urlStr = isClassroomRoute ? "/classrooms/".concat(params.coursesId, "/statistics/").concat(params.coursesId) : "/paths/".concat(params.pathId, "/statistics/").concat(params.stageId);
(0,util/* openNewWindow */.xg)("".concat(urlStr, "/practice/").concat(params.practiceId, "/detail/").concat(text, "?") + (PracticeData === null || PracticeData === void 0 || (_PracticeData$data = PracticeData.data) === null || _PracticeData$data === void 0 || (_PracticeData$data = _PracticeData$data.user_ids) === null || _PracticeData$data === void 0 ? void 0 : _PracticeData$data.map(function (item) {
return "user_ids=".concat(item);
}).join("&")));
},
@ -1785,7 +1790,7 @@ var Statistics = function Statistics(_ref8) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont current mr10 icon-zuojiantou",
onClick: function onClick() {
_umi_production_exports.history.push("/paths/".concat(params.pathId));
_umi_production_exports.history.push(isClassroomRoute ? "/classrooms/".concat(params.coursesId, "/subject_exercise") : "/paths/".concat(params.pathId));
}
}), PracticeData === null || PracticeData === void 0 || (_PracticeData$data2 = PracticeData.data) === null || _PracticeData$data2 === void 0 ? void 0 : _PracticeData$data2.name, "-\u7EC3\u4E60\u7EDF\u8BA1"]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -1909,7 +1914,8 @@ var Statistics = function Statistics(_ref8) {
url: env/* default */.Z.API_SERVER + "/api/subject_exercises/".concat(params === null || params === void 0 ? void 0 : params.practiceId, ".xlsx"),
query: objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
practiceId: params === null || params === void 0 ? void 0 : params.practiceId,
stage_id: params === null || params === void 0 ? void 0 : params.stageId
stage_id: params === null || params === void 0 ? void 0 : params.stageId,
course_id: params === null || params === void 0 ? void 0 : params.coursesId
})
}));
},

File diff suppressed because one or more lines are too long

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