Auto Submit

dev_aliyun_xibeigongye
autosubmit 3 years ago
parent 0604f8e524
commit 6fbde1456f

@ -1,18 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[39602],{
/***/ 509:
/*!*********************************************************************!*\
!*** ./node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js ***!
\*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
// This icon file is generated automatically.
var SearchOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, "name": "search", "theme": "outlined" };
/* harmony default export */ __webpack_exports__["Z"] = (SearchOutlined);
/***/ }),
(self["webpackChunk"] = self["webpackChunk"] || []).push([[12144],{
/***/ 87588:
/*!******************************************************************************!*\
@ -61,73 +48,6 @@ function getDataOrAriaProps(props) {
/***/ }),
/***/ 48783:
/*!****************************************************************!*\
!*** ./node_modules/antd/es/_util/throttleByAnimationFrame.js ***!
\****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "U": function() { return /* binding */ throttleByAnimationFrameDecorator; },
/* harmony export */ "t": function() { return /* binding */ throttleByAnimationFrame; }
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 74902);
/* harmony import */ var rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/raf */ 75164);
function throttleByAnimationFrame(fn) {
var requestId;
var later = function later(args) {
return function () {
requestId = null;
fn.apply(void 0, (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(args));
};
};
var throttled = function throttled() {
if (requestId == null) {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
requestId = (0,rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(later(args));
}
};
throttled.cancel = function () {
rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"].cancel */ .Z.cancel(requestId);
requestId = null;
};
return throttled;
}
function throttleByAnimationFrameDecorator() {
return function throttle(target, key, descriptor) {
var fn = descriptor.value;
var definingProperty = false;
return {
configurable: true,
get: function get() {
// In IE11 calling Object.defineProperty has a side-effect of evaluating the
// getter for the property which is being replaced. This causes infinite
// recursion and an "Out of stack space" error.
// eslint-disable-next-line no-prototype-builtins
if (definingProperty || this === target.prototype || this.hasOwnProperty(key)) {
/* istanbul ignore next */
return fn;
}
var boundFn = throttleByAnimationFrame(fn.bind(this));
definingProperty = true;
Object.defineProperty(this, key, {
value: boundFn,
configurable: true,
writable: true
});
definingProperty = false;
return boundFn;
}
};
};
}
/***/ }),
/***/ 13013:
/*!************************************************!*\
!*** ./node_modules/antd/es/dropdown/index.js ***!
@ -1091,57 +1011,6 @@ var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) {
EyeOutlined_EyeOutlined.displayName = 'EyeOutlined';
/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined));
/***/ }),
/***/ 25783:
/*!*************************************************************************************!*\
!*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js ***!
\*************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _ant_design_icons_svg_es_asn_SearchOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/SearchOutlined */ 509);
/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 93771);
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var SearchOutlined = function SearchOutlined(props, ref) {
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, {
ref: ref,
icon: _ant_design_icons_svg_es_asn_SearchOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z
}));
};
SearchOutlined.displayName = 'SearchOutlined';
/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SearchOutlined));
/***/ }),
/***/ 81626:
/*!*******************************************************!*\
!*** ./node_modules/rc-pagination/es/locale/zh_CN.js ***!
\*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
/* harmony default export */ __webpack_exports__["Z"] = ({
// Options.jsx
items_per_page: '条/页',
jump_to: '跳至',
jump_to_confirm: '确定',
page: '页',
// Pagination.jsx
prev_page: '上一页',
next_page: '下一页',
prev_5: '向前 5 页',
next_5: '向后 5 页',
prev_3: '向前 3 页',
next_3: '向后 3 页',
page_size: '页码'
});
/***/ })
}]);

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[82136],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[15109,34180],{
/***/ 26554:
/*!*******************************************************************!*\
@ -215,6 +215,381 @@ function getPlacements(config) {
/***/ }),
/***/ 75008:
/*!*********************************************************!*\
!*** ./node_modules/antd/es/input/index.js + 5 modules ***!
\*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ input; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js
var form_context = __webpack_require__(65223);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js
var Group = function Group(props) {
var _classNames;
var _useContext = (0,react.useContext)(context/* ConfigContext */.E_),
getPrefixCls = _useContext.getPrefixCls,
direction = _useContext.direction;
var customizePrefixCls = props.prefixCls,
_props$className = props.className,
className = _props$className === void 0 ? '' : _props$className;
var prefixCls = getPrefixCls('input-group', customizePrefixCls);
var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), props.size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), props.size === 'small'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-compact"), props.compact), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
var formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM);
var groupFormItemContext = (0,react.useMemo)(function () {
return (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, formItemContext), {
isFormItemInput: false
});
}, [formItemContext]);
return /*#__PURE__*/react.createElement("span", {
className: cls,
style: props.style,
onMouseEnter: props.onMouseEnter,
onMouseLeave: props.onMouseLeave,
onFocus: props.onFocus,
onBlur: props.onBlur
}, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, {
value: groupFormItemContext
}, props.children));
};
/* harmony default export */ var input_Group = (Group);
// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules
var Input = __webpack_require__(82586);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(97685);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
var esm_typeof = __webpack_require__(71002);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js
// This icon file is generated automatically.
var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" };
/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(93771);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_EyeInvisibleOutlined
}));
};
EyeInvisibleOutlined_EyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined';
/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined));
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules
var EyeOutlined = __webpack_require__(7124);
// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js
var omit = __webpack_require__(98423);
// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js
var es_ref = __webpack_require__(42550);
// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js
var useRemovePasswordTimeout = __webpack_require__(72922);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var defaultIconRender = function defaultIconRender(visible) {
return visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null);
};
var ActionMap = {
click: 'onClick',
hover: 'onMouseOver'
};
var Password = /*#__PURE__*/react.forwardRef(function (props, ref) {
var _props$visibilityTogg = props.visibilityToggle,
visibilityToggle = _props$visibilityTogg === void 0 ? true : _props$visibilityTogg;
var visibilityControlled = (0,esm_typeof/* default */.Z)(visibilityToggle) === 'object' && visibilityToggle.visible !== undefined;
var _useState = (0,react.useState)(function () {
return visibilityControlled ? visibilityToggle.visible : false;
}),
_useState2 = (0,slicedToArray/* default */.Z)(_useState, 2),
visible = _useState2[0],
setVisible = _useState2[1];
var inputRef = (0,react.useRef)(null);
react.useEffect(function () {
if (visibilityControlled) {
setVisible(visibilityToggle.visible);
}
}, [visibilityControlled, visibilityToggle]);
// Remove Password value
var removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef);
var onVisibleChange = function onVisibleChange() {
var disabled = props.disabled;
if (disabled) {
return;
}
if (visible) {
removePasswordTimeout();
}
setVisible(function (prevState) {
var _a;
var newState = !prevState;
if ((0,esm_typeof/* default */.Z)(visibilityToggle) === 'object') {
(_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState);
}
return newState;
});
};
var getIcon = function getIcon(prefixCls) {
var _iconProps;
var _props$action = props.action,
action = _props$action === void 0 ? 'click' : _props$action,
_props$iconRender = props.iconRender,
iconRender = _props$iconRender === void 0 ? defaultIconRender : _props$iconRender;
var iconTrigger = ActionMap[action] || '';
var icon = iconRender(visible);
var iconProps = (_iconProps = {}, (0,defineProperty/* default */.Z)(_iconProps, iconTrigger, onVisibleChange), (0,defineProperty/* default */.Z)(_iconProps, "className", "".concat(prefixCls, "-icon")), (0,defineProperty/* default */.Z)(_iconProps, "key", 'passwordIcon'), (0,defineProperty/* default */.Z)(_iconProps, "onMouseDown", function onMouseDown(e) {
// Prevent focused state lost
// https://github.com/ant-design/ant-design/issues/15173
e.preventDefault();
}), (0,defineProperty/* default */.Z)(_iconProps, "onMouseUp", function onMouseUp(e) {
// Prevent caret position change
// https://github.com/ant-design/ant-design/issues/23524
e.preventDefault();
}), _iconProps);
return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps);
};
var renderPassword = function renderPassword(_ref) {
var getPrefixCls = _ref.getPrefixCls;
var className = props.className,
customizePrefixCls = props.prefixCls,
customizeInputPrefixCls = props.inputPrefixCls,
size = props.size,
restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]);
var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
var prefixCls = getPrefixCls('input-password', customizePrefixCls);
var suffixIcon = visibilityToggle && getIcon(prefixCls);
var inputClassName = classnames_default()(prefixCls, className, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-").concat(size), !!size));
var omittedProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), {
type: visible ? 'text' : 'password',
className: inputClassName,
prefixCls: inputPrefixCls,
suffix: suffixIcon
});
if (size) {
omittedProps.size = size;
}
return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({
ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef)
}, omittedProps));
};
return /*#__PURE__*/react.createElement(context/* ConfigConsumer */.C, null, renderPassword);
});
if (false) {}
/* harmony default export */ var input_Password = (Password);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js
var SearchOutlined = __webpack_require__(25783);
// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
var es_button = __webpack_require__(71577);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js
var SizeContext = __webpack_require__(97647);
// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js
var Compact = __webpack_require__(4173);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js
var reactNode = __webpack_require__(96159);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js
var Search_rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var Search = /*#__PURE__*/react.forwardRef(function (props, ref) {
var _classNames;
var customizePrefixCls = props.prefixCls,
customizeInputPrefixCls = props.inputPrefixCls,
className = props.className,
customizeSize = props.size,
suffix = props.suffix,
_props$enterButton = props.enterButton,
enterButton = _props$enterButton === void 0 ? false : _props$enterButton,
addonAfter = props.addonAfter,
loading = props.loading,
disabled = props.disabled,
customOnSearch = props.onSearch,
customOnChange = props.onChange,
onCompositionStart = props.onCompositionStart,
onCompositionEnd = props.onCompositionEnd,
restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var contextSize = react.useContext(SizeContext/* default */.Z);
var composedRef = react.useRef(false);
var prefixCls = getPrefixCls('input-search', customizePrefixCls);
var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
var _useCompactItemContex = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction),
compactSize = _useCompactItemContex.compactSize;
var size = compactSize || customizeSize || contextSize;
var inputRef = react.useRef(null);
var onChange = function onChange(e) {
if (e && e.target && e.type === 'click' && customOnSearch) {
customOnSearch(e.target.value, e);
}
if (customOnChange) {
customOnChange(e);
}
};
var onMouseDown = function onMouseDown(e) {
var _a;
if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) {
e.preventDefault();
}
};
var onSearch = function onSearch(e) {
var _a, _b;
if (customOnSearch) {
customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e);
}
};
var onPressEnter = function onPressEnter(e) {
if (composedRef.current || loading) {
return;
}
onSearch(e);
};
var searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null;
var btnClassName = "".concat(prefixCls, "-button");
var button;
var enterButtonAsElement = enterButton || {};
var isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true;
if (isAntdButton || enterButtonAsElement.type === 'button') {
button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, (0,esm_extends/* default */.Z)({
onMouseDown: onMouseDown,
onClick: function onClick(e) {
var _a, _b;
(_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e);
onSearch(e);
},
key: 'enterButton'
}, isAntdButton ? {
className: btnClassName,
size: size
} : {}));
} else {
button = /*#__PURE__*/react.createElement(es_button/* default */.Z, {
className: btnClassName,
type: enterButton ? 'primary' : undefined,
size: size,
disabled: disabled,
key: "enterButton",
onMouseDown: onMouseDown,
onClick: onSearch,
loading: loading,
icon: searchIcon
}, enterButton);
}
if (addonAfter) {
button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, {
key: 'addonAfter'
})];
}
var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(size), !!size), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-button"), !!enterButton), _classNames), className);
var handleOnCompositionStart = function handleOnCompositionStart(e) {
composedRef.current = true;
onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);
};
var handleOnCompositionEnd = function handleOnCompositionEnd(e) {
composedRef.current = false;
onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e);
};
return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({
ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref),
onPressEnter: onPressEnter
}, restProps, {
size: size,
onCompositionStart: handleOnCompositionStart,
onCompositionEnd: handleOnCompositionEnd,
prefixCls: inputPrefixCls,
addonAfter: button,
suffix: suffix,
onChange: onChange,
className: cls,
disabled: disabled
}));
});
if (false) {}
/* harmony default export */ var input_Search = (Search);
// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js + 1 modules
var TextArea = __webpack_require__(80173);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js
var input_Input = Input/* default */.ZP;
input_Input.Group = input_Group;
input_Input.Search = input_Search;
input_Input.TextArea = TextArea/* default */.Z;
input_Input.Password = input_Password;
/* harmony default export */ var input = (input_Input);
/***/ }),
/***/ 84908:
/*!***********************************************************!*\
!*** ./node_modules/antd/es/tooltip/index.js + 3 modules ***!
@ -604,6 +979,47 @@ if (false) {}
/***/ }),
/***/ 7124:
/*!**********************************************************************************************!*\
!*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***!
\**********************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_EyeOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js
// This icon file is generated automatically.
var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" };
/* harmony default export */ var asn_EyeOutlined = (EyeOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(93771);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_EyeOutlined
}));
};
EyeOutlined_EyeOutlined.displayName = 'EyeOutlined';
/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined));
/***/ }),
/***/ 97454:
/*!***********************************************************************************!*\
!*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.js ***!

@ -1197,6 +1197,8 @@ var lodash = __webpack_require__(96486);
var DownOutlined = __webpack_require__(39300);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/RightOutlined.js
var RightOutlined = __webpack_require__(43929);
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(7);
// EXTERNAL MODULE: ./src/utils/verifyLogin.tsx + 3 modules
var verifyLogin = __webpack_require__(72551);
// EXTERNAL MODULE: ./src/utils/shixunExec.tsx
@ -1249,6 +1251,7 @@ var _excluded = ["pathsDetail", "globalSetting", "user", "loading", "visibleType
var Option = es_select/* default.Option */.Z.Option;
var SendToClassModal = function SendToClassModal(_ref) {
var pathsDetail = _ref.pathsDetail,
@ -1976,7 +1979,7 @@ var SendToClassModal = function SendToClassModal(_ref) {
}), props.showVideoPlay && props.disabled &&
// ((moment(currentCourse?.end_date).unix()>moment(moment().format('YYYY-MM-DD HH:mm:s')).unix()&&moment(currentCourse?.start_date).unix()<moment(moment().format('YYYY-MM-DD HH:mm:s')).unix())||user.userInfo?.admin ||user.userInfo?.business || item.can_view)&&
item.item_type === 'VideoItem' && notCollectPay && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
children: [isPaths && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, {
children: [!(0,authority/* isCommonStudent */.JA)() && isPaths && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, {
className: "mr10",
type: "primary",
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() {
@ -2040,7 +2043,7 @@ var SendToClassModal = function SendToClassModal(_ref) {
/*#__PURE__*/
// ((moment(currentCourse?.end_date).unix()>moment(moment().format('YYYY-MM-DD HH:mm:s')).unix()&&moment(currentCourse?.start_date).unix()<moment(moment().format('YYYY-MM-DD HH:mm:s')).unix())||user.userInfo?.admin ||user.userInfo?.business || item.can_view)&&
(0,jsx_runtime.jsxs)("aside", {
children: [isPaths && !item.shixun_status && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, {
children: [!(0,authority/* isCommonStudent */.JA)() && isPaths && !item.shixun_status && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, {
className: "ml10",
type: "primary",
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10() {
@ -2072,7 +2075,7 @@ var SendToClassModal = function SendToClassModal(_ref) {
}, _callee10);
})),
children: "\u53D1\u9001"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, {
}), !(0,authority/* isCommonStudent */.JA)() && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, {
className: "ml10",
type: "primary",
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11() {

File diff suppressed because it is too large Load Diff

@ -1156,6 +1156,295 @@ span.ant-radio + * {
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/skeleton/style/index.less ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-skeleton {
display: table;
width: 100%;
}
.ant-skeleton-header {
display: table-cell;
padding-right: 8px;
vertical-align: top;
}
.ant-skeleton-header .ant-skeleton-avatar {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 28px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-header .ant-skeleton-avatar-lg {
width: 32px;
height: 32px;
line-height: 32px;
}
.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-header .ant-skeleton-avatar-sm {
width: 22px;
height: 22px;
line-height: 22px;
}
.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-content {
display: table-cell;
width: 100%;
vertical-align: top;
}
.ant-skeleton-content .ant-skeleton-title {
width: 100%;
height: 14px;
background: rgba(190, 190, 190, 0.2);
border-radius: 2px;
}
.ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph {
margin-top: 20px;
}
.ant-skeleton-content .ant-skeleton-paragraph {
padding: 0;
}
.ant-skeleton-content .ant-skeleton-paragraph > li {
width: 100%;
height: 14px;
list-style: none;
background: rgba(190, 190, 190, 0.2);
border-radius: 2px;
}
.ant-skeleton-content .ant-skeleton-paragraph > li:last-child:not(:first-child):not(:nth-child(2)) {
width: 61%;
}
.ant-skeleton-content .ant-skeleton-paragraph > li + li {
margin-top: 12px;
}
.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title {
margin-top: 8px;
}
.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph {
margin-top: 20px;
}
.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title,
.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph > li {
border-radius: 100px;
}
.ant-skeleton-active .ant-skeleton-title,
.ant-skeleton-active .ant-skeleton-paragraph > li,
.ant-skeleton-active .ant-skeleton-avatar,
.ant-skeleton-active .ant-skeleton-button,
.ant-skeleton-active .ant-skeleton-input,
.ant-skeleton-active .ant-skeleton-image {
position: relative;
/* stylelint-disable-next-line property-no-vendor-prefix,value-no-vendor-prefix */
z-index: 0;
overflow: hidden;
background: transparent;
}
.ant-skeleton-active .ant-skeleton-title::after,
.ant-skeleton-active .ant-skeleton-paragraph > li::after,
.ant-skeleton-active .ant-skeleton-avatar::after,
.ant-skeleton-active .ant-skeleton-button::after,
.ant-skeleton-active .ant-skeleton-input::after,
.ant-skeleton-active .ant-skeleton-image::after {
position: absolute;
top: 0;
right: -150%;
bottom: 0;
left: -150%;
background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);
animation: ant-skeleton-loading 1.4s ease infinite;
content: '';
}
.ant-skeleton.ant-skeleton-block {
width: 100%;
}
.ant-skeleton.ant-skeleton-block .ant-skeleton-button {
width: 100%;
}
.ant-skeleton.ant-skeleton-block .ant-skeleton-input {
width: 100%;
}
.ant-skeleton-element {
display: inline-block;
width: auto;
}
.ant-skeleton-element .ant-skeleton-button {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
border-radius: 2px;
width: 56px;
min-width: 56px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-square {
width: 28px;
min-width: 28px;
}
.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle {
width: 28px;
min-width: 28px;
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round {
border-radius: 28px;
}
.ant-skeleton-element .ant-skeleton-button-lg {
width: 64px;
min-width: 64px;
height: 32px;
line-height: 32px;
}
.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-square {
width: 32px;
min-width: 32px;
}
.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle {
width: 32px;
min-width: 32px;
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round {
border-radius: 32px;
}
.ant-skeleton-element .ant-skeleton-button-sm {
width: 44px;
min-width: 44px;
height: 22px;
line-height: 22px;
}
.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-square {
width: 22px;
min-width: 22px;
}
.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle {
width: 22px;
min-width: 22px;
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round {
border-radius: 22px;
}
.ant-skeleton-element .ant-skeleton-avatar {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 28px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-avatar-lg {
width: 32px;
height: 32px;
line-height: 32px;
}
.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-avatar-sm {
width: 22px;
height: 22px;
line-height: 22px;
}
.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-input {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 140px;
min-width: 140px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-element .ant-skeleton-input-lg {
width: 160px;
min-width: 160px;
height: 32px;
line-height: 32px;
}
.ant-skeleton-element .ant-skeleton-input-sm {
width: 110px;
min-width: 110px;
height: 22px;
line-height: 22px;
}
.ant-skeleton-element .ant-skeleton-image {
display: flex;
align-items: center;
justify-content: center;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 96px;
height: 96px;
line-height: 96px;
}
.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-image-path {
fill: #bfbfbf;
}
.ant-skeleton-element .ant-skeleton-image-svg {
width: 48px;
height: 48px;
line-height: 48px;
max-width: 192px;
max-height: 192px;
}
.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle {
border-radius: 50%;
}
@keyframes ant-skeleton-loading {
0% {
transform: translateX(-37.5%);
}
100% {
transform: translateX(37.5%);
}
}
.ant-skeleton-rtl {
direction: rtl;
}
.ant-skeleton-rtl .ant-skeleton-header {
padding-right: 0;
padding-left: 16px;
}
.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,
.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph > li {
animation-name: ant-skeleton-loading-rtl;
}
.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar {
animation-name: ant-skeleton-loading-rtl;
}
@keyframes ant-skeleton-loading-rtl {
0% {
background-position: 0% 50%;
}
100% {
background-position: 100% 50%;
}
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/rate/style/index.less ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[2395],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[36040,36579,23805,62654,69085],{
/***/ 5467:
/*!**********************************************************!*\
@ -824,6 +824,443 @@ Select.Option = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .Option */ .Wx;
Select.OptGroup = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .OptGroup */ .Xo;
/* harmony default export */ __webpack_exports__["Z"] = (Select);
/***/ }),
/***/ 73481:
/*!*************************************************************!*\
!*** ./node_modules/antd/es/skeleton/index.js + 11 modules ***!
\*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ skeleton; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
var esm_typeof = __webpack_require__(71002);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js
var omit = __webpack_require__(98423);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Element.js
var Element = function Element(props) {
var _classNames, _classNames2;
var prefixCls = props.prefixCls,
className = props.className,
style = props.style,
size = props.size,
shape = props.shape;
var sizeCls = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), _classNames));
var shapeCls = classnames_default()((_classNames2 = {}, (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-circle"), shape === 'circle'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-square"), shape === 'square'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-round"), shape === 'round'), _classNames2));
var sizeStyle = react.useMemo(function () {
return typeof size === 'number' ? {
width: size,
height: size,
lineHeight: "".concat(size, "px")
} : {};
}, [size]);
return /*#__PURE__*/react.createElement("span", {
className: classnames_default()(prefixCls, sizeCls, shapeCls, className),
style: (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, sizeStyle), style)
});
};
/* harmony default export */ var skeleton_Element = (Element);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Avatar.js
var SkeletonAvatar = function SkeletonAvatar(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
_props$shape = props.shape,
shape = _props$shape === void 0 ? 'circle' : _props$shape,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls', 'className']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-avatar"),
shape: shape,
size: size
}, otherProps)));
};
/* harmony default export */ var Avatar = (SkeletonAvatar);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Button.js
var SkeletonButton = function SkeletonButton(props) {
var _classNames;
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
_props$block = props.block,
block = _props$block === void 0 ? false : _props$block,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-button"),
size: size
}, otherProps)));
};
/* harmony default export */ var Button = (SkeletonButton);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js
// This icon file is generated automatically.
var DotChartOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "dot-chart", "theme": "outlined" };
/* harmony default export */ var asn_DotChartOutlined = (DotChartOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(93771);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DotChartOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var DotChartOutlined_DotChartOutlined = function DotChartOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_DotChartOutlined
}));
};
DotChartOutlined_DotChartOutlined.displayName = 'DotChartOutlined';
/* harmony default export */ var icons_DotChartOutlined = (/*#__PURE__*/react.forwardRef(DotChartOutlined_DotChartOutlined));
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Node.js
var SkeletonNode = function SkeletonNode(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
style = props.style,
active = props.active,
children = props.children;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
var content = children !== null && children !== void 0 ? children : /*#__PURE__*/react.createElement(icons_DotChartOutlined, null);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement("div", {
className: classnames_default()("".concat(prefixCls, "-image"), className),
style: style
}, content));
};
/* harmony default export */ var Node = (SkeletonNode);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Image.js
var path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';
var SkeletonImage = function SkeletonImage(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
style = props.style,
active = props.active;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement("div", {
className: classnames_default()("".concat(prefixCls, "-image"), className),
style: style
}, /*#__PURE__*/react.createElement("svg", {
viewBox: "0 0 1098 1024",
xmlns: "http://www.w3.org/2000/svg",
className: "".concat(prefixCls, "-image-svg")
}, /*#__PURE__*/react.createElement("path", {
d: path,
className: "".concat(prefixCls, "-image-path")
}))));
};
/* harmony default export */ var Image = (SkeletonImage);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Input.js
var SkeletonInput = function SkeletonInput(props) {
var _classNames;
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
block = props.block,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-input"),
size: size
}, otherProps)));
};
/* harmony default export */ var Input = (SkeletonInput);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(74902);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Paragraph.js
var Paragraph = function Paragraph(props) {
var getWidth = function getWidth(index) {
var width = props.width,
_props$rows = props.rows,
rows = _props$rows === void 0 ? 2 : _props$rows;
if (Array.isArray(width)) {
return width[index];
}
// last paragraph
if (rows - 1 === index) {
return width;
}
return undefined;
};
var prefixCls = props.prefixCls,
className = props.className,
style = props.style,
rows = props.rows;
var rowList = (0,toConsumableArray/* default */.Z)(Array(rows)).map(function (_, index) {
return (
/*#__PURE__*/
// eslint-disable-next-line react/no-array-index-key
react.createElement("li", {
key: index,
style: {
width: getWidth(index)
}
})
);
});
return /*#__PURE__*/react.createElement("ul", {
className: classnames_default()(prefixCls, className),
style: style
}, rowList);
};
/* harmony default export */ var skeleton_Paragraph = (Paragraph);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Title.js
/* eslint-disable jsx-a11y/heading-has-content */
var Title = function Title(_ref) {
var prefixCls = _ref.prefixCls,
className = _ref.className,
width = _ref.width,
style = _ref.style;
return /*#__PURE__*/react.createElement("h3", {
className: classnames_default()(prefixCls, className),
style: (0,esm_extends/* default */.Z)({
width: width
}, style)
});
};
/* harmony default export */ var skeleton_Title = (Title);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Skeleton.js
function getComponentProps(prop) {
if (prop && (0,esm_typeof/* default */.Z)(prop) === 'object') {
return prop;
}
return {};
}
function getAvatarBasicProps(hasTitle, hasParagraph) {
if (hasTitle && !hasParagraph) {
// Square avatar
return {
size: 'large',
shape: 'square'
};
}
return {
size: 'large',
shape: 'circle'
};
}
function getTitleBasicProps(hasAvatar, hasParagraph) {
if (!hasAvatar && hasParagraph) {
return {
width: '38%'
};
}
if (hasAvatar && hasParagraph) {
return {
width: '50%'
};
}
return {};
}
function getParagraphBasicProps(hasAvatar, hasTitle) {
var basicProps = {};
// Width
if (!hasAvatar || !hasTitle) {
basicProps.width = '61%';
}
// Rows
if (!hasAvatar && hasTitle) {
basicProps.rows = 3;
} else {
basicProps.rows = 2;
}
return basicProps;
}
var Skeleton = function Skeleton(props) {
var customizePrefixCls = props.prefixCls,
loading = props.loading,
className = props.className,
style = props.style,
children = props.children,
_props$avatar = props.avatar,
avatar = _props$avatar === void 0 ? false : _props$avatar,
_props$title = props.title,
title = _props$title === void 0 ? true : _props$title,
_props$paragraph = props.paragraph,
paragraph = _props$paragraph === void 0 ? true : _props$paragraph,
active = props.active,
round = props.round;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
if (loading || !('loading' in props)) {
var _classNames;
var hasAvatar = !!avatar;
var hasTitle = !!title;
var hasParagraph = !!paragraph;
// Avatar
var avatarNode;
if (hasAvatar) {
var avatarProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-avatar")
}, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar));
// We direct use SkeletonElement as avatar in skeleton internal.
avatarNode = /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-header")
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({}, avatarProps)));
}
var contentNode;
if (hasTitle || hasParagraph) {
// Title
var $title;
if (hasTitle) {
var titleProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-title")
}, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title));
$title = /*#__PURE__*/react.createElement(skeleton_Title, (0,esm_extends/* default */.Z)({}, titleProps));
}
// Paragraph
var paragraphNode;
if (hasParagraph) {
var paragraphProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-paragraph")
}, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph));
paragraphNode = /*#__PURE__*/react.createElement(skeleton_Paragraph, (0,esm_extends/* default */.Z)({}, paragraphProps));
}
contentNode = /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-content")
}, $title, paragraphNode);
}
var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-avatar"), hasAvatar), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-round"), round), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls,
style: style
}, avatarNode, contentNode);
}
return typeof children !== 'undefined' ? children : null;
};
Skeleton.Button = Button;
Skeleton.Avatar = Avatar;
Skeleton.Input = Input;
Skeleton.Image = Image;
Skeleton.Node = Node;
/* harmony default export */ var skeleton_Skeleton = (Skeleton);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/index.js
/* harmony default export */ var skeleton = (skeleton_Skeleton);
/***/ }),
/***/ 61099:
/*!******************************************************************!*\
!*** ./node_modules/antd/es/skeleton/style/index.js + 1 modules ***!
\******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.js
/***/ })
}]);

@ -960,14 +960,29 @@ var WorkList = function WorkList(_ref) {
span: 24,
className: "mt15 pl30",
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_39__/* ["default"] */ .Z, {
checked: data.allow_late,
disabled: disabled || allowLateDisabled,
checked: data.allow_late
// 是否禁用开启补交功能:
,
disabled: disabled || allowLateDisabled
// disabled={disabled} //------new
,
onChange: function onChange() {
var _classroomList$Assist10;
if ((0,_utils_authority__WEBPACK_IMPORTED_MODULE_18__/* .isAssistant */ .Rm)() && !((_classroomList$Assist10 = classroomList.AssistantObject.practice) !== null && _classroomList$Assist10 !== void 0 && _classroomList$Assist10.can_late)) {
antd_es_message__WEBPACK_IMPORTED_MODULE_28__/* ["default"].warn */ .ZP.warn('您未获取此权限,需向管理员申请权限才能使用此功能');
return;
}
// Modal.info({
// // <i className='iconfont icon-tishi1'></i>
// width: 435,
// title: <div>开启补交提示</div>,
// content: <div style={{ padding: "20px", background: "#f6f7f9" }}>
// <div>1.开启补交后不可关闭,补交方式提交保存后不可修改;</div>
// <div>2.补交截止时间必须晚于作业截止时间;</div>
// <div>3.作业阶段进入“补交中”后不可变更作业截止时间。</div>
// </div>,
// okText: "确定",
// })
data.allow_late = !data.allow_late;
if (repairSettings == '') {
setRepairSetting([{

@ -152,12 +152,12 @@ var LanguageSelect = function LanguageSelect(_ref) {
}
}, [disciplinesData]);
(0,react.useEffect)(function () {
console.log(knowledgeData.length === 0, '数量');
// console.log(knowledgeData.length === 0, '数量')
if (knowledgeData.length !== 0) {
var _knowledgeWarp$curren, _knowledgeWarp$curren2;
console.log(knowledgeWarp === null || knowledgeWarp === void 0 ? void 0 : (_knowledgeWarp$curren = knowledgeWarp.current) === null || _knowledgeWarp$curren === void 0 ? void 0 : _knowledgeWarp$curren.clientHeight, '高度');
var _knowledgeWarp$curren;
// console.log(knowledgeWarp?.current?.clientHeight, '高度')
//两个像素的偏差106+2
if ((knowledgeWarp === null || knowledgeWarp === void 0 ? void 0 : (_knowledgeWarp$curren2 = knowledgeWarp.current) === null || _knowledgeWarp$curren2 === void 0 ? void 0 : _knowledgeWarp$curren2.clientHeight) > 108) {
if ((knowledgeWarp === null || knowledgeWarp === void 0 ? void 0 : (_knowledgeWarp$curren = knowledgeWarp.current) === null || _knowledgeWarp$curren === void 0 ? void 0 : _knowledgeWarp$curren.clientHeight) > 108) {
setKnowledgeShow(1);
} else {
setKnowledgeShow(0);
@ -206,6 +206,7 @@ var LanguageSelect = function LanguageSelect(_ref) {
},
children: "\u5168\u90E8"
}), teachGroupData === null || teachGroupData === void 0 ? void 0 : teachGroupData.map(function (item) {
// console.log(item, "itemssssss");
return /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
className: "".concat(LanguageSelectmodules.directionItem, " ").concat(teachGroupValue === item.group_id ? LanguageSelectmodules.active : '', " "),
onClick: function onClick() {
@ -333,7 +334,7 @@ var LanguageSelect = function LanguageSelect(_ref) {
className: LanguageSelectmodules.directionContentWrap,
style: {
overflow: 'hidden',
height: knowledgeShow === 1 ? 106 : 'auto'
height: knowledgeShow === 1 ? 94 : 'auto'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", {
className: "".concat(LanguageSelectmodules.directionItem, " ").concat(knowledgeValue === -1 ? LanguageSelectmodules.active : '', " "),

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[63183,40874,36740,69771],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[63183,36740,69771],{
/***/ 66023:
/*!*******************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[8331],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[64547],{
/***/ 51042:
/*!*****************************************************************!*\
@ -584,6 +584,443 @@ Select.Option = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .Option */ .Wx;
Select.OptGroup = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .OptGroup */ .Xo;
/* harmony default export */ __webpack_exports__["Z"] = (Select);
/***/ }),
/***/ 73481:
/*!*************************************************************!*\
!*** ./node_modules/antd/es/skeleton/index.js + 11 modules ***!
\*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ skeleton; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
var esm_typeof = __webpack_require__(71002);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js
var omit = __webpack_require__(98423);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Element.js
var Element = function Element(props) {
var _classNames, _classNames2;
var prefixCls = props.prefixCls,
className = props.className,
style = props.style,
size = props.size,
shape = props.shape;
var sizeCls = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), _classNames));
var shapeCls = classnames_default()((_classNames2 = {}, (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-circle"), shape === 'circle'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-square"), shape === 'square'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-round"), shape === 'round'), _classNames2));
var sizeStyle = react.useMemo(function () {
return typeof size === 'number' ? {
width: size,
height: size,
lineHeight: "".concat(size, "px")
} : {};
}, [size]);
return /*#__PURE__*/react.createElement("span", {
className: classnames_default()(prefixCls, sizeCls, shapeCls, className),
style: (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, sizeStyle), style)
});
};
/* harmony default export */ var skeleton_Element = (Element);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Avatar.js
var SkeletonAvatar = function SkeletonAvatar(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
_props$shape = props.shape,
shape = _props$shape === void 0 ? 'circle' : _props$shape,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls', 'className']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-avatar"),
shape: shape,
size: size
}, otherProps)));
};
/* harmony default export */ var Avatar = (SkeletonAvatar);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Button.js
var SkeletonButton = function SkeletonButton(props) {
var _classNames;
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
_props$block = props.block,
block = _props$block === void 0 ? false : _props$block,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-button"),
size: size
}, otherProps)));
};
/* harmony default export */ var Button = (SkeletonButton);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js
// This icon file is generated automatically.
var DotChartOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "dot-chart", "theme": "outlined" };
/* harmony default export */ var asn_DotChartOutlined = (DotChartOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(93771);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DotChartOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var DotChartOutlined_DotChartOutlined = function DotChartOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_DotChartOutlined
}));
};
DotChartOutlined_DotChartOutlined.displayName = 'DotChartOutlined';
/* harmony default export */ var icons_DotChartOutlined = (/*#__PURE__*/react.forwardRef(DotChartOutlined_DotChartOutlined));
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Node.js
var SkeletonNode = function SkeletonNode(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
style = props.style,
active = props.active,
children = props.children;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
var content = children !== null && children !== void 0 ? children : /*#__PURE__*/react.createElement(icons_DotChartOutlined, null);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement("div", {
className: classnames_default()("".concat(prefixCls, "-image"), className),
style: style
}, content));
};
/* harmony default export */ var Node = (SkeletonNode);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Image.js
var path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';
var SkeletonImage = function SkeletonImage(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
style = props.style,
active = props.active;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement("div", {
className: classnames_default()("".concat(prefixCls, "-image"), className),
style: style
}, /*#__PURE__*/react.createElement("svg", {
viewBox: "0 0 1098 1024",
xmlns: "http://www.w3.org/2000/svg",
className: "".concat(prefixCls, "-image-svg")
}, /*#__PURE__*/react.createElement("path", {
d: path,
className: "".concat(prefixCls, "-image-path")
}))));
};
/* harmony default export */ var Image = (SkeletonImage);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Input.js
var SkeletonInput = function SkeletonInput(props) {
var _classNames;
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
block = props.block,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-input"),
size: size
}, otherProps)));
};
/* harmony default export */ var Input = (SkeletonInput);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(74902);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Paragraph.js
var Paragraph = function Paragraph(props) {
var getWidth = function getWidth(index) {
var width = props.width,
_props$rows = props.rows,
rows = _props$rows === void 0 ? 2 : _props$rows;
if (Array.isArray(width)) {
return width[index];
}
// last paragraph
if (rows - 1 === index) {
return width;
}
return undefined;
};
var prefixCls = props.prefixCls,
className = props.className,
style = props.style,
rows = props.rows;
var rowList = (0,toConsumableArray/* default */.Z)(Array(rows)).map(function (_, index) {
return (
/*#__PURE__*/
// eslint-disable-next-line react/no-array-index-key
react.createElement("li", {
key: index,
style: {
width: getWidth(index)
}
})
);
});
return /*#__PURE__*/react.createElement("ul", {
className: classnames_default()(prefixCls, className),
style: style
}, rowList);
};
/* harmony default export */ var skeleton_Paragraph = (Paragraph);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Title.js
/* eslint-disable jsx-a11y/heading-has-content */
var Title = function Title(_ref) {
var prefixCls = _ref.prefixCls,
className = _ref.className,
width = _ref.width,
style = _ref.style;
return /*#__PURE__*/react.createElement("h3", {
className: classnames_default()(prefixCls, className),
style: (0,esm_extends/* default */.Z)({
width: width
}, style)
});
};
/* harmony default export */ var skeleton_Title = (Title);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Skeleton.js
function getComponentProps(prop) {
if (prop && (0,esm_typeof/* default */.Z)(prop) === 'object') {
return prop;
}
return {};
}
function getAvatarBasicProps(hasTitle, hasParagraph) {
if (hasTitle && !hasParagraph) {
// Square avatar
return {
size: 'large',
shape: 'square'
};
}
return {
size: 'large',
shape: 'circle'
};
}
function getTitleBasicProps(hasAvatar, hasParagraph) {
if (!hasAvatar && hasParagraph) {
return {
width: '38%'
};
}
if (hasAvatar && hasParagraph) {
return {
width: '50%'
};
}
return {};
}
function getParagraphBasicProps(hasAvatar, hasTitle) {
var basicProps = {};
// Width
if (!hasAvatar || !hasTitle) {
basicProps.width = '61%';
}
// Rows
if (!hasAvatar && hasTitle) {
basicProps.rows = 3;
} else {
basicProps.rows = 2;
}
return basicProps;
}
var Skeleton = function Skeleton(props) {
var customizePrefixCls = props.prefixCls,
loading = props.loading,
className = props.className,
style = props.style,
children = props.children,
_props$avatar = props.avatar,
avatar = _props$avatar === void 0 ? false : _props$avatar,
_props$title = props.title,
title = _props$title === void 0 ? true : _props$title,
_props$paragraph = props.paragraph,
paragraph = _props$paragraph === void 0 ? true : _props$paragraph,
active = props.active,
round = props.round;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
if (loading || !('loading' in props)) {
var _classNames;
var hasAvatar = !!avatar;
var hasTitle = !!title;
var hasParagraph = !!paragraph;
// Avatar
var avatarNode;
if (hasAvatar) {
var avatarProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-avatar")
}, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar));
// We direct use SkeletonElement as avatar in skeleton internal.
avatarNode = /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-header")
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({}, avatarProps)));
}
var contentNode;
if (hasTitle || hasParagraph) {
// Title
var $title;
if (hasTitle) {
var titleProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-title")
}, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title));
$title = /*#__PURE__*/react.createElement(skeleton_Title, (0,esm_extends/* default */.Z)({}, titleProps));
}
// Paragraph
var paragraphNode;
if (hasParagraph) {
var paragraphProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-paragraph")
}, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph));
paragraphNode = /*#__PURE__*/react.createElement(skeleton_Paragraph, (0,esm_extends/* default */.Z)({}, paragraphProps));
}
contentNode = /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-content")
}, $title, paragraphNode);
}
var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-avatar"), hasAvatar), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-round"), round), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls,
style: style
}, avatarNode, contentNode);
}
return typeof children !== 'undefined' ? children : null;
};
Skeleton.Button = Button;
Skeleton.Avatar = Avatar;
Skeleton.Input = Input;
Skeleton.Image = Image;
Skeleton.Node = Node;
/* harmony default export */ var skeleton_Skeleton = (Skeleton);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/index.js
/* harmony default export */ var skeleton = (skeleton_Skeleton);
/***/ }),
/***/ 61099:
/*!******************************************************************!*\
!*** ./node_modules/antd/es/skeleton/style/index.js + 1 modules ***!
\******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.js
/***/ }),
/***/ 20550:

@ -346,144 +346,6 @@ li:last-child > .ant-breadcrumb-separator {
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Topics/Exercise/Detail/components/editor.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___p1qG1 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___EHoRl {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___c0u2d {
align-items: center;
box-align: center;
}
.flex_box_center_end___ueiDD {
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___tyRHS {
flex-direction: column;
box-orient: block-axis;
}
.wrap___ce8sS {
padding: 20px 30px;
box-sizing: border-box;
}
.modal___yzD47 div[class~='ant-modal-confirm-content'] {
font-size: 16px;
text-align: center;
}
.modal___yzD47 span[class~='ant-modal-title'] {
font-size: 16px;
}
.titleWrap___OBPcs {
margin: 10px 0px;
}
.required___ncxFF {
margin-right: 4px;
color: #e04040;
font-size: 16px;
}
.title___cxIaz {
font-size: 14px;
color: #333333;
}
.colorGray___NXXsn {
color: #888888;
}
.choiceWrap___AhJbr {
display: flex;
margin-top: 15px;
}
.answer____f42Z {
color: #888;
display: block;
width: 38px;
height: 38px;
text-align: center;
line-height: 38px;
border-radius: 4px;
cursor: pointer;
border: 1px solid #e2e2e2;
margin-right: 10px;
}
.activeAnswer___BqxNg {
background: #ff7500;
color: #ffffff;
border: 1px solid #ff7500;
}
.deleteIcon___iHXv4 {
cursor: pointer;
color: #ccc;
margin-left: 15px;
font-size: 18px;
}
.addIcon___Kb1l4 {
cursor: pointer;
color: #29bd8b;
margin-left: 6px;
font-size: 16px;
padding-top: 1px;
}
.editorWrap___UmeId {
flex: 1 1;
}
.htmlWrap____EtjV {
display: flex;
margin-top: 0px;
min-height: 38px;
border-radius: 2px;
max-width: 1056px;
word-break: break-all;
border: 1px solid #dddddd;
}
.htmlWrap____EtjV p {
margin: 7px 10px;
}
.radio___zqqhF {
width: 60px;
height: 32px;
line-height: 32px;
text-align: center;
}
.color333___PUxW5 {
color: #333;
}
.color999___Uiwst {
color: #999;
}
.questionType___GcJoU {
display: box;
display: flex;
}
.questionType___GcJoU > div {
flex: 1 1;
}
.questionType___GcJoU > span {
display: none;
}
.questionChoices___WgikS {
margin-top: 15px;
}
.questionChoices___WgikS > div {
margin: 8px 0;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/tag/style/index.less ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@ -737,231 +599,290 @@ li:last-child > .ant-breadcrumb-separator {
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Editor/NullChildEditor/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex___eLcnP {
display: flex;
display: -ms-flex;
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/skeleton/style/index.less ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-skeleton {
display: table;
width: 100%;
}
.flex1___yUTT7 {
flex: 1 1;
.ant-skeleton-header {
display: table-cell;
padding-right: 8px;
vertical-align: top;
}
.color666___TiUhG {
color: #666;
.ant-skeleton-header .ant-skeleton-avatar {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 28px;
height: 28px;
line-height: 28px;
}
.error___gTTtv {
border-color: #f5222d;
.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.deleteIcon___mnZW1 {
cursor: pointer;
color: #ccc;
margin-left: 15px;
font-size: 18px;
.ant-skeleton-header .ant-skeleton-avatar-lg {
width: 32px;
height: 32px;
line-height: 32px;
}
.addIcon___JC5NS {
cursor: pointer;
color: #29bd8b;
margin-left: 6px;
font-size: 16px;
padding-top: 1px;
.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle {
border-radius: 50%;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Topics/Exercise/Detail/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___eWsYC {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
.ant-skeleton-header .ant-skeleton-avatar-sm {
width: 22px;
height: 22px;
line-height: 22px;
}
.flex_space_between___RALuo {
justify-content: space-between;
-webkit-box-pack: justify;
.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.flex_box_vertical_center___f7uVp {
align-items: center;
box-align: center;
.ant-skeleton-content {
display: table-cell;
width: 100%;
vertical-align: top;
}
.flex_box_center_end___UxPR3 {
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___YUFuv {
flex-direction: column;
box-orient: block-axis;
.ant-skeleton-content .ant-skeleton-title {
width: 100%;
height: 14px;
background: rgba(190, 190, 190, 0.2);
border-radius: 2px;
}
.bg___zWTsF {
background: white;
.ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph {
margin-top: 20px;
}
.containerTitle___DzTZh {
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;
.ant-skeleton-content .ant-skeleton-paragraph {
padding: 0;
}
.containerTitle___DzTZh div:nth-child(1) {
flex: 1 1;
.ant-skeleton-content .ant-skeleton-paragraph > li {
width: 100%;
height: 14px;
list-style: none;
background: rgba(190, 190, 190, 0.2);
border-radius: 2px;
}
.containerDesc___a3TiA {
display: box;
display: flex;
.ant-skeleton-content .ant-skeleton-paragraph > li:last-child:not(:first-child):not(:nth-child(2)) {
width: 61%;
}
.containerDesc___a3TiA div:nth-child(1) {
flex: 1 1;
.ant-skeleton-content .ant-skeleton-paragraph > li + li {
margin-top: 12px;
}
.listItem____nHKG {
padding: 25px 30px 25px 30px;
display: box;
display: flex;
background: white;
.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title {
margin-top: 8px;
}
.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph {
margin-top: 20px;
cursor: pointer;
}
.listItem____nHKG > div {
flex: 1 1;
.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title,
.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph > li {
border-radius: 100px;
}
.listItem____nHKG:hover {
box-shadow: 0 0 10px #ccc;
.ant-skeleton-active .ant-skeleton-title,
.ant-skeleton-active .ant-skeleton-paragraph > li,
.ant-skeleton-active .ant-skeleton-avatar,
.ant-skeleton-active .ant-skeleton-button,
.ant-skeleton-active .ant-skeleton-input,
.ant-skeleton-active .ant-skeleton-image {
position: relative;
/* stylelint-disable-next-line property-no-vendor-prefix,value-no-vendor-prefix */
z-index: 0;
overflow: hidden;
background: transparent;
}
.info___LWlgA {
margin-left: 20px;
.ant-skeleton-active .ant-skeleton-title::after,
.ant-skeleton-active .ant-skeleton-paragraph > li::after,
.ant-skeleton-active .ant-skeleton-avatar::after,
.ant-skeleton-active .ant-skeleton-button::after,
.ant-skeleton-active .ant-skeleton-input::after,
.ant-skeleton-active .ant-skeleton-image::after {
position: absolute;
top: 0;
right: -150%;
bottom: 0;
left: -150%;
background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);
animation: ant-skeleton-loading 1.4s ease infinite;
content: '';
}
.info___LWlgA p {
margin-top: 18px;
.ant-skeleton.ant-skeleton-block {
width: 100%;
}
.title___gtaI4 {
display: box;
display: flex;
align-items: center;
box-align: center;
.ant-skeleton.ant-skeleton-block .ant-skeleton-button {
width: 100%;
}
.title___gtaI4 strong {
color: #333;
.ant-skeleton.ant-skeleton-block .ant-skeleton-input {
width: 100%;
}
.titleLeft___Ce3h9 {
flex: 1 1;
.ant-skeleton-element {
display: inline-block;
width: auto;
}
.titleRight___gARIc a {
margin-right: 20px;
font-weight: bold;
.ant-skeleton-element .ant-skeleton-button {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
border-radius: 2px;
width: 56px;
min-width: 56px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-square {
width: 28px;
min-width: 28px;
}
.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle {
width: 28px;
min-width: 28px;
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round {
border-radius: 28px;
}
.ant-skeleton-element .ant-skeleton-button-lg {
width: 64px;
min-width: 64px;
height: 32px;
line-height: 32px;
}
.acitons___MrR2u {
height: 70px;
background: white;
margin-top: 20px;
display: box;
display: flex;
align-items: center;
box-align: center;
padding: 0 30px;
.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-square {
width: 32px;
min-width: 32px;
}
.acitons___MrR2u > div:nth-child(1) {
flex: 1 1;
.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle {
width: 32px;
min-width: 32px;
border-radius: 50%;
}
.acitons___MrR2u > div:nth-child(2) {
display: box;
display: flex;
align-items: center;
box-align: center;
.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round {
border-radius: 32px;
}
.acitons___MrR2u > div:nth-child(2) p {
cursor: pointer;
color: #999;
.ant-skeleton-element .ant-skeleton-button-sm {
width: 44px;
min-width: 44px;
height: 22px;
line-height: 22px;
}
.acitons___MrR2u > div:nth-child(2) p:hover {
color: #333;
.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-square {
width: 22px;
min-width: 22px;
}
.acitons___MrR2u > div:nth-child(2) p span {
position: relative;
padding: 0 20px;
.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle {
width: 22px;
min-width: 22px;
border-radius: 50%;
}
.acitons___MrR2u > div:nth-child(2) p span:after {
content: '';
width: 1px;
height: 10px;
background: #ededed;
position: absolute;
right: 0;
top: 50%;
margin-top: -5px;
.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round {
border-radius: 22px;
}
.acitons___MrR2u > div:nth-child(2) p:nth-last-child(1) span {
padding-right: 0;
.ant-skeleton-element .ant-skeleton-avatar {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 28px;
height: 28px;
line-height: 28px;
}
.acitons___MrR2u > div:nth-child(2) p:nth-last-child(1) span:after {
display: none;
.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.export___u_8cL {
position: absolute;
right: 20px;
top: 23px;
z-index: 2;
font-size: 16px;
.ant-skeleton-element .ant-skeleton-avatar-lg {
width: 32px;
height: 32px;
line-height: 32px;
}
.export___u_8cL a,
.export___u_8cL button {
margin-left: 30px;
.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle {
border-radius: 50%;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Topics/components/SendToClassModal.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.title___XAxiE {
font-size: 14px;
color: #ff9d18;
}
.radioWrap___k0pOB {
height: 270px;
overflow-y: auto;
overflow-x: hidden;
margin-top: 13px;
margin-bottom: 5px;
}
.radioWrap___k0pOB::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.05) !important;
border-radius: 3px;
}
.radioWrap___k0pOB::-webkit-scrollbar-track {
background-color: #f6f7f9 !important;
box-shadow: none !important;
box-shadow: initial !important;
}
.radio___x9kMt {
display: block;
width: 500px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
.ant-skeleton-element .ant-skeleton-avatar-sm {
width: 22px;
height: 22px;
line-height: 22px;
}
.radio___x9kMt span {
font-size: 14px;
.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-input {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 140px;
min-width: 140px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-element .ant-skeleton-input-lg {
width: 160px;
min-width: 160px;
height: 32px;
line-height: 32px;
}
.ant-skeleton-element .ant-skeleton-input-sm {
width: 110px;
min-width: 110px;
height: 22px;
line-height: 22px;
}
.ant-skeleton-element .ant-skeleton-image {
display: flex;
align-items: center;
justify-content: center;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 96px;
height: 96px;
line-height: 96px;
}
.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-image-path {
fill: #bfbfbf;
}
.ant-skeleton-element .ant-skeleton-image-svg {
width: 48px;
height: 48px;
line-height: 48px;
max-width: 192px;
max-height: 192px;
}
.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle {
border-radius: 50%;
}
@keyframes ant-skeleton-loading {
0% {
transform: translateX(-37.5%);
}
100% {
transform: translateX(37.5%);
}
}
.ant-skeleton-rtl {
direction: rtl;
}
.ant-skeleton-rtl .ant-skeleton-header {
padding-right: 0;
padding-left: 16px;
}
.colorFF0000___IMgd0 {
color: #ff0000;
.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,
.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph > li {
animation-name: ant-skeleton-loading-rtl;
}
.pagination___ou2ht {
margin: 0 auto;
margin-top: 10px;
.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar {
animation-name: ant-skeleton-loading-rtl;
}
@keyframes ant-skeleton-loading-rtl {
0% {
background-position: 0% 50%;
}
100% {
background-position: 100% 50%;
}
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
@ -1068,158 +989,3 @@ li:last-child > .ant-breadcrumb-separator {
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/reset.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___vG4eV {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___qVVxe {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___P8Z8s {
align-items: center;
box-align: center;
}
.flex_box_center_end___VMme3 {
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___VMHwm {
flex-direction: column;
box-orient: block-axis;
}
.CustomCss___fWNtn .ant-modal-header {
height: 82px;
font-size: 16px;
font-weight: 500;
color: #000000;
padding: 30px 40px;
border: 0;
}
.CustomCss___fWNtn .ant-modal-body {
padding: 0 40px;
}
.CustomCss___fWNtn .ant-modal-footer {
padding: 30px 40px;
border: 0;
}
.CustomCss___fWNtn .ant-modal-footer button:first-child {
padding: 0 16px;
border-radius: 2px;
border: 1px solid rgba(195, 207, 224, 0.5);
background-color: rgba(248, 249, 252, 0.5);
margin-right: 20px;
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomCss___fWNtn .ant-modal-footer button:last-child {
padding: 0 16px;
background: #f6f7f9 linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #bacffe;
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomCss___fWNtn .ant-modal-close {
top: 22px;
right: 29px;
}
.CustomCss___fWNtn .ant-modal-close .ant-modal-close-icon {
color: #979797;
font-size: 26px;
}
.CustomTipsModalCss___MmFkT .ant-modal-body {
padding: 0;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-title {
height: 82px;
font-size: 16px;
font-weight: 500;
color: #000000;
padding: 30px 40px;
border: 0;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-body .ant-modal-confirm-content {
padding: 0 40px;
color: #000000;
font-size: 14px;
margin: 0;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns {
padding: 30px 40px;
border: 0;
margin: 0;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:first-child {
padding: 0 16px;
border-radius: 2px;
border: 1px solid rgba(195, 207, 224, 0.5);
background-color: rgba(248, 249, 252, 0.5);
margin-right: 20px;
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
background: #f6f7f9 linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #bacffe;
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;
}
.dropdownmenus___oVzoj [class~='ant-dropdown-menu-item'] {
text-align: center;
}
.dropdownmenus___oVzoj [class~='ant-dropdown-menu-item']:hover {
color: #165dff !important;
background: #fff;
}
.dropdownmenus___oVzoj [class~='ant-dropdown-menu'] {
padding: 10px 0 !important;
}
.popupClassNames___OcZq7 {
background: yellow;
}
.selectdown___mmcA8 [class~='ant-select-item-option-selected'] {
font-weight: 400 !important;
background-color: #edf2ff !important;
}
.selectdown___mmcA8 [class~='ant-select-item-option-active'] {
color: #165dff !important;
background-color: #fff !important;
}
.selectdown___mmcA8 [class~='ant-select-item-option'] {
padding: 10px 24px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[82178],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67395],{
/***/ 37653:
/*!*****************************************************************!*\
@ -66,569 +66,6 @@ RightOutlined.displayName = 'RightOutlined';
// extracted by mini-css-extract-plugin
/***/ }),
/***/ 5467:
/*!**********************************************************!*\
!*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; }
/* harmony export */ });
function getDataOrAriaProps(props) {
return Object.keys(props).reduce(function (prev, key) {
if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) {
prev[key] = props[key];
}
return prev;
}, {});
}
/***/ }),
/***/ 97183:
/*!**********************************************!*\
!*** ./node_modules/antd/es/layout/index.js ***!
\**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./layout */ 2897);
/* harmony import */ var _Sider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Sider */ 10130);
var Layout = _layout__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP;
Layout.Header = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Header */ .h4;
Layout.Footer = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Footer */ .$_;
Layout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Content */ .VY;
Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z;
/* harmony default export */ __webpack_exports__["Z"] = (Layout);
/***/ }),
/***/ 27221:
/*!****************************************************************!*\
!*** ./node_modules/antd/es/layout/style/index.js + 1 modules ***!
\****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
"use strict";
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.js
/***/ }),
/***/ 37029:
/*!**********************************************************!*\
!*** ./node_modules/antd/es/locale/zh_CN.js + 4 modules ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ es_locale_zh_CN; }
});
// EXTERNAL MODULE: ./node_modules/rc-pagination/es/locale/zh_CN.js
var zh_CN = __webpack_require__(81626);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
;// CONCATENATED MODULE: ./node_modules/rc-picker/es/locale/zh_CN.js
var locale = {
locale: 'zh_CN',
today: '今天',
now: '此刻',
backToToday: '返回今天',
ok: '确定',
timeSelect: '选择时间',
dateSelect: '选择日期',
weekSelect: '选择周',
clear: '清除',
month: '月',
year: '年',
previousMonth: '上个月 (翻页上键)',
nextMonth: '下个月 (翻页下键)',
monthSelect: '选择月份',
yearSelect: '选择年份',
decadeSelect: '选择年代',
yearFormat: 'YYYY年',
dayFormat: 'D日',
dateFormat: 'YYYY年M月D日',
dateTimeFormat: 'YYYY年M月D日 HH时mm分ss秒',
previousYear: '上一年 (Control键加左方向键)',
nextYear: '下一年 (Control键加右方向键)',
previousDecade: '上一年代',
nextDecade: '下一年代',
previousCentury: '上一世纪',
nextCentury: '下一世纪'
};
/* harmony default export */ var locale_zh_CN = (locale);
;// CONCATENATED MODULE: ./node_modules/antd/es/time-picker/locale/zh_CN.js
var zh_CN_locale = {
placeholder: '请选择时间',
rangePlaceholder: ['开始时间', '结束时间']
};
/* harmony default export */ var time_picker_locale_zh_CN = (zh_CN_locale);
;// CONCATENATED MODULE: ./node_modules/antd/es/date-picker/locale/zh_CN.js
// 统一合并为完整的 Locale
var locale_zh_CN_locale = {
lang: (0,esm_extends/* default */.Z)({
placeholder: '请选择日期',
yearPlaceholder: '请选择年份',
quarterPlaceholder: '请选择季度',
monthPlaceholder: '请选择月份',
weekPlaceholder: '请选择周',
rangePlaceholder: ['开始日期', '结束日期'],
rangeYearPlaceholder: ['开始年份', '结束年份'],
rangeMonthPlaceholder: ['开始月份', '结束月份'],
rangeQuarterPlaceholder: ['开始季度', '结束季度'],
rangeWeekPlaceholder: ['开始周', '结束周']
}, locale_zh_CN),
timePickerLocale: (0,esm_extends/* default */.Z)({}, time_picker_locale_zh_CN)
};
// should add whitespace between char in Button
locale_zh_CN_locale.lang.ok = '确定';
// All settings at:
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
/* harmony default export */ var date_picker_locale_zh_CN = (locale_zh_CN_locale);
;// CONCATENATED MODULE: ./node_modules/antd/es/calendar/locale/zh_CN.js
/* harmony default export */ var calendar_locale_zh_CN = (date_picker_locale_zh_CN);
;// CONCATENATED MODULE: ./node_modules/antd/es/locale/zh_CN.js
/* eslint-disable no-template-curly-in-string */
var typeTemplate = '${label}不是一个有效的${type}';
var localeValues = {
locale: 'zh-cn',
Pagination: zh_CN/* default */.Z,
DatePicker: date_picker_locale_zh_CN,
TimePicker: time_picker_locale_zh_CN,
Calendar: calendar_locale_zh_CN,
// locales for all components
global: {
placeholder: '请选择'
},
Table: {
filterTitle: '筛选',
filterConfirm: '确定',
filterReset: '重置',
filterEmptyText: '无筛选项',
filterCheckall: '全选',
filterSearchPlaceholder: '在筛选项中搜索',
selectAll: '全选当页',
selectInvert: '反选当页',
selectNone: '清空所有',
selectionAll: '全选所有',
sortTitle: '排序',
expand: '展开行',
collapse: '关闭行',
triggerDesc: '点击降序',
triggerAsc: '点击升序',
cancelSort: '取消排序'
},
Modal: {
okText: '确定',
cancelText: '取消',
justOkText: '知道了'
},
Popconfirm: {
cancelText: '取消',
okText: '确定'
},
Transfer: {
titles: ['', ''],
searchPlaceholder: '请输入搜索内容',
itemUnit: '项',
itemsUnit: '项',
remove: '删除',
selectCurrent: '全选当页',
removeCurrent: '删除当页',
selectAll: '全选所有',
removeAll: '删除全部',
selectInvert: '反选当页'
},
Upload: {
uploading: '文件上传中',
removeFile: '删除文件',
uploadError: '上传错误',
previewFile: '预览文件',
downloadFile: '下载文件'
},
Empty: {
description: '暂无数据'
},
Icon: {
icon: '图标'
},
Text: {
edit: '编辑',
copy: '复制',
copied: '复制成功',
expand: '展开'
},
PageHeader: {
back: '返回'
},
Form: {
optional: '(可选)',
defaultValidateMessages: {
"default": '字段验证错误${label}',
required: '请输入${label}',
"enum": '${label}必须是其中一个[${enum}]',
whitespace: '${label}不能为空字符',
date: {
format: '${label}日期格式无效',
parse: '${label}不能转换为日期',
invalid: '${label}是一个无效日期'
},
types: {
string: typeTemplate,
method: typeTemplate,
array: typeTemplate,
object: typeTemplate,
number: typeTemplate,
date: typeTemplate,
"boolean": typeTemplate,
integer: typeTemplate,
"float": typeTemplate,
regexp: typeTemplate,
email: typeTemplate,
url: typeTemplate,
hex: typeTemplate
},
string: {
len: '${label}须为${len}个字符',
min: '${label}最少${min}个字符',
max: '${label}最多${max}个字符',
range: '${label}须在${min}-${max}字符之间'
},
number: {
len: '${label}必须等于${len}',
min: '${label}最小值为${min}',
max: '${label}最大值为${max}',
range: '${label}须在${min}-${max}之间'
},
array: {
len: '须为${len}个${label}',
min: '最少${min}个${label}',
max: '最多${max}个${label}',
range: '${label}数量须在${min}-${max}之间'
},
pattern: {
mismatch: '${label}与模式不匹配${pattern}'
}
}
},
Image: {
preview: '预览'
}
};
/* harmony default export */ var es_locale_zh_CN = (localeValues);
/***/ }),
/***/ 29924:
/*!*********************************************************!*\
!*** ./node_modules/antd/es/radio/index.js + 4 modules ***!
\*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"ZP": function() { return /* binding */ es_radio; }
});
// UNUSED EXPORTS: Button, Group
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(97685);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js
var useMergedState = __webpack_require__(21770);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js
var SizeContext = __webpack_require__(97647);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js
var getDataOrAriaProps = __webpack_require__(5467);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js
var RadioGroupContext = /*#__PURE__*/react.createContext(null);
var RadioGroupContextProvider = RadioGroupContext.Provider;
/* harmony default export */ var radio_context = (RadioGroupContext);
var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null);
var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider;
// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js
var es = __webpack_require__(50132);
// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js
var es_ref = __webpack_require__(42550);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js
var DisabledContext = __webpack_require__(98866);
// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js
var form_context = __webpack_require__(65223);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var InternalRadio = function InternalRadio(props, ref) {
var _classNames;
var groupContext = react.useContext(radio_context);
var radioOptionTypeContext = react.useContext(RadioOptionTypeContext);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var innerRef = react.useRef();
var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef);
var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM),
isFormItemInput = _useContext.isFormItemInput;
false ? 0 : void 0;
var onChange = function onChange(e) {
var _a, _b;
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e);
(_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e);
};
var customizePrefixCls = props.prefixCls,
className = props.className,
children = props.children,
style = props.style,
customDisabled = props.disabled,
restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]);
var radioPrefixCls = getPrefixCls('radio', customizePrefixCls);
var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls;
var radioProps = (0,esm_extends/* default */.Z)({}, restProps);
// ===================== Disabled =====================
var disabled = react.useContext(DisabledContext/* default */.Z);
radioProps.disabled = customDisabled || disabled;
if (groupContext) {
radioProps.name = groupContext.name;
radioProps.onChange = onChange;
radioProps.checked = props.value === groupContext.value;
radioProps.disabled = radioProps.disabled || groupContext.disabled;
}
var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className);
return (
/*#__PURE__*/
// eslint-disable-next-line jsx-a11y/label-has-associated-control
react.createElement("label", {
className: wrapperClassString,
style: style,
onMouseEnter: props.onMouseEnter,
onMouseLeave: props.onMouseLeave
}, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, {
type: "radio",
prefixCls: prefixCls,
ref: mergedRef
})), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null)
);
};
var Radio = /*#__PURE__*/react.forwardRef(InternalRadio);
if (false) {}
/* harmony default export */ var radio_radio = (Radio);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js
var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) {
var _classNames;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var size = react.useContext(SizeContext/* default */.Z);
var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, {
value: props.value
}),
_useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
value = _useMergedState2[0],
setValue = _useMergedState2[1];
var onRadioChange = function onRadioChange(ev) {
var lastValue = value;
var val = ev.target.value;
if (!('value' in props)) {
setValue(val);
}
var onChange = props.onChange;
if (onChange && val !== lastValue) {
onChange(ev);
}
};
var customizePrefixCls = props.prefixCls,
_props$className = props.className,
className = _props$className === void 0 ? '' : _props$className,
options = props.options,
_props$buttonStyle = props.buttonStyle,
buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle,
disabled = props.disabled,
children = props.children,
customizeSize = props.size,
style = props.style,
id = props.id,
onMouseEnter = props.onMouseEnter,
onMouseLeave = props.onMouseLeave,
onFocus = props.onFocus,
onBlur = props.onBlur;
var prefixCls = getPrefixCls('radio', customizePrefixCls);
var groupPrefixCls = "".concat(prefixCls, "-group");
var childrenToRender = children;
// 如果存在 options, 优先使用
if (options && options.length > 0) {
childrenToRender = options.map(function (option) {
if (typeof option === 'string' || typeof option === 'number') {
// 此处类型自动推导为 string
return /*#__PURE__*/react.createElement(radio_radio, {
key: option.toString(),
prefixCls: prefixCls,
disabled: disabled,
value: option,
checked: value === option
}, option);
}
// 此处类型自动推导为 { label: string value: string }
return /*#__PURE__*/react.createElement(radio_radio, {
key: "radio-group-value-options-".concat(option.value),
prefixCls: prefixCls,
disabled: option.disabled || disabled,
value: option.value,
checked: value === option.value,
style: option.style
}, option.label);
});
}
var mergedSize = customizeSize || size;
var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), {
className: classString,
style: style,
onMouseEnter: onMouseEnter,
onMouseLeave: onMouseLeave,
onFocus: onFocus,
onBlur: onBlur,
id: id,
ref: ref
}), /*#__PURE__*/react.createElement(RadioGroupContextProvider, {
value: {
onChange: onRadioChange,
value: value,
disabled: props.disabled,
name: props.name,
optionType: props.optionType
}
}, childrenToRender));
});
/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup));
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js
var radioButton_rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var RadioButton = function RadioButton(props, ref) {
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var customizePrefixCls = props.prefixCls,
radioProps = radioButton_rest(props, ["prefixCls"]);
var prefixCls = getPrefixCls('radio', customizePrefixCls);
return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, {
value: "button"
}, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({
prefixCls: prefixCls
}, radioProps, {
type: "radio",
ref: ref
})));
};
/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton));
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js
var radio_Radio = radio_radio;
radio_Radio.Button = radioButton;
radio_Radio.Group = group;
radio_Radio.__ANT_RADIO = true;
/* harmony default export */ var es_radio = (radio_Radio);
/***/ }),
/***/ 83822:
/*!***************************************************************!*\
!*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***!
\***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
"use strict";
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js
// deps-lint-skip: form
/***/ }),
/***/ 69309:

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[70995],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[73486,95112],{
/***/ 7918:
/*!******************************************************************************!*\
@ -530,6 +530,47 @@ CloseOutlined.displayName = 'CloseOutlined';
/***/ }),
/***/ 87588:
/*!******************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js ***!
\******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/ExclamationCircleOutlined */ 61144);
/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918);
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) {
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, {
ref: ref,
icon: _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z
}));
};
ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined';
/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ExclamationCircleOutlined));
/***/ }),
/***/ 13013:
/*!************************************************!*\
!*** ./node_modules/antd/es/dropdown/index.js ***!
\************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dropdown */ 18562);
/* harmony default export */ __webpack_exports__["Z"] = (_dropdown__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z);
/***/ }),
/***/ 75008:
/*!*********************************************************!*\
!*** ./node_modules/antd/es/input/index.js + 5 modules ***!

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[94772,36579,23805,62654],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[74237,36579,23805,62654],{
/***/ 7918:
/*!******************************************************************************!*\
@ -502,424 +502,6 @@ Icon.setTwoToneColor = setTwoToneColor;
/***/ }),
/***/ 75008:
/*!*********************************************************!*\
!*** ./node_modules/antd/es/input/index.js + 5 modules ***!
\*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ input; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js
var form_context = __webpack_require__(65223);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js
var Group = function Group(props) {
var _classNames;
var _useContext = (0,react.useContext)(context/* ConfigContext */.E_),
getPrefixCls = _useContext.getPrefixCls,
direction = _useContext.direction;
var customizePrefixCls = props.prefixCls,
_props$className = props.className,
className = _props$className === void 0 ? '' : _props$className;
var prefixCls = getPrefixCls('input-group', customizePrefixCls);
var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), props.size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), props.size === 'small'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-compact"), props.compact), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
var formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM);
var groupFormItemContext = (0,react.useMemo)(function () {
return (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, formItemContext), {
isFormItemInput: false
});
}, [formItemContext]);
return /*#__PURE__*/react.createElement("span", {
className: cls,
style: props.style,
onMouseEnter: props.onMouseEnter,
onMouseLeave: props.onMouseLeave,
onFocus: props.onFocus,
onBlur: props.onBlur
}, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, {
value: groupFormItemContext
}, props.children));
};
/* harmony default export */ var input_Group = (Group);
// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules
var Input = __webpack_require__(82586);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(97685);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
var esm_typeof = __webpack_require__(71002);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js
// This icon file is generated automatically.
var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" };
/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(93771);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_EyeInvisibleOutlined
}));
};
EyeInvisibleOutlined_EyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined';
/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined));
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules
var EyeOutlined = __webpack_require__(7124);
// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js
var omit = __webpack_require__(98423);
// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js
var es_ref = __webpack_require__(42550);
// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js
var useRemovePasswordTimeout = __webpack_require__(72922);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var defaultIconRender = function defaultIconRender(visible) {
return visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null);
};
var ActionMap = {
click: 'onClick',
hover: 'onMouseOver'
};
var Password = /*#__PURE__*/react.forwardRef(function (props, ref) {
var _props$visibilityTogg = props.visibilityToggle,
visibilityToggle = _props$visibilityTogg === void 0 ? true : _props$visibilityTogg;
var visibilityControlled = (0,esm_typeof/* default */.Z)(visibilityToggle) === 'object' && visibilityToggle.visible !== undefined;
var _useState = (0,react.useState)(function () {
return visibilityControlled ? visibilityToggle.visible : false;
}),
_useState2 = (0,slicedToArray/* default */.Z)(_useState, 2),
visible = _useState2[0],
setVisible = _useState2[1];
var inputRef = (0,react.useRef)(null);
react.useEffect(function () {
if (visibilityControlled) {
setVisible(visibilityToggle.visible);
}
}, [visibilityControlled, visibilityToggle]);
// Remove Password value
var removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef);
var onVisibleChange = function onVisibleChange() {
var disabled = props.disabled;
if (disabled) {
return;
}
if (visible) {
removePasswordTimeout();
}
setVisible(function (prevState) {
var _a;
var newState = !prevState;
if ((0,esm_typeof/* default */.Z)(visibilityToggle) === 'object') {
(_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState);
}
return newState;
});
};
var getIcon = function getIcon(prefixCls) {
var _iconProps;
var _props$action = props.action,
action = _props$action === void 0 ? 'click' : _props$action,
_props$iconRender = props.iconRender,
iconRender = _props$iconRender === void 0 ? defaultIconRender : _props$iconRender;
var iconTrigger = ActionMap[action] || '';
var icon = iconRender(visible);
var iconProps = (_iconProps = {}, (0,defineProperty/* default */.Z)(_iconProps, iconTrigger, onVisibleChange), (0,defineProperty/* default */.Z)(_iconProps, "className", "".concat(prefixCls, "-icon")), (0,defineProperty/* default */.Z)(_iconProps, "key", 'passwordIcon'), (0,defineProperty/* default */.Z)(_iconProps, "onMouseDown", function onMouseDown(e) {
// Prevent focused state lost
// https://github.com/ant-design/ant-design/issues/15173
e.preventDefault();
}), (0,defineProperty/* default */.Z)(_iconProps, "onMouseUp", function onMouseUp(e) {
// Prevent caret position change
// https://github.com/ant-design/ant-design/issues/23524
e.preventDefault();
}), _iconProps);
return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps);
};
var renderPassword = function renderPassword(_ref) {
var getPrefixCls = _ref.getPrefixCls;
var className = props.className,
customizePrefixCls = props.prefixCls,
customizeInputPrefixCls = props.inputPrefixCls,
size = props.size,
restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]);
var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
var prefixCls = getPrefixCls('input-password', customizePrefixCls);
var suffixIcon = visibilityToggle && getIcon(prefixCls);
var inputClassName = classnames_default()(prefixCls, className, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-").concat(size), !!size));
var omittedProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), {
type: visible ? 'text' : 'password',
className: inputClassName,
prefixCls: inputPrefixCls,
suffix: suffixIcon
});
if (size) {
omittedProps.size = size;
}
return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({
ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef)
}, omittedProps));
};
return /*#__PURE__*/react.createElement(context/* ConfigConsumer */.C, null, renderPassword);
});
if (false) {}
/* harmony default export */ var input_Password = (Password);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js
var SearchOutlined = __webpack_require__(25783);
// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
var es_button = __webpack_require__(71577);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js
var SizeContext = __webpack_require__(97647);
// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js
var Compact = __webpack_require__(4173);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js
var reactNode = __webpack_require__(96159);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js
var Search_rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var Search = /*#__PURE__*/react.forwardRef(function (props, ref) {
var _classNames;
var customizePrefixCls = props.prefixCls,
customizeInputPrefixCls = props.inputPrefixCls,
className = props.className,
customizeSize = props.size,
suffix = props.suffix,
_props$enterButton = props.enterButton,
enterButton = _props$enterButton === void 0 ? false : _props$enterButton,
addonAfter = props.addonAfter,
loading = props.loading,
disabled = props.disabled,
customOnSearch = props.onSearch,
customOnChange = props.onChange,
onCompositionStart = props.onCompositionStart,
onCompositionEnd = props.onCompositionEnd,
restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var contextSize = react.useContext(SizeContext/* default */.Z);
var composedRef = react.useRef(false);
var prefixCls = getPrefixCls('input-search', customizePrefixCls);
var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
var _useCompactItemContex = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction),
compactSize = _useCompactItemContex.compactSize;
var size = compactSize || customizeSize || contextSize;
var inputRef = react.useRef(null);
var onChange = function onChange(e) {
if (e && e.target && e.type === 'click' && customOnSearch) {
customOnSearch(e.target.value, e);
}
if (customOnChange) {
customOnChange(e);
}
};
var onMouseDown = function onMouseDown(e) {
var _a;
if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) {
e.preventDefault();
}
};
var onSearch = function onSearch(e) {
var _a, _b;
if (customOnSearch) {
customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e);
}
};
var onPressEnter = function onPressEnter(e) {
if (composedRef.current || loading) {
return;
}
onSearch(e);
};
var searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null;
var btnClassName = "".concat(prefixCls, "-button");
var button;
var enterButtonAsElement = enterButton || {};
var isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true;
if (isAntdButton || enterButtonAsElement.type === 'button') {
button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, (0,esm_extends/* default */.Z)({
onMouseDown: onMouseDown,
onClick: function onClick(e) {
var _a, _b;
(_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e);
onSearch(e);
},
key: 'enterButton'
}, isAntdButton ? {
className: btnClassName,
size: size
} : {}));
} else {
button = /*#__PURE__*/react.createElement(es_button/* default */.Z, {
className: btnClassName,
type: enterButton ? 'primary' : undefined,
size: size,
disabled: disabled,
key: "enterButton",
onMouseDown: onMouseDown,
onClick: onSearch,
loading: loading,
icon: searchIcon
}, enterButton);
}
if (addonAfter) {
button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, {
key: 'addonAfter'
})];
}
var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(size), !!size), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-button"), !!enterButton), _classNames), className);
var handleOnCompositionStart = function handleOnCompositionStart(e) {
composedRef.current = true;
onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);
};
var handleOnCompositionEnd = function handleOnCompositionEnd(e) {
composedRef.current = false;
onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e);
};
return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({
ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref),
onPressEnter: onPressEnter
}, restProps, {
size: size,
onCompositionStart: handleOnCompositionStart,
onCompositionEnd: handleOnCompositionEnd,
prefixCls: inputPrefixCls,
addonAfter: button,
suffix: suffix,
onChange: onChange,
className: cls,
disabled: disabled
}));
});
if (false) {}
/* harmony default export */ var input_Search = (Search);
// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js + 1 modules
var TextArea = __webpack_require__(80173);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js
var input_Input = Input/* default */.ZP;
input_Input.Group = input_Group;
input_Input.Search = input_Search;
input_Input.TextArea = TextArea/* default */.Z;
input_Input.Password = input_Password;
/* harmony default export */ var input = (input_Input);
/***/ }),
/***/ 7124:
/*!**********************************************************************************************!*\
!*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***!
\**********************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_EyeOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js
// This icon file is generated automatically.
var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" };
/* harmony default export */ var asn_EyeOutlined = (EyeOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(93771);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_EyeOutlined
}));
};
EyeOutlined_EyeOutlined.displayName = 'EyeOutlined';
/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined));
/***/ }),
/***/ 20640:
/*!*************************************************!*\
!*** ./node_modules/copy-to-clipboard/index.js ***!

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[95907],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[80583],{
/***/ 31662:
/*!************************************************************************!*\
@ -28,33 +28,6 @@ CloseCircleOutlined.displayName = 'CloseCircleOutlined';
/***/ }),
/***/ 87588:
/*!******************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js ***!
\******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/ExclamationCircleOutlined */ 61144);
/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918);
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) {
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, {
ref: ref,
icon: _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z
}));
};
ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined';
/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ExclamationCircleOutlined));
/***/ }),
/***/ 27049:
/*!***********************************************!*\
!*** ./node_modules/antd/es/divider/index.js ***!
@ -139,18 +112,6 @@ var style_default = __webpack_require__(43146);
/***/ }),
/***/ 13013:
/*!************************************************!*\
!*** ./node_modules/antd/es/dropdown/index.js ***!
\************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dropdown */ 18562);
/* harmony default export */ __webpack_exports__["Z"] = (_dropdown__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z);
/***/ }),
/***/ 61460:

@ -1101,6 +1101,90 @@ textarea.ant-pagination-options-quick-jumper input {
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-breadcrumb {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-variant: tabular-nums;
line-height: 1.66667;
list-style: none;
font-feature-settings: tnum, "tnum";
color: rgba(0, 0, 0, 0.45);
font-size: 12px;
}
.ant-breadcrumb .anticon {
font-size: 12px;
}
.ant-breadcrumb ol {
display: flex;
flex-wrap: wrap;
margin: 0;
padding: 0;
list-style: none;
}
.ant-breadcrumb a {
color: rgba(0, 0, 0, 0.45);
transition: color 0.3s;
}
.ant-breadcrumb a:hover {
color: rgba(0, 0, 0, 0.85);
}
.ant-breadcrumb li:last-child {
color: rgba(0, 0, 0, 0.85);
}
.ant-breadcrumb li:last-child a {
color: rgba(0, 0, 0, 0.85);
}
li:last-child > .ant-breadcrumb-separator {
display: none;
}
.ant-breadcrumb-separator {
margin: 0 4px;
color: rgba(0, 0, 0, 0.45);
}
.ant-breadcrumb-link > .anticon + span,
.ant-breadcrumb-link > .anticon + a {
margin-left: 4px;
}
.ant-breadcrumb-overlay-link > .anticon {
margin-left: 4px;
}
.ant-breadcrumb-rtl {
direction: rtl;
}
.ant-breadcrumb-rtl::before {
display: table;
content: '';
}
.ant-breadcrumb-rtl::after {
display: table;
clear: both;
content: '';
}
.ant-breadcrumb-rtl > span {
float: right;
}
.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + span,
.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + a {
margin-right: 4px;
margin-left: 0;
}
.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link > .anticon {
margin-right: 4px;
margin-left: 0;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/popover/style/index.less ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@ -1436,3 +1520,404 @@ textarea.ant-pagination-options-quick-jumper input {
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/drawer/style/index.less ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-drawer {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
pointer-events: none;
}
.ant-drawer-inline {
position: absolute;
}
.ant-drawer-mask {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
background: rgba(0, 0, 0, 0.45);
pointer-events: auto;
}
.ant-drawer-content-wrapper {
position: absolute;
z-index: 1000;
transition: all 0.3s;
}
.ant-drawer-content-wrapper-hidden {
display: none;
}
.ant-drawer-left > .ant-drawer-content-wrapper {
top: 0;
bottom: 0;
left: 0;
box-shadow: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03);
}
.ant-drawer-right > .ant-drawer-content-wrapper {
top: 0;
right: 0;
bottom: 0;
box-shadow: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03);
}
.ant-drawer-top > .ant-drawer-content-wrapper {
top: 0;
right: 0;
left: 0;
box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
}
.ant-drawer-bottom > .ant-drawer-content-wrapper {
right: 0;
bottom: 0;
left: 0;
box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03);
}
.ant-drawer-content {
width: 100%;
height: 100%;
overflow: auto;
background: #fff;
pointer-events: auto;
}
.ant-drawer-wrapper-body {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
}
.ant-drawer-header {
display: flex;
flex: 0 1;
align-items: center;
padding: 11px 16px;
font-size: 14px;
line-height: 22px;
border-bottom: 1px solid #f0f0f0;
}
.ant-drawer-header-title {
display: flex;
flex: 1 1;
align-items: center;
min-width: 0;
min-height: 0;
}
.ant-drawer-extra {
flex: none;
}
.ant-drawer-close {
display: inline-block;
margin-right: 12px;
color: rgba(0, 0, 0, 0.45);
font-weight: 700;
font-size: 14px;
font-style: normal;
line-height: 1;
text-align: center;
text-transform: none;
text-decoration: none;
background: transparent;
border: 0;
outline: 0;
cursor: pointer;
transition: color 0.3s;
text-rendering: auto;
}
.ant-drawer-close:focus,
.ant-drawer-close:hover {
color: rgba(0, 0, 0, 0.75);
text-decoration: none;
}
.ant-drawer-title {
flex: 1 1;
margin: 0;
color: rgba(0, 0, 0, 0.85);
font-weight: 500;
font-size: 14px;
line-height: 22px;
}
.ant-drawer-body {
flex: 1 1;
min-width: 0;
min-height: 0;
padding: 16px;
overflow: auto;
}
.ant-drawer-footer {
flex-shrink: 0;
padding: 8px 8px;
border-top: 1px solid #f0f0f0;
}
.panel-motion-enter-start,
.panel-motion-appear-start,
.panel-motion-leave-start {
transition: none;
}
.panel-motion-enter-active,
.panel-motion-appear-active,
.panel-motion-leave-active {
transition: all 0.3s;
}
.ant-drawer-mask-motion-enter-active,
.ant-drawer-mask-motion-appear-active,
.ant-drawer-mask-motion-leave-active {
transition: all 0.3s;
}
.ant-drawer-mask-motion-enter,
.ant-drawer-mask-motion-appear {
opacity: 0;
}
.ant-drawer-mask-motion-enter-active,
.ant-drawer-mask-motion-appear-active {
opacity: 1;
}
.ant-drawer-mask-motion-leave {
opacity: 1;
}
.ant-drawer-mask-motion-leave-active {
opacity: 0;
}
.ant-drawer-panel-motion-left-enter-start,
.ant-drawer-panel-motion-left-appear-start,
.ant-drawer-panel-motion-left-leave-start {
transition: none;
}
.ant-drawer-panel-motion-left-enter-active,
.ant-drawer-panel-motion-left-appear-active,
.ant-drawer-panel-motion-left-leave-active {
transition: all 0.3s;
}
.ant-drawer-panel-motion-left-enter-start,
.ant-drawer-panel-motion-left-appear-start {
transform: translateX(-100%) !important;
}
.ant-drawer-panel-motion-left-enter-active,
.ant-drawer-panel-motion-left-appear-active {
transform: translateX(0);
}
.ant-drawer-panel-motion-left-leave {
transform: translateX(0);
}
.ant-drawer-panel-motion-left-leave-active {
transform: translateX(-100%);
}
.ant-drawer-panel-motion-right-enter-start,
.ant-drawer-panel-motion-right-appear-start,
.ant-drawer-panel-motion-right-leave-start {
transition: none;
}
.ant-drawer-panel-motion-right-enter-active,
.ant-drawer-panel-motion-right-appear-active,
.ant-drawer-panel-motion-right-leave-active {
transition: all 0.3s;
}
.ant-drawer-panel-motion-right-enter-start,
.ant-drawer-panel-motion-right-appear-start {
transform: translateX(100%) !important;
}
.ant-drawer-panel-motion-right-enter-active,
.ant-drawer-panel-motion-right-appear-active {
transform: translateX(0);
}
.ant-drawer-panel-motion-right-leave {
transform: translateX(0);
}
.ant-drawer-panel-motion-right-leave-active {
transform: translateX(100%);
}
.ant-drawer-panel-motion-top-enter-start,
.ant-drawer-panel-motion-top-appear-start,
.ant-drawer-panel-motion-top-leave-start {
transition: none;
}
.ant-drawer-panel-motion-top-enter-active,
.ant-drawer-panel-motion-top-appear-active,
.ant-drawer-panel-motion-top-leave-active {
transition: all 0.3s;
}
.ant-drawer-panel-motion-top-enter-start,
.ant-drawer-panel-motion-top-appear-start {
transform: translateY(-100%) !important;
}
.ant-drawer-panel-motion-top-enter-active,
.ant-drawer-panel-motion-top-appear-active {
transform: translateY(0);
}
.ant-drawer-panel-motion-top-leave {
transform: translateY(0);
}
.ant-drawer-panel-motion-top-leave-active {
transform: translateY(-100%);
}
.ant-drawer-panel-motion-bottom-enter-start,
.ant-drawer-panel-motion-bottom-appear-start,
.ant-drawer-panel-motion-bottom-leave-start {
transition: none;
}
.ant-drawer-panel-motion-bottom-enter-active,
.ant-drawer-panel-motion-bottom-appear-active,
.ant-drawer-panel-motion-bottom-leave-active {
transition: all 0.3s;
}
.ant-drawer-panel-motion-bottom-enter-start,
.ant-drawer-panel-motion-bottom-appear-start {
transform: translateY(100%) !important;
}
.ant-drawer-panel-motion-bottom-enter-active,
.ant-drawer-panel-motion-bottom-appear-active {
transform: translateY(0);
}
.ant-drawer-panel-motion-bottom-leave {
transform: translateY(0);
}
.ant-drawer-panel-motion-bottom-leave-active {
transform: translateY(100%);
}
.ant-drawer-rtl {
direction: rtl;
}
.ant-drawer-rtl .ant-drawer-close {
margin-right: 0;
margin-left: 12px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/divider/style/index.less ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-divider {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-size: 12px;
font-variant: tabular-nums;
line-height: 1.66667;
list-style: none;
font-feature-settings: tnum, "tnum";
border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.ant-divider-vertical {
position: relative;
top: -0.06em;
display: inline-block;
height: 0.9em;
margin: 0 8px;
vertical-align: middle;
border-top: 0;
border-left: 1px solid rgba(0, 0, 0, 0.06);
}
.ant-divider-horizontal {
display: flex;
clear: both;
width: 100%;
min-width: 100%;
margin: 24px 0;
}
.ant-divider-horizontal.ant-divider-with-text {
display: flex;
align-items: center;
margin: 16px 0;
color: rgba(0, 0, 0, 0.85);
font-weight: 500;
font-size: 14px;
white-space: nowrap;
text-align: center;
border-top: 0;
border-top-color: rgba(0, 0, 0, 0.06);
}
.ant-divider-horizontal.ant-divider-with-text::before,
.ant-divider-horizontal.ant-divider-with-text::after {
position: relative;
width: 50%;
border-top: 1px solid transparent;
border-top-color: inherit;
border-bottom: 0;
transform: translateY(50%);
content: '';
}
.ant-divider-horizontal.ant-divider-with-text-left::before {
width: 5%;
}
.ant-divider-horizontal.ant-divider-with-text-left::after {
width: 95%;
}
.ant-divider-horizontal.ant-divider-with-text-right::before {
width: 95%;
}
.ant-divider-horizontal.ant-divider-with-text-right::after {
width: 5%;
}
.ant-divider-inner-text {
display: inline-block;
padding: 0 1em;
}
.ant-divider-dashed {
background: none;
border-color: rgba(0, 0, 0, 0.06);
border-style: dashed;
border-width: 1px 0 0;
}
.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::before,
.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::after {
border-style: dashed none none;
}
.ant-divider-vertical.ant-divider-dashed {
border-width: 0 0 0 1px;
}
.ant-divider-plain.ant-divider-with-text {
color: rgba(0, 0, 0, 0.85);
font-weight: normal;
font-size: 12px;
}
.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::before {
width: 0;
}
.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::after {
width: 100%;
}
.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left .ant-divider-inner-text {
padding-left: 0;
}
.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::before {
width: 100%;
}
.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::after {
width: 0;
}
.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right .ant-divider-inner-text {
padding-right: 0;
}
.ant-divider-rtl {
direction: rtl;
}
.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::before {
width: 95%;
}
.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::after {
width: 5%;
}
.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::before {
width: 5%;
}
.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::after {
width: 95%;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[40150],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[83225,43295,69771],{
/***/ 48898:
/*!*************************************************************************!*\
@ -12,6 +12,33 @@ var FolderOpenOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64
/* harmony default export */ __webpack_exports__["Z"] = (FolderOpenOutlined);
/***/ }),
/***/ 87588:
/*!******************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js ***!
\******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/ExclamationCircleOutlined */ 61144);
/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918);
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) {
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, {
ref: ref,
icon: _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z
}));
};
ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined';
/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ExclamationCircleOutlined));
/***/ }),
/***/ 81643:
@ -33,6 +60,357 @@ var getRenderPropValue = function getRenderPropValue(propValue) {
return propValue;
};
/***/ }),
/***/ 58492:
/*!**************************************************************!*\
!*** ./node_modules/antd/es/breadcrumb/index.js + 3 modules ***!
\**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ breadcrumb; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(74902);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js
var toArray = __webpack_require__(50344);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 5 modules
var menu = __webpack_require__(66516);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js
var reactNode = __webpack_require__(96159);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js
var DownOutlined = __webpack_require__(13622);
// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 1 modules
var dropdown = __webpack_require__(18562);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var BreadcrumbItem = function BreadcrumbItem(props) {
var customizePrefixCls = props.prefixCls,
_props$separator = props.separator,
separator = _props$separator === void 0 ? '/' : _props$separator,
children = props.children,
menu = props.menu,
overlay = props.overlay,
dropdownProps = props.dropdownProps,
restProps = __rest(props, ["prefixCls", "separator", "children", "menu", "overlay", "dropdownProps"]);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);
// Warning for deprecated usage
if (false) {}
/** If overlay is have Wrap a Dropdown */
var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) {
if (menu || overlay) {
return /*#__PURE__*/react.createElement(dropdown/* default */.Z, (0,esm_extends/* default */.Z)({
menu: menu,
overlay: overlay,
placement: "bottom"
}, dropdownProps), /*#__PURE__*/react.createElement("span", {
className: "".concat(prefixCls, "-overlay-link")
}, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null)));
}
return breadcrumbItem;
};
var link;
if ('href' in restProps) {
link = /*#__PURE__*/react.createElement("a", (0,esm_extends/* default */.Z)({
className: "".concat(prefixCls, "-link")
}, restProps), children);
} else {
link = /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({
className: "".concat(prefixCls, "-link")
}, restProps), children);
}
// wrap to dropDown
link = renderBreadcrumbNode(link);
if (children !== undefined && children !== null) {
return /*#__PURE__*/react.createElement("li", null, link, separator && /*#__PURE__*/react.createElement("span", {
className: "".concat(prefixCls, "-separator")
}, separator));
}
return null;
};
BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true;
/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js
var BreadcrumbSeparator = function BreadcrumbSeparator(_ref) {
var children = _ref.children;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('breadcrumb');
return /*#__PURE__*/react.createElement("span", {
className: "".concat(prefixCls, "-separator")
}, children || '/');
};
BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true;
/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js
var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
function getBreadcrumbName(route, params) {
if (!route.breadcrumbName) {
return null;
}
var paramsKeys = Object.keys(params).join('|');
var name = route.breadcrumbName.replace(new RegExp(":(".concat(paramsKeys, ")"), 'g'), function (replacement, key) {
return params[key] || replacement;
});
return name;
}
function defaultItemRender(route, params, routes, paths) {
var isLastItem = routes.indexOf(route) === routes.length - 1;
var name = getBreadcrumbName(route, params);
return isLastItem ? /*#__PURE__*/react.createElement("span", null, name) : /*#__PURE__*/react.createElement("a", {
href: "#/".concat(paths.join('/'))
}, name);
}
var getPath = function getPath(path, params) {
path = (path || '').replace(/^\//, '');
Object.keys(params).forEach(function (key) {
path = path.replace(":".concat(key), params[key]);
});
return path;
};
var addChildPath = function addChildPath(paths, childPath, params) {
var originalPaths = (0,toConsumableArray/* default */.Z)(paths);
var path = getPath(childPath || '', params);
if (path) {
originalPaths.push(path);
}
return originalPaths;
};
var Breadcrumb = function Breadcrumb(_a) {
var customizePrefixCls = _a.prefixCls,
_a$separator = _a.separator,
separator = _a$separator === void 0 ? '/' : _a$separator,
style = _a.style,
className = _a.className,
routes = _a.routes,
children = _a.children,
_a$itemRender = _a.itemRender,
itemRender = _a$itemRender === void 0 ? defaultItemRender : _a$itemRender,
_a$params = _a.params,
params = _a$params === void 0 ? {} : _a$params,
restProps = Breadcrumb_rest(_a, ["prefixCls", "separator", "style", "className", "routes", "children", "itemRender", "params"]);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var crumbs;
var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);
if (routes && routes.length > 0) {
// generated by route
var paths = [];
crumbs = routes.map(function (route) {
var path = getPath(route.path, params);
if (path) {
paths.push(path);
}
// generated overlay by route.children
var overlay;
if (route.children && route.children.length) {
overlay = /*#__PURE__*/react.createElement(menu/* default */.Z, {
items: route.children.map(function (child) {
return {
key: child.path || child.breadcrumbName,
label: itemRender(child, params, routes, addChildPath(paths, child.path, params))
};
})
});
}
var itemProps = {
separator: separator
};
if (overlay) {
itemProps.overlay = overlay;
}
return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbItem, (0,esm_extends/* default */.Z)({}, itemProps, {
key: path || route.breadcrumbName
}), itemRender(route, params, routes, paths));
});
} else if (children) {
crumbs = (0,toArray/* default */.Z)(children).map(function (element, index) {
if (!element) {
return element;
}
false ? 0 : void 0;
return (0,reactNode/* cloneElement */.Tm)(element, {
separator: separator,
key: index
});
});
}
var breadcrumbClassName = classnames_default()(prefixCls, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-rtl"), direction === 'rtl'), className);
return /*#__PURE__*/react.createElement("nav", (0,esm_extends/* default */.Z)({
className: breadcrumbClassName,
style: style
}, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs));
};
Breadcrumb.Item = breadcrumb_BreadcrumbItem;
Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator;
/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js
/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb);
/***/ }),
/***/ 63102:
/*!********************************************************************!*\
!*** ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules ***!
\********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.less
// extracted by mini-css-extract-plugin
// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules
var style = __webpack_require__(68018);
// EXTERNAL MODULE: ./node_modules/antd/es/menu/style/index.js + 1 modules
var menu_style = __webpack_require__(83736);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js
// style dependencies
/***/ }),
/***/ 27049:
/*!***********************************************!*\
!*** ./node_modules/antd/es/divider/index.js ***!
\***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462);
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider */ 53124);
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var Divider = function Divider(props) {
var _classNames;
var _React$useContext = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_2__/* .ConfigContext */ .E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var customizePrefixCls = props.prefixCls,
_props$type = props.type,
type = _props$type === void 0 ? 'horizontal' : _props$type,
_props$orientation = props.orientation,
orientation = _props$orientation === void 0 ? 'center' : _props$orientation,
orientationMargin = props.orientationMargin,
className = props.className,
children = props.children,
dashed = props.dashed,
plain = props.plain,
restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "children", "dashed", "plain"]);
var prefixCls = getPrefixCls('divider', customizePrefixCls);
var orientationPrefix = orientation.length > 0 ? "-".concat(orientation) : orientation;
var hasChildren = !!children;
var hasCustomMarginLeft = orientation === 'left' && orientationMargin != null;
var hasCustomMarginRight = orientation === 'right' && orientationMargin != null;
var classString = classnames__WEBPACK_IMPORTED_MODULE_0___default()(prefixCls, "".concat(prefixCls, "-").concat(type), (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text"), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text").concat(orientationPrefix), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-dashed"), !!dashed), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-plain"), !!plain), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-left"), hasCustomMarginLeft), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-right"), hasCustomMarginRight), _classNames), className);
var innerStyle = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, hasCustomMarginLeft && {
marginLeft: orientationMargin
}), hasCustomMarginRight && {
marginRight: orientationMargin
});
// Warning children not work in vertical mode
if (false) {}
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({
className: classString
}, restProps, {
role: "separator"
}), children && type !== 'vertical' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", {
className: "".concat(prefixCls, "-inner-text"),
style: innerStyle
}, children));
};
/* harmony default export */ __webpack_exports__["Z"] = (Divider);
/***/ }),
/***/ 98541:
/*!*****************************************************************!*\
!*** ./node_modules/antd/es/divider/style/index.js + 1 modules ***!
\*****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js
/***/ }),
/***/ 13013:

@ -1111,7 +1111,7 @@
height: 10px;
line-height: 10px;
display: inline-block;
margin-top: 8px;
margin-top: 9px;
transform: translateY(2px);
}
.orderDesc___rHdbB {

@ -131,6 +131,19 @@ var pythonLangage = {
// { label: "printf", content: 'printf("")' },
]
};
var scalaLangage = {
keywords: ['asInstanceOf', 'catch', 'class', 'classOf', 'def', 'do', 'else', 'extends', 'finally', 'for', 'foreach', 'forSome', 'if', 'import', 'isInstanceOf', 'macro', 'match', 'new', 'object', 'package', 'return', 'throw', 'trait', 'try', 'type', 'until', 'val', 'var', 'while', 'with', 'yield',
// Dotty-specific:
'given', 'enum', 'then'],
quickKey: [{
label: "println",
content: ['println($0)'].join('\n')
}
// { label: "#include", content: '#include ""' },
// { label: "printf", content: 'printf("")' },
]
};
// EXTERNAL MODULE: ./node_modules/js-beautify/js/index.js
var js = __webpack_require__(84204);
var js_default = /*#__PURE__*/__webpack_require__.n(js);
@ -362,6 +375,39 @@ function getSuggestions(monaco, model, position, keywords, snippts) {
};
}
});
monaco.languages.registerCompletionItemProvider('scala', {
provideCompletionItems: function provideCompletionItems(model, position) {
var word = model.getWordUntilPosition(position);
var wordRange = {
startLineNumber: position.lineNumber,
endLineNumber: position.lineNumber,
startColumn: word.startColumn,
endColumn: word.endColumn
};
var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn);
return {
suggestions: [].concat(toConsumableArray_default()(scalaLangage.keywords.map(function (item) {
return {
label: item,
kind: monaco.languages.CompletionItemKind.Function,
documentation: item,
insertText: item,
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
range: wordRange
};
})), toConsumableArray_default()(scalaLangage.quickKey.map(function (item) {
return {
label: item.label,
kind: monaco.languages.CompletionItemKind.Function,
documentation: item.content,
insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content,
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
range: wordRange
};
})))
};
}
});
monaco.languages.registerCompletionItemProvider('python', {
provideCompletionItems: function provideCompletionItems(model, position) {
var word = model.getWordUntilPosition(position);
@ -414,7 +460,7 @@ var jsx_runtime = __webpack_require__(85893);
var _excluded = ["width", "height", "value", "language", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"];
var _excluded = ["width", "height", "value", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"];
@ -477,7 +523,8 @@ var DICT = {
Sml: 'javascript',
OpenGL: 'cpp',
Perl5: 'perl',
Orange: 'python'
Orange: 'python',
Scala: "scale"
};
function getLanguageByMirrorName() {
var mirror_name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
@ -502,8 +549,6 @@ var monaco = null;
_ref$height = _ref.height,
height = _ref$height === void 0 ? '100%' : _ref$height,
value = _ref.value,
_ref$language = _ref.language,
language = _ref$language === void 0 ? 'javascript' : _ref$language,
_ref$style = _ref.style,
style = _ref$style === void 0 ? {} : _ref$style,
_ref$options = _ref.options,
@ -530,6 +575,7 @@ var monaco = null;
_ref$errorContent = _ref.errorContent,
errorContent = _ref$errorContent === void 0 ? '' : _ref$errorContent,
props = objectWithoutProperties_default()(_ref, _excluded);
var language = "scala";
var editorEl = (0,react.useRef)();
var editor = (0,react.useRef)({});
var optionsRef = (0,react.useRef)();

@ -0,0 +1,841 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[88416],{
/***/ 38900:
/*!**********************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js ***!
\**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _ant_design_icons_svg_es_asn_CloseCircleFilled__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/CloseCircleFilled */ 1085);
/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918);
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var CloseCircleFilled = function CloseCircleFilled(props, ref) {
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, {
ref: ref,
icon: _ant_design_icons_svg_es_asn_CloseCircleFilled__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z
}));
};
CloseCircleFilled.displayName = 'CloseCircleFilled';
/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(CloseCircleFilled));
/***/ }),
/***/ 88484:
/*!*******************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + 1 modules ***!
\*******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_UploadOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.js
// This icon file is generated automatically.
var UploadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" };
/* harmony default export */ var asn_UploadOutlined = (UploadOutlined);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules
var AntdIcon = __webpack_require__(7918);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var UploadOutlined_UploadOutlined = function UploadOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_UploadOutlined
}));
};
UploadOutlined_UploadOutlined.displayName = 'UploadOutlined';
/* harmony default export */ var icons_UploadOutlined = (/*#__PURE__*/react.forwardRef(UploadOutlined_UploadOutlined));
/***/ }),
/***/ 5467:
/*!**********************************************************!*\
!*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; }
/* harmony export */ });
function getDataOrAriaProps(props) {
return Object.keys(props).reduce(function (prev, key) {
if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) {
prev[key] = props[key];
}
return prev;
}, {});
}
/***/ }),
/***/ 13013:
/*!************************************************!*\
!*** ./node_modules/antd/es/dropdown/index.js ***!
\************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dropdown */ 18562);
/* harmony default export */ __webpack_exports__["Z"] = (_dropdown__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z);
/***/ }),
/***/ 75008:
/*!*********************************************************!*\
!*** ./node_modules/antd/es/input/index.js + 5 modules ***!
\*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ input; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js
var form_context = __webpack_require__(65223);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js
var Group = function Group(props) {
var _classNames;
var _useContext = (0,react.useContext)(context/* ConfigContext */.E_),
getPrefixCls = _useContext.getPrefixCls,
direction = _useContext.direction;
var customizePrefixCls = props.prefixCls,
_props$className = props.className,
className = _props$className === void 0 ? '' : _props$className;
var prefixCls = getPrefixCls('input-group', customizePrefixCls);
var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), props.size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), props.size === 'small'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-compact"), props.compact), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
var formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM);
var groupFormItemContext = (0,react.useMemo)(function () {
return (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, formItemContext), {
isFormItemInput: false
});
}, [formItemContext]);
return /*#__PURE__*/react.createElement("span", {
className: cls,
style: props.style,
onMouseEnter: props.onMouseEnter,
onMouseLeave: props.onMouseLeave,
onFocus: props.onFocus,
onBlur: props.onBlur
}, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, {
value: groupFormItemContext
}, props.children));
};
/* harmony default export */ var input_Group = (Group);
// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules
var Input = __webpack_require__(82586);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(97685);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
var esm_typeof = __webpack_require__(71002);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js
// This icon file is generated automatically.
var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" };
/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(93771);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_EyeInvisibleOutlined
}));
};
EyeInvisibleOutlined_EyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined';
/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined));
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules
var EyeOutlined = __webpack_require__(7124);
// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js
var omit = __webpack_require__(98423);
// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js
var es_ref = __webpack_require__(42550);
// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js
var useRemovePasswordTimeout = __webpack_require__(72922);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var defaultIconRender = function defaultIconRender(visible) {
return visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null);
};
var ActionMap = {
click: 'onClick',
hover: 'onMouseOver'
};
var Password = /*#__PURE__*/react.forwardRef(function (props, ref) {
var _props$visibilityTogg = props.visibilityToggle,
visibilityToggle = _props$visibilityTogg === void 0 ? true : _props$visibilityTogg;
var visibilityControlled = (0,esm_typeof/* default */.Z)(visibilityToggle) === 'object' && visibilityToggle.visible !== undefined;
var _useState = (0,react.useState)(function () {
return visibilityControlled ? visibilityToggle.visible : false;
}),
_useState2 = (0,slicedToArray/* default */.Z)(_useState, 2),
visible = _useState2[0],
setVisible = _useState2[1];
var inputRef = (0,react.useRef)(null);
react.useEffect(function () {
if (visibilityControlled) {
setVisible(visibilityToggle.visible);
}
}, [visibilityControlled, visibilityToggle]);
// Remove Password value
var removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef);
var onVisibleChange = function onVisibleChange() {
var disabled = props.disabled;
if (disabled) {
return;
}
if (visible) {
removePasswordTimeout();
}
setVisible(function (prevState) {
var _a;
var newState = !prevState;
if ((0,esm_typeof/* default */.Z)(visibilityToggle) === 'object') {
(_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState);
}
return newState;
});
};
var getIcon = function getIcon(prefixCls) {
var _iconProps;
var _props$action = props.action,
action = _props$action === void 0 ? 'click' : _props$action,
_props$iconRender = props.iconRender,
iconRender = _props$iconRender === void 0 ? defaultIconRender : _props$iconRender;
var iconTrigger = ActionMap[action] || '';
var icon = iconRender(visible);
var iconProps = (_iconProps = {}, (0,defineProperty/* default */.Z)(_iconProps, iconTrigger, onVisibleChange), (0,defineProperty/* default */.Z)(_iconProps, "className", "".concat(prefixCls, "-icon")), (0,defineProperty/* default */.Z)(_iconProps, "key", 'passwordIcon'), (0,defineProperty/* default */.Z)(_iconProps, "onMouseDown", function onMouseDown(e) {
// Prevent focused state lost
// https://github.com/ant-design/ant-design/issues/15173
e.preventDefault();
}), (0,defineProperty/* default */.Z)(_iconProps, "onMouseUp", function onMouseUp(e) {
// Prevent caret position change
// https://github.com/ant-design/ant-design/issues/23524
e.preventDefault();
}), _iconProps);
return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps);
};
var renderPassword = function renderPassword(_ref) {
var getPrefixCls = _ref.getPrefixCls;
var className = props.className,
customizePrefixCls = props.prefixCls,
customizeInputPrefixCls = props.inputPrefixCls,
size = props.size,
restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]);
var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
var prefixCls = getPrefixCls('input-password', customizePrefixCls);
var suffixIcon = visibilityToggle && getIcon(prefixCls);
var inputClassName = classnames_default()(prefixCls, className, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-").concat(size), !!size));
var omittedProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), {
type: visible ? 'text' : 'password',
className: inputClassName,
prefixCls: inputPrefixCls,
suffix: suffixIcon
});
if (size) {
omittedProps.size = size;
}
return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({
ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef)
}, omittedProps));
};
return /*#__PURE__*/react.createElement(context/* ConfigConsumer */.C, null, renderPassword);
});
if (false) {}
/* harmony default export */ var input_Password = (Password);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js
var SearchOutlined = __webpack_require__(25783);
// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
var es_button = __webpack_require__(71577);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js
var SizeContext = __webpack_require__(97647);
// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js
var Compact = __webpack_require__(4173);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js
var reactNode = __webpack_require__(96159);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js
var Search_rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var Search = /*#__PURE__*/react.forwardRef(function (props, ref) {
var _classNames;
var customizePrefixCls = props.prefixCls,
customizeInputPrefixCls = props.inputPrefixCls,
className = props.className,
customizeSize = props.size,
suffix = props.suffix,
_props$enterButton = props.enterButton,
enterButton = _props$enterButton === void 0 ? false : _props$enterButton,
addonAfter = props.addonAfter,
loading = props.loading,
disabled = props.disabled,
customOnSearch = props.onSearch,
customOnChange = props.onChange,
onCompositionStart = props.onCompositionStart,
onCompositionEnd = props.onCompositionEnd,
restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var contextSize = react.useContext(SizeContext/* default */.Z);
var composedRef = react.useRef(false);
var prefixCls = getPrefixCls('input-search', customizePrefixCls);
var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
var _useCompactItemContex = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction),
compactSize = _useCompactItemContex.compactSize;
var size = compactSize || customizeSize || contextSize;
var inputRef = react.useRef(null);
var onChange = function onChange(e) {
if (e && e.target && e.type === 'click' && customOnSearch) {
customOnSearch(e.target.value, e);
}
if (customOnChange) {
customOnChange(e);
}
};
var onMouseDown = function onMouseDown(e) {
var _a;
if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) {
e.preventDefault();
}
};
var onSearch = function onSearch(e) {
var _a, _b;
if (customOnSearch) {
customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e);
}
};
var onPressEnter = function onPressEnter(e) {
if (composedRef.current || loading) {
return;
}
onSearch(e);
};
var searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null;
var btnClassName = "".concat(prefixCls, "-button");
var button;
var enterButtonAsElement = enterButton || {};
var isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true;
if (isAntdButton || enterButtonAsElement.type === 'button') {
button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, (0,esm_extends/* default */.Z)({
onMouseDown: onMouseDown,
onClick: function onClick(e) {
var _a, _b;
(_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e);
onSearch(e);
},
key: 'enterButton'
}, isAntdButton ? {
className: btnClassName,
size: size
} : {}));
} else {
button = /*#__PURE__*/react.createElement(es_button/* default */.Z, {
className: btnClassName,
type: enterButton ? 'primary' : undefined,
size: size,
disabled: disabled,
key: "enterButton",
onMouseDown: onMouseDown,
onClick: onSearch,
loading: loading,
icon: searchIcon
}, enterButton);
}
if (addonAfter) {
button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, {
key: 'addonAfter'
})];
}
var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(size), !!size), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-button"), !!enterButton), _classNames), className);
var handleOnCompositionStart = function handleOnCompositionStart(e) {
composedRef.current = true;
onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);
};
var handleOnCompositionEnd = function handleOnCompositionEnd(e) {
composedRef.current = false;
onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e);
};
return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({
ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref),
onPressEnter: onPressEnter
}, restProps, {
size: size,
onCompositionStart: handleOnCompositionStart,
onCompositionEnd: handleOnCompositionEnd,
prefixCls: inputPrefixCls,
addonAfter: button,
suffix: suffix,
onChange: onChange,
className: cls,
disabled: disabled
}));
});
if (false) {}
/* harmony default export */ var input_Search = (Search);
// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js + 1 modules
var TextArea = __webpack_require__(80173);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js
var input_Input = Input/* default */.ZP;
input_Input.Group = input_Group;
input_Input.Search = input_Search;
input_Input.TextArea = TextArea/* default */.Z;
input_Input.Password = input_Password;
/* harmony default export */ var input = (input_Input);
/***/ }),
/***/ 97183:
/*!**********************************************!*\
!*** ./node_modules/antd/es/layout/index.js ***!
\**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./layout */ 2897);
/* harmony import */ var _Sider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Sider */ 10130);
var Layout = _layout__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP;
Layout.Header = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Header */ .h4;
Layout.Footer = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Footer */ .$_;
Layout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Content */ .VY;
Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z;
/* harmony default export */ __webpack_exports__["Z"] = (Layout);
/***/ }),
/***/ 27221:
/*!****************************************************************!*\
!*** ./node_modules/antd/es/layout/style/index.js + 1 modules ***!
\****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.js
/***/ }),
/***/ 29924:
/*!*********************************************************!*\
!*** ./node_modules/antd/es/radio/index.js + 4 modules ***!
\*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"ZP": function() { return /* binding */ es_radio; }
});
// UNUSED EXPORTS: Button, Group
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(97685);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js
var useMergedState = __webpack_require__(21770);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js
var SizeContext = __webpack_require__(97647);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js
var getDataOrAriaProps = __webpack_require__(5467);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js
var RadioGroupContext = /*#__PURE__*/react.createContext(null);
var RadioGroupContextProvider = RadioGroupContext.Provider;
/* harmony default export */ var radio_context = (RadioGroupContext);
var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null);
var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider;
// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js
var es = __webpack_require__(50132);
// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js
var es_ref = __webpack_require__(42550);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js
var DisabledContext = __webpack_require__(98866);
// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js
var form_context = __webpack_require__(65223);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var InternalRadio = function InternalRadio(props, ref) {
var _classNames;
var groupContext = react.useContext(radio_context);
var radioOptionTypeContext = react.useContext(RadioOptionTypeContext);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var innerRef = react.useRef();
var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef);
var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM),
isFormItemInput = _useContext.isFormItemInput;
false ? 0 : void 0;
var onChange = function onChange(e) {
var _a, _b;
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e);
(_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e);
};
var customizePrefixCls = props.prefixCls,
className = props.className,
children = props.children,
style = props.style,
customDisabled = props.disabled,
restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]);
var radioPrefixCls = getPrefixCls('radio', customizePrefixCls);
var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls;
var radioProps = (0,esm_extends/* default */.Z)({}, restProps);
// ===================== Disabled =====================
var disabled = react.useContext(DisabledContext/* default */.Z);
radioProps.disabled = customDisabled || disabled;
if (groupContext) {
radioProps.name = groupContext.name;
radioProps.onChange = onChange;
radioProps.checked = props.value === groupContext.value;
radioProps.disabled = radioProps.disabled || groupContext.disabled;
}
var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className);
return (
/*#__PURE__*/
// eslint-disable-next-line jsx-a11y/label-has-associated-control
react.createElement("label", {
className: wrapperClassString,
style: style,
onMouseEnter: props.onMouseEnter,
onMouseLeave: props.onMouseLeave
}, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, {
type: "radio",
prefixCls: prefixCls,
ref: mergedRef
})), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null)
);
};
var Radio = /*#__PURE__*/react.forwardRef(InternalRadio);
if (false) {}
/* harmony default export */ var radio_radio = (Radio);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js
var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) {
var _classNames;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var size = react.useContext(SizeContext/* default */.Z);
var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, {
value: props.value
}),
_useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
value = _useMergedState2[0],
setValue = _useMergedState2[1];
var onRadioChange = function onRadioChange(ev) {
var lastValue = value;
var val = ev.target.value;
if (!('value' in props)) {
setValue(val);
}
var onChange = props.onChange;
if (onChange && val !== lastValue) {
onChange(ev);
}
};
var customizePrefixCls = props.prefixCls,
_props$className = props.className,
className = _props$className === void 0 ? '' : _props$className,
options = props.options,
_props$buttonStyle = props.buttonStyle,
buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle,
disabled = props.disabled,
children = props.children,
customizeSize = props.size,
style = props.style,
id = props.id,
onMouseEnter = props.onMouseEnter,
onMouseLeave = props.onMouseLeave,
onFocus = props.onFocus,
onBlur = props.onBlur;
var prefixCls = getPrefixCls('radio', customizePrefixCls);
var groupPrefixCls = "".concat(prefixCls, "-group");
var childrenToRender = children;
// 如果存在 options, 优先使用
if (options && options.length > 0) {
childrenToRender = options.map(function (option) {
if (typeof option === 'string' || typeof option === 'number') {
// 此处类型自动推导为 string
return /*#__PURE__*/react.createElement(radio_radio, {
key: option.toString(),
prefixCls: prefixCls,
disabled: disabled,
value: option,
checked: value === option
}, option);
}
// 此处类型自动推导为 { label: string value: string }
return /*#__PURE__*/react.createElement(radio_radio, {
key: "radio-group-value-options-".concat(option.value),
prefixCls: prefixCls,
disabled: option.disabled || disabled,
value: option.value,
checked: value === option.value,
style: option.style
}, option.label);
});
}
var mergedSize = customizeSize || size;
var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), {
className: classString,
style: style,
onMouseEnter: onMouseEnter,
onMouseLeave: onMouseLeave,
onFocus: onFocus,
onBlur: onBlur,
id: id,
ref: ref
}), /*#__PURE__*/react.createElement(RadioGroupContextProvider, {
value: {
onChange: onRadioChange,
value: value,
disabled: props.disabled,
name: props.name,
optionType: props.optionType
}
}, childrenToRender));
});
/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup));
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js
var radioButton_rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var RadioButton = function RadioButton(props, ref) {
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var customizePrefixCls = props.prefixCls,
radioProps = radioButton_rest(props, ["prefixCls"]);
var prefixCls = getPrefixCls('radio', customizePrefixCls);
return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, {
value: "button"
}, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({
prefixCls: prefixCls
}, radioProps, {
type: "radio",
ref: ref
})));
};
/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton));
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js
var radio_Radio = radio_radio;
radio_Radio.Button = radioButton;
radio_Radio.Group = group;
radio_Radio.__ANT_RADIO = true;
/* harmony default export */ var es_radio = (radio_Radio);
/***/ }),
/***/ 83822:
/*!***************************************************************!*\
!*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***!
\***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js
// deps-lint-skip: form
/***/ }),
/***/ 7124:
/*!**********************************************************************************************!*\
!*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***!
\**********************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_EyeOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js
// This icon file is generated automatically.
var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" };
/* harmony default export */ var asn_EyeOutlined = (EyeOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(93771);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_EyeOutlined
}));
};
EyeOutlined_EyeOutlined.displayName = 'EyeOutlined';
/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined));
/***/ })
}]);

@ -0,0 +1,392 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[90180],{
/***/ 90180:
/*!**************************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/scala/scala.js ***!
\**************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "conf": function() { return /* binding */ conf; },
/* harmony export */ "language": function() { return /* binding */ language; }
/* harmony export */ });
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
var conf = {
/*
* `...` is allowed as an identifier.
* $ is allowed in identifiers.
* unary_<op> is allowed as an identifier.
* <name>_= is allowed as an identifier.
*/
wordPattern: /(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,
comments: {
lineComment: '//',
blockComment: ['/*', '*/']
},
brackets: [
['{', '}'],
['[', ']'],
['(', ')']
],
autoClosingPairs: [
{ open: '{', close: '}' },
{ open: '[', close: ']' },
{ open: '(', close: ')' },
{ open: '"', close: '"' },
{ open: "'", close: "'" }
],
surroundingPairs: [
{ open: '{', close: '}' },
{ open: '[', close: ']' },
{ open: '(', close: ')' },
{ open: '"', close: '"' },
{ open: "'", close: "'" }
],
folding: {
markers: {
start: new RegExp('^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))'),
end: new RegExp('^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))')
}
}
};
var language = {
tokenPostfix: '.scala',
// We can't easily add everything from Dotty, but we can at least add some of its keywords
keywords: [
'asInstanceOf',
'catch',
'class',
'classOf',
'def',
'do',
'else',
'extends',
'finally',
'for',
'foreach',
'forSome',
'if',
'import',
'isInstanceOf',
'macro',
'match',
'new',
'object',
'package',
'return',
'throw',
'trait',
'try',
'type',
'until',
'val',
'var',
'while',
'with',
'yield',
// Dotty-specific:
'given',
'enum',
'then'
],
// Dotty-specific:
softKeywords: ['as', 'export', 'extension', 'end', 'derives', 'on'],
constants: ['true', 'false', 'null', 'this', 'super'],
modifiers: [
'abstract',
'final',
'implicit',
'lazy',
'override',
'private',
'protected',
'sealed'
],
// Dotty-specific:
softModifiers: ['inline', 'opaque', 'open', 'transparent', 'using'],
name: /(?:[a-z_$][\w$]*|`[^`]+`)/,
type: /(?:[A-Z][\w$]*)/,
// we include these common regular expressions
symbols: /[=><!~?:&|+\-*\/^\\%@#]+/,
digits: /\d+(_+\d+)*/,
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
// C# style strings
escapes: /\\(?:[btnfr\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
fstring_conv: /[bBhHsScCdoxXeEfgGaAt]|[Tn](?:[HIklMSLNpzZsQ]|[BbhAaCYyjmde]|[RTrDFC])/,
// The main tokenizer for our languages
tokenizer: {
root: [
// strings
[/\braw"""/, { token: 'string.quote', bracket: '@open', next: '@rawstringt' }],
[/\braw"/, { token: 'string.quote', bracket: '@open', next: '@rawstring' }],
[/\bs"""/, { token: 'string.quote', bracket: '@open', next: '@sstringt' }],
[/\bs"/, { token: 'string.quote', bracket: '@open', next: '@sstring' }],
[/\bf""""/, { token: 'string.quote', bracket: '@open', next: '@fstringt' }],
[/\bf"/, { token: 'string.quote', bracket: '@open', next: '@fstring' }],
[/"""/, { token: 'string.quote', bracket: '@open', next: '@stringt' }],
[/"/, { token: 'string.quote', bracket: '@open', next: '@string' }],
// numbers
[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, 'number.float', '@allowMethod'],
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, 'number.float', '@allowMethod'],
[/0[xX](@hexdigits)[Ll]?/, 'number.hex', '@allowMethod'],
[/(@digits)[fFdD]/, 'number.float', '@allowMethod'],
[/(@digits)[lL]?/, 'number', '@allowMethod'],
[/\b_\*/, 'key'],
[/\b(_)\b/, 'keyword', '@allowMethod'],
// identifiers and keywords
[/\bimport\b/, 'keyword', '@import'],
[/\b(case)([ \t]+)(class)\b/, ['keyword.modifier', 'white', 'keyword']],
[/\bcase\b/, 'keyword', '@case'],
[/\bva[lr]\b/, 'keyword', '@vardef'],
[
/\b(def)([ \t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/,
['keyword', 'white', 'identifier']
],
[/@name(?=[ \t]*:(?!:))/, 'variable'],
[/(\.)(@name|@symbols)/, ['operator', { token: '@rematch', next: '@allowMethod' }]],
[/([{(])(\s*)(@name(?=\s*=>))/, ['@brackets', 'white', 'variable']],
[
/@name/,
{
cases: {
'@keywords': 'keyword',
'@softKeywords': 'keyword',
'@modifiers': 'keyword.modifier',
'@softModifiers': 'keyword.modifier',
'@constants': {
token: 'constant',
next: '@allowMethod'
},
'@default': {
token: 'identifier',
next: '@allowMethod'
}
}
}
],
[/@type/, 'type', '@allowMethod'],
// whitespace
{ include: '@whitespace' },
// @ annotations.
[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/, 'annotation'],
// delimiters and operators
[/[{(]/, '@brackets'],
[/[})]/, '@brackets', '@allowMethod'],
[/\[/, 'operator.square'],
[/](?!\s*(?:va[rl]|def|type)\b)/, 'operator.square', '@allowMethod'],
[/]/, 'operator.square'],
[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/, 'keyword'],
[/@symbols/, 'operator'],
// delimiter: after number because of .\d floats
[/[;,\.]/, 'delimiter'],
// symbols
[/'[a-zA-Z$][\w$]*(?!')/, 'attribute.name'],
// characters
[/'[^\\']'/, 'string', '@allowMethod'],
[
/(')(@escapes)(')/,
['string', 'string.escape', { token: 'string', next: '@allowMethod' }]
],
[/'/, 'string.invalid']
],
import: [
[/;/, 'delimiter', '@pop'],
[/^|$/, '', '@pop'],
[/[ \t]+/, 'white'],
[/[\n\r]+/, 'white', '@pop'],
[/\/\*/, 'comment', '@comment'],
[/@name|@type/, 'type'],
[/[(){}]/, '@brackets'],
[/[[\]]/, 'operator.square'],
[/[\.,]/, 'delimiter']
],
allowMethod: [
[/^|$/, '', '@pop'],
[/[ \t]+/, 'white'],
[/[\n\r]+/, 'white', '@pop'],
[/\/\*/, 'comment', '@comment'],
[/(?==>[\s\w([{])/, 'keyword', '@pop'],
[
/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,
{
cases: {
'@keywords': { token: 'keyword', next: '@pop' },
'->|<-|>:|<:|<%': { token: 'keyword', next: '@pop' },
'@default': { token: '@rematch', next: '@pop' }
}
}
],
['', '', '@pop']
],
comment: [
[/[^\/*]+/, 'comment'],
[/\/\*/, 'comment', '@push'],
[/\*\//, 'comment', '@pop'],
[/[\/*]/, 'comment']
],
case: [
[/\b_\*/, 'key'],
[/\b(_|true|false|null|this|super)\b/, 'keyword', '@allowMethod'],
[/\bif\b|=>/, 'keyword', '@pop'],
[/`[^`]+`/, 'identifier', '@allowMethod'],
[/@name/, 'variable', '@allowMethod'],
[/:::?|\||@(?![a-z_$])/, 'keyword'],
{ include: '@root' }
],
vardef: [
[/\b_\*/, 'key'],
[/\b(_|true|false|null|this|super)\b/, 'keyword'],
[/@name/, 'variable'],
[/:::?|\||@(?![a-z_$])/, 'keyword'],
[/=|:(?!:)/, 'operator', '@pop'],
[/$/, 'white', '@pop'],
{ include: '@root' }
],
string: [
[/[^\\"\n\r]+/, 'string'],
[/@escapes/, 'string.escape'],
[/\\./, 'string.escape.invalid'],
[
/"/,
{
token: 'string.quote',
bracket: '@close',
switchTo: '@allowMethod'
}
]
],
stringt: [
[/[^\\"\n\r]+/, 'string'],
[/@escapes/, 'string.escape'],
[/\\./, 'string.escape.invalid'],
[/"(?=""")/, 'string'],
[
/"""/,
{
token: 'string.quote',
bracket: '@close',
switchTo: '@allowMethod'
}
],
[/"/, 'string']
],
fstring: [
[/@escapes/, 'string.escape'],
[
/"/,
{
token: 'string.quote',
bracket: '@close',
switchTo: '@allowMethod'
}
],
[/\$\$/, 'string'],
[/(\$)([a-z_]\w*)/, ['operator', 'identifier']],
[/\$\{/, 'operator', '@interp'],
[/%%/, 'string'],
[
/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,
['metatag', 'keyword.modifier', 'number', 'metatag']
],
[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/, ['metatag', 'number', 'metatag']],
[/(%)([\-#+ 0,(])(@fstring_conv)/, ['metatag', 'keyword.modifier', 'metatag']],
[/(%)(@fstring_conv)/, ['metatag', 'metatag']],
[/./, 'string']
],
fstringt: [
[/@escapes/, 'string.escape'],
[/"(?=""")/, 'string'],
[
/"""/,
{
token: 'string.quote',
bracket: '@close',
switchTo: '@allowMethod'
}
],
[/\$\$/, 'string'],
[/(\$)([a-z_]\w*)/, ['operator', 'identifier']],
[/\$\{/, 'operator', '@interp'],
[/%%/, 'string'],
[
/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,
['metatag', 'keyword.modifier', 'number', 'metatag']
],
[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/, ['metatag', 'number', 'metatag']],
[/(%)([\-#+ 0,(])(@fstring_conv)/, ['metatag', 'keyword.modifier', 'metatag']],
[/(%)(@fstring_conv)/, ['metatag', 'metatag']],
[/./, 'string']
],
sstring: [
[/@escapes/, 'string.escape'],
[
/"/,
{
token: 'string.quote',
bracket: '@close',
switchTo: '@allowMethod'
}
],
[/\$\$/, 'string'],
[/(\$)([a-z_]\w*)/, ['operator', 'identifier']],
[/\$\{/, 'operator', '@interp'],
[/./, 'string']
],
sstringt: [
[/@escapes/, 'string.escape'],
[/"(?=""")/, 'string'],
[
/"""/,
{
token: 'string.quote',
bracket: '@close',
switchTo: '@allowMethod'
}
],
[/\$\$/, 'string'],
[/(\$)([a-z_]\w*)/, ['operator', 'identifier']],
[/\$\{/, 'operator', '@interp'],
[/./, 'string']
],
interp: [[/{/, 'operator', '@push'], [/}/, 'operator', '@pop'], { include: '@root' }],
rawstring: [
[/[^"]/, 'string'],
[
/"/,
{
token: 'string.quote',
bracket: '@close',
switchTo: '@allowMethod'
}
]
],
rawstringt: [
[/[^"]/, 'string'],
[/"(?=""")/, 'string'],
[
/"""/,
{
token: 'string.quote',
bracket: '@close',
switchTo: '@allowMethod'
}
],
[/"/, 'string']
],
whitespace: [
[/[ \t\r\n]+/, 'white'],
[/\/\*/, 'comment', '@comment'],
[/\/\/.*$/, 'comment']
]
}
};
/***/ })
}]);

@ -0,0 +1,830 @@
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-breadcrumb {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-variant: tabular-nums;
line-height: 1.66667;
list-style: none;
font-feature-settings: tnum, "tnum";
color: rgba(0, 0, 0, 0.45);
font-size: 12px;
}
.ant-breadcrumb .anticon {
font-size: 12px;
}
.ant-breadcrumb ol {
display: flex;
flex-wrap: wrap;
margin: 0;
padding: 0;
list-style: none;
}
.ant-breadcrumb a {
color: rgba(0, 0, 0, 0.45);
transition: color 0.3s;
}
.ant-breadcrumb a:hover {
color: rgba(0, 0, 0, 0.85);
}
.ant-breadcrumb li:last-child {
color: rgba(0, 0, 0, 0.85);
}
.ant-breadcrumb li:last-child a {
color: rgba(0, 0, 0, 0.85);
}
li:last-child > .ant-breadcrumb-separator {
display: none;
}
.ant-breadcrumb-separator {
margin: 0 4px;
color: rgba(0, 0, 0, 0.45);
}
.ant-breadcrumb-link > .anticon + span,
.ant-breadcrumb-link > .anticon + a {
margin-left: 4px;
}
.ant-breadcrumb-overlay-link > .anticon {
margin-left: 4px;
}
.ant-breadcrumb-rtl {
direction: rtl;
}
.ant-breadcrumb-rtl::before {
display: table;
content: '';
}
.ant-breadcrumb-rtl::after {
display: table;
clear: both;
content: '';
}
.ant-breadcrumb-rtl > span {
float: right;
}
.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + span,
.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + a {
margin-right: 4px;
margin-left: 0;
}
.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link > .anticon {
margin-right: 4px;
margin-left: 0;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/skeleton/style/index.less ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-skeleton {
display: table;
width: 100%;
}
.ant-skeleton-header {
display: table-cell;
padding-right: 8px;
vertical-align: top;
}
.ant-skeleton-header .ant-skeleton-avatar {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 28px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-header .ant-skeleton-avatar-lg {
width: 32px;
height: 32px;
line-height: 32px;
}
.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-header .ant-skeleton-avatar-sm {
width: 22px;
height: 22px;
line-height: 22px;
}
.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-content {
display: table-cell;
width: 100%;
vertical-align: top;
}
.ant-skeleton-content .ant-skeleton-title {
width: 100%;
height: 14px;
background: rgba(190, 190, 190, 0.2);
border-radius: 2px;
}
.ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph {
margin-top: 20px;
}
.ant-skeleton-content .ant-skeleton-paragraph {
padding: 0;
}
.ant-skeleton-content .ant-skeleton-paragraph > li {
width: 100%;
height: 14px;
list-style: none;
background: rgba(190, 190, 190, 0.2);
border-radius: 2px;
}
.ant-skeleton-content .ant-skeleton-paragraph > li:last-child:not(:first-child):not(:nth-child(2)) {
width: 61%;
}
.ant-skeleton-content .ant-skeleton-paragraph > li + li {
margin-top: 12px;
}
.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title {
margin-top: 8px;
}
.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph {
margin-top: 20px;
}
.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title,
.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph > li {
border-radius: 100px;
}
.ant-skeleton-active .ant-skeleton-title,
.ant-skeleton-active .ant-skeleton-paragraph > li,
.ant-skeleton-active .ant-skeleton-avatar,
.ant-skeleton-active .ant-skeleton-button,
.ant-skeleton-active .ant-skeleton-input,
.ant-skeleton-active .ant-skeleton-image {
position: relative;
/* stylelint-disable-next-line property-no-vendor-prefix,value-no-vendor-prefix */
z-index: 0;
overflow: hidden;
background: transparent;
}
.ant-skeleton-active .ant-skeleton-title::after,
.ant-skeleton-active .ant-skeleton-paragraph > li::after,
.ant-skeleton-active .ant-skeleton-avatar::after,
.ant-skeleton-active .ant-skeleton-button::after,
.ant-skeleton-active .ant-skeleton-input::after,
.ant-skeleton-active .ant-skeleton-image::after {
position: absolute;
top: 0;
right: -150%;
bottom: 0;
left: -150%;
background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);
animation: ant-skeleton-loading 1.4s ease infinite;
content: '';
}
.ant-skeleton.ant-skeleton-block {
width: 100%;
}
.ant-skeleton.ant-skeleton-block .ant-skeleton-button {
width: 100%;
}
.ant-skeleton.ant-skeleton-block .ant-skeleton-input {
width: 100%;
}
.ant-skeleton-element {
display: inline-block;
width: auto;
}
.ant-skeleton-element .ant-skeleton-button {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
border-radius: 2px;
width: 56px;
min-width: 56px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-square {
width: 28px;
min-width: 28px;
}
.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle {
width: 28px;
min-width: 28px;
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round {
border-radius: 28px;
}
.ant-skeleton-element .ant-skeleton-button-lg {
width: 64px;
min-width: 64px;
height: 32px;
line-height: 32px;
}
.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-square {
width: 32px;
min-width: 32px;
}
.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle {
width: 32px;
min-width: 32px;
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round {
border-radius: 32px;
}
.ant-skeleton-element .ant-skeleton-button-sm {
width: 44px;
min-width: 44px;
height: 22px;
line-height: 22px;
}
.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-square {
width: 22px;
min-width: 22px;
}
.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle {
width: 22px;
min-width: 22px;
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round {
border-radius: 22px;
}
.ant-skeleton-element .ant-skeleton-avatar {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 28px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-avatar-lg {
width: 32px;
height: 32px;
line-height: 32px;
}
.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-avatar-sm {
width: 22px;
height: 22px;
line-height: 22px;
}
.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-input {
display: inline-block;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 140px;
min-width: 140px;
height: 28px;
line-height: 28px;
}
.ant-skeleton-element .ant-skeleton-input-lg {
width: 160px;
min-width: 160px;
height: 32px;
line-height: 32px;
}
.ant-skeleton-element .ant-skeleton-input-sm {
width: 110px;
min-width: 110px;
height: 22px;
line-height: 22px;
}
.ant-skeleton-element .ant-skeleton-image {
display: flex;
align-items: center;
justify-content: center;
vertical-align: top;
background: rgba(190, 190, 190, 0.2);
width: 96px;
height: 96px;
line-height: 96px;
}
.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle {
border-radius: 50%;
}
.ant-skeleton-element .ant-skeleton-image-path {
fill: #bfbfbf;
}
.ant-skeleton-element .ant-skeleton-image-svg {
width: 48px;
height: 48px;
line-height: 48px;
max-width: 192px;
max-height: 192px;
}
.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle {
border-radius: 50%;
}
@keyframes ant-skeleton-loading {
0% {
transform: translateX(-37.5%);
}
100% {
transform: translateX(37.5%);
}
}
.ant-skeleton-rtl {
direction: rtl;
}
.ant-skeleton-rtl .ant-skeleton-header {
padding-right: 0;
padding-left: 16px;
}
.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,
.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph > li {
animation-name: ant-skeleton-loading-rtl;
}
.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar {
animation-name: ant-skeleton-loading-rtl;
}
@keyframes ant-skeleton-loading-rtl {
0% {
background-position: 0% 50%;
}
100% {
background-position: 100% 50%;
}
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/radio/style/index.less ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-radio-group {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-size: 12px;
font-variant: tabular-nums;
line-height: 1.66667;
list-style: none;
font-feature-settings: tnum, "tnum";
display: inline-block;
font-size: 0;
}
.ant-radio-group .ant-badge-count {
z-index: 1;
}
.ant-radio-group > .ant-badge:not(:first-child) > .ant-radio-button-wrapper {
border-left: none;
}
.ant-radio-wrapper {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-size: 12px;
font-variant: tabular-nums;
line-height: 1.66667;
list-style: none;
font-feature-settings: tnum, "tnum";
position: relative;
display: inline-flex;
align-items: baseline;
margin-right: 6px;
cursor: pointer;
}
.ant-radio-wrapper-disabled {
cursor: not-allowed;
}
.ant-radio-wrapper::after {
display: inline-block;
width: 0;
overflow: hidden;
content: '\a0';
}
.ant-radio-wrapper.ant-radio-wrapper-in-form-item input[type='radio'] {
width: 14px;
height: 14px;
}
.ant-radio {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-size: 12px;
font-variant: tabular-nums;
line-height: 1.66667;
list-style: none;
font-feature-settings: tnum, "tnum";
position: relative;
top: 0.2em;
display: inline-block;
outline: none;
cursor: pointer;
}
.ant-radio-wrapper:hover .ant-radio,
.ant-radio:hover .ant-radio-inner,
.ant-radio-input:focus + .ant-radio-inner {
border-color: #1890ff;
}
.ant-radio-input:focus + .ant-radio-inner {
box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.12);
}
.ant-radio-checked::after {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 1px solid #1890ff;
border-radius: 50%;
visibility: hidden;
animation: antRadioEffect 0.36s ease-in-out;
animation-fill-mode: both;
content: '';
}
.ant-radio:hover::after,
.ant-radio-wrapper:hover .ant-radio::after {
visibility: visible;
}
.ant-radio-inner {
position: relative;
top: 0;
left: 0;
display: block;
width: 14px;
height: 14px;
background-color: #fff;
border-color: #d9d9d9;
border-style: solid;
border-width: 1px;
border-radius: 50%;
transition: all 0.3s;
}
.ant-radio-inner::after {
position: absolute;
top: 50%;
left: 50%;
display: block;
width: 14px;
height: 14px;
margin-top: -7px;
margin-left: -7px;
background-color: #1890ff;
border-top: 0;
border-left: 0;
border-radius: 14px;
transform: scale(0);
opacity: 0;
transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
content: ' ';
}
.ant-radio-input {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
cursor: pointer;
opacity: 0;
}
.ant-radio.ant-radio-disabled .ant-radio-inner {
border-color: #d9d9d9;
}
.ant-radio-checked .ant-radio-inner {
border-color: #1890ff;
}
.ant-radio-checked .ant-radio-inner::after {
transform: scale(0.42857143);
opacity: 1;
transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.ant-radio-disabled {
cursor: not-allowed;
}
.ant-radio-disabled .ant-radio-inner {
background-color: #f5f5f5;
cursor: not-allowed;
}
.ant-radio-disabled .ant-radio-inner::after {
background-color: rgba(0, 0, 0, 0.2);
}
.ant-radio-disabled .ant-radio-input {
cursor: not-allowed;
}
.ant-radio-disabled + span {
color: rgba(0, 0, 0, 0.25);
cursor: not-allowed;
}
span.ant-radio + * {
padding-right: 8px;
padding-left: 8px;
}
.ant-radio-button-wrapper {
position: relative;
display: inline-block;
height: 28px;
margin: 0;
padding: 0 7px;
color: rgba(0, 0, 0, 0.85);
font-size: 12px;
line-height: 26px;
background: #fff;
border: 1px solid #d9d9d9;
border-top-width: 1.02px;
border-left-width: 0;
cursor: pointer;
transition: color 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.ant-radio-button-wrapper a {
color: rgba(0, 0, 0, 0.85);
}
.ant-radio-button-wrapper > .ant-radio-button {
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 100%;
height: 100%;
}
.ant-radio-group-large .ant-radio-button-wrapper {
height: 32px;
font-size: 14px;
line-height: 30px;
}
.ant-radio-group-small .ant-radio-button-wrapper {
height: 22px;
padding: 0 7px;
line-height: 20px;
}
.ant-radio-button-wrapper:not(:first-child)::before {
position: absolute;
top: -1px;
left: -1px;
display: block;
box-sizing: content-box;
width: 1px;
height: 100%;
padding: 1px 0;
background-color: #d9d9d9;
transition: background-color 0.3s;
content: '';
}
.ant-radio-button-wrapper:first-child {
border-left: 1px solid #d9d9d9;
border-radius: 2px 0 0 2px;
}
.ant-radio-button-wrapper:last-child {
border-radius: 0 2px 2px 0;
}
.ant-radio-button-wrapper:first-child:last-child {
border-radius: 2px;
}
.ant-radio-button-wrapper:hover {
position: relative;
color: #1890ff;
}
.ant-radio-button-wrapper:focus-within {
box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.12);
}
.ant-radio-button-wrapper .ant-radio-inner,
.ant-radio-button-wrapper input[type='checkbox'],
.ant-radio-button-wrapper input[type='radio'] {
width: 0;
height: 0;
opacity: 0;
pointer-events: none;
}
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
z-index: 1;
color: #1890ff;
background: #fff;
border-color: #1890ff;
}
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)::before {
background-color: #1890ff;
}
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child {
border-color: #1890ff;
}
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
color: #40a9ff;
border-color: #40a9ff;
}
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover::before {
background-color: #40a9ff;
}
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {
color: #096dd9;
border-color: #096dd9;
}
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active::before {
background-color: #096dd9;
}
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {
box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.12);
}
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
color: #fff;
background: #1890ff;
border-color: #1890ff;
}
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
color: #fff;
background: #40a9ff;
border-color: #40a9ff;
}
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {
color: #fff;
background: #096dd9;
border-color: #096dd9;
}
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {
box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.12);
}
.ant-radio-button-wrapper-disabled {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
cursor: not-allowed;
}
.ant-radio-button-wrapper-disabled:first-child,
.ant-radio-button-wrapper-disabled:hover {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
}
.ant-radio-button-wrapper-disabled:first-child {
border-left-color: #d9d9d9;
}
.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {
color: rgba(0, 0, 0, 0.25);
background-color: #e6e6e6;
border-color: #d9d9d9;
box-shadow: none;
}
@keyframes antRadioEffect {
0% {
transform: scale(1);
opacity: 0.5;
}
100% {
transform: scale(1.6);
opacity: 0;
}
}
.ant-radio-group.ant-radio-group-rtl {
direction: rtl;
}
.ant-radio-wrapper.ant-radio-wrapper-rtl {
margin-right: 0;
margin-left: 6px;
direction: rtl;
}
.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl {
border-right-width: 0;
border-left-width: 1px;
}
.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:not(:first-child)::before {
right: -1px;
left: 0;
}
.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:first-child {
border-right: 1px solid #d9d9d9;
border-radius: 0 2px 2px 0;
}
.ant-radio-button-wrapper-checked:not([class*=' ant-radio-button-wrapper-disabled']).ant-radio-button-wrapper:first-child {
border-right-color: #40a9ff;
}
.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:last-child {
border-radius: 2px 0 0 2px;
}
.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper-disabled:first-child {
border-right-color: #d9d9d9;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/rate/style/index.less ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-rate {
box-sizing: border-box;
color: rgba(0, 0, 0, 0.85);
font-size: 12px;
font-variant: tabular-nums;
line-height: 1.66667;
font-feature-settings: tnum, "tnum";
display: inline-block;
margin: 0;
padding: 0;
color: #fadb14;
font-size: 16px;
line-height: inherit;
list-style: none;
outline: none;
}
.ant-rate-disabled .ant-rate-star {
cursor: default;
}
.ant-rate-disabled .ant-rate-star > div:hover {
transform: scale(1);
}
.ant-rate-star {
position: relative;
display: inline-block;
color: inherit;
cursor: pointer;
}
.ant-rate-star:not(:last-child) {
margin-right: 8px;
}
.ant-rate-star > div {
transition: all 0.3s, outline 0s;
}
.ant-rate-star > div:hover {
transform: scale(1.1);
}
.ant-rate-star > div:focus {
outline: 0;
}
.ant-rate-star > div:focus-visible {
outline: 1px dashed #fadb14;
transform: scale(1.1);
}
.ant-rate-star-first,
.ant-rate-star-second {
color: #f0f0f0;
transition: all 0.3s;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.ant-rate-star-first .anticon,
.ant-rate-star-second .anticon {
vertical-align: middle;
}
.ant-rate-star-first {
position: absolute;
top: 0;
left: 0;
width: 50%;
height: 100%;
overflow: hidden;
opacity: 0;
}
.ant-rate-star-half .ant-rate-star-first,
.ant-rate-star-half .ant-rate-star-second {
opacity: 1;
}
.ant-rate-star-half .ant-rate-star-first,
.ant-rate-star-full .ant-rate-star-second {
color: inherit;
}
.ant-rate-text {
display: inline-block;
margin: 0 8px;
font-size: 12px;
}
.ant-rate-rtl {
direction: rtl;
}
.ant-rate-rtl .ant-rate-star:not(:last-child) {
margin-right: 0;
margin-left: 8px;
}
.ant-rate-rtl .ant-rate-star-first {
right: 0;
left: auto;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[40874],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[93291,69085],{
/***/ 66023:
/*!*******************************************************************!*\
@ -594,6 +594,443 @@ var style_default = __webpack_require__(43146);
// deps-lint-skip: form
/***/ }),
/***/ 73481:
/*!*************************************************************!*\
!*** ./node_modules/antd/es/skeleton/index.js + 11 modules ***!
\*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ skeleton; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
var esm_typeof = __webpack_require__(71002);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js
var omit = __webpack_require__(98423);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Element.js
var Element = function Element(props) {
var _classNames, _classNames2;
var prefixCls = props.prefixCls,
className = props.className,
style = props.style,
size = props.size,
shape = props.shape;
var sizeCls = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), _classNames));
var shapeCls = classnames_default()((_classNames2 = {}, (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-circle"), shape === 'circle'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-square"), shape === 'square'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-round"), shape === 'round'), _classNames2));
var sizeStyle = react.useMemo(function () {
return typeof size === 'number' ? {
width: size,
height: size,
lineHeight: "".concat(size, "px")
} : {};
}, [size]);
return /*#__PURE__*/react.createElement("span", {
className: classnames_default()(prefixCls, sizeCls, shapeCls, className),
style: (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, sizeStyle), style)
});
};
/* harmony default export */ var skeleton_Element = (Element);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Avatar.js
var SkeletonAvatar = function SkeletonAvatar(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
_props$shape = props.shape,
shape = _props$shape === void 0 ? 'circle' : _props$shape,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls', 'className']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-avatar"),
shape: shape,
size: size
}, otherProps)));
};
/* harmony default export */ var Avatar = (SkeletonAvatar);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Button.js
var SkeletonButton = function SkeletonButton(props) {
var _classNames;
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
_props$block = props.block,
block = _props$block === void 0 ? false : _props$block,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-button"),
size: size
}, otherProps)));
};
/* harmony default export */ var Button = (SkeletonButton);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js
// This icon file is generated automatically.
var DotChartOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "dot-chart", "theme": "outlined" };
/* harmony default export */ var asn_DotChartOutlined = (DotChartOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(93771);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DotChartOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var DotChartOutlined_DotChartOutlined = function DotChartOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_DotChartOutlined
}));
};
DotChartOutlined_DotChartOutlined.displayName = 'DotChartOutlined';
/* harmony default export */ var icons_DotChartOutlined = (/*#__PURE__*/react.forwardRef(DotChartOutlined_DotChartOutlined));
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Node.js
var SkeletonNode = function SkeletonNode(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
style = props.style,
active = props.active,
children = props.children;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
var content = children !== null && children !== void 0 ? children : /*#__PURE__*/react.createElement(icons_DotChartOutlined, null);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement("div", {
className: classnames_default()("".concat(prefixCls, "-image"), className),
style: style
}, content));
};
/* harmony default export */ var Node = (SkeletonNode);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Image.js
var path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';
var SkeletonImage = function SkeletonImage(props) {
var customizePrefixCls = props.prefixCls,
className = props.className,
style = props.style,
active = props.active;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement("div", {
className: classnames_default()("".concat(prefixCls, "-image"), className),
style: style
}, /*#__PURE__*/react.createElement("svg", {
viewBox: "0 0 1098 1024",
xmlns: "http://www.w3.org/2000/svg",
className: "".concat(prefixCls, "-image-svg")
}, /*#__PURE__*/react.createElement("path", {
d: path,
className: "".concat(prefixCls, "-image-path")
}))));
};
/* harmony default export */ var Image = (SkeletonImage);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Input.js
var SkeletonInput = function SkeletonInput(props) {
var _classNames;
var customizePrefixCls = props.prefixCls,
className = props.className,
active = props.active,
block = props.block,
_props$size = props.size,
size = _props$size === void 0 ? 'default' : _props$size;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']);
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-input"),
size: size
}, otherProps)));
};
/* harmony default export */ var Input = (SkeletonInput);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(74902);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Paragraph.js
var Paragraph = function Paragraph(props) {
var getWidth = function getWidth(index) {
var width = props.width,
_props$rows = props.rows,
rows = _props$rows === void 0 ? 2 : _props$rows;
if (Array.isArray(width)) {
return width[index];
}
// last paragraph
if (rows - 1 === index) {
return width;
}
return undefined;
};
var prefixCls = props.prefixCls,
className = props.className,
style = props.style,
rows = props.rows;
var rowList = (0,toConsumableArray/* default */.Z)(Array(rows)).map(function (_, index) {
return (
/*#__PURE__*/
// eslint-disable-next-line react/no-array-index-key
react.createElement("li", {
key: index,
style: {
width: getWidth(index)
}
})
);
});
return /*#__PURE__*/react.createElement("ul", {
className: classnames_default()(prefixCls, className),
style: style
}, rowList);
};
/* harmony default export */ var skeleton_Paragraph = (Paragraph);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Title.js
/* eslint-disable jsx-a11y/heading-has-content */
var Title = function Title(_ref) {
var prefixCls = _ref.prefixCls,
className = _ref.className,
width = _ref.width,
style = _ref.style;
return /*#__PURE__*/react.createElement("h3", {
className: classnames_default()(prefixCls, className),
style: (0,esm_extends/* default */.Z)({
width: width
}, style)
});
};
/* harmony default export */ var skeleton_Title = (Title);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Skeleton.js
function getComponentProps(prop) {
if (prop && (0,esm_typeof/* default */.Z)(prop) === 'object') {
return prop;
}
return {};
}
function getAvatarBasicProps(hasTitle, hasParagraph) {
if (hasTitle && !hasParagraph) {
// Square avatar
return {
size: 'large',
shape: 'square'
};
}
return {
size: 'large',
shape: 'circle'
};
}
function getTitleBasicProps(hasAvatar, hasParagraph) {
if (!hasAvatar && hasParagraph) {
return {
width: '38%'
};
}
if (hasAvatar && hasParagraph) {
return {
width: '50%'
};
}
return {};
}
function getParagraphBasicProps(hasAvatar, hasTitle) {
var basicProps = {};
// Width
if (!hasAvatar || !hasTitle) {
basicProps.width = '61%';
}
// Rows
if (!hasAvatar && hasTitle) {
basicProps.rows = 3;
} else {
basicProps.rows = 2;
}
return basicProps;
}
var Skeleton = function Skeleton(props) {
var customizePrefixCls = props.prefixCls,
loading = props.loading,
className = props.className,
style = props.style,
children = props.children,
_props$avatar = props.avatar,
avatar = _props$avatar === void 0 ? false : _props$avatar,
_props$title = props.title,
title = _props$title === void 0 ? true : _props$title,
_props$paragraph = props.paragraph,
paragraph = _props$paragraph === void 0 ? true : _props$paragraph,
active = props.active,
round = props.round;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
if (loading || !('loading' in props)) {
var _classNames;
var hasAvatar = !!avatar;
var hasTitle = !!title;
var hasParagraph = !!paragraph;
// Avatar
var avatarNode;
if (hasAvatar) {
var avatarProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-avatar")
}, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar));
// We direct use SkeletonElement as avatar in skeleton internal.
avatarNode = /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-header")
}, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({}, avatarProps)));
}
var contentNode;
if (hasTitle || hasParagraph) {
// Title
var $title;
if (hasTitle) {
var titleProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-title")
}, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title));
$title = /*#__PURE__*/react.createElement(skeleton_Title, (0,esm_extends/* default */.Z)({}, titleProps));
}
// Paragraph
var paragraphNode;
if (hasParagraph) {
var paragraphProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({
prefixCls: "".concat(prefixCls, "-paragraph")
}, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph));
paragraphNode = /*#__PURE__*/react.createElement(skeleton_Paragraph, (0,esm_extends/* default */.Z)({}, paragraphProps));
}
contentNode = /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-content")
}, $title, paragraphNode);
}
var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-avatar"), hasAvatar), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-round"), round), _classNames), className);
return /*#__PURE__*/react.createElement("div", {
className: cls,
style: style
}, avatarNode, contentNode);
}
return typeof children !== 'undefined' ? children : null;
};
Skeleton.Button = Button;
Skeleton.Avatar = Avatar;
Skeleton.Input = Input;
Skeleton.Image = Image;
Skeleton.Node = Node;
/* harmony default export */ var skeleton_Skeleton = (Skeleton);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/index.js
/* harmony default export */ var skeleton = (skeleton_Skeleton);
/***/ }),
/***/ 61099:
/*!******************************************************************!*\
!*** ./node_modules/antd/es/skeleton/style/index.js + 1 modules ***!
\******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.js
/***/ }),
/***/ 13622:

@ -83,7 +83,7 @@ html {--antd-wave-shadow-color: @primary-color;}
.ant-zoom-right-enter, .ant-zoom-right-appear {animation-fill-mode: both;}
.ant-zoom-right-leave {animation-fill-mode: both;}
.ant-alert {color: @text-color;border-radius: 2px;}
.ant-alert-success {background-color: color(~`colorPalette("@{success-color}", 1)`);border: 1px solid color(~`colorPalette("@{success-color}", 3)`);}
.ant-alert-success {background-color: color(~`colorPalette("@{success-color}", 1)`);border: 1px solid color(~`colorPalette("@{success-color}", 4)`);}
.ant-alert-success .ant-alert-icon {color: @success-color;}
.ant-alert-info {background-color: color(~`colorPalette("@{primary-color}", 1)`);border: 1px solid color(~`colorPalette("@{primary-color}", 3)`);}
.ant-alert-info .ant-alert-icon {color: @primary-color;}
@ -563,10 +563,10 @@ a.ant-btn-disabled:active > a:only-child::after {background: transparent;}
.ant-comment-actions > li > span {color: @text-color-secondary;}
.ant-comment-actions > li > span:hover {color: #595959;}
.ant-picker-status-error.ant-picker, .ant-picker-status-error.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @error-color;}
.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(131, 136, 97, 0.2);border-right-width: 1px;}
.ant-picker-status-error.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{error-color}", 5)`);}
.ant-picker-status-warning.ant-picker, .ant-picker-status-warning.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @warning-color;}
.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(80, 45, 110, 0.2);border-right-width: 1px;}
.ant-picker-status-warning.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{warning-color}", 5)`);}
.ant-picker {color: @text-color;background: #fff;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-picker:hover, .ant-picker-focused {border-color: color(~`colorPalette("@{primary-color}", 5)`);border-right-width: 1px;}
@ -788,16 +788,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.anticon.ant-input-clear-icon:hover, .ant-input-clear-icon:hover {color: @text-color-secondary;}
.anticon.ant-input-clear-icon:active, .ant-input-clear-icon:active {color: @text-color;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @error-color;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(131, 136, 97, 0.2);border-right-width: 1px;}
.ant-input-status-error .ant-input-prefix {color: @error-color;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @warning-color;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(80, 45, 110, 0.2);border-right-width: 1px;}
.ant-input-status-warning .ant-input-prefix {color: @warning-color;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @error-color;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(131, 136, 97, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-error .ant-input-prefix {color: @error-color;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @warning-color;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(80, 45, 110, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-warning .ant-input-prefix {color: @warning-color;}
.ant-input-group-wrapper-status-error .ant-input-group-addon {color: @error-color;border-color: @error-color;}
.ant-input-group-wrapper-status-warning .ant-input-group-addon {color: @warning-color;border-color: @warning-color;}
@ -894,16 +894,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-input-number-affix-wrapper > div.ant-input-number {border: none;}
.ant-input-number-affix-wrapper > div.ant-input-number.ant-input-number-focused {box-shadow: none !important;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @error-color;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(131, 136, 97, 0.2);border-right-width: 1px;}
.ant-input-number-status-error .ant-input-number-prefix {color: @error-color;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @warning-color;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(80, 45, 110, 0.2);border-right-width: 1px;}
.ant-input-number-status-warning .ant-input-number-prefix {color: @warning-color;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @error-color;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(131, 136, 97, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-error .ant-input-number-prefix {color: @error-color;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @warning-color;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(80, 45, 110, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-warning .ant-input-number-prefix {color: @warning-color;}
.ant-input-number-group-wrapper-status-error .ant-input-number-group-addon {color: @error-color;border-color: @error-color;}
.ant-input-number-group-wrapper-status-warning .ant-input-number-group-addon {color: @warning-color;border-color: @warning-color;}
@ -1024,10 +1024,10 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-list-grid .ant-col > .ant-list-item {border-bottom: none;}
.ant-list-bordered {border: 1px solid @border-color-base;border-radius: 2px;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @error-color;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(131, 136, 97, 0.2);border-right-width: 1px;}
.ant-mentions-status-error .ant-input-prefix {color: @error-color;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @warning-color;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(80, 45, 110, 0.2);border-right-width: 1px;}
.ant-mentions-status-warning .ant-input-prefix {color: @warning-color;}
.ant-mentions {color: @text-color;background-color: #fff;background-image: none;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-mentions::placeholder {color: #bfbfbf;}
@ -1360,9 +1360,9 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-select-multiple .ant-select-selection-item-remove {color: inherit;color: @text-color-secondary;}
.ant-select-multiple .ant-select-selection-item-remove:hover {color: rgba(0, 0, 0, 0.75);}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @error-color !important;}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(131, 136, 97, 0.2);border-right-width: 1px;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @warning-color !important;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(80, 45, 110, 0.2);border-right-width: 1px;}
.ant-select {color: @text-color;}
.ant-select:not(.ant-select-customize-input) .ant-select-selector {background-color: #fff;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {border-color: color(~`colorPalette("@{primary-color}", 5)`);box-shadow: 0 0 0 2px fade(@primary-color, 20%);border-right-width: 1px;}
@ -1636,9 +1636,9 @@ tr.ant-table-expanded-row:hover > td {background: #fbfbfb;}
.ant-tag-checkable:active, .ant-tag-checkable-checked {color: #fff;}
.ant-tag-checkable-checked {background-color: @primary-color;}
.ant-tag-checkable:active {background-color: color(~`colorPalette("@{primary-color}", 7)`);}
.ant-tag-pink {color: #c41d7f;background: #fff0f6;border-color: #ffadd2;}
.ant-tag-pink {color: #c41d7f;background: color(~`colorPalette("@{success-color}", 4)`);border-color: #ffadd2;}
.ant-tag-pink-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;}
.ant-tag-magenta {color: #c41d7f;background: #fff0f6;border-color: #ffadd2;}
.ant-tag-magenta {color: #c41d7f;background: color(~`colorPalette("@{success-color}", 4)`);border-color: #ffadd2;}
.ant-tag-magenta-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;}
.ant-tag-red {color: #cf1322;background: #fff1f0;border-color: #ffa39e;}
.ant-tag-red-inverse {color: #fff;background: #f5222d;border-color: #f5222d;}
@ -1662,7 +1662,7 @@ tr.ant-table-expanded-row:hover > td {background: #fbfbfb;}
.ant-tag-geekblue-inverse {color: #fff;background: #2f54eb;border-color: #2f54eb;}
.ant-tag-purple {color: #531dab;background: #f9f0ff;border-color: #d3adf7;}
.ant-tag-purple-inverse {color: #fff;background: #722ed1;border-color: #722ed1;}
.ant-tag-success {color: @success-color;background: color(~`colorPalette("@{success-color}", 1)`);border-color: color(~`colorPalette("@{success-color}", 3)`);}
.ant-tag-success {color: @success-color;background: color(~`colorPalette("@{success-color}", 1)`);border-color: color(~`colorPalette("@{success-color}", 4)`);}
.ant-tag-processing {color: @primary-color;background: color(~`colorPalette("@{primary-color}", 1)`);border-color: color(~`colorPalette("@{primary-color}", 3)`);}
.ant-tag-error {color: @error-color;background: color(~`colorPalette("@{error-color}", 1)`);border-color: color(~`colorPalette("@{error-color}", 3)`);}
.ant-tag-warning {color: @warning-color;background: color(~`colorPalette("@{warning-color}", 1)`);border-color: color(~`colorPalette("@{warning-color}", 3)`);}

@ -15,7 +15,7 @@
</head>
<body>
<div id="root"></div><link rel="stylesheet/less" type="text/css" href="https://www-cdn.educoder.net/color.less"><script>window.ENV = 'newBuild'</script><script src="https://www-cdn.educoder.net/js/less.min.js"></script><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="https://www-cdn.educoder.net/umi.6539cea3.js"></script>
<script src="https://www-cdn.educoder.net/umi.c79d0165.js"></script>
<script src="https://www-cdn.educoder.net/js/officeapi.js"></script>
<script src="https://www-cdn.educoder.net/js/public.js"></script>

@ -1,6 +1,19 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[37062],{
/***/ 509:
/*!*********************************************************************!*\
!*** ./node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js ***!
\*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
// This icon file is generated automatically.
var SearchOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, "name": "search", "theme": "outlined" };
/* harmony default export */ __webpack_exports__["Z"] = (SearchOutlined);
/***/ }),
/***/ 36579:
/*!*********************************************************!*\
!*** ./src/components/PreviewAll/index.tsx + 1 modules ***!
@ -2075,6 +2088,124 @@ var SimpleLayouts = function SimpleLayouts(_ref) {
/***/ }),
/***/ 48783:
/*!****************************************************************!*\
!*** ./node_modules/antd/es/_util/throttleByAnimationFrame.js ***!
\****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "U": function() { return /* binding */ throttleByAnimationFrameDecorator; },
/* harmony export */ "t": function() { return /* binding */ throttleByAnimationFrame; }
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 74902);
/* harmony import */ var rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/raf */ 75164);
function throttleByAnimationFrame(fn) {
var requestId;
var later = function later(args) {
return function () {
requestId = null;
fn.apply(void 0, (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(args));
};
};
var throttled = function throttled() {
if (requestId == null) {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
requestId = (0,rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(later(args));
}
};
throttled.cancel = function () {
rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"].cancel */ .Z.cancel(requestId);
requestId = null;
};
return throttled;
}
function throttleByAnimationFrameDecorator() {
return function throttle(target, key, descriptor) {
var fn = descriptor.value;
var definingProperty = false;
return {
configurable: true,
get: function get() {
// In IE11 calling Object.defineProperty has a side-effect of evaluating the
// getter for the property which is being replaced. This causes infinite
// recursion and an "Out of stack space" error.
// eslint-disable-next-line no-prototype-builtins
if (definingProperty || this === target.prototype || this.hasOwnProperty(key)) {
/* istanbul ignore next */
return fn;
}
var boundFn = throttleByAnimationFrame(fn.bind(this));
definingProperty = true;
Object.defineProperty(this, key, {
value: boundFn,
configurable: true,
writable: true
});
definingProperty = false;
return boundFn;
}
};
};
}
/***/ }),
/***/ 25783:
/*!*************************************************************************************!*\
!*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js ***!
\*************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _ant_design_icons_svg_es_asn_SearchOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/SearchOutlined */ 509);
/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 93771);
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var SearchOutlined = function SearchOutlined(props, ref) {
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, {
ref: ref,
icon: _ant_design_icons_svg_es_asn_SearchOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z
}));
};
SearchOutlined.displayName = 'SearchOutlined';
/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SearchOutlined));
/***/ }),
/***/ 81626:
/*!*******************************************************!*\
!*** ./node_modules/rc-pagination/es/locale/zh_CN.js ***!
\*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
/* harmony default export */ __webpack_exports__["Z"] = ({
// Options.jsx
items_per_page: '条/页',
jump_to: '跳至',
jump_to_confirm: '确定',
page: '页',
// Pagination.jsx
prev_page: '上一页',
next_page: '下一页',
prev_5: '向前 5 页',
next_5: '向后 5 页',
prev_3: '向前 3 页',
next_3: '向后 3 页',
page_size: '页码'
});
/***/ }),
/***/ 32637:
/*!***********************************************!*\
!*** ./src/assets/images/AssistantCode3.jpeg ***!

@ -171,6 +171,7 @@ __webpack_require__(/*! ../language/typescript/monaco.contribution.js */ 15422);
__webpack_require__(/*! ../basic-languages/vb/vb.contribution.js */ 58203);
__webpack_require__(/*! ../basic-languages/xml/xml.contribution.js */ 81905);
__webpack_require__(/*! ../basic-languages/yaml/yaml.contribution.js */ 94199);
__webpack_require__(/*! ../basic-languages/scala/scala.contribution.js */ 37266);
/***/ }),
@ -23965,6 +23966,31 @@ __webpack_require__.r(__webpack_exports__);
});
/***/ }),
/***/ 37266:
/*!***************************************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/scala/scala.contribution.js ***!
\***************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _contribution_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_.contribution.js */ 25552);
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
(0,_contribution_js__WEBPACK_IMPORTED_MODULE_0__/* .registerLanguage */ .H)({
id: 'scala',
extensions: ['.scala', '.sc', '.sbt'],
aliases: ['Scala', 'scala', 'SBT', 'Sbt', 'sbt', 'Dotty', 'dotty'],
mimetypes: ['text/x-scala-source', 'text/x-scala', 'text/x-sbt', 'text/x-dotty'],
loader: function () { return __webpack_require__.e(/*! import() */ 90180).then(__webpack_require__.bind(__webpack_require__, /*! ./scala.js */ 90180)); }
});
/***/ }),
/***/ 2375:

@ -4301,19 +4301,19 @@ var WorkList = function WorkList(_ref) {
ellipsis: true,
align: 'center',
dataIndex: 'user_name'
},
// !workList?.anonymous_comment && {
// title: '学号',
// width: '8%',
// ellipsis: true,
// align: 'center',
// dataIndex: 'student_id',
// sortOrder: sortObj['student_id'],
// sortDirections: ['descend', 'ascend'],
// sorter: true,
// render: (text: number) => text,
// },
!((0,authority/* isStudent */.dE)() && (workList !== null && workList !== void 0 && (_workList$homework_st = workList.homework_status) !== null && _workList$homework_st !== void 0 && _workList$homework_st.includes('匿评中') || workList !== null && workList !== void 0 && (_workList$homework_st2 = workList.homework_status) !== null && _workList$homework_st2 !== void 0 && _workList$homework_st2.includes('申诉中'))) && workList.course_group_count !== 0 && {
}, !(workList !== null && workList !== void 0 && workList.anonymous_comment) && {
title: '学号',
width: '8%',
ellipsis: true,
align: 'center',
dataIndex: 'student_id',
sortOrder: sortObj['student_id'],
sortDirections: ['descend', 'ascend'],
sorter: true,
render: function render(text) {
return text;
}
}, !((0,authority/* isStudent */.dE)() && (workList !== null && workList !== void 0 && (_workList$homework_st = workList.homework_status) !== null && _workList$homework_st !== void 0 && _workList$homework_st.includes('匿评中') || workList !== null && workList !== void 0 && (_workList$homework_st2 = workList.homework_status) !== null && _workList$homework_st2 !== void 0 && _workList$homework_st2.includes('申诉中'))) && workList.course_group_count !== 0 && {
title: '分班',
width: '8%',
ellipsis: true,

@ -1414,6 +1414,9 @@ span.CodeMirror-selectedtext {
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
div[class~="ant-modal-confirm-content"] {
margin-left: none;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -135,6 +135,9 @@
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
div[class~="ant-modal-confirm-content"] {
margin-left: none;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -19,9 +19,6 @@ __webpack_require__.d(__webpack_exports__, {
var style = __webpack_require__(14934);
// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules
var message = __webpack_require__(12461);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(17061);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules
var button_style = __webpack_require__(29913);
// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
@ -42,6 +39,9 @@ var input = __webpack_require__(75008);
var cascader_style = __webpack_require__(95847);
// EXTERNAL MODULE: ./node_modules/antd/es/cascader/index.js + 17 modules
var cascader = __webpack_require__(45239);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(17061);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/antd/es/row/style/index.js
var row_style = __webpack_require__(13062);
// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js
@ -294,12 +294,12 @@ var ExerciseAdd = function ExerciseAdd(_ref) {
return _onModalOk.apply(this, arguments);
}
function _onModalOk() {
_onModalOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(time, cb) {
_onModalOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(time, cb) {
var value, courseid, _courseid2, id, subid, res, _res$data3, _res$data4;
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:
_context2.next = 2;
_context3.next = 2;
return form.validateFields();
case 2:
value = form.getFieldValue();
@ -307,18 +307,19 @@ var ExerciseAdd = function ExerciseAdd(_ref) {
_courseid2 = slicedToArray_default()(courseid, 2), id = _courseid2[0], subid = _courseid2[1];
value.sub_discipline_id = subid;
value.is_md = true;
_context2.next = 9;
value.time = parseInt(value.time) > 9999 ? 9999 : value.time;
_context3.next = 10;
return dispatch({
type: "exercise/addExercise",
payload: objectSpread2_default()(objectSpread2_default()({}, value), params)
});
case 9:
res = _context2.sent;
case 10:
res = _context3.sent;
if (!(res.status === 0)) {
_context2.next = 16;
_context3.next = 17;
break;
}
_context2.next = 13;
_context3.next = 14;
return (0,fetch/* default */.ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercises/notice_at.json"), {
method: 'POST',
body: {
@ -327,19 +328,19 @@ var ExerciseAdd = function ExerciseAdd(_ref) {
time: time
}
});
case 13:
case 14:
_umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise/").concat((_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.exercise_id, "/edit"));
_context2.next = 17;
_context3.next = 18;
break;
case 16:
message/* default.error */.ZP.error(res.message);
case 17:
cb();
message/* default.error */.ZP.error(res.message);
case 18:
cb();
case 19:
case "end":
return _context2.stop();
return _context3.stop();
}
}, _callee2);
}, _callee3);
}));
return _onModalOk.apply(this, arguments);
}
@ -350,18 +351,18 @@ var ExerciseAdd = function ExerciseAdd(_ref) {
return _set_work_points.apply(this, arguments);
}
function _set_work_points() {
_set_work_points = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(id) {
_set_work_points = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(id) {
var res;
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:
if (items !== null && items !== void 0 && items.ec_point_ids) {
_context3.next = 2;
_context4.next = 2;
break;
}
return _context3.abrupt("return");
return _context4.abrupt("return");
case 2:
_context3.next = 4;
_context4.next = 4;
return (0,fetch/* default */.ZP)("/api/ec_courses/".concat(items === null || items === void 0 ? void 0 : items.ec_course_id, "/ec_points/set_work_points.json"), {
method: 'post',
body: objectSpread2_default()({
@ -369,12 +370,12 @@ var ExerciseAdd = function ExerciseAdd(_ref) {
}, items)
});
case 4:
res = _context3.sent;
res = _context4.sent;
case 5:
case "end":
return _context3.stop();
return _context4.stop();
}
}, _callee3);
}, _callee4);
}));
return _set_work_points.apply(this, arguments);
}
@ -420,6 +421,67 @@ var ExerciseAdd = function ExerciseAdd(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
layout: "vertical",
form: form,
onFinish: /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(value) {
var res, courseid, _courseid, id, subid, _res, _res$data, _res$data2;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
setBtnLoading(true);
//调用接口 获取是否要弹窗
_context.next = 3;
return (0,fetch/* default */.ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercises/overload_alert.json"), {
method: 'get',
params: {
course_id: params === null || params === void 0 ? void 0 : params.coursesId
}
});
case 3:
res = _context.sent;
if (!(res !== null && res !== void 0 && res.alert)) {
_context.next = 8;
break;
}
dispatch({
type: 'classroomList/setActionTabs',
payload: {
key: '预约弹窗'
}
});
_context.next = 17;
break;
case 8:
courseid = value.courseid;
_courseid = slicedToArray_default()(courseid, 2), id = _courseid[0], subid = _courseid[1];
value.sub_discipline_id = subid;
value.is_md = true;
value.time = parseInt(value.time) > 9999 ? 9999 : value.time;
_context.next = 15;
return dispatch({
type: "exercise/addExercise",
payload: objectSpread2_default()(objectSpread2_default()({}, value), params)
});
case 15:
_res = _context.sent;
if (_res.status === 0) {
set_work_points((_res$data = _res.data) === null || _res$data === void 0 ? void 0 : _res$data.exercise_id);
(0,util/* trackEvent */.L9)(['教学课堂', '试卷', '新建试卷']);
_umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise/").concat((_res$data2 = _res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.exercise_id, "/edit"));
} else {
// message.error(res.message)
}
case 17:
setBtnLoading(false);
case 18:
case "end":
return _context.stop();
}
}, _callee);
}));
return function (_x4) {
return _ref2.apply(this, arguments);
};
}(),
className: Addmodules.formWrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
label: "方向&课程:",
@ -462,7 +524,6 @@ var ExerciseAdd = function ExerciseAdd(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
min: 1,
max: 9999,
maxLength: 60,
placeholder: "\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
@ -516,64 +577,16 @@ var ExerciseAdd = function ExerciseAdd(_ref) {
children: "\u53D6\u6D88"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, {
loading: btnLoading,
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var value, res, courseid, _courseid, id, subid, _res, _res$data, _res$data2;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context.next = 2;
return form.validateFields();
case 2:
value = form.getFieldValue();
setBtnLoading(true);
//调用接口 获取是否要弹窗
_context.next = 6;
return (0,fetch/* default */.ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercises/overload_alert.json"), {
method: 'get',
params: {
course_id: params === null || params === void 0 ? void 0 : params.coursesId
}
});
case 6:
res = _context.sent;
if (!(res !== null && res !== void 0 && res.alert)) {
_context.next = 11;
break;
}
dispatch({
type: 'classroomList/setActionTabs',
payload: {
key: '预约弹窗'
}
});
_context.next = 19;
break;
case 11:
courseid = value.courseid;
_courseid = slicedToArray_default()(courseid, 2), id = _courseid[0], subid = _courseid[1];
value.sub_discipline_id = subid;
value.is_md = true;
_context.next = 17;
return dispatch({
type: "exercise/addExercise",
payload: objectSpread2_default()(objectSpread2_default()({}, value), params)
});
case 17:
_res = _context.sent;
if (_res.status === 0) {
set_work_points((_res$data = _res.data) === null || _res$data === void 0 ? void 0 : _res$data.exercise_id);
(0,util/* trackEvent */.L9)(['教学课堂', '试卷', '新建试卷']);
_umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise/").concat((_res$data2 = _res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.exercise_id, "/edit"));
} else {
// message.error(res.message)
}
case 19:
setBtnLoading(false);
case 20:
form.submit();
case 1:
case "end":
return _context.stop();
return _context2.stop();
}
}, _callee);
}, _callee2);
})),
type: "primary",
style: {
@ -586,12 +599,12 @@ var ExerciseAdd = function ExerciseAdd(_ref) {
})]
});
};
/* harmony default export */ var Add = ((0,_umi_production_exports.connect)(function (_ref3) {
var classroomList = _ref3.classroomList,
loading = _ref3.loading,
user = _ref3.user,
problemset = _ref3.problemset,
globalSetting = _ref3.globalSetting;
/* harmony default export */ var Add = ((0,_umi_production_exports.connect)(function (_ref4) {
var classroomList = _ref4.classroomList,
loading = _ref4.loading,
user = _ref4.user,
problemset = _ref4.problemset,
globalSetting = _ref4.globalSetting;
return {
classroomList: classroomList,
globalSetting: globalSetting,

@ -3002,6 +3002,19 @@ var pythonLangage = {
// { label: "printf", content: 'printf("")' },
]
};
var scalaLangage = {
keywords: ['asInstanceOf', 'catch', 'class', 'classOf', 'def', 'do', 'else', 'extends', 'finally', 'for', 'foreach', 'forSome', 'if', 'import', 'isInstanceOf', 'macro', 'match', 'new', 'object', 'package', 'return', 'throw', 'trait', 'try', 'type', 'until', 'val', 'var', 'while', 'with', 'yield',
// Dotty-specific:
'given', 'enum', 'then'],
quickKey: [{
label: "println",
content: ['println($0)'].join('\n')
}
// { label: "#include", content: '#include ""' },
// { label: "printf", content: 'printf("")' },
]
};
// EXTERNAL MODULE: ./node_modules/js-beautify/js/index.js
var js = __webpack_require__(84204);
var js_default = /*#__PURE__*/__webpack_require__.n(js);
@ -3233,6 +3246,39 @@ function getSuggestions(monaco, model, position, keywords, snippts) {
};
}
});
monaco.languages.registerCompletionItemProvider('scala', {
provideCompletionItems: function provideCompletionItems(model, position) {
var word = model.getWordUntilPosition(position);
var wordRange = {
startLineNumber: position.lineNumber,
endLineNumber: position.lineNumber,
startColumn: word.startColumn,
endColumn: word.endColumn
};
var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn);
return {
suggestions: [].concat(toConsumableArray_default()(scalaLangage.keywords.map(function (item) {
return {
label: item,
kind: monaco.languages.CompletionItemKind.Function,
documentation: item,
insertText: item,
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
range: wordRange
};
})), toConsumableArray_default()(scalaLangage.quickKey.map(function (item) {
return {
label: item.label,
kind: monaco.languages.CompletionItemKind.Function,
documentation: item.content,
insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content,
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
range: wordRange
};
})))
};
}
});
monaco.languages.registerCompletionItemProvider('python', {
provideCompletionItems: function provideCompletionItems(model, position) {
var word = model.getWordUntilPosition(position);
@ -3285,7 +3331,7 @@ var jsx_runtime = __webpack_require__(85893);
var _excluded = ["width", "height", "value", "language", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"];
var _excluded = ["width", "height", "value", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"];
@ -3348,7 +3394,8 @@ var DICT = {
Sml: 'javascript',
OpenGL: 'cpp',
Perl5: 'perl',
Orange: 'python'
Orange: 'python',
Scala: "scale"
};
function getLanguageByMirrorName() {
var mirror_name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
@ -3373,8 +3420,6 @@ var monaco = null;
_ref$height = _ref.height,
height = _ref$height === void 0 ? '100%' : _ref$height,
value = _ref.value,
_ref$language = _ref.language,
language = _ref$language === void 0 ? 'javascript' : _ref$language,
_ref$style = _ref.style,
style = _ref$style === void 0 ? {} : _ref$style,
_ref$options = _ref.options,
@ -3401,6 +3446,7 @@ var monaco = null;
_ref$errorContent = _ref.errorContent,
errorContent = _ref$errorContent === void 0 ? '' : _ref$errorContent,
props = objectWithoutProperties_default()(_ref, _excluded);
var language = "scala";
var editorEl = (0,react.useRef)();
var editor = (0,react.useRef)({});
var optionsRef = (0,react.useRef)();
@ -11403,6 +11449,7 @@ var PreventCheatingSettings_PublishSettings = function PublishSettings(_ref) {
});
case 3:
res = _context.sent;
setPageLoading(false);
if (res.status === 0) {
message/* default.success */.ZP.success('更新成功');
dispatch({
@ -11413,10 +11460,9 @@ var PreventCheatingSettings_PublishSettings = function PublishSettings(_ref) {
type: 'exercise/getWorkSetting',
payload: objectSpread2_default()({}, params)
});
setPageLoading(false);
setDisabled(true);
}
case 5:
case 6:
case "end":
return _context.stop();
}
@ -15919,6 +15965,13 @@ var ExportSetting = function ExportSetting(_ref) {
type: 'exercise/getWorkSetting',
payload: objectSpread2_default()({}, params)
});
dispatch({
type: 'exercise/getExerciseExportHeadData',
payload: {
id: params.exerciseId || params.categoryId,
identify: params.userId || null
}
});
setPageLoading(false);
}
case 5:

@ -303,6 +303,9 @@ li:last-child > .ant-breadcrumb-separator {
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
div[class~="ant-modal-confirm-content"] {
margin-left: none;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -375,6 +375,13 @@ var ExportSetting = function ExportSetting(_ref) {
type: 'exercise/getWorkSetting',
payload: objectSpread2_default()({}, params)
});
dispatch({
type: 'exercise/getExerciseExportHeadData',
payload: {
id: params.exerciseId || params.categoryId,
identify: params.userId || null
}
});
setPageLoading(false);
}
case 5:
@ -1097,9 +1104,9 @@ var es_button = __webpack_require__(71577);
var breadcrumb_style = __webpack_require__(63102);
// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/index.js + 3 modules
var breadcrumb = __webpack_require__(58492);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js
var toConsumableArray = __webpack_require__(861);
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js
var createForOfIteratorHelper = __webpack_require__(74704);
var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper);
// EXTERNAL MODULE: ./node_modules/antd/es/divider/style/index.js + 1 modules
var divider_style = __webpack_require__(98541);
// EXTERNAL MODULE: ./node_modules/antd/es/divider/index.js
@ -1715,7 +1722,7 @@ var PageCount = 30;
var TextArea = input/* default.TextArea */.Z.TextArea;
var questionType = (/* unused pure expression or super */ null && (['单选题', '多选题', '判断题', '填空题', '简答题', '实训题', '编程题']));
var Export = function Export(_ref) {
var _userInfo$course, _exportData$exercise3, _exportData$exercise_3, _exportData$exercise4, _exportData$exercise5, _exportData$exercise6, _exportData$exercise7;
var _userInfo$course, _exportData$exercise3, _exportData$exercise_, _exportData$exercise4, _exportData$exercise5, _exportData$exercise6, _exportData$exercise7;
var exercise = _ref.exercise,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
@ -2101,6 +2108,7 @@ var Export = function Export(_ref) {
// return;
// }
pages = exportElement.current.children;
console.log(pages);
title = "".concat(moment_default()().format('YYYY-MM-DD HH:mm:ss'));
if ((_exercise$exerciseExp2 = exercise.exerciseExportHeadData) !== null && _exercise$exerciseExp2 !== void 0 && _exercise$exerciseExp2.user) {
title = "".concat(((_exercise$exerciseExp3 = exercise.exerciseExportHeadData) === null || _exercise$exerciseExp3 === void 0 ? void 0 : _exercise$exerciseExp3.student_id) || '').concat((_exercise$exerciseExp4 = exercise.exerciseExportHeadData) === null || _exercise$exerciseExp4 === void 0 ? void 0 : _exercise$exerciseExp4.user);
@ -2115,6 +2123,9 @@ var Export = function Export(_ref) {
unit: 'in',
format: 'letter',
orientation: 'portrait'
},
pagebreak: {
mode: ['avoid-all']
}
};
worker = html2pdf_default()();
@ -2151,17 +2162,17 @@ var Export = function Export(_ref) {
}, _loop);
});
i = 0;
case 18:
case 19:
if (!(i < pages.length)) {
_context8.next = 23;
_context8.next = 24;
break;
}
return _context8.delegateYield(_loop(i), "t0", 20);
case 20:
return _context8.delegateYield(_loop(i), "t0", 21);
case 21:
i++;
_context8.next = 18;
_context8.next = 19;
break;
case 23:
case 24:
if (!!(allStudents !== null && allStudents !== void 0 && allStudents.length) && type === 'all') {
next();
} else {
@ -2175,7 +2186,7 @@ var Export = function Export(_ref) {
download();
}
// openNewWindow(pdfUrl)
case 24:
case 25:
case "end":
return _context8.stop();
}
@ -2473,34 +2484,61 @@ var Export = function Export(_ref) {
if (noWan.toString().length < 4) noWan = "0" + noWan;
return overWan ? getWan(overWan) + "万" + getWan(noWan) : getWan(num);
};
var renderDom = function renderDom(er, key) {
var renderDom = function renderDom(er, key, index) {
if (er.category) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "font16 c-light-primary",
children: [toChinesNum(er.key + 1), "\u3001", er.name]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "c-grey-999",
children: ["\uFF08\u5171", er.count, "\u9898\uFF0C", (er === null || er === void 0 ? void 0 : er.question_type) === 7 ? "\u5305\u542B".concat(er === null || er === void 0 ? void 0 : er.sub_count, "\u5C0F\u9898\uFF1B") : '', "\u5171", er.score, "\u5206\uFF09"]
})]
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "font16 c-light-primary",
children: [toChinesNum(index + 1), "\u3001", er.name]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "c-grey-999",
children: ["\uFF08\u5171", er.count, "\u9898\uFF0C", (er === null || er === void 0 ? void 0 : er.question_type) === 7 ? "\u5305\u542B".concat(er === null || er === void 0 ? void 0 : er.sub_count, "\u5C0F\u9898\uFF1B") : '', "\u5171", er.score, "\u5206\uFF09"]
})]
}), renderQuestion(er.questionDetail, key)]
});
} else {
return renderQuestion(er, key);
return renderQuestion(er.questionDetail, key);
}
};
var renderClassifyQuestion = (0,react.useCallback)(function () {
var _exercise$exerciseExp5, _exercise$exerciseExp6, _exportData$exercise_, _exportData$exercise_2, _Array, _Array$fill, _Array$fill$map;
var _exercise$exerciseExp5, _exercise$exerciseExp6, _Array, _Array$fill, _Array$fill$map;
var step = (exercise === null || exercise === void 0 ? void 0 : (_exercise$exerciseExp5 = exercise.exerciseExportHeadData) === null || _exercise$exerciseExp5 === void 0 ? void 0 : (_exercise$exerciseExp6 = _exercise$exerciseExp5.exercise_header) === null || _exercise$exerciseExp6 === void 0 ? void 0 : _exercise$exerciseExp6.export_page_num) || 40;
var data = exportData === null || exportData === void 0 ? void 0 : (_exportData$exercise_ = exportData.exercise_question_types) === null || _exportData$exercise_ === void 0 ? void 0 : (_exportData$exercise_2 = _exportData$exercise_.map(function (item, key) {
return [objectSpread2_default()(objectSpread2_default()({}, item), {}, {
items: null,
category: 1,
key: key
})].concat(toConsumableArray_default()(item.items));
})) === null || _exportData$exercise_2 === void 0 ? void 0 : _exportData$exercise_2.flat();
var sortKey = 0;
if (data !== null && data !== void 0 && data.length) return (_Array = new Array(Math.ceil((data === null || data === void 0 ? void 0 : data.length) / step))) === null || _Array === void 0 ? void 0 : (_Array$fill = _Array.fill([])) === null || _Array$fill === void 0 ? void 0 : (_Array$fill$map = _Array$fill.map(function (item, key) {
return data.slice(key * step, key * step + step);
var newData = [];
var questionIndex = 1; //小题题号
var _iterator = createForOfIteratorHelper_default()((exportData === null || exportData === void 0 ? void 0 : exportData.exercise_question_types) || []),
_step;
try {
var _loop3 = function _loop3() {
var questionItem = _step.value;
questionItem.items.forEach(function (question, index) {
if (index === 0) {
newData.push(objectSpread2_default()(objectSpread2_default()({}, questionItem), {}, {
items: null,
category: 1,
questionDetail: question,
questionIndex: questionIndex
}));
} else {
newData.push({
questionDetail: question,
questionIndex: questionIndex
});
}
questionIndex++;
});
};
for (_iterator.s(); !(_step = _iterator.n()).done;) {
_loop3();
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
console.log(exportData === null || exportData === void 0 ? void 0 : exportData.exercise_question_types, newData);
if (newData !== null && newData !== void 0 && newData.length) return (_Array = new Array(Math.ceil((newData === null || newData === void 0 ? void 0 : newData.length) / step))) === null || _Array === void 0 ? void 0 : (_Array$fill = _Array.fill([])) === null || _Array$fill === void 0 ? void 0 : (_Array$fill$map = _Array$fill.map(function (item, key) {
return newData.slice(key * step, key * step + step);
})) === null || _Array$fill$map === void 0 ? void 0 : _Array$fill$map.map(function (i, k) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "pl60 pr30",
@ -2513,14 +2551,13 @@ var Export = function Export(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {
className: Exportmodules.divider
})]
}), i === null || i === void 0 ? void 0 : i.map(function (item, key) {
if (!!item.question_title) ++sortKey;
return renderDom(item, sortKey);
}), i === null || i === void 0 ? void 0 : i.map(function (item, index) {
return renderDom(item, item.questionIndex, index);
})]
});
});
return null;
}, [exportData === null || exportData === void 0 ? void 0 : exportData.exercise_question_types, autoHeight]);
}, [exportData, exercise, autoHeight]);
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
className: "edu-container",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
@ -2545,7 +2582,7 @@ var Export = function Export(_ref) {
children: "\u8BD5\u5377\u8BE6\u60C5"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, {
children: (exportData === null || exportData === void 0 ? void 0 : (_exportData$exercise_3 = exportData.exercise_answer_user) === null || _exportData$exercise_3 === void 0 ? void 0 : _exportData$exercise_3.user_name) || (exportData === null || exportData === void 0 ? void 0 : (_exportData$exercise4 = exportData.exercise) === null || _exportData$exercise4 === void 0 ? void 0 : _exportData$exercise4.exercise_name)
children: (exportData === null || exportData === void 0 ? void 0 : (_exportData$exercise_ = exportData.exercise_answer_user) === null || _exportData$exercise_ === void 0 ? void 0 : _exportData$exercise_.user_name) || (exportData === null || exportData === void 0 ? void 0 : (_exportData$exercise4 = exportData.exercise) === null || _exportData$exercise4 === void 0 ? void 0 : _exportData$exercise4.exercise_name)
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
@ -2606,6 +2643,11 @@ var Export = function Export(_ref) {
show: (0,authority/* isAdmin */.GJ)()
}].filter(function (item) {
return item.show;
}).map(function (item) {
return {
label: item.label,
key: item.key
};
})
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, {

@ -2094,6 +2094,9 @@
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
div[class~="ant-modal-confirm-content"] {
margin-left: none;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -1198,6 +1198,9 @@ span.CodeMirror-selectedtext {
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
div[class~="ant-modal-confirm-content"] {
margin-left: none;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -525,7 +525,7 @@ var _excluded = ["shixunHomeworks", "globalSetting", "loading", "user", "dispatc
var questionType = (/* unused pure expression or super */ null && (['单选题', '多选题', '判断题', '填空题', '简答题', '实训题']));
var ExeriseReview = function ExeriseReview(_ref) {
var _userInfo$course, _studentWorkDetail$ho, _studentWorkDetail$re, _studentWorkSupplyDet, _studentWorkDetail$pr, _studentWorkDetail$pr2, _studentWorkDetail$pr3, _studentWorkDetail$pr4, _user$navigationInfo, _user$navigationInfo$, _studentWorkDetail$pr5, _studentWorkDetail$pr6, _studentWorkDetail$pr7, _studentWorkDetail$wo, _studentWorkDetail$wo2, _studentWorkDetail$no, _studentWorkDetail$no2, _studentWorkDetail$no3, _studentWorkDetail$co, _studentWorkDetail$ho2, _studentWorkDetail$ho3, _studentWorkDetail$ho4, _studentWorkCommon$co;
var _userInfo$course, _studentWorkDetail$ho, _studentWorkDetail$re, _studentWorkSupplyDet, _studentWorkDetail$pr, _studentWorkDetail$pr2, _studentWorkDetail$pr3, _studentWorkDetail$pr4, _user$navigationInfo, _user$navigationInfo$, _studentWorkDetail$pr5, _studentWorkDetail$pr6, _studentWorkDetail$pr7, _studentWorkDetail$wo, _studentWorkDetail$wo2, _studentWorkDetail$no, _studentWorkDetail$no2, _studentWorkDetail$no3, _studentWorkDetail$co, _studentWorkDetail$ho2, _studentWorkCommon$co;
var shixunHomeworks = _ref.shixunHomeworks,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
@ -1117,7 +1117,7 @@ var ExeriseReview = function ExeriseReview(_ref) {
children: ["\u5DF2\u5B8C\u6210\u533F\u8BC4\uFF1A", studentWorkDetail === null || studentWorkDetail === void 0 ? void 0 : (_studentWorkDetail$co = studentWorkDetail.commented_user_names) === null || _studentWorkDetail$co === void 0 ? void 0 : _studentWorkDetail$co.toString()]
})]
})
}), ((0,authority/* isAdmin */.GJ)() || (studentWorkDetail === null || studentWorkDetail === void 0 ? void 0 : (_studentWorkDetail$ho2 = studentWorkDetail.homework_status) === null || _studentWorkDetail$ho2 === void 0 ? void 0 : _studentWorkDetail$ho2.includes("匿评中")) || (studentWorkDetail === null || studentWorkDetail === void 0 ? void 0 : (_studentWorkDetail$ho3 = studentWorkDetail.homework_status) === null || _studentWorkDetail$ho3 === void 0 ? void 0 : _studentWorkDetail$ho3.includes("申诉中"))) && /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
}), ((0,authority/* isAdmin */.GJ)() || (studentWorkDetail === null || studentWorkDetail === void 0 ? void 0 : studentWorkDetail.show_evaluation)) && /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
className: [Reviewmodules.replyList, 'bg-white'].join(' '),
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
@ -1148,7 +1148,7 @@ var ExeriseReview = function ExeriseReview(_ref) {
children: "\u8C03\u5206"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {})]
}), (!(studentWorkCommon !== null && studentWorkCommon !== void 0 && studentWorkCommon.ultimate) || (studentWorkDetail === null || studentWorkDetail === void 0 ? void 0 : (_studentWorkDetail$ho4 = studentWorkDetail.homework_status) === null || _studentWorkDetail$ho4 === void 0 ? void 0 : _studentWorkDetail$ho4.includes("匿评中"))) && !(studentWorkCommon !== null && studentWorkCommon !== void 0 && studentWorkCommon.is_author) && /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
}), (!(studentWorkCommon !== null && studentWorkCommon !== void 0 && studentWorkCommon.ultimate) || (studentWorkDetail === null || studentWorkDetail === void 0 ? void 0 : (_studentWorkDetail$ho2 = studentWorkDetail.homework_status) === null || _studentWorkDetail$ho2 === void 0 ? void 0 : _studentWorkDetail$ho2.includes("匿评中"))) && !(studentWorkCommon !== null && studentWorkCommon !== void 0 && studentWorkCommon.is_author) && /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
layout: "vertical",
form: form,

@ -424,6 +424,9 @@
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
div[class~="ant-modal-confirm-content"] {
margin-left: none;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -703,6 +703,9 @@ li:last-child > .ant-breadcrumb-separator {
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
div[class~="ant-modal-confirm-content"] {
margin-left: none;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -135,6 +135,9 @@
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
div[class~="ant-modal-confirm-content"] {
margin-left: none;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -2823,7 +2823,6 @@ var WorkList = function WorkList(_ref) {
(0,react.useEffect)(function () {
var _res$student_works;
var res = JSON.parse(JSON.stringify(shixunHomeworks.workList));
console.log("pppppppppppppppppppppppppppppppppppppppppppp", res);
if (!(res !== null && res !== void 0 && (_res$student_works = res.student_works) !== null && _res$student_works !== void 0 && _res$student_works.length) && res !== null && res !== void 0 && res.id) {
res.student_works = [objectSpread2_default()({}, res)];
setWorkList(res);
@ -3018,7 +3017,7 @@ var WorkList = function WorkList(_ref) {
dataIndex: 'number',
align: 'center',
width: 50,
fixed: 'left',
// fixed: 'left',
ellipsis: {
showTitle: false
},
@ -3030,7 +3029,7 @@ var WorkList = function WorkList(_ref) {
dataIndex: 'user_name',
align: 'center',
width: 110,
fixed: 'left',
// fixed: 'left',
ellipsis: {
showTitle: false
},
@ -3049,7 +3048,7 @@ var WorkList = function WorkList(_ref) {
dataIndex: 'student_id',
align: 'center',
sorter: true,
width: 110,
// width: 110,
showSorterTooltip: false,
ellipsis: {
showTitle: false
@ -3069,7 +3068,7 @@ var WorkList = function WorkList(_ref) {
title: '分班',
dataIndex: 'group_name',
align: 'center',
width: 180,
// width: 180,
ellipsis: {
showTitle: false
},
@ -3087,7 +3086,7 @@ var WorkList = function WorkList(_ref) {
title: '作业状态',
dataIndex: 'work_status',
align: 'center',
width: 80,
// width: 80,
sorter: true,
ellipsis: {
showTitle: false
@ -3174,10 +3173,9 @@ var WorkList = function WorkList(_ref) {
}),
dataIndex: 'finished_time',
align: 'center',
width: 130,
ellipsis: {
showTitle: false
},
// width: 130,
// ellipsis: { showTitle: false },
ellipsis: false,
showSorterTooltip: false,
sorter: true,
sortOrder: params.order === 'finished_time' ? params.b_order === 'desc' ? 'descend' : 'ascend' : null,
@ -3194,10 +3192,9 @@ var WorkList = function WorkList(_ref) {
}),
dataIndex: 'cost_time',
align: 'center',
width: 130,
ellipsis: {
showTitle: false
},
// width: 170,
// ellipsis: { showTitle: false },
ellipsis: false,
showSorterTooltip: false,
sorter: true,
sortOrder: params.order === 'cost_time' ? params.b_order === 'desc' ? 'descend' : 'ascend' : null,
@ -3221,19 +3218,22 @@ var WorkList = function WorkList(_ref) {
// </span>
// ),
// },
// {
// title: '查重',
// align: 'center',
// dataIndex: 'have_repeat',
// ellipsis: { showTitle: false },
// render: (text: any, record: any) =>
// text ? (
// "是"
// ) : (
// '否'
// ),
// },
{
title: '查重',
align: 'center',
dataIndex: 'have_repeat',
ellipsis: {
showTitle: false
},
render: function render(text, record) {
return text ? "是" : '否';
}
}, {
title: '通关情况',
align: 'center',
// width: 80,
dataIndex: 'complete_count',
ellipsis: {
showTitle: false
@ -3349,40 +3349,54 @@ var WorkList = function WorkList(_ref) {
})
}) : '--';
}
}, {
title: '打回次数',
dataIndex: 'redo_count',
align: 'center',
render: function render(text) {
return text || '- -';
}
}, {
title: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u8BC4\u9605\u72B6\u6001", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
overlayClassName: WorkListmodules.reviewStatusTooltip,
placement: "top",
title: /*#__PURE__*/(0,jsx_runtime.jsxs)("pre", {
children: ["\u4EE5\u4E0B\u60C5\u5F62\u51FA\u73B0\u4E00\u79CD\uFF0C\u8BC4\u9605\u72B6\u6001\u81EA\u52A8\u53D8\u4E3A\u5DF2\u8BC4\u9605\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "1.\u5B66\u751F\u5F00\u542F\u4F5C\u4E1A\uFF0C\u7CFB\u7EDF\u5BF9\u5B66\u751F\u8FDB\u884C\u4E86\u81EA\u52A8\u6253\u5206\uFF1B", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "2.\u8001\u5E08\u5BF9\u5B66\u751F\u4F5C\u4E1A\u8FDB\u884C\u5173\u5361\u8C03\u5206\u6216\u8005\u8FFD\u52A0\u70B9\u8BC4\uFF1B", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "3.\u6574\u4E2A\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u7ED3\u675F\u540E\uFF0C\u6240\u6709\u5B66\u751F\u4F5C\u4E1A\u72B6\u6001\u5C06\u81EA\u52A8\u53D8\u4E3A\u5DF2\u8BC4\u9605\u3002", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {})]
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: "".concat(env/* default.IMG_SERVER */.Z.IMG_SERVER, "/images/educoder/problem.png"),
className: "ml2 current"
})
})]
}),
align: 'center',
dataIndex: 'has_comment',
width: 90,
ellipsis: true,
render: function render(text) {
return text ? '已评阅' : '未评阅';
}
}, {
},
// {
// title: '打回次数',
// dataIndex: 'redo_count',
// align: 'center',
// render: (text: number) => {
// return text || '- -';
// },
// },
// {
// title: (
// <span>
// 评阅状态
// <Tooltip
// overlayClassName={styles.reviewStatusTooltip}
// placement="top"
// title={
// <pre>
// 以下情形出现一种,评阅状态自动变为已评阅:
// <br />
// 1.学生开启作业,系统对学生进行了自动打分;
// <br />
// 2.老师对学生作业进行关卡调分或者追加点评;
// <br />
// 3.整个作业截止/补交结束后,所有学生作业状态将自动变为已评阅。
// <br />
// </pre>
// }
// >
// <img
// src={`${ENV.IMG_SERVER}/images/educoder/problem.png`}
// className="ml2 current"
// />
// </Tooltip>
// </span>
// ),
// align: 'center',
// dataIndex: 'has_comment',
// width: 90,
// ellipsis: true,
// render: (text: boolean) => (text ? '已评阅' : '未评阅'),
// },
{
title: '操作',
dataInex: 'action',
align: 'center',
width: 70,
fixed: 'right',
// width: 70,
// fixed: 'right',
ellipsis: true,
className: 'workListTable',
render: function render(text, record) {
@ -3843,11 +3857,9 @@ var WorkList = function WorkList(_ref) {
// history.push(`/classrooms/${params.coursesId}/shixun_homework/${params.categoryId}/${record.id}/comment`)
}
};
},
scroll: {
x: 1500
},
}
// scroll={{ x: 1500 }}
,
dataSource: workList.student_works,
columns: columns,
onChange: function onChange(a, b, c) {

@ -490,6 +490,9 @@ li:last-child > .ant-breadcrumb-separator {
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
div[class~="ant-modal-confirm-content"] {
margin-left: none;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -409,6 +409,9 @@
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
div[class~="ant-modal-confirm-content"] {
margin-left: none;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -1,74 +1,6 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[39332],{
/***/ 38900:
/*!**********************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js ***!
\**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _ant_design_icons_svg_es_asn_CloseCircleFilled__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/CloseCircleFilled */ 1085);
/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918);
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var CloseCircleFilled = function CloseCircleFilled(props, ref) {
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, {
ref: ref,
icon: _ant_design_icons_svg_es_asn_CloseCircleFilled__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z
}));
};
CloseCircleFilled.displayName = 'CloseCircleFilled';
/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(CloseCircleFilled));
/***/ }),
/***/ 88484:
/*!*******************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + 1 modules ***!
\*******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_UploadOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.js
// This icon file is generated automatically.
var UploadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" };
/* harmony default export */ var asn_UploadOutlined = (UploadOutlined);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules
var AntdIcon = __webpack_require__(7918);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var UploadOutlined_UploadOutlined = function UploadOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_UploadOutlined
}));
};
UploadOutlined_UploadOutlined.displayName = 'UploadOutlined';
/* harmony default export */ var icons_UploadOutlined = (/*#__PURE__*/react.forwardRef(UploadOutlined_UploadOutlined));
/***/ }),
/***/ 93899:
/*!**********************************************************!*\
!*** ./src/components/CoverUpload/index.tsx + 1 modules ***!
@ -242,12 +174,12 @@ var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerat
var modal_style = __webpack_require__(35611);
// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules
var modal = __webpack_require__(85402);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js
var objectSpread2 = __webpack_require__(42122);
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(27424);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js
var objectSpread2 = __webpack_require__(42122);
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(70215);
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
@ -286,7 +218,6 @@ var jsx_runtime = __webpack_require__(85893);
var DelShixun = function DelShixun(_ref) {
var classroomList = _ref.classroomList,
dispatch = _ref.dispatch,
@ -321,8 +252,8 @@ var DelShixun = function DelShixun(_ref) {
payload: {}
});
dispatch({
type: 'classroomList/getVideoList',
payload: objectSpread2_default()({}, classroomList.actionTabs.params)
type: 'classroomList/setUpdateData',
payload: Math.random()
});
dispatch({
type: 'classroomList/getClassroomLeftMenus',
@ -560,11 +491,8 @@ var EditAttendance = function EditAttendance(_ref) {
(0,util/* trackEvent */.L9)(['教学课堂', '视频', '增加外链']);
message/* default.success */.ZP.success('修改成功');
dispatch({
type: 'classroomList/getVideoList',
payload: {
id: params.id,
category_id: params.categoryId
}
type: 'classroomList/setUpdateData',
payload: Math.random()
});
cancel();
return _context.abrupt("return");
@ -833,8 +761,8 @@ var VideoEdit_EditAttendance = function EditAttendance(_ref) {
payload: {}
});
dispatch({
type: 'classroomList/getVideoList',
payload: objectSpread2_default()({}, params)
type: 'classroomList/setUpdateData',
payload: Math.random()
});
}
case 12:
@ -961,8 +889,8 @@ var VideoLinkEdit_EditAttendance = function EditAttendance(_ref) {
payload: {}
});
dispatch({
type: 'classroomList/getVideoList',
payload: objectSpread2_default()({}, params)
type: 'classroomList/setUpdateData',
payload: Math.random()
});
}
case 10:
@ -1093,11 +1021,8 @@ var MoveCatalog_EditAttendance = function EditAttendance(_ref) {
payload: {}
});
dispatch({
type: 'classroomList/getVideoList',
payload: {
id: params.id,
category_id: params.categoryId
}
type: 'classroomList/setUpdateData',
payload: Math.random()
});
dispatch({
type: 'classroomList/getClassroomLeftMenus',
@ -1229,10 +1154,8 @@ var AddCategory_EditAttendance = function EditAttendance(_ref) {
payload: {}
});
dispatch({
type: 'classroomList/getVideoList',
payload: {
id: params['coursesId']
}
type: 'classroomList/setUpdateData',
payload: Math.random()
});
}
case 11:
@ -1597,7 +1520,6 @@ var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableA
var HtmlDrag = function HtmlDrag(_ref) {
var _ref$dataSource = _ref.dataSource,
dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource,
@ -1765,10 +1687,8 @@ var HtmlDrag = function HtmlDrag(_ref) {
result = _context2.sent;
if ((result === null || result === void 0 ? void 0 : result.status) === 0) {
dispatch({
type: 'classroomList/getVideoList',
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
limit: 15
})
type: 'classroomList/setUpdateData',
payload: Math.random()
});
}
case 13:
@ -1843,8 +1763,12 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
user = _ref.user,
dispatch = _ref.dispatch,
props = objectWithoutProperties_default()(_ref, _excluded);
var params = (0,_umi_production_exports.useParams)();
var detailVideoList = classroomList.detailVideoList;
var params = objectSpread2_default()(objectSpread2_default()({}, (0,_umi_production_exports.useParams)()), {}, {
page: 1,
limit: 15
});
var detailVideoList = classroomList.detailVideoList,
updateData = classroomList.updateData;
var _useState = (0,react.useState)({}),
_useState2 = slicedToArray_default()(_useState, 2),
selectArrs = _useState2[0],
@ -1856,19 +1780,28 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
setIsSort = _useState4[1];
params['id'] = params['coursesId'];
if (params['categoryId'] != 0) params['category_id'] = params['categoryId'];
console.log(isSort, detailVideoList === null || detailVideoList === void 0 ? void 0 : detailVideoList.videos, 'isSort');
(0,react.useEffect)(function () {
params.page = 1;
if (updateData) {
dispatch({
type: 'classroomList/getVideoList',
payload: objectSpread2_default()({}, params)
});
}
}, [updateData]);
(0,react.useEffect)(function () {
dispatch({
type: 'classroomList/getVideoList',
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
limit: 15
})
type: 'classroomList/setUpdateData',
payload: Math.random()
});
}, [params['categoryId']]);
return function () {
dispatch({
type: 'classroomList/setUpdateData',
payload: ''
});
};
}, [location.pathname]);
var onShowSizeChange = function onShowSizeChange(current, pageSize) {
params.page = current;
params.limit = 15;
dispatch({
type: 'classroomList/getVideoList',
payload: objectSpread2_default()({}, params)
@ -2004,10 +1937,8 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
setIsSort(!isSort);
if (!isSort) {
dispatch({
type: 'classroomList/getVideoList',
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
limit: 15
})
type: 'classroomList/setUpdateData',
payload: Math.random()
});
}
},
@ -2030,6 +1961,10 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
isReview: params.category === 'pending',
onDelete: handleDelete,
logWatchHistory: handleLogWatchHistory
}), !isSort && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
height: 20
}
}), !isSort && /*#__PURE__*/(0,jsx_runtime.jsx)(Video_HtmlDrag, {
dataSource: detailVideoList === null || detailVideoList === void 0 ? void 0 : detailVideoList.videos,
count: classroomList === null || classroomList === void 0 ? void 0 : (_classroomList$detail = classroomList.detailVideoList) === null || _classroomList$detail === void 0 ? void 0 : _classroomList$detail.videos_count,
@ -2196,359 +2131,6 @@ var TabMenu = function TabMenu(_ref) {
/***/ }),
/***/ 5467:
/*!**********************************************************!*\
!*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; }
/* harmony export */ });
function getDataOrAriaProps(props) {
return Object.keys(props).reduce(function (prev, key) {
if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) {
prev[key] = props[key];
}
return prev;
}, {});
}
/***/ }),
/***/ 13013:
/*!************************************************!*\
!*** ./node_modules/antd/es/dropdown/index.js ***!
\************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dropdown */ 18562);
/* harmony default export */ __webpack_exports__["Z"] = (_dropdown__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z);
/***/ }),
/***/ 97183:
/*!**********************************************!*\
!*** ./node_modules/antd/es/layout/index.js ***!
\**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./layout */ 2897);
/* harmony import */ var _Sider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Sider */ 10130);
var Layout = _layout__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP;
Layout.Header = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Header */ .h4;
Layout.Footer = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Footer */ .$_;
Layout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Content */ .VY;
Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z;
/* harmony default export */ __webpack_exports__["Z"] = (Layout);
/***/ }),
/***/ 27221:
/*!****************************************************************!*\
!*** ./node_modules/antd/es/layout/style/index.js + 1 modules ***!
\****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.js
/***/ }),
/***/ 29924:
/*!*********************************************************!*\
!*** ./node_modules/antd/es/radio/index.js + 4 modules ***!
\*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"ZP": function() { return /* binding */ es_radio; }
});
// UNUSED EXPORTS: Button, Group
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(97685);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js
var useMergedState = __webpack_require__(21770);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js
var SizeContext = __webpack_require__(97647);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js
var getDataOrAriaProps = __webpack_require__(5467);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js
var RadioGroupContext = /*#__PURE__*/react.createContext(null);
var RadioGroupContextProvider = RadioGroupContext.Provider;
/* harmony default export */ var radio_context = (RadioGroupContext);
var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null);
var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider;
// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js
var es = __webpack_require__(50132);
// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js
var es_ref = __webpack_require__(42550);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js
var DisabledContext = __webpack_require__(98866);
// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js
var form_context = __webpack_require__(65223);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var InternalRadio = function InternalRadio(props, ref) {
var _classNames;
var groupContext = react.useContext(radio_context);
var radioOptionTypeContext = react.useContext(RadioOptionTypeContext);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var innerRef = react.useRef();
var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef);
var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM),
isFormItemInput = _useContext.isFormItemInput;
false ? 0 : void 0;
var onChange = function onChange(e) {
var _a, _b;
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e);
(_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e);
};
var customizePrefixCls = props.prefixCls,
className = props.className,
children = props.children,
style = props.style,
customDisabled = props.disabled,
restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]);
var radioPrefixCls = getPrefixCls('radio', customizePrefixCls);
var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls;
var radioProps = (0,esm_extends/* default */.Z)({}, restProps);
// ===================== Disabled =====================
var disabled = react.useContext(DisabledContext/* default */.Z);
radioProps.disabled = customDisabled || disabled;
if (groupContext) {
radioProps.name = groupContext.name;
radioProps.onChange = onChange;
radioProps.checked = props.value === groupContext.value;
radioProps.disabled = radioProps.disabled || groupContext.disabled;
}
var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className);
return (
/*#__PURE__*/
// eslint-disable-next-line jsx-a11y/label-has-associated-control
react.createElement("label", {
className: wrapperClassString,
style: style,
onMouseEnter: props.onMouseEnter,
onMouseLeave: props.onMouseLeave
}, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, {
type: "radio",
prefixCls: prefixCls,
ref: mergedRef
})), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null)
);
};
var Radio = /*#__PURE__*/react.forwardRef(InternalRadio);
if (false) {}
/* harmony default export */ var radio_radio = (Radio);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js
var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) {
var _classNames;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var size = react.useContext(SizeContext/* default */.Z);
var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, {
value: props.value
}),
_useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
value = _useMergedState2[0],
setValue = _useMergedState2[1];
var onRadioChange = function onRadioChange(ev) {
var lastValue = value;
var val = ev.target.value;
if (!('value' in props)) {
setValue(val);
}
var onChange = props.onChange;
if (onChange && val !== lastValue) {
onChange(ev);
}
};
var customizePrefixCls = props.prefixCls,
_props$className = props.className,
className = _props$className === void 0 ? '' : _props$className,
options = props.options,
_props$buttonStyle = props.buttonStyle,
buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle,
disabled = props.disabled,
children = props.children,
customizeSize = props.size,
style = props.style,
id = props.id,
onMouseEnter = props.onMouseEnter,
onMouseLeave = props.onMouseLeave,
onFocus = props.onFocus,
onBlur = props.onBlur;
var prefixCls = getPrefixCls('radio', customizePrefixCls);
var groupPrefixCls = "".concat(prefixCls, "-group");
var childrenToRender = children;
// 如果存在 options, 优先使用
if (options && options.length > 0) {
childrenToRender = options.map(function (option) {
if (typeof option === 'string' || typeof option === 'number') {
// 此处类型自动推导为 string
return /*#__PURE__*/react.createElement(radio_radio, {
key: option.toString(),
prefixCls: prefixCls,
disabled: disabled,
value: option,
checked: value === option
}, option);
}
// 此处类型自动推导为 { label: string value: string }
return /*#__PURE__*/react.createElement(radio_radio, {
key: "radio-group-value-options-".concat(option.value),
prefixCls: prefixCls,
disabled: option.disabled || disabled,
value: option.value,
checked: value === option.value,
style: option.style
}, option.label);
});
}
var mergedSize = customizeSize || size;
var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), {
className: classString,
style: style,
onMouseEnter: onMouseEnter,
onMouseLeave: onMouseLeave,
onFocus: onFocus,
onBlur: onBlur,
id: id,
ref: ref
}), /*#__PURE__*/react.createElement(RadioGroupContextProvider, {
value: {
onChange: onRadioChange,
value: value,
disabled: props.disabled,
name: props.name,
optionType: props.optionType
}
}, childrenToRender));
});
/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup));
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js
var radioButton_rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var RadioButton = function RadioButton(props, ref) {
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var customizePrefixCls = props.prefixCls,
radioProps = radioButton_rest(props, ["prefixCls"]);
var prefixCls = getPrefixCls('radio', customizePrefixCls);
return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, {
value: "button"
}, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({
prefixCls: prefixCls
}, radioProps, {
type: "radio",
ref: ref
})));
};
/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton));
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js
var radio_Radio = radio_radio;
radio_Radio.Button = radioButton;
radio_Radio.Group = group;
radio_Radio.__ANT_RADIO = true;
/* harmony default export */ var es_radio = (radio_Radio);
/***/ }),
/***/ 83822:
/*!***************************************************************!*\
!*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***!
\***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less
// extracted by mini-css-extract-plugin
;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js
// deps-lint-skip: form
/***/ }),
/***/ 36193:
/*!******************************************!*\
!*** ./src/assets/images/video/play.png ***!

@ -352,6 +352,10 @@ var _umi_production_exports = __webpack_require__(89214);
var fetch = __webpack_require__(84519);
// EXTERNAL MODULE: ./node_modules/lodash/lodash.js
var lodash = __webpack_require__(96486);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(59758);
// EXTERNAL MODULE: ./src/service/exercise.ts
var exercise = __webpack_require__(51412);
// EXTERNAL MODULE: ./src/pages/Engineering/components/Evaluate/index.ts + 4 modules
var Evaluate = __webpack_require__(32337);
// EXTERNAL MODULE: ./src/pages/Engineering/util.tsx
@ -393,6 +397,8 @@ var jsx_runtime = __webpack_require__(85893);
@ -450,6 +456,7 @@ var Page = function Page(_ref) {
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
form = _Form$useForm2[0];
var urlParams = (0,_umi_production_exports.useLocation)();
var apiServer = location.host.startsWith("localhost") ? env/* default.PROXY_SERVER */.Z.PROXY_SERVER : env/* default.API_SERVER */.Z.API_SERVER;
var _useState13 = (0,react.useState)(false),
_useState14 = slicedToArray_default()(_useState13, 2),
isshowmodal = _useState14[0],
@ -797,29 +804,43 @@ var Page = function Page(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u5728\u7EBF\u7F16\u8F91",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
onClick: function onClick() {
if (["xlsx", "docx", "pptx"].includes(item === null || item === void 0 ? void 0 : item.type)) {
preview.editOffice = "edit";
setPreview(objectSpread2_default()(objectSpread2_default()({}, preview), {}, {
type: item.file_type,
data: "/api/attachments/".concat(item.attachment_id)
// data: ENV.API_SERVER + record.url
}));
// if(item?.type==='xlsx'){
// window.open(`${Env.OFFICE_SERVER}/x/_layouts/xlviewerinternal.aspx?WOPISrc=${Env.OFFICE_IP}/wopi/files/${item?.attachment_id}`)
// }
// if(item?.type==='docx'){
// window.open(`${Env.OFFICE_SERVER}/wv/wordviewerframe.aspx?WOPISrc=${Env.OFFICE_IP}/wopi/files/${item?.attachment_id}`)
// }
// if(item?.type==='pptx'){
// window.open(`${Env.OFFICE_SERVER}/p/PowerPointFrame.aspx?WOPISrc=${Env.OFFICE_IP}/wopi/files/${item?.attachment_id}`)
// }
} else {
message/* default.info */.ZP.info('当前文件不支持编辑');
return;
}
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() {
var res;
return regeneratorRuntime_default()().wrap(function _callee7$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
case 0:
if (!["xlsx", "docx", "pptx"].includes(item === null || item === void 0 ? void 0 : item.type)) {
_context7.next = 7;
break;
}
_context7.next = 3;
return (0,exercise/* setEcsAttachment */.gJ)({
attachment_id: item.attachment_id
});
case 3:
res = _context7.sent;
window.open("/office.html?key=".concat(item.attachment_id, "&url=").concat(apiServer + (res === null || res === void 0 ? void 0 : res.url), "&callbackUrl=").concat(apiServer + (res === null || res === void 0 ? void 0 : res.callbackUrl), "&fileType=docx&title=").concat(res === null || res === void 0 ? void 0 : res.title, "&model=edit&officeServer=").concat(env/* default.ONLYOFFICE */.Z.ONLYOFFICE, "&disabledDownload=false"));
// if(item?.type==='xlsx'){
// window.open(`${Env.OFFICE_SERVER}/x/_layouts/xlviewerinternal.aspx?WOPISrc=${Env.OFFICE_IP}/wopi/files/${item?.attachment_id}`)
// }
// if(item?.type==='docx'){
// window.open(`${Env.OFFICE_SERVER}/wv/wordviewerframe.aspx?WOPISrc=${Env.OFFICE_IP}/wopi/files/${item?.attachment_id}`)
// }
// if(item?.type==='pptx'){
// window.open(`${Env.OFFICE_SERVER}/p/PowerPointFrame.aspx?WOPISrc=${Env.OFFICE_IP}/wopi/files/${item?.attachment_id}`)
// }
_context7.next = 9;
break;
case 7:
message/* default.info */.ZP.info('当前文件不支持编辑');
return _context7.abrupt("return");
case 9:
case "end":
return _context7.stop();
}
}, _callee7);
})),
style: {
cursor: 'pointer'
},
@ -976,14 +997,14 @@ var Page = function Page(_ref) {
setParams(objectSpread2_default()({}, params));
},
onFinish: /*#__PURE__*/function () {
var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7(value) {
var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8(value) {
var url, res;
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:
setisloading(true);
url = "/api/ec_years/".concat(params === null || params === void 0 ? void 0 : params.ec_year_id, "/ec_docs.json");
_context7.next = 4;
_context8.next = 4;
return (0,fetch/* default */.ZP)(url, {
method: 'post',
body: objectSpread2_default()({
@ -991,7 +1012,7 @@ var Page = function Page(_ref) {
}, value)
});
case 4:
res = _context7.sent;
res = _context8.sent;
setisloading(false);
if (res.status === 0) {
message/* default.info */.ZP.info('生成成功');
@ -1005,12 +1026,12 @@ var Page = function Page(_ref) {
}
case 7:
case "end":
return _context7.stop();
return _context8.stop();
}
}, _callee7);
}, _callee8);
}));
return function (_x4) {
return _ref6.apply(this, arguments);
return _ref7.apply(this, arguments);
};
}(),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
@ -1056,8 +1077,8 @@ var Page = function Page(_ref) {
}))]
});
};
/* harmony default export */ var Document = ((0,_umi_production_exports.connect)(function (_ref7) {
var user = _ref7.user;
/* harmony default export */ var Document = ((0,_umi_production_exports.connect)(function (_ref8) {
var user = _ref8.user;
return {
user: user
};

@ -1942,7 +1942,7 @@ ul.menu___UMSQf [class~='ant-dropdown-menu-item-active'] {
height: 10px;
line-height: 10px;
display: inline-block;
margin-top: 8px;
margin-top: 9px;
transform: translateY(2px);
}
.orderDesc___rHdbB {

@ -2221,7 +2221,7 @@
height: 10px;
line-height: 10px;
display: inline-block;
margin-top: 8px;
margin-top: 9px;
transform: translateY(2px);
}
.orderDesc___rHdbB {

@ -68,6 +68,7 @@
font-weight: 600;
color: #F47B18;
line-height: 12px;
margin-left: 6px;
}
.TopTitle___NtQws {
width: 1200px;
@ -163,25 +164,23 @@
.BannerComponent___cA8Rz .Swiper___WCEkn .BannerListItemInfoTime___hGPBk {
margin-top: 13px;
display: flex;
align-items: center;
align-items: flex-end;
justify-content: space-between;
font-size: 12px;
font-weight: 400;
color: #999999;
line-height: 12px;
line-height: 16px;
}
.BannerComponent___cA8Rz .Swiper___WCEkn .BannerListItemInfoTime___hGPBk .countdown___yDGAq .span___Q5aOf {
.BannerComponent___cA8Rz .Swiper___WCEkn .BannerListItemInfoTime___hGPBk .countdown___yDGAq {
display: flex;
align-items: center;
font-size: 12px;
line-height: 14px;
color: #BD6B27;
display: inline-block;
margin-top: 4px;
}
.BannerComponent___cA8Rz .Swiper___WCEkn .BannerListItemInfoTime___hGPBk .twoTimeprice___uOlfH {
margin-top: -25px;
.BannerComponent___cA8Rz .Swiper___WCEkn .BannerListItemInfoTime___hGPBk .countdown___yDGAq .span___Q5aOf {
line-height: 14px;
display: inline-block;
}
.BannerComponent___cA8Rz .Swiper___WCEkn .BannerListItemInfoTime___hGPBk .timeprice___r1rB5 {
margin-left: 22px;
white-space: nowrap;
}
.BannerComponent___cA8Rz .Swiper___WCEkn .BannerListItemInfoTime___hGPBk .timeprice___r1rB5 .span___Q5aOf {
@ -189,7 +188,6 @@
font-weight: 600;
color: #F47B18;
display: inline;
margin-top: 2px;
line-height: 18px;
letter-spacing: -1px;
}

@ -676,7 +676,7 @@ var react = __webpack_require__(67294);
var _umi_production_exports = __webpack_require__(89214);
;// CONCATENATED MODULE: ./src/pages/IntrainCourse/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var IntrainCoursemodules = ({"flex_box_center":"flex_box_center___Mk6YD","flex_space_between":"flex_space_between___MZT3e","flex_box_vertical_center":"flex_box_vertical_center___l2tif","flex_box_center_end":"flex_box_center_end___KdCKH","flex_box_column":"flex_box_column___zGqWK","AllButStyle":"AllButStyle___nZyt2","ButStyles":"ButStyles___g4vAm","order":"order___T1t73","study":"study___O8gTF","studyActive":"studyActive____XjIl","qianfuhao":"qianfuhao___ttEG4","TopTitle":"TopTitle___NtQws","TopName":"TopName____juq8","BannerComponent":"BannerComponent___cA8Rz","Swiper":"Swiper___WCEkn","BannerListItemDiv":"BannerListItemDiv___i6OHa","BannerListItem":"BannerListItem___WRjxL","BannerListItemImg":"BannerListItemImg___VST7T","BannerListItemInfo":"BannerListItemInfo___Maz5j","BannerListItemInfoTitle":"BannerListItemInfoTitle___NbUj7","BannerListItemInfoTeacher":"BannerListItemInfoTeacher___adanB","BannerListItemInfoRate":"BannerListItemInfoRate___Iiz8R","span":"span___Q5aOf","BannerListItemInfoTime":"BannerListItemInfoTime___hGPBk","countdown":"countdown___yDGAq","twoTimeprice":"twoTimeprice___uOlfH","timeprice":"timeprice___r1rB5","BannerListItemInfoTime2":"BannerListItemInfoTime2___IH_0F","But":"But___n8EMs","span1":"span1___c81QL","PrevNext":"PrevNext___hsSaR","buttonStyle":"buttonStyle___QfHso","LeftButton":"LeftButton___xv8Cd","RightButton":"RightButton___CCgMW","AllCourse":"AllCourse___XLXVP","AllCourseTop":"AllCourseTop___ra4rb","ButList":"ButList___JDlsR","icon":"icon___VoVSC","Select":"Select___PmCfz","clear":"clear___DtGmH","Search":"Search___nX6r4","AllCourseCent":"AllCourseCent___tr2ln","AllCourseCentLeft":"AllCourseCentLeft___CKuX4","AllCourseCentLeftItem":"AllCourseCentLeftItem___lqiIv","AllCourseCentLeftItemName":"AllCourseCentLeftItemName___Uz0_G","checkboxDiv":"checkboxDiv___ttZ2D","checkboxDivClose":"checkboxDivClose___pLnfq","checkbox":"checkbox___sKZ1f","AllCourseCentRight":"AllCourseCentRight___PvNud","AllCourseCentRightItem":"AllCourseCentRightItem___HZtBN","AllCourseCentRightItemLeft":"AllCourseCentRightItemLeft___ppfeb","AllCourseCentRightItemCent":"AllCourseCentRightItemCent___QH6kE","AllCourseCentRightItemCentTitle":"AllCourseCentRightItemCentTitle___MkSs3","AllCourseCentRightItemCentIntro":"AllCourseCentRightItemCentIntro___AaW2U","topicTitle":"topicTitle___XNbLV","AllCourseCentRightItemCentTeacher":"AllCourseCentRightItemCentTeacher___K9JM9","AllCourseCentRightItemCentRate":"AllCourseCentRightItemCentRate___nvP_8","AllCourseCentRightItemCentNum":"AllCourseCentRightItemCentNum___NdRPW","AllStyles":"AllStyles___zTjGA","AllCourseCentRightItemRight":"AllCourseCentRightItemRight___oc_it","PriceStyles":"PriceStyles___elfNF","OriginPrice":"OriginPrice___g_WQa","IsDiscount":"IsDiscount___nm8g9","IsDiscountPrice":"IsDiscountPrice___vcPDt","IsDiscountCountdown":"IsDiscountCountdown___ED5GI","span2":"span2___iCDNr","IsDiscountOriginPrice":"IsDiscountOriginPrice___dHu5H","two":"two___Xhngl","Pagination":"Pagination___qKPNH","UserReview":"UserReview___KmjLd","UserReviewInfo":"UserReviewInfo___FQdRQ","UserReviewWords":"UserReviewWords___ByZG7","body":"body___CgzAR","BannerList":"BannerList___UAlhX","BannerDiv":"BannerDiv___Y_iJx","Banner":"Banner___pjKbp","Cent":"Cent___ISiU9","InfoDiv":"InfoDiv___HPQcD","infoStyle":"infoStyle___XrEMW","Img":"Img___h9Y_0","Info":"Info___UCa4P","Info1":"Info1___jkSAI","Info2":"Info2___ye3YF","userInfoDiv":"userInfoDiv___UJuyG","Detailed":"Detailed___WSFSZ","CustomTags":"CustomTags___fDxDW","centNavDiv":"centNavDiv___J7CEL","centNavDivOpen":"centNavDivOpen___S9xEP","centNav":"centNav___jBalL","centNavActive":"centNavActive___j2oo_","OpenClose":"OpenClose___pb09k","OpenIcon":"OpenIcon___bVCdt","CloseIcon":"CloseIcon___SI85g","FixeRight":"FixeRight___YVyTP","FixeAbout":"FixeAbout___vzDzf","FixeInfo":"FixeInfo___GOZo3","Qrcode":"Qrcode___p1quP","FixeRightOpen":"FixeRightOpen___qALtO"});
/* harmony default export */ var IntrainCoursemodules = ({"flex_box_center":"flex_box_center___Mk6YD","flex_space_between":"flex_space_between___MZT3e","flex_box_vertical_center":"flex_box_vertical_center___l2tif","flex_box_center_end":"flex_box_center_end___KdCKH","flex_box_column":"flex_box_column___zGqWK","AllButStyle":"AllButStyle___nZyt2","ButStyles":"ButStyles___g4vAm","order":"order___T1t73","study":"study___O8gTF","studyActive":"studyActive____XjIl","qianfuhao":"qianfuhao___ttEG4","TopTitle":"TopTitle___NtQws","TopName":"TopName____juq8","BannerComponent":"BannerComponent___cA8Rz","Swiper":"Swiper___WCEkn","BannerListItemDiv":"BannerListItemDiv___i6OHa","BannerListItem":"BannerListItem___WRjxL","BannerListItemImg":"BannerListItemImg___VST7T","BannerListItemInfo":"BannerListItemInfo___Maz5j","BannerListItemInfoTitle":"BannerListItemInfoTitle___NbUj7","BannerListItemInfoTeacher":"BannerListItemInfoTeacher___adanB","BannerListItemInfoRate":"BannerListItemInfoRate___Iiz8R","span":"span___Q5aOf","BannerListItemInfoTime":"BannerListItemInfoTime___hGPBk","countdown":"countdown___yDGAq","timeprice":"timeprice___r1rB5","BannerListItemInfoTime2":"BannerListItemInfoTime2___IH_0F","But":"But___n8EMs","span1":"span1___c81QL","PrevNext":"PrevNext___hsSaR","buttonStyle":"buttonStyle___QfHso","LeftButton":"LeftButton___xv8Cd","RightButton":"RightButton___CCgMW","AllCourse":"AllCourse___XLXVP","AllCourseTop":"AllCourseTop___ra4rb","ButList":"ButList___JDlsR","icon":"icon___VoVSC","Select":"Select___PmCfz","clear":"clear___DtGmH","Search":"Search___nX6r4","AllCourseCent":"AllCourseCent___tr2ln","AllCourseCentLeft":"AllCourseCentLeft___CKuX4","AllCourseCentLeftItem":"AllCourseCentLeftItem___lqiIv","AllCourseCentLeftItemName":"AllCourseCentLeftItemName___Uz0_G","checkboxDiv":"checkboxDiv___ttZ2D","checkboxDivClose":"checkboxDivClose___pLnfq","checkbox":"checkbox___sKZ1f","AllCourseCentRight":"AllCourseCentRight___PvNud","AllCourseCentRightItem":"AllCourseCentRightItem___HZtBN","AllCourseCentRightItemLeft":"AllCourseCentRightItemLeft___ppfeb","AllCourseCentRightItemCent":"AllCourseCentRightItemCent___QH6kE","AllCourseCentRightItemCentTitle":"AllCourseCentRightItemCentTitle___MkSs3","AllCourseCentRightItemCentIntro":"AllCourseCentRightItemCentIntro___AaW2U","topicTitle":"topicTitle___XNbLV","AllCourseCentRightItemCentTeacher":"AllCourseCentRightItemCentTeacher___K9JM9","AllCourseCentRightItemCentRate":"AllCourseCentRightItemCentRate___nvP_8","AllCourseCentRightItemCentNum":"AllCourseCentRightItemCentNum___NdRPW","AllStyles":"AllStyles___zTjGA","AllCourseCentRightItemRight":"AllCourseCentRightItemRight___oc_it","PriceStyles":"PriceStyles___elfNF","OriginPrice":"OriginPrice___g_WQa","IsDiscount":"IsDiscount___nm8g9","IsDiscountPrice":"IsDiscountPrice___vcPDt","IsDiscountCountdown":"IsDiscountCountdown___ED5GI","span2":"span2___iCDNr","IsDiscountOriginPrice":"IsDiscountOriginPrice___dHu5H","two":"two___Xhngl","Pagination":"Pagination___qKPNH","UserReview":"UserReview___KmjLd","UserReviewInfo":"UserReviewInfo___FQdRQ","UserReviewWords":"UserReviewWords___ByZG7","body":"body___CgzAR","BannerList":"BannerList___UAlhX","BannerDiv":"BannerDiv___Y_iJx","Banner":"Banner___pjKbp","Cent":"Cent___ISiU9","InfoDiv":"InfoDiv___HPQcD","infoStyle":"infoStyle___XrEMW","Img":"Img___h9Y_0","Info":"Info___UCa4P","Info1":"Info1___jkSAI","Info2":"Info2___ye3YF","userInfoDiv":"userInfoDiv___UJuyG","Detailed":"Detailed___WSFSZ","CustomTags":"CustomTags___fDxDW","centNavDiv":"centNavDiv___J7CEL","centNavDivOpen":"centNavDivOpen___S9xEP","centNav":"centNav___jBalL","centNavActive":"centNavActive___j2oo_","OpenClose":"OpenClose___pb09k","OpenIcon":"OpenIcon___bVCdt","CloseIcon":"CloseIcon___SI85g","FixeRight":"FixeRight___YVyTP","FixeAbout":"FixeAbout___vzDzf","FixeInfo":"FixeInfo___GOZo3","Qrcode":"Qrcode___p1quP","FixeRightOpen":"FixeRightOpen___qALtO"});
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/LeftOutlined.js
var LeftOutlined = __webpack_require__(37653);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/RightOutlined.js
@ -1555,12 +1555,14 @@ var IntrainCoursePage = function IntrainCoursePage(_ref2) {
style: {
opacity: "".concat(item.countdown ? '1' : '0')
},
children: ["\u5012\u8BA1\u65F6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "iconfont icon-daojishi"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: IntrainCoursemodules.span,
children: item.countdown
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "".concat(IntrainCoursemodules.timeprice, " ").concat(item.countdown ? item.price.length > 4 ? IntrainCoursemodules.twoTimeprice : '' : ''),
className: "".concat(IntrainCoursemodules.timeprice),
children: ["\u9650\u65F6\u4EF7:", /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: IntrainCoursemodules.span,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
@ -1643,13 +1645,15 @@ var IntrainCoursePage = function IntrainCoursePage(_ref2) {
style: {
opacity: "".concat(item.countdown ? '1' : '0')
},
children: ["\u5012\u8BA1\u65F6\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "iconfont icon-daojishi"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: IntrainCoursemodules.span,
children: item.countdown
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "".concat(IntrainCoursemodules.timeprice, " ").concat(item.countdown ? item.price.length > 4 ? IntrainCoursemodules.twoTimeprice : '' : ''),
children: ["\u9650\u65F6\u4EF7:", /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "".concat(IntrainCoursemodules.timeprice),
children: ["\u9650\u65F6\u4EF7", /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: IntrainCoursemodules.span,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: IntrainCoursemodules.qianfuhao,

@ -69,7 +69,7 @@
color: #6a7283;
cursor: pointer;
margin-right: 16px;
margin-bottom: 16px;
margin-bottom: 17px;
flex-shrink: 0;
display: inline-block;
padding: 4px 8px;

@ -3617,6 +3617,19 @@ var pythonLangage = {
// { label: "printf", content: 'printf("")' },
]
};
var scalaLangage = {
keywords: ['asInstanceOf', 'catch', 'class', 'classOf', 'def', 'do', 'else', 'extends', 'finally', 'for', 'foreach', 'forSome', 'if', 'import', 'isInstanceOf', 'macro', 'match', 'new', 'object', 'package', 'return', 'throw', 'trait', 'try', 'type', 'until', 'val', 'var', 'while', 'with', 'yield',
// Dotty-specific:
'given', 'enum', 'then'],
quickKey: [{
label: "println",
content: ['println($0)'].join('\n')
}
// { label: "#include", content: '#include ""' },
// { label: "printf", content: 'printf("")' },
]
};
// EXTERNAL MODULE: ./node_modules/js-beautify/js/index.js
var js = __webpack_require__(84204);
var js_default = /*#__PURE__*/__webpack_require__.n(js);
@ -3848,6 +3861,39 @@ function getSuggestions(monaco, model, position, keywords, snippts) {
};
}
});
monaco.languages.registerCompletionItemProvider('scala', {
provideCompletionItems: function provideCompletionItems(model, position) {
var word = model.getWordUntilPosition(position);
var wordRange = {
startLineNumber: position.lineNumber,
endLineNumber: position.lineNumber,
startColumn: word.startColumn,
endColumn: word.endColumn
};
var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn);
return {
suggestions: [].concat(toConsumableArray_default()(scalaLangage.keywords.map(function (item) {
return {
label: item,
kind: monaco.languages.CompletionItemKind.Function,
documentation: item,
insertText: item,
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
range: wordRange
};
})), toConsumableArray_default()(scalaLangage.quickKey.map(function (item) {
return {
label: item.label,
kind: monaco.languages.CompletionItemKind.Function,
documentation: item.content,
insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content,
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
range: wordRange
};
})))
};
}
});
monaco.languages.registerCompletionItemProvider('python', {
provideCompletionItems: function provideCompletionItems(model, position) {
var word = model.getWordUntilPosition(position);
@ -3900,7 +3946,7 @@ var jsx_runtime = __webpack_require__(85893);
var _excluded = ["width", "height", "value", "language", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"];
var _excluded = ["width", "height", "value", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"];
@ -3963,7 +4009,8 @@ var DICT = {
Sml: 'javascript',
OpenGL: 'cpp',
Perl5: 'perl',
Orange: 'python'
Orange: 'python',
Scala: "scale"
};
function getLanguageByMirrorName() {
var mirror_name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
@ -3988,8 +4035,6 @@ var monaco = null;
_ref$height = _ref.height,
height = _ref$height === void 0 ? '100%' : _ref$height,
value = _ref.value,
_ref$language = _ref.language,
language = _ref$language === void 0 ? 'javascript' : _ref$language,
_ref$style = _ref.style,
style = _ref$style === void 0 ? {} : _ref$style,
_ref$options = _ref.options,
@ -4016,6 +4061,7 @@ var monaco = null;
_ref$errorContent = _ref.errorContent,
errorContent = _ref$errorContent === void 0 ? '' : _ref$errorContent,
props = objectWithoutProperties_default()(_ref, _excluded);
var language = "scala";
var editorEl = (0,react.useRef)();
var editor = (0,react.useRef)({});
var optionsRef = (0,react.useRef)();

@ -83,6 +83,7 @@ var CustomTree = function CustomTree(_ref) {
return (0,problemset/* getPaperList */.NZ)({});
case 2:
res = _context.sent;
// setFolderLoading(false)
if (res !== null && res !== void 0 && res.data) {
item = [{
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {

@ -190,6 +190,7 @@ var CustomTree = function CustomTree(_ref) {
return (0,problemset/* getPaperList */.NZ)({});
case 2:
res = _context.sent;
// setFolderLoading(false)
if (res !== null && res !== void 0 && res.data) {
item = [{
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {

File diff suppressed because one or more lines are too long

@ -3303,7 +3303,7 @@ ul.menu___E01hA [class~='ant-dropdown-menu-item-active'] {
height: 10px;
line-height: 10px;
display: inline-block;
margin-top: 8px;
margin-top: 9px;
transform: translateY(2px);
}
.orderDesc___rHdbB {

@ -2976,6 +2976,19 @@ var pythonLangage = {
// { label: "printf", content: 'printf("")' },
]
};
var scalaLangage = {
keywords: ['asInstanceOf', 'catch', 'class', 'classOf', 'def', 'do', 'else', 'extends', 'finally', 'for', 'foreach', 'forSome', 'if', 'import', 'isInstanceOf', 'macro', 'match', 'new', 'object', 'package', 'return', 'throw', 'trait', 'try', 'type', 'until', 'val', 'var', 'while', 'with', 'yield',
// Dotty-specific:
'given', 'enum', 'then'],
quickKey: [{
label: "println",
content: ['println($0)'].join('\n')
}
// { label: "#include", content: '#include ""' },
// { label: "printf", content: 'printf("")' },
]
};
// EXTERNAL MODULE: ./node_modules/js-beautify/js/index.js
var js = __webpack_require__(84204);
var js_default = /*#__PURE__*/__webpack_require__.n(js);
@ -3207,6 +3220,39 @@ function getSuggestions(monaco, model, position, keywords, snippts) {
};
}
});
monaco.languages.registerCompletionItemProvider('scala', {
provideCompletionItems: function provideCompletionItems(model, position) {
var word = model.getWordUntilPosition(position);
var wordRange = {
startLineNumber: position.lineNumber,
endLineNumber: position.lineNumber,
startColumn: word.startColumn,
endColumn: word.endColumn
};
var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn);
return {
suggestions: [].concat(toConsumableArray_default()(scalaLangage.keywords.map(function (item) {
return {
label: item,
kind: monaco.languages.CompletionItemKind.Function,
documentation: item,
insertText: item,
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
range: wordRange
};
})), toConsumableArray_default()(scalaLangage.quickKey.map(function (item) {
return {
label: item.label,
kind: monaco.languages.CompletionItemKind.Function,
documentation: item.content,
insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content,
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
range: wordRange
};
})))
};
}
});
monaco.languages.registerCompletionItemProvider('python', {
provideCompletionItems: function provideCompletionItems(model, position) {
var word = model.getWordUntilPosition(position);
@ -3259,7 +3305,7 @@ var jsx_runtime = __webpack_require__(85893);
var _excluded = ["width", "height", "value", "language", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"];
var _excluded = ["width", "height", "value", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"];
@ -3322,7 +3368,8 @@ var DICT = {
Sml: 'javascript',
OpenGL: 'cpp',
Perl5: 'perl',
Orange: 'python'
Orange: 'python',
Scala: "scale"
};
function getLanguageByMirrorName() {
var mirror_name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
@ -3347,8 +3394,6 @@ var monaco = null;
_ref$height = _ref.height,
height = _ref$height === void 0 ? '100%' : _ref$height,
value = _ref.value,
_ref$language = _ref.language,
language = _ref$language === void 0 ? 'javascript' : _ref$language,
_ref$style = _ref.style,
style = _ref$style === void 0 ? {} : _ref$style,
_ref$options = _ref.options,
@ -3375,6 +3420,7 @@ var monaco = null;
_ref$errorContent = _ref.errorContent,
errorContent = _ref$errorContent === void 0 ? '' : _ref$errorContent,
props = objectWithoutProperties_default()(_ref, _excluded);
var language = "scala";
var editorEl = (0,react.useRef)();
var editor = (0,react.useRef)({});
var optionsRef = (0,react.useRef)();

@ -339,10 +339,10 @@
border-bottom: 1px solid #eeeeee;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px 0 40px;
}
.pay___d2pfO .content___XPfA4 .header___rQd0I .title___ab7Wv {
margin-left: 20px;
font-size: 20px;
color: #333333;
}

@ -122,7 +122,6 @@ var Pay = function Pay() {
clearInterval(timer.current);
};
}, [params.courseId]);
console.log('--111111--', location);
var getData = /*#__PURE__*/function () {
var _ref = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _resDetail$order, _res;
@ -302,12 +301,24 @@ var Pay = function Pay() {
className: orderPaymodules.bg
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: orderPaymodules.content,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: orderPaymodules.header,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginTop: '5px',
fontSize: '16px',
cursor: 'pointer'
},
onClick: function onClick() {
return _umi_production_exports.history.push("/paths/".concat(params.courseId));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "iconfont icon-fanhui2"
}), "\u8FD4\u56DE"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: orderPaymodules.title,
children: "\u8BA2\u5355\u652F\u4ED8"
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(skeleton/* default */.Z, {
loading: loading,
active: true,

@ -0,0 +1,573 @@
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/PreviewAll/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrp___dq7YK {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 108;
}
.wrp___dq7YK.bgBlack___ARIUV {
background: rgba(0, 0, 0, 0.5);
}
.wrp___dq7YK img,
.wrp___dq7YK video {
max-width: 100%;
max-height: 80%;
text-align: center;
}
.wrp___dq7YK iframe {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
background: #fff;
border: none;
}
.monaco___VnZC3 {
position: absolute;
height: 100%;
width: 100%;
}
.darkBlue___UprA9 * {
font-size: 14px;
}
.darkBlue___UprA9 [class~='margin'],
.darkBlue___UprA9 [class~='monaco-editor-background'] {
background: #0a0e2d !important;
}
.darkBlue___UprA9 [class~='line-numbers'] {
color: white !important;
}
.close___LKoWu {
position: absolute;
right: 40px;
top: 40px;
z-index: 10;
display: flex;
}
.close___LKoWu > span {
background: #4a4a4a;
color: #fff;
width: 40px;
height: 40px;
border-radius: 4px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
margin-left: 10px;
}
.embed___hvpEJ {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!*******************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/components/monaco-editor/index.css ***!
\*******************************************************************************************************************************************************************************************************************************************/
.my-monaco-editor div,
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp{
width: calc(100% - 20px ) !important;
background: rgba(245, 0, 0 ,0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget{
display: none !important;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Topics/Detail/components/WorkDescription/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___dn0xX {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___JlcX8 {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___PGWCu {
align-items: center;
box-align: center;
}
.flex_box_center_end___sRxxV {
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___WPwan {
flex-direction: column;
box-orient: block-axis;
}
.top___arr9I {
padding: 30px;
border-bottom: 1px solid #eaeaea;
}
.desc___tW8Wt {
padding: 30px;
}
.desc___tW8Wt img {
max-width: 100%;
}
.liked___Bq9NY {
background: #eee;
color: #b3b3b3;
padding: 10px 40px;
border-radius: 40px;
display: inline-block;
margin: 0 auto;
text-align: center;
cursor: pointer;
}
.likedActive___XzpPk {
background: #0152d9;
color: #fff;
}
.reply___12llT {
padding: 30px;
border-bottom: 1px solid #eaeaea;
}
.reply___12llT input,
.reply___12llT button {
height: 40px;
}
.reply___12llT button {
padding-left: 20px;
padding-right: 20px;
margin-left: 20px;
}
.replyList___NJsYv {
padding: 20px;
}
.replyList___NJsYv > div {
border-bottom: 1px solid #eaeaea;
}
.comment___RWWH5 {
background: #f4f4f4;
border-radius: 6px;
width: 100%;
position: relative;
}
.comment___RWWH5:before {
content: '';
position: absolute;
top: -9px;
left: 13px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 10px solid #f4f4f4;
width: 0;
height: 0;
}
.comment___RWWH5 > div {
padding: 10px;
}
.comment___RWWH5 > div:hover {
background: #ebebeb;
}
.headpic___v_77H {
border-radius: 40px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Topics/Detail/components/ReferenceAnswer/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___ukees {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___PHPo4 {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___MgEzw {
align-items: center;
box-align: center;
}
.flex_box_center_end___owDkz {
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____I7hO {
flex-direction: column;
box-orient: block-axis;
}
.top___DHLWM {
padding: 30px;
border-bottom: 1px solid #eaeaea;
}
.desc___JJR8P {
padding: 30px;
}
.desc___JJR8P img {
max-width: 100%;
}
.liked___knpCw {
background: #eee;
color: #b3b3b3;
padding: 10px 40px;
border-radius: 40px;
display: inline-block;
margin: 0 auto;
text-align: center;
cursor: pointer;
}
.likedActive___KPZCk {
background: #0152d9;
color: #fff;
}
.reply___n7kXe {
padding: 30px;
border-bottom: 1px solid #eaeaea;
}
.reply___n7kXe input,
.reply___n7kXe button {
height: 40px;
}
.reply___n7kXe button {
padding-left: 20px;
padding-right: 20px;
margin-left: 20px;
}
.replyList___MVu52 {
padding: 20px;
}
.replyList___MVu52 > div {
border-bottom: 1px solid #eaeaea;
}
.comment___Leq7e {
background: #f4f4f4;
border-radius: 6px;
width: 100%;
position: relative;
}
.comment___Leq7e:before {
content: '';
position: absolute;
top: -9px;
left: 13px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 10px solid #f4f4f4;
width: 0;
height: 0;
}
.comment___Leq7e > div {
padding: 10px;
}
.comment___Leq7e > div:hover {
background: #ebebeb;
}
.headpic___HL9zI {
border-radius: 40px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Topics/Detail/index.less?modules ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___vHDeL {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___rLrGx {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___iGSf0 {
align-items: center;
box-align: center;
}
.flex_box_center_end___mqG_2 {
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___x9EJv {
flex-direction: column;
box-orient: block-axis;
}
.title___LcvG_ {
display: flex;
align-items: center;
}
.export___M5wlK {
position: absolute;
right: 20px;
top: 23px;
z-index: 2;
font-size: 16px;
}
.export___M5wlK a,
.export___M5wlK button {
margin-left: 30px;
}
.bg___XfKxA {
background: #fafafa;
}
.tabs___esytV [class='ant-tabs-nav-scroll'] {
padding-left: 25px;
}
.tabs___esytV [class~='ant-tabs-tabpane'] {
padding: 0 25px;
}
.tabs___esytV [class~='ant-tabs-tab'] {
padding: 23px 0;
font-size: 18px;
color: #333;
}
.tabs___esytV [class~='ant-tabs-tab-active'] {
color: #0152d9;
}
.tabs___esytV [class='ant-tabs-nav-wrap'] {
padding-left: 30px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Topics/components/SendToClassModal.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.title___XAxiE {
font-size: 14px;
color: #ff9d18;
}
.radioWrap___k0pOB {
height: 270px;
overflow-y: auto;
overflow-x: hidden;
margin-top: 13px;
margin-bottom: 5px;
}
.radioWrap___k0pOB::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.05) !important;
border-radius: 3px;
}
.radioWrap___k0pOB::-webkit-scrollbar-track {
background-color: #f6f7f9 !important;
box-shadow: none !important;
box-shadow: initial !important;
}
.radio___x9kMt {
display: block;
width: 500px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-left: 3px;
}
.radio___x9kMt span {
font-size: 14px;
}
.colorFF0000___IMgd0 {
color: #ff0000;
}
.pagination___ou2ht {
margin: 0 auto;
margin-top: 10px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/reset.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___vG4eV {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___qVVxe {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___P8Z8s {
align-items: center;
box-align: center;
}
.flex_box_center_end___VMme3 {
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___VMHwm {
flex-direction: column;
box-orient: block-axis;
}
.CustomCss___fWNtn .ant-modal-header {
height: 82px;
font-size: 16px;
font-weight: 500;
color: #000000;
padding: 30px 40px;
border: 0;
}
.CustomCss___fWNtn .ant-modal-body {
padding: 0 40px;
}
.CustomCss___fWNtn .ant-modal-footer {
padding: 30px 40px;
border: 0;
}
.CustomCss___fWNtn .ant-modal-footer button:first-child {
padding: 0 16px;
border-radius: 2px;
border: 1px solid rgba(195, 207, 224, 0.5);
background-color: rgba(248, 249, 252, 0.5);
margin-right: 20px;
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomCss___fWNtn .ant-modal-footer button:last-child {
padding: 0 16px;
background: #f6f7f9 linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #bacffe;
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomCss___fWNtn .ant-modal-close {
top: 22px;
right: 29px;
}
.CustomCss___fWNtn .ant-modal-close .ant-modal-close-icon {
color: #979797;
font-size: 26px;
}
.CustomTipsModalCss___MmFkT .ant-modal-body {
padding: 0;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-title {
height: 82px;
font-size: 16px;
font-weight: 500;
color: #000000;
padding: 30px 40px;
border: 0;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-body .ant-modal-confirm-content {
padding: 0 40px;
color: #000000;
font-size: 14px;
margin: 0;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns {
padding: 30px 40px;
border: 0;
margin: 0;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:first-child {
padding: 0 16px;
border-radius: 2px;
border: 1px solid rgba(195, 207, 224, 0.5);
background-color: rgba(248, 249, 252, 0.5);
margin-right: 20px;
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
background: #f6f7f9 linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #bacffe;
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;
}
.dropdownmenus___oVzoj [class~='ant-dropdown-menu-item'] {
text-align: center;
}
.dropdownmenus___oVzoj [class~='ant-dropdown-menu-item']:hover {
color: #165dff !important;
background: #fff;
}
.dropdownmenus___oVzoj [class~='ant-dropdown-menu'] {
padding: 10px 0 !important;
}
.popupClassNames___OcZq7 {
background: yellow;
}
.selectdown___mmcA8 [class~='ant-select-item-option-selected'] {
font-weight: 400 !important;
background-color: #edf2ff !important;
}
.selectdown___mmcA8 [class~='ant-select-item-option-active'] {
color: #165dff !important;
background-color: #fff !important;
}
.selectdown___mmcA8 [class~='ant-select-item-option'] {
padding: 10px 24px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -1000,6 +1000,10 @@ __webpack_require__.d(__webpack_exports__, {
var style = __webpack_require__(35611);
// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules
var modal = __webpack_require__(85402);
// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/style/index.js + 1 modules
var skeleton_style = __webpack_require__(61099);
// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 11 modules
var skeleton = __webpack_require__(73481);
// EXTERNAL MODULE: ./node_modules/antd/es/radio/style/index.js + 1 modules
var radio_style = __webpack_require__(83822);
// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules
@ -1056,6 +1060,8 @@ var jsx_runtime = __webpack_require__(85893);
var _excluded = ["userDetail", "globalSetting", "loading", "dispatch"];
@ -1067,6 +1073,7 @@ var _excluded = ["userDetail", "globalSetting", "loading", "dispatch"];
var Search = input/* default.Search */.Z.Search;
var SendToClassModal = function SendToClassModal(_ref) {
var _userDetail$actionTab4, _userDetail$actionTab5;
var userDetail = _ref.userDetail,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
@ -1086,36 +1093,44 @@ var SendToClassModal = function SendToClassModal(_ref) {
setRadioValue = _useState6[1];
var _useState7 = (0,react.useState)(false),
_useState8 = slicedToArray_default()(_useState7, 2),
hasError = _useState8[0],
setHasError = _useState8[1];
listLoading = _useState8[0],
setListLoading = _useState8[1];
var _useState9 = (0,react.useState)(false),
_useState10 = slicedToArray_default()(_useState9, 2),
hasError = _useState10[0],
setHasError = _useState10[1];
(0,react.useEffect)(function () {
getCourseList();
}, []);
if (userDetail.actionTabs.key === 'UserDetail-SendToClass') {
getCourseList(searchValue);
}
}, [userDetail.actionTabs.key]);
var getCourseList = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(value) {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
setListLoading(true);
_context.next = 3;
return dispatch({
type: 'userDetail/topicGetCourseList',
payload: {
search: searchValue
search: value
}
});
case 2:
case 3:
res = _context.sent;
if (res) {
setCourseList((res === null || res === void 0 ? void 0 : res.courses) || []);
}
case 4:
setListLoading(false);
case 6:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getCourseList() {
return function getCourseList(_x) {
return _ref2.apply(this, arguments);
};
}();
@ -1152,7 +1167,8 @@ var SendToClassModal = function SendToClassModal(_ref) {
'normal': 'common_homework',
'group': 'group_homework',
'exercise': 'exercise',
'poll': 'poll'
'poll': 'poll',
'videos': 'video'
};
(0,util/* openNewWindow */.xg)("/classrooms/".concat(radioValue, "/").concat(urlMapping[(_userDetail$actionTab2 = userDetail.actionTabs) === null || _userDetail$actionTab2 === void 0 ? void 0 : (_userDetail$actionTab3 = _userDetail$actionTab2.params) === null || _userDetail$actionTab3 === void 0 ? void 0 : _userDetail$actionTab3.object_type]));
}
@ -1177,6 +1193,11 @@ var SendToClassModal = function SendToClassModal(_ref) {
cancelText: "\u53D6\u6D88",
confirmLoading: loading['userDetail/sendToClass'],
width: 600,
afterClose: function afterClose() {
setHasError(false);
setCourseList([]);
setSearchValue('');
},
onOk: handleOk,
wrapClassName: resetmodules/* default.CustomCss */.Z.CustomCss,
onCancel: function onCancel() {
@ -1197,26 +1218,30 @@ var SendToClassModal = function SendToClassModal(_ref) {
},
onChange: function onChange(value) {
setSearchValue(value);
getCourseList();
getCourseList(value);
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SendToClassModalmodules.radioWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, {
value: radioValue,
onChange: function onChange(e) {
setRadioValue(e.target.value);
setHasError(false);
},
children: courseList.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
className: SendToClassModalmodules.radio,
value: item.course_id,
children: item.course_name
}, item.course_id);
}), /*#__PURE__*/(0,jsx_runtime.jsx)(skeleton/* default */.Z, {
active: true,
loading: listLoading,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SendToClassModalmodules.radioWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, {
value: radioValue,
onChange: function onChange(e) {
setRadioValue(e.target.value);
setHasError(false);
},
children: courseList.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
className: SendToClassModalmodules.radio,
value: item.course_id,
children: item.course_name
}, item.course_id);
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), ((_userDetail$actionTab4 = userDetail.actionTabs) === null || _userDetail$actionTab4 === void 0 ? void 0 : (_userDetail$actionTab5 = _userDetail$actionTab4.params) === null || _userDetail$actionTab5 === void 0 ? void 0 : _userDetail$actionTab5.object_type) !== 'videos' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SendToClassModalmodules.title,
children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u9009\u62E9\u7684\u9898\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802"
}), hasError && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {

@ -0,0 +1,524 @@
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Topics/Exercise/Detail/components/editor.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___p1qG1 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___EHoRl {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___c0u2d {
align-items: center;
box-align: center;
}
.flex_box_center_end___ueiDD {
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___tyRHS {
flex-direction: column;
box-orient: block-axis;
}
.wrap___ce8sS {
padding: 20px 30px;
box-sizing: border-box;
}
.modal___yzD47 div[class~='ant-modal-confirm-content'] {
font-size: 16px;
text-align: center;
}
.modal___yzD47 span[class~='ant-modal-title'] {
font-size: 16px;
}
.titleWrap___OBPcs {
margin: 10px 0px;
}
.required___ncxFF {
margin-right: 4px;
color: #e04040;
font-size: 16px;
}
.title___cxIaz {
font-size: 14px;
color: #333333;
}
.colorGray___NXXsn {
color: #888888;
}
.choiceWrap___AhJbr {
display: flex;
margin-top: 15px;
}
.answer____f42Z {
color: #888;
display: block;
width: 38px;
height: 38px;
text-align: center;
line-height: 38px;
border-radius: 4px;
cursor: pointer;
border: 1px solid #e2e2e2;
margin-right: 10px;
}
.activeAnswer___BqxNg {
background: #ff7500;
color: #ffffff;
border: 1px solid #ff7500;
}
.deleteIcon___iHXv4 {
cursor: pointer;
color: #ccc;
margin-left: 15px;
font-size: 18px;
}
.addIcon___Kb1l4 {
cursor: pointer;
color: #29bd8b;
margin-left: 6px;
font-size: 16px;
padding-top: 1px;
}
.editorWrap___UmeId {
flex: 1 1;
}
.htmlWrap____EtjV {
display: flex;
margin-top: 0px;
min-height: 38px;
border-radius: 2px;
max-width: 1056px;
word-break: break-all;
border: 1px solid #dddddd;
}
.htmlWrap____EtjV p {
margin: 7px 10px;
}
.radio___zqqhF {
width: 60px;
height: 32px;
line-height: 32px;
text-align: center;
}
.color333___PUxW5 {
color: #333;
}
.color999___Uiwst {
color: #999;
}
.questionType___GcJoU {
display: box;
display: flex;
}
.questionType___GcJoU > div {
flex: 1 1;
}
.questionType___GcJoU > span {
display: none;
}
.questionChoices___WgikS {
margin-top: 15px;
}
.questionChoices___WgikS > div {
margin: 8px 0;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Editor/NullChildEditor/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex___eLcnP {
display: flex;
display: -ms-flex;
}
.flex1___yUTT7 {
flex: 1 1;
}
.color666___TiUhG {
color: #666;
}
.error___gTTtv {
border-color: #f5222d;
}
.deleteIcon___mnZW1 {
cursor: pointer;
color: #ccc;
margin-left: 15px;
font-size: 18px;
}
.addIcon___JC5NS {
cursor: pointer;
color: #29bd8b;
margin-left: 6px;
font-size: 16px;
padding-top: 1px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Topics/Exercise/Detail/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___eWsYC {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___RALuo {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___f7uVp {
align-items: center;
box-align: center;
}
.flex_box_center_end___UxPR3 {
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___YUFuv {
flex-direction: column;
box-orient: block-axis;
}
.bg___zWTsF {
background: white;
}
.containerTitle___DzTZh {
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___DzTZh div:nth-child(1) {
flex: 1 1;
}
.containerDesc___a3TiA {
display: box;
display: flex;
}
.containerDesc___a3TiA div:nth-child(1) {
flex: 1 1;
}
.listItem____nHKG {
padding: 25px 30px 25px 30px;
display: box;
display: flex;
background: white;
margin-top: 20px;
cursor: pointer;
}
.listItem____nHKG > div {
flex: 1 1;
}
.listItem____nHKG:hover {
box-shadow: 0 0 10px #ccc;
}
.info___LWlgA {
margin-left: 20px;
}
.info___LWlgA p {
margin-top: 18px;
}
.title___gtaI4 {
display: box;
display: flex;
align-items: center;
box-align: center;
}
.title___gtaI4 strong {
color: #333;
}
.titleLeft___Ce3h9 {
flex: 1 1;
}
.titleRight___gARIc a {
margin-right: 20px;
font-weight: bold;
}
.acitons___MrR2u {
height: 70px;
background: white;
margin-top: 20px;
display: box;
display: flex;
align-items: center;
box-align: center;
padding: 0 30px;
}
.acitons___MrR2u > div:nth-child(1) {
flex: 1 1;
}
.acitons___MrR2u > div:nth-child(2) {
display: box;
display: flex;
align-items: center;
box-align: center;
}
.acitons___MrR2u > div:nth-child(2) p {
cursor: pointer;
color: #999;
}
.acitons___MrR2u > div:nth-child(2) p:hover {
color: #333;
}
.acitons___MrR2u > div:nth-child(2) p span {
position: relative;
padding: 0 20px;
}
.acitons___MrR2u > div:nth-child(2) p span:after {
content: '';
width: 1px;
height: 10px;
background: #ededed;
position: absolute;
right: 0;
top: 50%;
margin-top: -5px;
}
.acitons___MrR2u > div:nth-child(2) p:nth-last-child(1) span {
padding-right: 0;
}
.acitons___MrR2u > div:nth-child(2) p:nth-last-child(1) span:after {
display: none;
}
.export___u_8cL {
position: absolute;
right: 20px;
top: 23px;
z-index: 2;
font-size: 16px;
}
.export___u_8cL a,
.export___u_8cL button {
margin-left: 30px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Topics/components/SendToClassModal.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.title___XAxiE {
font-size: 14px;
color: #ff9d18;
}
.radioWrap___k0pOB {
height: 270px;
overflow-y: auto;
overflow-x: hidden;
margin-top: 13px;
margin-bottom: 5px;
}
.radioWrap___k0pOB::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.05) !important;
border-radius: 3px;
}
.radioWrap___k0pOB::-webkit-scrollbar-track {
background-color: #f6f7f9 !important;
box-shadow: none !important;
box-shadow: initial !important;
}
.radio___x9kMt {
display: block;
width: 500px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-left: 3px;
}
.radio___x9kMt span {
font-size: 14px;
}
.colorFF0000___IMgd0 {
color: #ff0000;
}
.pagination___ou2ht {
margin: 0 auto;
margin-top: 10px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/reset.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___vG4eV {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___qVVxe {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___P8Z8s {
align-items: center;
box-align: center;
}
.flex_box_center_end___VMme3 {
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___VMHwm {
flex-direction: column;
box-orient: block-axis;
}
.CustomCss___fWNtn .ant-modal-header {
height: 82px;
font-size: 16px;
font-weight: 500;
color: #000000;
padding: 30px 40px;
border: 0;
}
.CustomCss___fWNtn .ant-modal-body {
padding: 0 40px;
}
.CustomCss___fWNtn .ant-modal-footer {
padding: 30px 40px;
border: 0;
}
.CustomCss___fWNtn .ant-modal-footer button:first-child {
padding: 0 16px;
border-radius: 2px;
border: 1px solid rgba(195, 207, 224, 0.5);
background-color: rgba(248, 249, 252, 0.5);
margin-right: 20px;
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomCss___fWNtn .ant-modal-footer button:last-child {
padding: 0 16px;
background: #f6f7f9 linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #bacffe;
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomCss___fWNtn .ant-modal-close {
top: 22px;
right: 29px;
}
.CustomCss___fWNtn .ant-modal-close .ant-modal-close-icon {
color: #979797;
font-size: 26px;
}
.CustomTipsModalCss___MmFkT .ant-modal-body {
padding: 0;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-title {
height: 82px;
font-size: 16px;
font-weight: 500;
color: #000000;
padding: 30px 40px;
border: 0;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-body .ant-modal-confirm-content {
padding: 0 40px;
color: #000000;
font-size: 14px;
margin: 0;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns {
padding: 30px 40px;
border: 0;
margin: 0;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:first-child {
padding: 0 16px;
border-radius: 2px;
border: 1px solid rgba(195, 207, 224, 0.5);
background-color: rgba(248, 249, 252, 0.5);
margin-right: 20px;
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
background: #f6f7f9 linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #bacffe;
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;
}
.dropdownmenus___oVzoj [class~='ant-dropdown-menu-item'] {
text-align: center;
}
.dropdownmenus___oVzoj [class~='ant-dropdown-menu-item']:hover {
color: #165dff !important;
background: #fff;
}
.dropdownmenus___oVzoj [class~='ant-dropdown-menu'] {
padding: 10px 0 !important;
}
.popupClassNames___OcZq7 {
background: yellow;
}
.selectdown___mmcA8 [class~='ant-select-item-option-selected'] {
font-weight: 400 !important;
background-color: #edf2ff !important;
}
.selectdown___mmcA8 [class~='ant-select-item-option-active'] {
color: #165dff !important;
background-color: #fff !important;
}
.selectdown___mmcA8 [class~='ant-select-item-option'] {
padding: 10px 24px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -3455,6 +3455,10 @@ __webpack_require__.d(__webpack_exports__, {
var style = __webpack_require__(35611);
// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules
var modal = __webpack_require__(85402);
// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/style/index.js + 1 modules
var skeleton_style = __webpack_require__(61099);
// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 11 modules
var skeleton = __webpack_require__(73481);
// EXTERNAL MODULE: ./node_modules/antd/es/radio/style/index.js + 1 modules
var radio_style = __webpack_require__(83822);
// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules
@ -3511,6 +3515,8 @@ var jsx_runtime = __webpack_require__(85893);
var _excluded = ["userDetail", "globalSetting", "loading", "dispatch"];
@ -3522,6 +3528,7 @@ var _excluded = ["userDetail", "globalSetting", "loading", "dispatch"];
var Search = input/* default.Search */.Z.Search;
var SendToClassModal = function SendToClassModal(_ref) {
var _userDetail$actionTab4, _userDetail$actionTab5;
var userDetail = _ref.userDetail,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
@ -3541,36 +3548,44 @@ var SendToClassModal = function SendToClassModal(_ref) {
setRadioValue = _useState6[1];
var _useState7 = (0,react.useState)(false),
_useState8 = slicedToArray_default()(_useState7, 2),
hasError = _useState8[0],
setHasError = _useState8[1];
listLoading = _useState8[0],
setListLoading = _useState8[1];
var _useState9 = (0,react.useState)(false),
_useState10 = slicedToArray_default()(_useState9, 2),
hasError = _useState10[0],
setHasError = _useState10[1];
(0,react.useEffect)(function () {
getCourseList();
}, []);
if (userDetail.actionTabs.key === 'UserDetail-SendToClass') {
getCourseList(searchValue);
}
}, [userDetail.actionTabs.key]);
var getCourseList = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(value) {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
setListLoading(true);
_context.next = 3;
return dispatch({
type: 'userDetail/topicGetCourseList',
payload: {
search: searchValue
search: value
}
});
case 2:
case 3:
res = _context.sent;
if (res) {
setCourseList((res === null || res === void 0 ? void 0 : res.courses) || []);
}
case 4:
setListLoading(false);
case 6:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getCourseList() {
return function getCourseList(_x) {
return _ref2.apply(this, arguments);
};
}();
@ -3607,7 +3622,8 @@ var SendToClassModal = function SendToClassModal(_ref) {
'normal': 'common_homework',
'group': 'group_homework',
'exercise': 'exercise',
'poll': 'poll'
'poll': 'poll',
'videos': 'video'
};
(0,util/* openNewWindow */.xg)("/classrooms/".concat(radioValue, "/").concat(urlMapping[(_userDetail$actionTab2 = userDetail.actionTabs) === null || _userDetail$actionTab2 === void 0 ? void 0 : (_userDetail$actionTab3 = _userDetail$actionTab2.params) === null || _userDetail$actionTab3 === void 0 ? void 0 : _userDetail$actionTab3.object_type]));
}
@ -3632,6 +3648,11 @@ var SendToClassModal = function SendToClassModal(_ref) {
cancelText: "\u53D6\u6D88",
confirmLoading: loading['userDetail/sendToClass'],
width: 600,
afterClose: function afterClose() {
setHasError(false);
setCourseList([]);
setSearchValue('');
},
onOk: handleOk,
wrapClassName: resetmodules/* default.CustomCss */.Z.CustomCss,
onCancel: function onCancel() {
@ -3652,26 +3673,30 @@ var SendToClassModal = function SendToClassModal(_ref) {
},
onChange: function onChange(value) {
setSearchValue(value);
getCourseList();
getCourseList(value);
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SendToClassModalmodules.radioWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, {
value: radioValue,
onChange: function onChange(e) {
setRadioValue(e.target.value);
setHasError(false);
},
children: courseList.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
className: SendToClassModalmodules.radio,
value: item.course_id,
children: item.course_name
}, item.course_id);
}), /*#__PURE__*/(0,jsx_runtime.jsx)(skeleton/* default */.Z, {
active: true,
loading: listLoading,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SendToClassModalmodules.radioWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, {
value: radioValue,
onChange: function onChange(e) {
setRadioValue(e.target.value);
setHasError(false);
},
children: courseList.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
className: SendToClassModalmodules.radio,
value: item.course_id,
children: item.course_name
}, item.course_id);
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), ((_userDetail$actionTab4 = userDetail.actionTabs) === null || _userDetail$actionTab4 === void 0 ? void 0 : (_userDetail$actionTab5 = _userDetail$actionTab4.params) === null || _userDetail$actionTab5 === void 0 ? void 0 : _userDetail$actionTab5.object_type) !== 'videos' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SendToClassModalmodules.title,
children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u9009\u62E9\u7684\u9898\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802"
}), hasError && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {

@ -410,6 +410,7 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-left: 3px;
}
.radio___x9kMt span {
font-size: 14px;

@ -2493,6 +2493,10 @@ __webpack_require__.d(__webpack_exports__, {
var style = __webpack_require__(35611);
// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules
var modal = __webpack_require__(85402);
// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/style/index.js + 1 modules
var skeleton_style = __webpack_require__(61099);
// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 11 modules
var skeleton = __webpack_require__(73481);
// EXTERNAL MODULE: ./node_modules/antd/es/radio/style/index.js + 1 modules
var radio_style = __webpack_require__(83822);
// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules
@ -2549,6 +2553,8 @@ var jsx_runtime = __webpack_require__(85893);
var _excluded = ["userDetail", "globalSetting", "loading", "dispatch"];
@ -2560,6 +2566,7 @@ var _excluded = ["userDetail", "globalSetting", "loading", "dispatch"];
var Search = input/* default.Search */.Z.Search;
var SendToClassModal = function SendToClassModal(_ref) {
var _userDetail$actionTab4, _userDetail$actionTab5;
var userDetail = _ref.userDetail,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
@ -2579,36 +2586,44 @@ var SendToClassModal = function SendToClassModal(_ref) {
setRadioValue = _useState6[1];
var _useState7 = (0,react.useState)(false),
_useState8 = slicedToArray_default()(_useState7, 2),
hasError = _useState8[0],
setHasError = _useState8[1];
listLoading = _useState8[0],
setListLoading = _useState8[1];
var _useState9 = (0,react.useState)(false),
_useState10 = slicedToArray_default()(_useState9, 2),
hasError = _useState10[0],
setHasError = _useState10[1];
(0,react.useEffect)(function () {
getCourseList();
}, []);
if (userDetail.actionTabs.key === 'UserDetail-SendToClass') {
getCourseList(searchValue);
}
}, [userDetail.actionTabs.key]);
var getCourseList = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(value) {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
setListLoading(true);
_context.next = 3;
return dispatch({
type: 'userDetail/topicGetCourseList',
payload: {
search: searchValue
search: value
}
});
case 2:
case 3:
res = _context.sent;
if (res) {
setCourseList((res === null || res === void 0 ? void 0 : res.courses) || []);
}
case 4:
setListLoading(false);
case 6:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getCourseList() {
return function getCourseList(_x) {
return _ref2.apply(this, arguments);
};
}();
@ -2645,7 +2660,8 @@ var SendToClassModal = function SendToClassModal(_ref) {
'normal': 'common_homework',
'group': 'group_homework',
'exercise': 'exercise',
'poll': 'poll'
'poll': 'poll',
'videos': 'video'
};
(0,util/* openNewWindow */.xg)("/classrooms/".concat(radioValue, "/").concat(urlMapping[(_userDetail$actionTab2 = userDetail.actionTabs) === null || _userDetail$actionTab2 === void 0 ? void 0 : (_userDetail$actionTab3 = _userDetail$actionTab2.params) === null || _userDetail$actionTab3 === void 0 ? void 0 : _userDetail$actionTab3.object_type]));
}
@ -2670,6 +2686,11 @@ var SendToClassModal = function SendToClassModal(_ref) {
cancelText: "\u53D6\u6D88",
confirmLoading: loading['userDetail/sendToClass'],
width: 600,
afterClose: function afterClose() {
setHasError(false);
setCourseList([]);
setSearchValue('');
},
onOk: handleOk,
wrapClassName: resetmodules/* default.CustomCss */.Z.CustomCss,
onCancel: function onCancel() {
@ -2690,26 +2711,30 @@ var SendToClassModal = function SendToClassModal(_ref) {
},
onChange: function onChange(value) {
setSearchValue(value);
getCourseList();
getCourseList(value);
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SendToClassModalmodules.radioWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, {
value: radioValue,
onChange: function onChange(e) {
setRadioValue(e.target.value);
setHasError(false);
},
children: courseList.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
className: SendToClassModalmodules.radio,
value: item.course_id,
children: item.course_name
}, item.course_id);
}), /*#__PURE__*/(0,jsx_runtime.jsx)(skeleton/* default */.Z, {
active: true,
loading: listLoading,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SendToClassModalmodules.radioWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, {
value: radioValue,
onChange: function onChange(e) {
setRadioValue(e.target.value);
setHasError(false);
},
children: courseList.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
className: SendToClassModalmodules.radio,
value: item.course_id,
children: item.course_name
}, item.course_id);
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), ((_userDetail$actionTab4 = userDetail.actionTabs) === null || _userDetail$actionTab4 === void 0 ? void 0 : (_userDetail$actionTab5 = _userDetail$actionTab4.params) === null || _userDetail$actionTab5 === void 0 ? void 0 : _userDetail$actionTab5.object_type) !== 'videos' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SendToClassModalmodules.title,
children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u9009\u62E9\u7684\u9898\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802"
}), hasError && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {

@ -17,6 +17,10 @@ __webpack_require__.d(__webpack_exports__, {
var style = __webpack_require__(35611);
// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules
var modal = __webpack_require__(85402);
// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/style/index.js + 1 modules
var skeleton_style = __webpack_require__(61099);
// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 11 modules
var skeleton = __webpack_require__(73481);
// EXTERNAL MODULE: ./node_modules/antd/es/radio/style/index.js + 1 modules
var radio_style = __webpack_require__(83822);
// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules
@ -73,6 +77,8 @@ var jsx_runtime = __webpack_require__(85893);
var _excluded = ["userDetail", "globalSetting", "loading", "dispatch"];
@ -84,6 +90,7 @@ var _excluded = ["userDetail", "globalSetting", "loading", "dispatch"];
var Search = input/* default.Search */.Z.Search;
var SendToClassModal = function SendToClassModal(_ref) {
var _userDetail$actionTab4, _userDetail$actionTab5;
var userDetail = _ref.userDetail,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
@ -103,36 +110,44 @@ var SendToClassModal = function SendToClassModal(_ref) {
setRadioValue = _useState6[1];
var _useState7 = (0,react.useState)(false),
_useState8 = slicedToArray_default()(_useState7, 2),
hasError = _useState8[0],
setHasError = _useState8[1];
listLoading = _useState8[0],
setListLoading = _useState8[1];
var _useState9 = (0,react.useState)(false),
_useState10 = slicedToArray_default()(_useState9, 2),
hasError = _useState10[0],
setHasError = _useState10[1];
(0,react.useEffect)(function () {
getCourseList();
}, []);
if (userDetail.actionTabs.key === 'UserDetail-SendToClass') {
getCourseList(searchValue);
}
}, [userDetail.actionTabs.key]);
var getCourseList = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(value) {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
setListLoading(true);
_context.next = 3;
return dispatch({
type: 'userDetail/topicGetCourseList',
payload: {
search: searchValue
search: value
}
});
case 2:
case 3:
res = _context.sent;
if (res) {
setCourseList((res === null || res === void 0 ? void 0 : res.courses) || []);
}
case 4:
setListLoading(false);
case 6:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getCourseList() {
return function getCourseList(_x) {
return _ref2.apply(this, arguments);
};
}();
@ -169,7 +184,8 @@ var SendToClassModal = function SendToClassModal(_ref) {
'normal': 'common_homework',
'group': 'group_homework',
'exercise': 'exercise',
'poll': 'poll'
'poll': 'poll',
'videos': 'video'
};
(0,util/* openNewWindow */.xg)("/classrooms/".concat(radioValue, "/").concat(urlMapping[(_userDetail$actionTab2 = userDetail.actionTabs) === null || _userDetail$actionTab2 === void 0 ? void 0 : (_userDetail$actionTab3 = _userDetail$actionTab2.params) === null || _userDetail$actionTab3 === void 0 ? void 0 : _userDetail$actionTab3.object_type]));
}
@ -194,6 +210,11 @@ var SendToClassModal = function SendToClassModal(_ref) {
cancelText: "\u53D6\u6D88",
confirmLoading: loading['userDetail/sendToClass'],
width: 600,
afterClose: function afterClose() {
setHasError(false);
setCourseList([]);
setSearchValue('');
},
onOk: handleOk,
wrapClassName: resetmodules/* default.CustomCss */.Z.CustomCss,
onCancel: function onCancel() {
@ -214,26 +235,30 @@ var SendToClassModal = function SendToClassModal(_ref) {
},
onChange: function onChange(value) {
setSearchValue(value);
getCourseList();
getCourseList(value);
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SendToClassModalmodules.radioWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, {
value: radioValue,
onChange: function onChange(e) {
setRadioValue(e.target.value);
setHasError(false);
},
children: courseList.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
className: SendToClassModalmodules.radio,
value: item.course_id,
children: item.course_name
}, item.course_id);
}), /*#__PURE__*/(0,jsx_runtime.jsx)(skeleton/* default */.Z, {
active: true,
loading: listLoading,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SendToClassModalmodules.radioWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, {
value: radioValue,
onChange: function onChange(e) {
setRadioValue(e.target.value);
setHasError(false);
},
children: courseList.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
className: SendToClassModalmodules.radio,
value: item.course_id,
children: item.course_name
}, item.course_id);
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), ((_userDetail$actionTab4 = userDetail.actionTabs) === null || _userDetail$actionTab4 === void 0 ? void 0 : (_userDetail$actionTab5 = _userDetail$actionTab4.params) === null || _userDetail$actionTab5 === void 0 ? void 0 : _userDetail$actionTab5.object_type) !== 'videos' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SendToClassModalmodules.title,
children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u9009\u62E9\u7684\u9898\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802"
}), hasError && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {

@ -318,6 +318,7 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-left: 3px;
}
.radio___x9kMt span {
font-size: 14px;

@ -1,778 +0,0 @@
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Videos/components/Items/index.less?modules ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___XLvPY {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___olqDv {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___7Ehj3 {
align-items: center;
box-align: center;
}
.flex_box_center_end___eAyvU {
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___h6EKr {
flex-direction: column;
box-orient: block-axis;
}
.wrap___jMjpV {
margin-bottom: 20px;
margin-right: 20px;
width: 432px;
height: 157px;
}
.wrap___jMjpV:nth-child(2n) {
margin-right: 0;
}
.wrap___jMjpV:nth-child(2n) div[class~='ant-card'] {
margin-left: -5px;
}
.wrap___jMjpV div[class='ant-card-body'] {
padding: 0px;
display: flex;
}
.wrap___jMjpV div[class~='ant-card'] {
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.05);
transition: all 0.5s;
border-radius: 8px;
overflow: hidden;
}
.wrap___jMjpV div[class~='ant-card']:hover {
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
}
.wrap___jMjpV div[class~='ant-card'] [class='ant-card-cover'] {
height: 175px;
width: 100%;
overflow: hidden;
}
.wrap___jMjpV div[class~='ant-card'] .playIconWrap2___tjBpv {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.wrap___jMjpV div[class~='ant-card'] .playIconWrap2___tjBpv .playIcon___Zxs9h {
width: 30px;
height: 30px;
}
.wrap___jMjpV div[class~='ant-card'] .playIconWrap___yexC0 {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.wrap___jMjpV div[class~='ant-card'] .playIconWrap___yexC0 .playIcon___Zxs9h {
width: 30px;
height: 30px;
}
.wrap___jMjpV div[class~='ant-card'] .playIconWrap___yexC0:hover {
background: rgba(0, 0, 0, 0.39);
}
.wrap___jMjpV p {
margin: 0;
}
.linkWrap___mfd8s {
position: absolute;
width: 100%;
top: 0px;
left: 0px;
height: 220px;
z-index: 1;
text-decoration: none;
color: #05101a;
}
.link___XFVyj {
position: absolute;
height: 30px;
line-height: 30px;
padding: 0px 18px;
background: #f9751a;
border-radius: 0px 100px 100px 0px;
display: block;
left: 0;
top: 32px;
color: #fff;
z-index: 2;
}
.imgWrap___VBvxW {
display: block;
width: 263px;
text-decoration: none;
color: #05101a;
}
.imgWrap___VBvxW > img {
width: 100%;
vertical-align: bottom;
height: 157px;
}
.cardBottom___afGBc {
padding: 15px 10px;
box-sizing: border-box;
flex: 1 1;
position: relative;
}
.wrap___jMjpV:hover .bottomTitle___ZuGLa {
color: #165dff;
}
.actionIcon___yvtTa:hover {
color: #165dff;
}
.bottomTitle___ZuGLa {
max-width: 256px;
overflow: hidden;
font-size: 16px;
font-weight: 600;
color: #000000;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.timeWrap___j2lof {
line-height: 15px;
margin-bottom: 10px;
}
.time___IA2yw {
height: 15px;
color: #c0c4cc;
}
.bottomActionWrap___MLvvL {
position: absolute;
bottom: 20px;
display: flex;
flex-direction: row;
justify-content: space-between;
line-height: 15px;
}
.peopleWrap___O2Jrn {
color: #606266;
font-size: 14px;
line-height: 15px;
}
.actionIcon___yvtTa {
font-size: 16px;
margin-right: 14px;
color: #5f6367;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Video/Play/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.watermark___hNYlv {
position: absolute;
left: 0;
bottom: 100px;
font-size: 18px;
text-shadow: 0px 0px 5px #b6b6b6;
color: #ffffff;
z-index: 1;
}
.videovideo___ovOkV::-webkit-media-controls-fullscreen-button {
display: none !important;
}
@keyframes upDown___SlgHv {
0% {
left: 0;
bottom: 100px;
}
40% {
opacity: 1;
bottom: 80%;
left: calc(50% - 130px);
}
41% {
opacity: 0;
bottom: 80%;
left: calc(50% - 130px);
}
79% {
opacity: 0;
bottom: 80%;
left: calc(50% - 130px);
}
80% {
opacity: 1;
opacity: 100%;
bottom: 100px;
left: calc(100% - 270px);
}
100% {
opacity: 1;
bottom: 100px;
left: calc(100% - 270px);
}
}
.animate__loop___mvL6s {
animation-name: upDown___SlgHv;
}
:root {
--youtube-red: #fe0900;
}
.container___g1WYG {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.video-container___XPkWR {
width: 100%;
height: 100%;
margin: 0 auto;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
}
.video-container___XPkWR video {
width: 100%;
height: 100%;
max-height: auto;
object-fit: cover;
}
.video-controls___to0Zq {
right: 0;
left: 0;
padding: 10px;
position: absolute;
bottom: 0;
transition: all 0.2s ease;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.84));
}
.video-controls___to0Zq.hide___NA3DV {
opacity: 0;
pointer-events: none;
}
.video-progress___gqHsd {
position: relative;
height: 4px;
margin-bottom: 10px;
margin-top: 5px;
padding: 0 6px;
}
progress {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border-radius: 2px;
width: 100%;
height: 4px;
pointer-events: none;
position: absolute;
top: 0;
}
progress::-webkit-progress-bar {
background-color: #787878;
border-radius: 2px;
}
progress::-webkit-progress-value {
background: #fff;
border-radius: 2px;
}
progress::-moz-progress-bar {
background: #fff;
}
.seek___iZHBm {
position: absolute;
top: 0;
width: 100%;
cursor: pointer;
margin: 0;
}
.seek___iZHBm:hover + .seek-tooltip___uWyXx {
display: block;
}
.seek-tooltip___uWyXx {
white-space: nowrap;
display: none;
position: absolute;
top: -50px;
margin-left: -20px;
font-size: 12px;
padding: 3px;
content: attr(data-title);
font-weight: bold;
color: #fff;
background-color: rgba(0, 0, 0, 0.6);
}
.bottom-controls___uoIBm {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
}
.bottom-controls___uoIBm button {
display: inline-flex;
align-items: center;
}
.left-controls___mBEx4 {
display: flex;
align-items: center;
color: #fff;
font-size: 10px;
}
.right-controls___e9L6r {
display: flex;
}
.volume-controls___fa3mE {
display: inline-flex;
align-items: center;
}
.volume-controls___fa3mE input {
width: 100px;
opacity: 1;
transition: all 0.4s ease;
}
.volume-controls___fa3mE:hover input,
.volume-controls___fa3mE input:focus {
width: 100px;
opacity: 1;
}
.container___g1WYG button {
cursor: pointer;
position: relative;
margin-right: 7px;
font-size: 12px;
padding: 3px;
border: none;
outline: none;
background-color: transparent;
}
.container___g1WYG button * {
pointer-events: none;
}
.container___g1WYG button::before {
content: attr(data-title);
position: absolute;
display: none;
left: 0;
top: -27px;
background-color: rgba(0, 0, 0, 0.6);
color: #fff;
font-weight: bold;
padding: 4px 6px;
word-break: keep-all;
white-space: pre;
}
.container___g1WYG button:last-child::before {
right: 0;
left: inherit;
}
.container___g1WYG button:hover::before {
display: inline-block;
}
.fullscreen-button___ur0es {
margin-right: 0;
}
.fullscreen-button1___rfaXm {
margin-top: -10px;
}
.pip-button___GFO8W svg {
width: 26px;
height: 26px;
}
.playback-animation___ndURq {
pointer-events: none;
position: absolute;
top: 50%;
left: 50%;
margin-left: -40px;
margin-top: -40px;
width: 80px;
height: 80px;
border-radius: 80px;
background-color: rgba(0, 0, 0, 0.6);
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
}
input[type='range'] {
-webkit-appearance: none;
-moz-appearance: none;
height: 4px;
background: transparent;
cursor: pointer;
}
input[type='range']:focus {
outline: none;
}
input[type='range']::-webkit-slider-runnable-track {
width: 100%;
cursor: pointer;
border-radius: 1.3px;
-webkit-appearance: none;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
input[type='range']::-webkit-slider-thumb {
height: 16px;
width: 16px;
border-radius: 16px;
background: #fe0900;
background: var(--youtube-red);
cursor: pointer;
-webkit-appearance: none;
margin-left: -1px;
opacity: 0;
}
input[type='range']:focus::-webkit-slider-runnable-track {
background: transparent;
}
input[type='range'].volume___OTmpP {
height: 5px;
background-color: #fff;
}
input[type='range'].volume___OTmpP::-webkit-slider-runnable-track {
background-color: transparent;
}
input[type='range'].volume___OTmpP::-webkit-slider-thumb {
margin-left: 0;
height: 14px;
width: 14px;
background: #fff;
}
input[type='range']::-moz-range-track {
width: 100%;
height: 8.4px;
cursor: pointer;
border: 1px solid transparent;
background: transparent;
border-radius: 1.3px;
}
input[type='range']::-moz-range-thumb {
height: 14px;
width: 14px;
border-radius: 50px;
border: 1px solid #fe0900;
border: 1px solid var(--youtube-red);
background: #fe0900;
background: var(--youtube-red);
cursor: pointer;
margin-top: 5px;
}
input[type='range']:focus::-moz-range-track {
outline: none;
}
input[type='range'].volume___OTmpP::-moz-range-thumb {
border: 1px solid #fff;
background: #fff;
}
.hidden___o7GkT {
display: none;
}
.container___g1WYG svg {
width: 20px;
height: 20px;
fill: #fff;
stroke: #fff;
cursor: pointer;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Video/Modal/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.modal___LGwws {
position: relative;
}
.modal___LGwws video {
width: 800px;
height: 450px;
}
.modal___LGwws div[class~='ant-modal-body'] {
padding: 0px;
font-size: 0 !important;
vertical-align: top;
}
.closeIcon___vsUXI {
position: absolute;
color: #fff;
top: -10px;
right: -36px;
font-size: 24px !important;
width: 14px;
height: 8px;
margin-right: 0px;
z-index: 9;
cursor: pointer;
}
.closeIcon___vsUXI:before {
left: -4px;
position: absolute;
top: -16px;
}
.wrap___tDzbl {
display: flex;
justify-content: space-between;
padding: 9px;
background: #000000;
}
.input___aikQk {
color: #707070;
background-color: #000;
border-color: #707070;
margin-right: 12px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Detail/Videos/index.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___IcqlF {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___wI3bO {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___wd4F6 {
align-items: center;
box-align: center;
}
.flex_box_center_end___sX6yw {
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___oOUfO {
flex-direction: column;
box-orient: block-axis;
}
.body___qkQFy {
width: 100%;
padding: 21px 0 0 45px;
}
.body___qkQFy .status___lJSfh {
display: flex;
}
.body___qkQFy .datalist___u3xx3 {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 28px 0 0 0;
}
.body___qkQFy .pager___inNi6 {
text-align: center;
margin-bottom: 50px;
margin-top: 30px;
}
.wrap___u5nsU {
width: 1200px;
margin: 0px auto;
}
.midWrap___AEcVw {
display: box;
display: flex;
justify-content: space-between;
line-height: 41px;
margin-top: 10px;
margin-bottom: 0px;
font-size: 14px;
}
.color999___UbIGq {
color: #999999;
}
.orderWrap___NBpTb {
display: box;
display: flex;
}
.orderIconWrap___BWV6J {
display: box;
display: flex;
flex-direction: column;
height: 40px;
line-height: 40px;
color: #999999;
}
.orderAsc___d0bIf {
flex-direction: column;
text-align: center;
height: 10px;
line-height: 10px;
display: table;
margin-top: 9px;
}
.orderDesc___XbnhV {
flex-direction: column;
text-align: center;
height: 10px;
line-height: 10px;
display: table;
}
.color0152d9___QUmiG {
color: #0152d9;
}
.h10___aHhYp {
height: 10px;
}
.cursorPointer___tv0ub {
cursor: pointer;
}
.orderTextWrap___xIS1a {
cursor: pointer;
color: #999999;
margin-right: 10px;
font-size: 12px;
}
.cardWrap___YxQcT {
display: box;
display: flex;
flex-wrap: wrap;
min-height: 400px;
width: 100%;
margin-top: 10px;
}
.countWrap___nr9pc {
text-align: center;
margin-bottom: 50px;
margin-top: 30px;
}
.colorRed___zZSQ2 {
color: #ff6800;
}
.modal___AyGQi {
font-size: 14px;
margin-bottom: 40px;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/rate/style/index.less ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-rate {
box-sizing: border-box;
color: rgba(0, 0, 0, 0.85);
font-size: 12px;
font-variant: tabular-nums;
line-height: 1.66667;
font-feature-settings: tnum, "tnum";
display: inline-block;
margin: 0;
padding: 0;
color: #fadb14;
font-size: 16px;
line-height: inherit;
list-style: none;
outline: none;
}
.ant-rate-disabled .ant-rate-star {
cursor: default;
}
.ant-rate-disabled .ant-rate-star > div:hover {
transform: scale(1);
}
.ant-rate-star {
position: relative;
display: inline-block;
color: inherit;
cursor: pointer;
}
.ant-rate-star:not(:last-child) {
margin-right: 8px;
}
.ant-rate-star > div {
transition: all 0.3s, outline 0s;
}
.ant-rate-star > div:hover {
transform: scale(1.1);
}
.ant-rate-star > div:focus {
outline: 0;
}
.ant-rate-star > div:focus-visible {
outline: 1px dashed #fadb14;
transform: scale(1.1);
}
.ant-rate-star-first,
.ant-rate-star-second {
color: #f0f0f0;
transition: all 0.3s;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.ant-rate-star-first .anticon,
.ant-rate-star-second .anticon {
vertical-align: middle;
}
.ant-rate-star-first {
position: absolute;
top: 0;
left: 0;
width: 50%;
height: 100%;
overflow: hidden;
opacity: 0;
}
.ant-rate-star-half .ant-rate-star-first,
.ant-rate-star-half .ant-rate-star-second {
opacity: 1;
}
.ant-rate-star-half .ant-rate-star-first,
.ant-rate-star-full .ant-rate-star-second {
color: inherit;
}
.ant-rate-text {
display: inline-block;
margin: 0 8px;
font-size: 12px;
}
.ant-rate-rtl {
direction: rtl;
}
.ant-rate-rtl .ant-rate-star:not(:last-child) {
margin-right: 0;
margin-left: 8px;
}
.ant-rate-rtl .ant-rate-star-first {
right: 0;
left: auto;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[88866],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[88866,8423],{
/***/ 62824:
/*!****************************************************************!*\
@ -309,6 +309,717 @@ var VideoModal = function VideoModal(_ref) {
/***/ }),
/***/ 8423:
/*!*********************************************************!*\
!*** ./src/components/Video/Play/index.jsx + 1 modules ***!
\*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ Play; }
});
// EXTERNAL MODULE: ./node_modules/antd/es/message/style/index.js + 1 modules
var style = __webpack_require__(14934);
// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules
var message = __webpack_require__(12461);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(17061);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(17156);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/flv.js/src/flv.js + 38 modules
var flv = __webpack_require__(99160);
// EXTERNAL MODULE: ./node_modules/hls.js/dist/hls.js
var dist_hls = __webpack_require__(67631);
var hls_default = /*#__PURE__*/__webpack_require__.n(dist_hls);
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(7);
// EXTERNAL MODULE: ./node_modules/react-copy-to-clipboard/lib/index.js
var lib = __webpack_require__(74855);
// EXTERNAL MODULE: ./src/utils/fullscreen.ts
var fullscreen = __webpack_require__(15994);
;// CONCATENATED MODULE: ./src/components/Video/Play/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Playmodules = ({"watermark":"watermark___hNYlv","videovideo":"videovideo___ovOkV","animate__loop":"animate__loop___mvL6s","upDown":"upDown___SlgHv","container":"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq","hide":"hide___NA3DV","video-progress":"video-progress___gqHsd","seek":"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq","volume":"volume___OTmpP","hidden":"hidden___o7GkT"});
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(85893);
;// CONCATENATED MODULE: ./src/components/Video/Play/index.jsx
function formatTime(timeInSeconds) {
if (isNaN(timeInSeconds)) {
return {
minutes: '00',
seconds: '00'
};
}
var result = new Date(timeInSeconds * 1000).toISOString().substr(11, 8);
return {
hour: result.substr(0, 2),
minutes: result.substr(3, 2),
seconds: result.substr(6, 2)
};
}
Object.defineProperty(HTMLMediaElement.prototype, 'playing', {
get: function get() {
return !!(this.currentTime > 0 && !this.paused && !this.ended && this.readyState > 2);
}
});
function compareNumbers(a, b) {
return a - b;
}
function getTotalEffectTime(pos) {
pos.sort(compareNumbers);
var sum = 0;
for (var i = 0; i < pos.length - 1; i++) {
var v = Math.abs(pos[i + 1] - pos[i]);
if (v < 21) {
sum += v;
}
}
return sum;
}
var regex = /(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;
//接口文档 https://www.showdoc.cc/educoder?page_id=4029884447803706
/* harmony default export */ var Play = (/*#__PURE__*/(0,react.forwardRef)(function (_ref, ref) {
var _src, _src2, _src2$split;
var src = _ref.src,
toLog = _ref.toLog,
videoId = _ref.videoId,
logWatchHistory = _ref.logWatchHistory,
_ref$courseId = _ref.courseId,
courseId = _ref$courseId === void 0 ? null : _ref$courseId,
startTime = _ref.startTime,
_ref$handlePause = _ref.handlePause,
handlePause = _ref$handlePause === void 0 ? function () {} : _ref$handlePause,
_ref$handlePlay = _ref.handlePlay,
handlePlay = _ref$handlePlay === void 0 ? function () {} : _ref$handlePlay,
_ref$handlePlayEnded = _ref.handlePlayEnded,
handlePlayEnded = _ref$handlePlayEnded === void 0 ? function () {} : _ref$handlePlayEnded,
_ref$videoSpeed = _ref.videoSpeed,
videoSpeed = _ref$videoSpeed === void 0 ? 1 : _ref$videoSpeed;
src = (_src = src) === null || _src === void 0 ? void 0 : _src.replace('http://', 'https://');
var suf = (_src2 = src) === null || _src2 === void 0 ? void 0 : (_src2$split = _src2.split('.')) === null || _src2$split === void 0 ? void 0 : _src2$split.pop();
var isFlv = suf === 'flv';
var el = (0,react.useRef)();
var watermarkRef = (0,react.useRef)();
var warpEl = (0,react.useRef)();
var pauseIcon = (0,react.useRef)();
var playIcon = (0,react.useRef)();
var seekEl = (0,react.useRef)();
var progressBarEl = (0,react.useRef)();
var durationEl = (0,react.useRef)();
var timeElapsedEl = (0,react.useRef)();
var seekTooltipEl = (0,react.useRef)();
var noMuteVolEl = (0,react.useRef)();
var highVolEl = (0,react.useRef)();
var lowVolEl = (0,react.useRef)();
var volumeEl = (0,react.useRef)();
var deviceMatch = navigator.userAgent.toLowerCase().match(regex);
var device = deviceMatch ? deviceMatch[0] : 'pc';
var firstOnPlayFlag = (0,react.useRef)(false);
var user = (0,authority/* userInfo */.eY)();
var totalDuration = 0;
var sumTimePlayed = 0;
var lastUpdatedTime = 0;
var logId = null;
var initLog = false;
var timeTick = 20; //记录频率 默认20s
var logCount = 1;
var isLoging = false;
var isSeeking = false;
var pos = []; //播放时间点集
(0,react.useImperativeHandle)(ref, function () {
return {
getLastUpdatedTime: function getLastUpdatedTime() {
return el.current.currentTime;
},
getDuration: function getDuration() {
return el.current.duration;
}
};
});
var log = (0,react.useCallback)(function (callback) {
var isEnd = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
var params = {
point: el.current.currentTime
};
if (logId) {
params['log_id'] = logId;
params['watch_duration'] = getTotalEffectTime(pos); //当前观看视频时长,拖放进度条,重复的视频片段观看时,不会把重复的时长累积进来,最大时长是视频的总时长
params['total_duration'] = sumTimePlayed; //累计观看视频时长,拖放进度条,重复的视频片段观看时,重复观看时长要累积进来
} else {
if (courseId) {
params['video_id'] = parseInt(videoId, 10);
params['course_id'] = courseId;
} else {
params['video_id'] = videoId;
}
params['duration'] = totalDuration;
params['device'] = device;
}
if (isEnd) {
params['ed'] = '1';
}
function getLogId() {
return _getLogId.apply(this, arguments);
}
function _getLogId() {
_getLogId = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var id;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
isLoging = true;
_context.next = 3;
return logWatchHistory(params);
case 3:
id = _context.sent;
logId = id;
isLoging = false;
if (callback) {
callback();
}
case 7:
case "end":
return _context.stop();
}
}, _callee);
}));
return _getLogId.apply(this, arguments);
}
getLogId();
}, [videoId, courseId]);
(0,react.useEffect)(function () {
var _src3;
message/* default.destroy */.ZP.destroy();
var player = null;
if (flv/* default.isSupported */.Z.isSupported && isFlv && src && ((_src3 = src) === null || _src3 === void 0 ? void 0 : _src3.indexOf('.m3u8')) < 0) {
player = flv/* default.createPlayer */.Z.createPlayer({
type: 'flv',
volume: 0.8,
cors: true,
url: src,
muted: false
});
if (el.current) {
player.attachMediaElement(el.current);
player.load();
}
} else {
el.current.setAttribute('src', src);
}
updateVolumeIcon();
return function () {
if (player) {
player.unload();
player.pause();
player.destroy();
player = null;
}
};
}, [el, isFlv, src]);
function playIconStatus() {
if (el.current.paused) {
pauseIcon.current.style.display = 'none';
playIcon.current.style.display = 'block';
} else {
pauseIcon.current.style.display = 'block';
playIcon.current.style.display = 'none';
}
}
function updateVolumeIcon() {
noMuteVolEl.current.style.display = 'none';
lowVolEl.current.style.display = 'none';
highVolEl.current.style.display = 'none';
if (el.current.muted || el.current.volume === 0) {
noMuteVolEl.current.style.display = 'block';
} else if (el.current.volume > 0 && el.current.volume <= 0.5) {
lowVolEl.current.style.display = 'block';
} else {
highVolEl.current.style.display = 'block';
}
}
(0,react.useEffect)(function () {
var playButton = document.getElementById('play');
var playbackIcons = document.querySelectorAll('.playback-icons use');
function onPlay() {
handlePlay();
if (startTime && !firstOnPlayFlag.current) {
el.current.currentTime = startTime;
}
firstOnPlayFlag.current = true;
pos.push(el.current.currentTime);
if (!initLog) {
initLog = true;
if (toLog) {
log();
}
}
}
//循环播放, 累计时长不能清空
function onEnded() {
return _onEnded.apply(this, arguments);
}
function _onEnded() {
_onEnded = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
playIconStatus();
pos.push(el.current.currentTime);
if (toLog) {
log(function () {
logId = null;
lastUpdatedTime = 0;
initLog = false;
isLoging = false;
isSeeking = false;
pos = []; //有效时长重新累计,算新的一遍
sumTimePlayed = 0;
logCount = 1;
}, true);
}
case 3:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return _onEnded.apply(this, arguments);
}
function updateProgress() {
// seekEl.current.value = Math.floor(el.current.currentTime);
// progressBarEl.current.value = Math.floor(el.current.currentTime);
seekEl.current.value = Math.round(el.current.currentTime);
progressBarEl.current.value = Math.round(el.current.currentTime);
}
function updateTimeElapsed() {
var time = formatTime(Math.round(el.current.currentTime));
timeElapsedEl.current.innerText = "".concat(time.hour > 0 ? time.hour + ':' : '').concat(time.minutes, ":").concat(time.seconds);
timeElapsedEl.current.setAttribute('datetime', "".concat(time.hour > 0 ? ' ' + time.hour + ' ' : '').concat(time.minutes, "m ").concat(time.seconds, "s"));
}
function initializeVideo() {
var videoDuration = Math.round(el.current.duration);
seekEl.current.setAttribute('max', videoDuration);
progressBarEl.current.setAttribute('max', videoDuration);
var time = formatTime(videoDuration);
durationEl.current.innerText = "".concat(time.hour > 0 ? time.hour + ':' : '').concat(time.minutes, ":").concat(time.seconds);
durationEl.current.setAttribute('datetime', "".concat(time.hour > 0 ? ' ' + time.hour + ' ' : '').concat(time.minutes, "m ").concat(time.seconds, "s"));
}
function onTimeupdate() {
var videoDuration = Math.round(el.current.duration);
seekEl.current.setAttribute('max', videoDuration);
progressBarEl.current.setAttribute('max', videoDuration);
var time = formatTime(videoDuration);
durationEl.current.innerText = "".concat(time.hour > 0 ? time.hour + ':' : '').concat(time.minutes, ":").concat(time.seconds);
durationEl.current.setAttribute('datetime', "".concat(time.hour > 0 ? ' ' + time.hour + ' ' : '').concat(time.minutes, "m ").concat(time.seconds, "s"));
updateProgress();
updateTimeElapsed();
var _watermarkRef$current = watermarkRef.current.getBoundingClientRect(),
width = _watermarkRef$current.width,
height = _watermarkRef$current.height,
x = _watermarkRef$current.x,
y = _watermarkRef$current.y;
if (x < 0 || y < 0 || !width) {
// el.current.src = '';
// el.current.pause();
// message.warn({
// content: '当前操作非法,已禁止观看视频',
// key: 'watermarkRef',
// });
return;
}
if (!isSeeking) {
var newTime = el.current.currentTime;
var timeDiff = newTime - lastUpdatedTime;
//currenttime update before Seeking & Seeked fired
if (Math.abs(timeDiff) < 10) {
sumTimePlayed += Math.abs(timeDiff);
lastUpdatedTime = newTime;
if (!isLoging) {
if (sumTimePlayed - logCount * timeTick >= 0) {
logCount++;
pos.push(lastUpdatedTime);
if (toLog) {
log();
}
}
}
} else {
lastUpdatedTime = newTime;
if (toLog) {
log();
}
}
}
}
function onSeeking() {
isSeeking = true;
}
function onSeeked() {
if (el.current.playing) {
pos.push(el.current.currentTime, lastUpdatedTime);
}
lastUpdatedTime = el.current.currentTime;
isSeeking = false;
}
function onCanPlay() {
totalDuration = el.current.duration;
if (totalDuration <= 20) {
timeTick = totalDuration / 3;
}
el.current.addEventListener('play', onPlay);
}
function onFullscreenchange(e) {
e.preventDefault();
if ((0,fullscreen/* IsFull */.vp)()) {
el.current.style.width = '100%';
el.current.style.height = '100%';
} else {
el.current.style.cssText = '';
}
}
function onPause() {
handlePause();
}
function skipAhead(event) {
var skipTo = event.target.dataset.seek ? event.target.dataset.seek : event.target.value;
el.current.currentTime = skipTo;
progressBarEl.current.value = skipTo;
seekEl.current.value = skipTo;
}
function updateSeekTooltip(event) {
var skipTo = Math.round(event.offsetX / event.target.clientWidth * parseInt(event.target.getAttribute('max'), 10));
seekEl.current.setAttribute('data-seek', skipTo);
var t = formatTime(skipTo);
seekTooltipEl.current.textContent = "".concat(t.hour > 0 ? t.hour + ':' : '').concat(t.minutes, ":").concat(t.seconds);
var rect = el.current.getBoundingClientRect();
seekTooltipEl.current.style.left = "".concat(event.pageX - rect.left, "px");
}
warpEl.current.addEventListener((0,fullscreen/* fullscreenChange */.gH)(), onFullscreenchange);
el.current.addEventListener('canplay', onCanPlay);
el.current.addEventListener('ended', onEnded);
el.current.addEventListener('seeking', onSeeking);
el.current.addEventListener('seeked', onSeeked);
el.current.addEventListener('loadedmetadata', initializeVideo);
seekEl.current.addEventListener('mousemove', updateSeekTooltip);
seekEl.current.addEventListener('input', skipAhead);
el.current.addEventListener('timeupdate', onTimeupdate);
el.current.addEventListener('pause', onPause);
el.current.addEventListener('volumechange', updateVolumeIcon);
return function () {
var _el$current, _el$current2, _el$current3, _el$current4, _el$current5, _seekEl$current, _seekEl$current2, _el$current6, _el$current7, _el$current8, _el$current9, _el$current10;
(_el$current = el.current) === null || _el$current === void 0 ? void 0 : _el$current.removeEventListener('canplay', onCanPlay);
(_el$current2 = el.current) === null || _el$current2 === void 0 ? void 0 : _el$current2.removeEventListener('play', onPlay);
(_el$current3 = el.current) === null || _el$current3 === void 0 ? void 0 : _el$current3.removeEventListener('ended', onEnded);
(_el$current4 = el.current) === null || _el$current4 === void 0 ? void 0 : _el$current4.removeEventListener('seeking', onSeeking);
(_el$current5 = el.current) === null || _el$current5 === void 0 ? void 0 : _el$current5.removeEventListener('seeked', onSeeked);
(_seekEl$current = seekEl.current) === null || _seekEl$current === void 0 ? void 0 : _seekEl$current.removeEventListener('mousemove', updateSeekTooltip);
(_seekEl$current2 = seekEl.current) === null || _seekEl$current2 === void 0 ? void 0 : _seekEl$current2.removeEventListener('input', skipAhead);
(_el$current6 = el.current) === null || _el$current6 === void 0 ? void 0 : _el$current6.removeEventListener('timeupdate', onTimeupdate);
(_el$current7 = el.current) === null || _el$current7 === void 0 ? void 0 : _el$current7.removeEventListener('pause', onPause);
(_el$current8 = el.current) === null || _el$current8 === void 0 ? void 0 : _el$current8.removeEventListener('loadedmetadata', initializeVideo);
(_el$current9 = el.current) === null || _el$current9 === void 0 ? void 0 : _el$current9.removeEventListener('volumechange', updateVolumeIcon);
if ((_el$current10 = el.current) !== null && _el$current10 !== void 0 && _el$current10.playing) {
pos.push(lastUpdatedTime, el.current.currentTime);
if (toLog) {
log();
}
}
};
}, [el, src]);
(0,react.useEffect)(function () {
var _src4;
el.current.onended = function () {
handlePlayEnded(el);
};
el.current.oncontextmenu = function () {
return false;
};
if (((_src4 = src) === null || _src4 === void 0 ? void 0 : _src4.indexOf('.m3u8')) > -1) {
if (el.current.canPlayType('application/vnd.apple.mpegurl')) {
el.current.src = src;
} else if (hls_default().isSupported()) {
var hls = new (hls_default())();
hls.loadSource(src);
hls.attachMedia(el.current);
}
}
}, [src]);
(0,react.useEffect)(function () {
el.current.playbackRate = videoSpeed;
}, [videoSpeed]);
var togglePlay = function togglePlay() {
if (el.current.paused || el.current.ended) {
el.current.play();
} else {
el.current.pause();
}
playIconStatus();
};
function toggleMute() {
el.current.muted = !el.current.muted;
if (el.current.muted) {
volumeEl.current.setAttribute('data-volume', volume.value);
volumeEl.current.value = 0;
} else {
volumeEl.current.value = volumeEl.current.dataset.volume;
}
}
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
position: 'relative'
},
ref: warpEl,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
ref: watermarkRef,
className: "".concat(Playmodules.watermark, " animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(Playmodules.animate__loop),
children: user ? user.login : ' '
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Playmodules.container,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Playmodules["video-container"],
id: "video-container",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Playmodules["playback-animation"],
id: "playback-animation",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("svg", {
className: Playmodules["playback-icons"],
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("use", {
className: "hidden",
href: "#play-icon"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("use", {
href: "#pause"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("video", {
className: Playmodules.video,
id: "video",
preload: "auto",
disablePictureInPicture: true,
ref: el,
autoPlay: false
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "".concat(Playmodules["video-controls"], " "),
id: "video-controls",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Playmodules["bottom-controls"],
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Playmodules["left-controls"],
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("button", {
"data-title": "\u64AD\u653E/\u6682\u505C",
id: "play",
onClick: togglePlay,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("svg", {
className: Playmodules["playback-icons"],
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("use", {
ref: playIcon,
href: "#play-icon"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("use", {
ref: pauseIcon,
style: {
display: 'none'
},
href: "#pause"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Playmodules.time,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("time", {
id: "time-elapsed",
ref: timeElapsedEl,
children: "00:00"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: " / "
}), /*#__PURE__*/(0,jsx_runtime.jsx)("time", {
id: "duration",
ref: durationEl,
children: "00:00"
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Playmodules["right-controls"],
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(lib.CopyToClipboard, {
text: src,
onCopy: function onCopy() {
return message/* default.success */.ZP.success('复制成功');
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("button", {
"data-title": '复制链接',
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "icon-lianjie2 iconfont",
style: {
fontSize: '12px',
color: 'white'
}
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Playmodules["volume-controls"],
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("button", {
"data-title": "\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",
className: Playmodules["volume-button"],
id: "volume-button",
onClick: toggleMute,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
ref: noMuteVolEl,
className: "icon-a-bianzu8 iconfont",
style: {
fontSize: '14px',
color: 'white'
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
ref: lowVolEl,
className: "icon-shengyinkaibeifen iconfont",
style: {
fontSize: '14px',
color: 'white'
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
ref: highVolEl,
className: "icon-shengyinkai iconfont",
style: {
fontSize: '14px',
color: 'white'
}
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
className: Playmodules.volume,
id: "volume",
value: "1",
"data-mute": "0.5",
type: "range",
max: "1",
min: "0",
step: "0.01",
ref: volumeEl,
style: {
display: 'none'
},
onClick: updateVolumeIcon
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("button", {
"data-title": "\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",
className: Playmodules["fullscreen-button"],
onClick: function onClick() {
if ((0,fullscreen/* IsFull */.vp)()) {
(0,fullscreen/* exitFull */.BU)();
} else {
(0,fullscreen/* requestFullScreen */.Dj)(warpEl.current);
}
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "icon-fangda1 iconfont",
style: {
fontSize: '12px',
color: 'white'
}
})
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Playmodules["video-progress"],
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("progress", {
ref: progressBarEl,
value: "0",
min: "0"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
className: Playmodules.seek,
ref: seekEl,
value: "0",
min: "0",
type: "range",
step: "1"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Playmodules["seek-tooltip"],
ref: seekTooltipEl,
id: "seek-tooltip",
children: "00:00"
})]
})]
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("svg", {
style: {
display: 'none'
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("defs", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("symbol", {
id: "pause",
viewBox: "0 0 24 24",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
d: "M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", {
id: "play-icon",
viewBox: "0 0 24 24",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
d: "M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", {
id: "volume-high",
viewBox: "0 0 24 24",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
d: "M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", {
id: "volume-low",
viewBox: "0 0 24 24",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
d: "M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", {
id: "volume-mute",
viewBox: "0 0 24 24",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
d: "M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", {
id: "fullscreen",
viewBox: "0 0 24 24",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
d: "M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", {
id: "fullscreen-exit",
viewBox: "0 0 24 24",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
d: "M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", {
id: "pip",
viewBox: "0 0 24 24",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
d: "M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"
})
})]
})
})]
});
}));
/***/ }),
/***/ 19721:
/*!*************************************************************!*\
!*** ./src/pages/Classrooms/ExamList/index.tsx + 5 modules ***!

@ -2573,6 +2573,19 @@ var pythonLangage = {
// { label: "printf", content: 'printf("")' },
]
};
var scalaLangage = {
keywords: ['asInstanceOf', 'catch', 'class', 'classOf', 'def', 'do', 'else', 'extends', 'finally', 'for', 'foreach', 'forSome', 'if', 'import', 'isInstanceOf', 'macro', 'match', 'new', 'object', 'package', 'return', 'throw', 'trait', 'try', 'type', 'until', 'val', 'var', 'while', 'with', 'yield',
// Dotty-specific:
'given', 'enum', 'then'],
quickKey: [{
label: "println",
content: ['println($0)'].join('\n')
}
// { label: "#include", content: '#include ""' },
// { label: "printf", content: 'printf("")' },
]
};
// EXTERNAL MODULE: ./node_modules/js-beautify/js/index.js
var js = __webpack_require__(84204);
var js_default = /*#__PURE__*/__webpack_require__.n(js);
@ -2804,6 +2817,39 @@ function getSuggestions(monaco, model, position, keywords, snippts) {
};
}
});
monaco.languages.registerCompletionItemProvider('scala', {
provideCompletionItems: function provideCompletionItems(model, position) {
var word = model.getWordUntilPosition(position);
var wordRange = {
startLineNumber: position.lineNumber,
endLineNumber: position.lineNumber,
startColumn: word.startColumn,
endColumn: word.endColumn
};
var value = model.getLineContent(position.lineNumber).substring(word.startColumn - 2, word.endColumn);
return {
suggestions: [].concat(toConsumableArray_default()(scalaLangage.keywords.map(function (item) {
return {
label: item,
kind: monaco.languages.CompletionItemKind.Function,
documentation: item,
insertText: item,
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
range: wordRange
};
})), toConsumableArray_default()(scalaLangage.quickKey.map(function (item) {
return {
label: item.label,
kind: monaco.languages.CompletionItemKind.Function,
documentation: item.content,
insertText: value.startsWith("#") ? item.content.replace(/#/, '') : item.content,
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
range: wordRange
};
})))
};
}
});
monaco.languages.registerCompletionItemProvider('python', {
provideCompletionItems: function provideCompletionItems(model, position) {
var word = model.getWordUntilPosition(position);
@ -2856,7 +2902,7 @@ var jsx_runtime = __webpack_require__(85893);
var _excluded = ["width", "height", "value", "language", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"];
var _excluded = ["width", "height", "value", "style", "options", "overrideServices", "theme", "onEditBlur", "onSave", "autoHeight", "forbidCopy", "onChange", "editorDidMount", "onFocus", "filename", "errorLine", "errorContent"];
@ -2919,7 +2965,8 @@ var DICT = {
Sml: 'javascript',
OpenGL: 'cpp',
Perl5: 'perl',
Orange: 'python'
Orange: 'python',
Scala: "scale"
};
function getLanguageByMirrorName() {
var mirror_name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
@ -2944,8 +2991,6 @@ var monaco = null;
_ref$height = _ref.height,
height = _ref$height === void 0 ? '100%' : _ref$height,
value = _ref.value,
_ref$language = _ref.language,
language = _ref$language === void 0 ? 'javascript' : _ref$language,
_ref$style = _ref.style,
style = _ref$style === void 0 ? {} : _ref$style,
_ref$options = _ref.options,
@ -2972,6 +3017,7 @@ var monaco = null;
_ref$errorContent = _ref.errorContent,
errorContent = _ref$errorContent === void 0 ? '' : _ref$errorContent,
props = objectWithoutProperties_default()(_ref, _excluded);
var language = "scala";
var editorEl = (0,react.useRef)();
var editor = (0,react.useRef)({});
var optionsRef = (0,react.useRef)();
@ -12625,7 +12671,7 @@ var notEditablePath_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUh
},
monacoEditor: {
value: content,
language: language,
language: "scale",
theme: theme,
onChange: onCodeChange,
onSave: onSave,

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