Auto Submit

pull/1/head
autosubmit 3 years ago
parent ac3e9a361c
commit 42234fc7fe

@ -640,9 +640,6 @@ var CourseList = function CourseList(_ref) {
className: CourseListmodules.sign,
src: sg_namespaceObject
}), featured === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: ''
}), featured === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: jg_namespaceObject
})]

@ -1,853 +0,0 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[59278],{
/***/ 99611:
/*!****************************************************************************!*\
!*** ./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/extends.js
var esm_extends = __webpack_require__(87462);
// 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/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(74643);
;// CONCATENATED MODULE: ./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,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_EyeOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined));
/***/ }),
/***/ 6171:
/*!*****************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/LeftOutlined.js + 1 modules ***!
\*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_LeftOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js
// This icon file is generated automatically.
var LeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, "name": "left", "theme": "outlined" };
/* harmony default export */ var asn_LeftOutlined = (LeftOutlined);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(74643);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/LeftOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var LeftOutlined_LeftOutlined = function LeftOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_LeftOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_LeftOutlined = (/*#__PURE__*/react.forwardRef(LeftOutlined_LeftOutlined));
/***/ }),
/***/ 24969:
/*!*****************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/PlusOutlined.js + 1 modules ***!
\*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_PlusOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.js
// This icon file is generated automatically.
var PlusOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
/* harmony default export */ var asn_PlusOutlined = (PlusOutlined);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(74643);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/PlusOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var PlusOutlined_PlusOutlined = function PlusOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_PlusOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_PlusOutlined = (/*#__PURE__*/react.forwardRef(PlusOutlined_PlusOutlined));
/***/ }),
/***/ 18073:
/*!******************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/RightOutlined.js + 1 modules ***!
\******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_RightOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js
// This icon file is generated automatically.
var RightOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, "name": "right", "theme": "outlined" };
/* harmony default export */ var asn_RightOutlined = (RightOutlined);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(74643);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/RightOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var RightOutlined_RightOutlined = function RightOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_RightOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_RightOutlined = (/*#__PURE__*/react.forwardRef(RightOutlined_RightOutlined));
/***/ }),
/***/ 84567:
/*!************************************************************!*\
!*** ./node_modules/antd/es/checkbox/index.js + 3 modules ***!
\************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ es_checkbox; }
});
// 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-checkbox/es/index.js + 5 modules
var es = __webpack_require__(95860);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var config_provider_context = __webpack_require__(53124);
// 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 context = __webpack_require__(65223);
;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/GroupContext.js
const GroupContext = /*#__PURE__*/react.createContext(null);
/* harmony default export */ var checkbox_GroupContext = (GroupContext);
// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js
var checkbox_style = __webpack_require__(63185);
;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.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;
};
const InternalCheckbox = (props, ref) => {
var _a;
const {
prefixCls: customizePrefixCls,
className,
rootClassName,
children,
indeterminate = false,
style,
onMouseEnter,
onMouseLeave,
skipGroup = false,
disabled
} = props,
restProps = __rest(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]);
const {
getPrefixCls,
direction,
checkbox
} = react.useContext(config_provider_context/* ConfigContext */.E_);
const checkboxGroup = react.useContext(checkbox_GroupContext);
const {
isFormItemInput
} = react.useContext(context/* FormItemInputContext */.aM);
const contextDisabled = react.useContext(DisabledContext/* default */.Z);
const mergedDisabled = (_a = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _a !== void 0 ? _a : contextDisabled;
const prevValue = react.useRef(restProps.value);
react.useEffect(() => {
checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value);
false ? 0 : void 0;
}, []);
react.useEffect(() => {
if (skipGroup) {
return;
}
if (restProps.value !== prevValue.current) {
checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current);
checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value);
prevValue.current = restProps.value;
}
return () => checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value);
}, [restProps.value]);
const prefixCls = getPrefixCls('checkbox', customizePrefixCls);
const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls);
const checkboxProps = Object.assign({}, restProps);
if (checkboxGroup && !skipGroup) {
checkboxProps.onChange = function () {
if (restProps.onChange) {
restProps.onChange.apply(restProps, arguments);
}
if (checkboxGroup.toggleOption) {
checkboxGroup.toggleOption({
label: children,
value: restProps.value
});
}
};
checkboxProps.name = checkboxGroup.name;
checkboxProps.checked = checkboxGroup.value.includes(restProps.value);
}
const classString = classnames_default()(`${prefixCls}-wrapper`, {
[`${prefixCls}-rtl`]: direction === 'rtl',
[`${prefixCls}-wrapper-checked`]: checkboxProps.checked,
[`${prefixCls}-wrapper-disabled`]: mergedDisabled,
[`${prefixCls}-wrapper-in-form-item`]: isFormItemInput
}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.className, className, rootClassName, hashId);
const checkboxClass = classnames_default()({
[`${prefixCls}-indeterminate`]: indeterminate
}, hashId);
const ariaChecked = indeterminate ? 'mixed' : undefined;
return wrapSSR(
/*#__PURE__*/
// eslint-disable-next-line jsx-a11y/label-has-associated-control
react.createElement("label", {
className: classString,
style: Object.assign(Object.assign({}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.style), style),
onMouseEnter: onMouseEnter,
onMouseLeave: onMouseLeave
}, /*#__PURE__*/react.createElement(es/* default */.Z, Object.assign({
"aria-checked": ariaChecked
}, checkboxProps, {
prefixCls: prefixCls,
className: checkboxClass,
disabled: mergedDisabled,
ref: ref
})), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)));
};
const Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox);
if (false) {}
/* harmony default export */ var checkbox_Checkbox = (Checkbox);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(74902);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js
var omit = __webpack_require__(10366);
;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js
var Group_rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
const InternalGroup = (props, ref) => {
const {
defaultValue,
children,
options = [],
prefixCls: customizePrefixCls,
className,
rootClassName,
style,
onChange
} = props,
restProps = Group_rest(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]);
const {
getPrefixCls,
direction
} = react.useContext(config_provider_context/* ConfigContext */.E_);
const [value, setValue] = react.useState(restProps.value || defaultValue || []);
const [registeredValues, setRegisteredValues] = react.useState([]);
react.useEffect(() => {
if ('value' in restProps) {
setValue(restProps.value || []);
}
}, [restProps.value]);
const memoOptions = react.useMemo(() => options.map(option => {
if (typeof option === 'string' || typeof option === 'number') {
return {
label: option,
value: option
};
}
return option;
}), [options]);
const cancelValue = val => {
setRegisteredValues(prevValues => prevValues.filter(v => v !== val));
};
const registerValue = val => {
setRegisteredValues(prevValues => [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]));
};
const toggleOption = option => {
const optionIndex = value.indexOf(option.value);
const newValue = (0,toConsumableArray/* default */.Z)(value);
if (optionIndex === -1) {
newValue.push(option.value);
} else {
newValue.splice(optionIndex, 1);
}
if (!('value' in restProps)) {
setValue(newValue);
}
onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(val => registeredValues.includes(val)).sort((a, b) => {
const indexA = memoOptions.findIndex(opt => opt.value === a);
const indexB = memoOptions.findIndex(opt => opt.value === b);
return indexA - indexB;
}));
};
const prefixCls = getPrefixCls('checkbox', customizePrefixCls);
const groupPrefixCls = `${prefixCls}-group`;
const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls);
const domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']);
const childrenNode = options.length ? memoOptions.map(option => /*#__PURE__*/react.createElement(checkbox_Checkbox, {
prefixCls: prefixCls,
key: option.value.toString(),
disabled: 'disabled' in option ? option.disabled : restProps.disabled,
value: option.value,
checked: value.includes(option.value),
onChange: option.onChange,
className: `${groupPrefixCls}-item`,
style: option.style,
title: option.title
}, option.label)) : children;
// eslint-disable-next-line react/jsx-no-constructed-context-values
const context = {
toggleOption,
value,
disabled: restProps.disabled,
name: restProps.name,
// https://github.com/ant-design/ant-design/issues/16376
registerValue,
cancelValue
};
const classString = classnames_default()(groupPrefixCls, {
[`${groupPrefixCls}-rtl`]: direction === 'rtl'
}, className, rootClassName, hashId);
return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({
className: classString,
style: style
}, domProps, {
ref: ref
}), /*#__PURE__*/react.createElement(checkbox_GroupContext.Provider, {
value: context
}, childrenNode)));
};
const CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalGroup);
/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup));
;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js
'use client';
const es_checkbox_Checkbox = checkbox_Checkbox;
es_checkbox_Checkbox.Group = Group;
es_checkbox_Checkbox.__ANT_CHECKBOX = true;
if (false) {}
/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox);
/***/ }),
/***/ 79531:
/*!*********************************************************!*\
!*** ./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/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);
// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js
var style = __webpack_require__(47673);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js
const Group = props => {
const {
getPrefixCls,
direction
} = (0,react.useContext)(context/* ConfigContext */.E_);
const {
prefixCls: customizePrefixCls,
className
} = props;
const prefixCls = getPrefixCls('input-group', customizePrefixCls);
const inputPrefixCls = getPrefixCls('input');
const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls);
const cls = classnames_default()(prefixCls, {
[`${prefixCls}-lg`]: props.size === 'large',
[`${prefixCls}-sm`]: props.size === 'small',
[`${prefixCls}-compact`]: props.compact,
[`${prefixCls}-rtl`]: direction === 'rtl'
}, hashId, className);
const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM);
const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), {
isFormItemInput: false
}), [formItemContext]);
if (false) {}
return wrapSSR( /*#__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/extends.js
var esm_extends = __webpack_require__(87462);
;// 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/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(74643);
;// CONCATENATED MODULE: ./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,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_EyeInvisibleOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined));
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules
var EyeOutlined = __webpack_require__(99611);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js
var omit = __webpack_require__(10366);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js
var es_ref = __webpack_require__(17799);
// 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;
};
const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null);
const ActionMap = {
click: 'onClick',
hover: 'onMouseOver'
};
const Password = /*#__PURE__*/react.forwardRef((props, ref) => {
const {
visibilityToggle = true
} = props;
const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined;
const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false);
const inputRef = (0,react.useRef)(null);
react.useEffect(() => {
if (visibilityControlled) {
setVisible(visibilityToggle.visible);
}
}, [visibilityControlled, visibilityToggle]);
// Remove Password value
const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef);
const onVisibleChange = () => {
const {
disabled
} = props;
if (disabled) {
return;
}
if (visible) {
removePasswordTimeout();
}
setVisible(prevState => {
var _a;
const newState = !prevState;
if (typeof visibilityToggle === 'object') {
(_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState);
}
return newState;
});
};
const getIcon = prefixCls => {
const {
action = 'click',
iconRender = defaultIconRender
} = props;
const iconTrigger = ActionMap[action] || '';
const icon = iconRender(visible);
const iconProps = {
[iconTrigger]: onVisibleChange,
className: `${prefixCls}-icon`,
key: 'passwordIcon',
onMouseDown: e => {
// Prevent focused state lost
// https://github.com/ant-design/ant-design/issues/15173
e.preventDefault();
},
onMouseUp: e => {
// Prevent caret position change
// https://github.com/ant-design/ant-design/issues/23524
e.preventDefault();
}
};
return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps);
};
const {
className,
prefixCls: customizePrefixCls,
inputPrefixCls: customizeInputPrefixCls,
size
} = props,
restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]);
const {
getPrefixCls
} = react.useContext(context/* ConfigContext */.E_);
const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
const prefixCls = getPrefixCls('input-password', customizePrefixCls);
const suffixIcon = visibilityToggle && getIcon(prefixCls);
const inputClassName = classnames_default()(prefixCls, className, {
[`${prefixCls}-${size}`]: !!size
});
const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), {
type: visible ? 'text' : 'password',
className: inputClassName,
prefixCls: inputPrefixCls,
suffix: suffixIcon
});
if (size) {
omittedProps.size = size;
}
return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({
ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef)
}, omittedProps));
});
if (false) {}
/* harmony default export */ var input_Password = (Password);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules
var SearchOutlined = __webpack_require__(68795);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js
var reactNode = __webpack_require__(96159);
// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
var es_button = __webpack_require__(71577);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js
var useSize = __webpack_require__(98675);
// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js
var Compact = __webpack_require__(4173);
;// 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;
};
const Search = /*#__PURE__*/react.forwardRef((props, ref) => {
const {
prefixCls: customizePrefixCls,
inputPrefixCls: customizeInputPrefixCls,
className,
size: customizeSize,
suffix,
enterButton = false,
addonAfter,
loading,
disabled,
onSearch: customOnSearch,
onChange: customOnChange,
onCompositionStart,
onCompositionEnd
} = props,
restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]);
const {
getPrefixCls,
direction
} = react.useContext(context/* ConfigContext */.E_);
const composedRef = react.useRef(false);
const prefixCls = getPrefixCls('input-search', customizePrefixCls);
const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
const {
compactSize
} = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction);
const size = (0,useSize/* default */.Z)(ctx => {
var _a;
return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx;
});
const inputRef = react.useRef(null);
const onChange = e => {
if (e && e.target && e.type === 'click' && customOnSearch) {
customOnSearch(e.target.value, e);
}
if (customOnChange) {
customOnChange(e);
}
};
const onMouseDown = e => {
var _a;
if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) {
e.preventDefault();
}
};
const onSearch = e => {
var _a, _b;
if (customOnSearch) {
customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e);
}
};
const onPressEnter = e => {
if (composedRef.current || loading) {
return;
}
onSearch(e);
};
const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null;
const btnClassName = `${prefixCls}-button`;
let button;
const enterButtonAsElement = enterButton || {};
const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true;
if (isAntdButton || enterButtonAsElement.type === 'button') {
button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({
onMouseDown,
onClick: e => {
var _a, _b;
(_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e);
onSearch(e);
},
key: 'enterButton'
}, isAntdButton ? {
className: btnClassName,
size
} : {}));
} else {
button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, {
className: btnClassName,
type: enterButton ? 'primary' : undefined,
size: size,
disabled: disabled,
key: "enterButton",
onMouseDown: onMouseDown,
onClick: onSearch,
loading: loading,
icon: searchIcon
}, enterButton);
}
if (addonAfter) {
button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, {
key: 'addonAfter'
})];
}
const cls = classnames_default()(prefixCls, {
[`${prefixCls}-rtl`]: direction === 'rtl',
[`${prefixCls}-${size}`]: !!size,
[`${prefixCls}-with-button`]: !!enterButton
}, className);
const handleOnCompositionStart = e => {
composedRef.current = true;
onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);
};
const handleOnCompositionEnd = e => {
composedRef.current = false;
onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e);
};
return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({
ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref),
onPressEnter: onPressEnter
}, restProps, {
size: size,
onCompositionStart: handleOnCompositionStart,
onCompositionEnd: handleOnCompositionEnd,
prefixCls: inputPrefixCls,
addonAfter: button,
suffix: suffix,
onChange: onChange,
className: cls,
disabled: disabled
}));
});
if (false) {}
/* harmony default export */ var input_Search = (Search);
// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js
var TextArea = __webpack_require__(96330);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js
'use client';
const input_Input = Input/* default */.Z;
if (false) {}
input_Input.Group = input_Group;
input_Input.Search = input_Search;
input_Input.TextArea = TextArea/* default */.Z;
input_Input.Password = input_Password;
/* harmony default export */ var input = (input_Input);
/***/ }),
/***/ 33507:
/*!*******************************************************!*\
!*** ./node_modules/antd/es/style/motion/collapse.js ***!
\*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
const genCollapseMotion = token => ({
[token.componentCls]: {
// For common/openAnimation
[`${token.antCls}-motion-collapse-legacy`]: {
overflow: 'hidden',
'&-active': {
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
}
},
[`${token.antCls}-motion-collapse`]: {
overflow: 'hidden',
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
}
}
});
/* harmony default export */ __webpack_exports__["Z"] = (genCollapseMotion);
/***/ })
}]);

@ -2888,9 +2888,6 @@ var CourseList = function CourseList(_ref) {
className: CourseListmodules.sign,
src: sg_namespaceObject
}), featured === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: ''
}), featured === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: jg_namespaceObject
})]

@ -94,6 +94,8 @@ var generateBrief = function generateBrief(_ref2) {
studentNames = _ref2.studentNames,
studentCount = _ref2.studentCount,
inPaper = _ref2.inPaper,
_ref2$is_random = _ref2.is_random,
is_random = _ref2$is_random === void 0 ? false : _ref2$is_random,
_ref2$position = _ref2.position,
position = _ref2$position === void 0 ? '' : _ref2$position;
var copyStatusDescribe = function copyStatusDescribe() {
@ -131,7 +133,7 @@ var generateBrief = function generateBrief(_ref2) {
}), "\u5B66\u4E60\u8FC7", currentPosition, "\u4E2D\u7684", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: ReuseShixunModalmodules.orangeColor,
children: used
}), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"]
}), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9", is_random ? '' : '是否继续使用和', "\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"]
});
};
@ -655,6 +657,7 @@ var ReuseMultipleShixunModal = function ReuseMultipleShixunModal(props) {
canNotCopy: renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_num,
studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names,
studentCount: renderData === null || renderData === void 0 ? void 0 : renderData.student_count,
is_random: renderData === null || renderData === void 0 ? void 0 : renderData.is_random,
inPaper: inPaper,
position: position
});

@ -1,9 +1,9 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[79086],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[61990],{
/***/ 79086:
/***/ 61990:
/*!****************************************************************************!*\
!*** ./src/pages/Paperlibrary/components/SendToClassModal.tsx + 5 modules ***!
!*** ./src/pages/Paperlibrary/components/SendToClassModal.tsx + 6 modules ***!
\****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -48,8 +48,54 @@ var table = __webpack_require__(63889);
var es_button = __webpack_require__(71577);
// EXTERNAL MODULE: ./src/assets/images/paper/jinshi.svg
var jinshi = __webpack_require__(56606);
// EXTERNAL MODULE: ./src/assets/images/paper/dui.svg
var dui = __webpack_require__(47990);
;// CONCATENATED MODULE: ./src/assets/images/paper/dui.svg
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
var __defProp = Object.defineProperty;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = function __defNormalProp(obj, key, value) {
return key in obj ? __defProp(obj, key, {
enumerable: true,
configurable: true,
writable: true,
value: value
}) : obj[key] = value;
};
var __spreadValues = function __spreadValues(a, b) {
for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols) {
var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var prop = _step.value;
if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
}
return a;
};
var SvgDui = function SvgDui(props) {
return /* @__PURE__ */React.createElement("svg", __spreadValues({
width: 14,
height: 14,
xmlns: "http://www.w3.org/2000/svg"
}, props), /* @__PURE__ */React.createElement("title", null, "\u9009\u62E9\u5907\u4EFD 2"), /* @__PURE__ */React.createElement("path", {
d: "M6.74 0a6.74 6.74 0 1 0 0 13.48A6.74 6.74 0 0 0 6.74 0Zm3.636 5.017L5.817 9.576c-.09.09-.246.08-.348-.023l-.306-.305L3.12 7.204a.263.263 0 0 1 0-.372l.557-.557a.262.262 0 0 1 .372 0l1.605 1.606 3.794-3.793c.09-.09.246-.08.348.022l.557.557c.103.103.113.259.023.349Z",
fill: "#68C79F",
fillRule: "nonzero"
}));
};
/* harmony default export */ var dui = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzQgMGE2Ljc0IDYuNzQgMCAxIDAgMCAxMy40OEE2Ljc0IDYuNzQgMCAwIDAgNi43NCAwWm0zLjYzNiA1LjAxN0w1LjgxNyA5LjU3NmMtLjA5LjA5LS4yNDYuMDgtLjM0OC0uMDIzbC0uMzA2LS4zMDVMMy4xMiA3LjIwNGEuMjYzLjI2MyAwIDAgMSAwLS4zNzJsLjU1Ny0uNTU3YS4yNjIuMjYyIDAgMCAxIC4zNzIgMGwxLjYwNSAxLjYwNiAzLjc5NC0zLjc5M2MuMDktLjA5LjI0Ni0uMDguMzQ4LjAyMmwuNTU3LjU1N2MuMTAzLjEwMy4xMTMuMjU5LjAyMy4zNDlaIiBmaWxsPSIjNjhDNzlGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=");
;// CONCATENATED MODULE: ./src/pages/Paperlibrary/components/SendToClassModal.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var SendToClassModalmodules = ({"flex_box_center":"flex_box_center___LsrKL","flex_space_between":"flex_space_between___sZBht","flex_box_vertical_center":"flex_box_vertical_center___QNt7D","flex_box_center_end":"flex_box_center_end___S9zs3","flex_box_column":"flex_box_column___Y5tcm","title":"title___t4qlt","tip":"tip___MtKbx","radioWrap":"radioWrap___fp3kY","row":"row___IoDN5","radio":"radio___vuEDI","colorFF0000":"colorFF0000____5DYm","pagination":"pagination___bvqCI","modalColumn":"modalColumn___szBPb","modalRow":"modalRow___mtd9M","sup":"sup___JDuYL","search":"search___wNY_F","bottom":"bottom___HvFhF","yes":"yes___xmznh","no":"no___vEJlu"});
@ -187,7 +233,7 @@ var SendToClassModal = function SendToClassModal(_ref) {
(0,react.useEffect)(function () {
getCourseList();
}, []);
var onCancel = function onCancel() {
var _onCancel = function onCancel() {
setRadioValue([]);
setSearchValue('');
getCourseList(true);
@ -412,7 +458,7 @@ var SendToClassModal = function SendToClassModal(_ref) {
}),
okText: '确认',
cancelText: '取消',
onCancel: onCancel,
onCancel: _onCancel,
onOk: function () {
var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
var _paperlibrary$actionT8, _paperlibrary$actionT9;
@ -477,17 +523,24 @@ var SendToClassModal = function SendToClassModal(_ref) {
style: {
marginRight: 5
},
src: dui/* default */.Z
src: dui
}), "\u751F\u6210\u8BD5\u5377\u6210\u529F\uFF0C\u524D\u5F80\u8BFE\u5802\u53BB\u67E5\u770B\u5427\uFF01"]
})
}),
okText: '前往课堂',
cancelText: '返回试卷库',
onCancel: onCancel,
onCancel: function onCancel() {
closeReuseModal();
_onCancel();
},
onOk: function onOk() {
var _res$first_category_u, _res$first_category_u2;
var id = res === null || res === void 0 ? void 0 : (_res$first_category_u = res.first_category_url) === null || _res$first_category_u === void 0 ? void 0 : (_res$first_category_u2 = _res$first_category_u.split('/')) === null || _res$first_category_u2 === void 0 ? void 0 : _res$first_category_u2[2];
(0,util/* openNewWindow */.xg)("/classrooms/".concat(id, "/exercise"));
closeReuseModal();
_onCancel();
setTimeout(function () {
var _res$first_category_u, _res$first_category_u2;
var id = res === null || res === void 0 ? void 0 : (_res$first_category_u = res.first_category_url) === null || _res$first_category_u === void 0 ? void 0 : (_res$first_category_u2 = _res$first_category_u.split('/')) === null || _res$first_category_u2 === void 0 ? void 0 : _res$first_category_u2[2];
(0,util/* openNewWindow */.xg)("/classrooms/".concat(id, "/exercise"));
}, 1000);
}
});
}
@ -567,7 +620,7 @@ var SendToClassModal = function SendToClassModal(_ref) {
footer: false,
onOk: handleOk,
destroyOnClose: true,
onCancel: onCancel,
onCancel: _onCancel,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SendToClassModalmodules.wrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@ -670,7 +723,7 @@ var SendToClassModal = function SendToClassModal(_ref) {
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
onClick: onCancel,
onClick: _onCancel,
className: SendToClassModalmodules.no,
style: {
marginRight: 20
@ -710,64 +763,6 @@ var SendToClassModal = function SendToClassModal(_ref) {
/***/ }),
/***/ 47990:
/*!*****************************************!*\
!*** ./src/assets/images/paper/dui.svg ***!
\*****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony export ReactComponent */
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294);
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
var __defProp = Object.defineProperty;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = function __defNormalProp(obj, key, value) {
return key in obj ? __defProp(obj, key, {
enumerable: true,
configurable: true,
writable: true,
value: value
}) : obj[key] = value;
};
var __spreadValues = function __spreadValues(a, b) {
for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols) {
var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var prop = _step.value;
if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
}
return a;
};
var SvgDui = function SvgDui(props) {
return /* @__PURE__ */React.createElement("svg", __spreadValues({
width: 14,
height: 14,
xmlns: "http://www.w3.org/2000/svg"
}, props), /* @__PURE__ */React.createElement("title", null, "\u9009\u62E9\u5907\u4EFD 2"), /* @__PURE__ */React.createElement("path", {
d: "M6.74 0a6.74 6.74 0 1 0 0 13.48A6.74 6.74 0 0 0 6.74 0Zm3.636 5.017L5.817 9.576c-.09.09-.246.08-.348-.023l-.306-.305L3.12 7.204a.263.263 0 0 1 0-.372l.557-.557a.262.262 0 0 1 .372 0l1.605 1.606 3.794-3.793c.09-.09.246-.08.348.022l.557.557c.103.103.113.259.023.349Z",
fill: "#68C79F",
fillRule: "nonzero"
}));
};
/* harmony default export */ __webpack_exports__["Z"] = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzQgMGE2Ljc0IDYuNzQgMCAxIDAgMCAxMy40OEE2Ljc0IDYuNzQgMCAwIDAgNi43NCAwWm0zLjYzNiA1LjAxN0w1LjgxNyA5LjU3NmMtLjA5LjA5LS4yNDYuMDgtLjM0OC0uMDIzbC0uMzA2LS4zMDVMMy4xMiA3LjIwNGEuMjYzLjI2MyAwIDAgMSAwLS4zNzJsLjU1Ny0uNTU3YS4yNjIuMjYyIDAgMCAxIC4zNzIgMGwxLjYwNSAxLjYwNiAzLjc5NC0zLjc5M2MuMDktLjA5LjI0Ni0uMDguMzQ4LjAyMmwuNTU3LjU1N2MuMTAzLjEwMy4xMTMuMjU5LjAyMy4zNDlaIiBmaWxsPSIjNjhDNzlGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=");
/***/ }),
/***/ 56606:
/*!********************************************!*\
!*** ./src/assets/images/paper/jinshi.svg ***!

File diff suppressed because it is too large Load Diff

@ -1,729 +0,0 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[70368],{
/***/ 54304:
/*!***************************************************************************************************!*\
!*** ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepTwo/AddTags/index.tsx + 2 modules ***!
\***************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ StepTwo_AddTags; }
});
// 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/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepTwo/AddTags/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var AddTagsmodules = ({"btn":"btn___zSAGy","s1":"s1___Xk5Go","s2":"s2___t4UvG","btnDisabled":"btnDisabled___FcIYP","btn2":"btn2___VNO7t"});
// EXTERNAL MODULE: ./src/assets/images/icons/tagDelete.png
var tagDelete = __webpack_require__(57810);
;// CONCATENATED MODULE: ./src/assets/images/paper/swenjianjia.svg
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
var __defProp = Object.defineProperty;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = function __defNormalProp(obj, key, value) {
return key in obj ? __defProp(obj, key, {
enumerable: true,
configurable: true,
writable: true,
value: value
}) : obj[key] = value;
};
var __spreadValues = function __spreadValues(a, b) {
for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols) {
var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var prop = _step.value;
if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
}
return a;
};
var SvgSwenjianjia = function SvgSwenjianjia(props) {
return /* @__PURE__ */React.createElement("svg", __spreadValues({
width: 22,
height: 16,
xmlns: "http://www.w3.org/2000/svg"
}, props), /* @__PURE__ */React.createElement("title", null, "\u7F16\u7EC4 21\u5907\u4EFD"), /* @__PURE__ */React.createElement("g", {
fill: "none",
fillRule: "evenodd"
}, /* @__PURE__ */React.createElement("path", {
d: "M0 0h22v16H0z"
}), /* @__PURE__ */React.createElement("path", {
d: "M5.182 6.758 4 11.092V2.777C4 2.348 4.348 2 4.777 2h3.69c.206 0 .404.081.55.227l1.59 1.592c.03.029.069.045.11.045h5.555c.428 0 .776.348.776.777v1.087H6.531a1.401 1.401 0 0 0-1.35 1.03Zm13.427-.103a.77.77 0 0 0-.617-.306H6.53a.778.778 0 0 0-.75.573l-1.61 5.903a.777.777 0 0 0 .75.98h11.46c.351 0 .658-.234.75-.572l1.61-5.903a.771.771 0 0 0-.132-.675Z",
fill: "#165DFF",
fillRule: "nonzero"
})));
};
/* harmony default export */ var swenjianjia = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjE2SDB6Ii8+PHBhdGggZD0iTTUuMTgyIDYuNzU4IDQgMTEuMDkyVjIuNzc3QzQgMi4zNDggNC4zNDggMiA0Ljc3NyAyaDMuNjljLjIwNiAwIC40MDQuMDgxLjU1LjIyN2wxLjU5IDEuNTkyYy4wMy4wMjkuMDY5LjA0NS4xMS4wNDVoNS41NTVjLjQyOCAwIC43NzYuMzQ4Ljc3Ni43Nzd2MS4wODdINi41MzFhMS40MDEgMS40MDEgMCAwIDAtMS4zNSAxLjAzWm0xMy40MjctLjEwM2EuNzcuNzcgMCAwIDAtLjYxNy0uMzA2SDYuNTNhLjc3OC43NzggMCAwIDAtLjc1LjU3M2wtMS42MSA1LjkwM2EuNzc3Ljc3NyAwIDAgMCAuNzUuOThoMTEuNDZjLjM1MSAwIC42NTgtLjIzNC43NS0uNTcybDEuNjEtNS45MDNhLjc3MS43NzEgMCAwIDAtLjEzMi0uNjc1WiIgZmlsbD0iIzE2NURGRiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==");
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(85893);
;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepTwo/AddTags/index.tsx
var AddTags = function AddTags(_ref) {
var _ref$type = _ref.type,
type = _ref$type === void 0 ? 1 : _ref$type,
_ref$value = _ref.value,
value = _ref$value === void 0 ? [] : _ref$value,
onChange = _ref.onChange,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
icon = _ref.icon;
var _useState = (0,react.useState)(),
_useState2 = slicedToArray_default()(_useState, 2),
inputValue = _useState2[0],
setInputValue = _useState2[1];
var handleDelete = function handleDelete(id) {
onChange(id);
};
if (type === 1) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: value === null || value === void 0 ? void 0 : value.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: disabled ? "".concat(AddTagsmodules.btn, " ").concat(AddTagsmodules.btnDisabled) : AddTagsmodules.btn,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: AddTagsmodules.s1,
children: item.name
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: tagDelete,
className: AddTagsmodules.s2,
onClick: function onClick() {
return handleDelete(item.id);
}
})]
}, index);
})
});
}
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: value === null || value === void 0 ? void 0 : value.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: AddTagsmodules.btn2,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: AddTagsmodules.s1,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: icon || swenjianjia
}), item.name]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: tagDelete,
className: AddTagsmodules.s2,
onClick: function onClick() {
return handleDelete(item.id);
}
})]
}, index);
})
});
};
/* harmony default export */ var StepTwo_AddTags = (AddTags);
/***/ }),
/***/ 80216:
/*!************************************************************************************************!*\
!*** ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepTwo/List/index.tsx + 5 modules ***!
\************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ StepTwo_List; }
});
// UNUSED EXPORTS: ListGroup
// 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/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(70215);
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/select/index.js + 42 modules
var es_select = __webpack_require__(79035);
// EXTERNAL MODULE: ./node_modules/antd/es/input-number/index.js + 21 modules
var input_number = __webpack_require__(31795);
;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepTwo/List/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Listmodules = ({"list":"list___e608F","head":"head___OtXo7","name":"name___ewopv","right":"right___lDZUh","body":"body___os0Sr","top":"top___Ptgzn","bottom":"bottom___lLWO4","l":"l___I1rmR","ListGroup":"ListGroup___kn9D6","a":"a___VTKUk","b":"b___xv6D2","c":"c___wgDNH","c1":"c1___K7fE4","radio":"radio___lk8AZ","d":"d___ExXlO"});
;// CONCATENATED MODULE: ./src/assets/images/paper/sc.svg
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
var __defProp = Object.defineProperty;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = function __defNormalProp(obj, key, value) {
return key in obj ? __defProp(obj, key, {
enumerable: true,
configurable: true,
writable: true,
value: value
}) : obj[key] = value;
};
var __spreadValues = function __spreadValues(a, b) {
for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols) {
var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var prop = _step.value;
if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
}
return a;
};
var SvgSc = function SvgSc(props) {
return /* @__PURE__ */React.createElement("svg", __spreadValues({
width: 25,
height: 25,
xmlns: "http://www.w3.org/2000/svg"
}, props), /* @__PURE__ */React.createElement("title", null, "\u7F16\u7EC4 31\u5907\u4EFD"), /* @__PURE__ */React.createElement("g", {
transform: "translate(.92 .933)",
fill: "none",
fillRule: "evenodd"
}, /* @__PURE__ */React.createElement("circle", {
fill: "#E6F2FF",
cx: 12,
cy: 12,
r: 12
}), /* @__PURE__ */React.createElement("path", {
d: "M12.337 8.683c.069 0 .194.021.265.163l.782 1.566c.115.23.337.39.595.428l1.748.251a.284.284 0 0 1 .24.199.28.28 0 0 1-.075.3l-1.265 1.22a.777.777 0 0 0-.228.69l.299 1.722a.275.275 0 0 1-.062.235.307.307 0 0 1-.23.11.294.294 0 0 1-.138-.036l-1.564-.813a.796.796 0 0 0-.734 0l-1.565.813a.297.297 0 0 1-.138.036.307.307 0 0 1-.23-.11.275.275 0 0 1-.062-.235l.299-1.721a.776.776 0 0 0-.228-.692L8.782 11.59a.278.278 0 0 1-.075-.3.282.282 0 0 1 .24-.199l1.748-.251a.79.79 0 0 0 .595-.428l.782-1.566a.284.284 0 0 1 .265-.163m0-.683a.976.976 0 0 0-.885.544l-.782 1.566a.1.1 0 0 1-.074.054l-1.749.251c-.81.116-1.134 1.1-.548 1.664l1.266 1.22a.097.097 0 0 1 .028.086l-.298 1.721c-.11.631.398 1.143.972 1.143a.994.994 0 0 0 .46-.114l1.564-.813a.101.101 0 0 1 .092 0l1.564.814a.994.994 0 0 0 .46.114c.575 0 1.082-.512.972-1.143l-.298-1.721a.099.099 0 0 1 .028-.087l1.265-1.22c.586-.564.263-1.548-.546-1.665l-1.749-.251a.1.1 0 0 1-.075-.054l-.781-1.566A.98.98 0 0 0 12.337 8Z",
fill: "#198CFE",
fillRule: "nonzero"
})));
};
/* harmony default export */ var sc = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLjkyIC45MzMpIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxjaXJjbGUgZmlsbD0iI0U2RjJGRiIgY3g9IjEyIiBjeT0iMTIiIHI9IjEyIi8+PHBhdGggZD0iTTEyLjMzNyA4LjY4M2MuMDY5IDAgLjE5NC4wMjEuMjY1LjE2M2wuNzgyIDEuNTY2Yy4xMTUuMjMuMzM3LjM5LjU5NS40MjhsMS43NDguMjUxYS4yODQuMjg0IDAgMCAxIC4yNC4xOTkuMjguMjggMCAwIDEtLjA3NS4zbC0xLjI2NSAxLjIyYS43NzcuNzc3IDAgMCAwLS4yMjguNjlsLjI5OSAxLjcyMmEuMjc1LjI3NSAwIDAgMS0uMDYyLjIzNS4zMDcuMzA3IDAgMCAxLS4yMy4xMS4yOTQuMjk0IDAgMCAxLS4xMzgtLjAzNmwtMS41NjQtLjgxM2EuNzk2Ljc5NiAwIDAgMC0uNzM0IDBsLTEuNTY1LjgxM2EuMjk3LjI5NyAwIDAgMS0uMTM4LjAzNi4zMDcuMzA3IDAgMCAxLS4yMy0uMTEuMjc1LjI3NSAwIDAgMS0uMDYyLS4yMzVsLjI5OS0xLjcyMWEuNzc2Ljc3NiAwIDAgMC0uMjI4LS42OTJMOC43ODIgMTEuNTlhLjI3OC4yNzggMCAwIDEtLjA3NS0uMy4yODIuMjgyIDAgMCAxIC4yNC0uMTk5bDEuNzQ4LS4yNTFhLjc5Ljc5IDAgMCAwIC41OTUtLjQyOGwuNzgyLTEuNTY2YS4yODQuMjg0IDAgMCAxIC4yNjUtLjE2M20wLS42ODNhLjk3Ni45NzYgMCAwIDAtLjg4NS41NDRsLS43ODIgMS41NjZhLjEuMSAwIDAgMS0uMDc0LjA1NGwtMS43NDkuMjUxYy0uODEuMTE2LTEuMTM0IDEuMS0uNTQ4IDEuNjY0bDEuMjY2IDEuMjJhLjA5Ny4wOTcgMCAwIDEgLjAyOC4wODZsLS4yOTggMS43MjFjLS4xMS42MzEuMzk4IDEuMTQzLjk3MiAxLjE0M2EuOTk0Ljk5NCAwIDAgMCAuNDYtLjExNGwxLjU2NC0uODEzYS4xMDEuMTAxIDAgMCAxIC4wOTIgMGwxLjU2NC44MTRhLjk5NC45OTQgMCAwIDAgLjQ2LjExNGMuNTc1IDAgMS4wODItLjUxMi45NzItMS4xNDNsLS4yOTgtMS43MjFhLjA5OS4wOTkgMCAwIDEgLjAyOC0uMDg3bDEuMjY1LTEuMjJjLjU4Ni0uNTY0LjI2My0xLjU0OC0uNTQ2LTEuNjY1bC0xLjc0OS0uMjUxYS4xLjEgMCAwIDEtLjA3NS0uMDU0bC0uNzgxLTEuNTY2QS45OC45OCAwIDAgMCAxMi4zMzcgOFoiIGZpbGw9IiMxOThDRkUiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4=");
;// CONCATENATED MODULE: ./src/assets/images/paper/sm.svg
function sm_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = sm_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
function sm_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return sm_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return sm_arrayLikeToArray(o, minLen); }
function sm_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
var sm_defProp = Object.defineProperty;
var sm_getOwnPropSymbols = Object.getOwnPropertySymbols;
var sm_hasOwnProp = Object.prototype.hasOwnProperty;
var sm_propIsEnum = Object.prototype.propertyIsEnumerable;
var sm_defNormalProp = function __defNormalProp(obj, key, value) {
return key in obj ? sm_defProp(obj, key, {
enumerable: true,
configurable: true,
writable: true,
value: value
}) : obj[key] = value;
};
var sm_spreadValues = function __spreadValues(a, b) {
for (var prop in b || (b = {})) if (sm_hasOwnProp.call(b, prop)) sm_defNormalProp(a, prop, b[prop]);
if (sm_getOwnPropSymbols) {
var _iterator = sm_createForOfIteratorHelper(sm_getOwnPropSymbols(b)),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var prop = _step.value;
if (sm_propIsEnum.call(b, prop)) sm_defNormalProp(a, prop, b[prop]);
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
}
return a;
};
var SvgSm = function SvgSm(props) {
return /* @__PURE__ */React.createElement("svg", sm_spreadValues({
width: 25,
height: 25,
xmlns: "http://www.w3.org/2000/svg"
}, props), /* @__PURE__ */React.createElement("title", null, "\u7F16\u7EC4 30\u5907\u4EFD"), /* @__PURE__ */React.createElement("g", {
transform: "translate(.92 .933)",
fill: "none",
fillRule: "evenodd"
}, /* @__PURE__ */React.createElement("circle", {
fill: "#E6F2FF",
cx: 12,
cy: 12,
r: 12
}), /* @__PURE__ */React.createElement("path", {
d: "M15.412 8.132c.804 0 1.456.652 1.456 1.456v5.824c0 .804-.652 1.456-1.456 1.456H9.588a1.456 1.456 0 0 1-1.456-1.456V9.588c0-.804.652-1.456 1.456-1.456h5.824Zm0 .728H9.588a.728.728 0 0 0-.728.728v5.824c0 .402.326.728.728.728h5.824a.728.728 0 0 0 .728-.728V9.588a.728.728 0 0 0-.728-.728ZM12.5 12.136a.364.364 0 0 1 0 .728h-2.184a.364.364 0 0 1 0-.728H12.5Zm2.184-2.184a.364.364 0 0 1 0 .728h-4.368a.364.364 0 0 1 0-.728h4.368Z",
fill: "#198CFE",
fillRule: "nonzero"
})));
};
/* harmony default export */ var sm = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLjkyIC45MzMpIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxjaXJjbGUgZmlsbD0iI0U2RjJGRiIgY3g9IjEyIiBjeT0iMTIiIHI9IjEyIi8+PHBhdGggZD0iTTE1LjQxMiA4LjEzMmMuODA0IDAgMS40NTYuNjUyIDEuNDU2IDEuNDU2djUuODI0YzAgLjgwNC0uNjUyIDEuNDU2LTEuNDU2IDEuNDU2SDkuNTg4YTEuNDU2IDEuNDU2IDAgMCAxLTEuNDU2LTEuNDU2VjkuNTg4YzAtLjgwNC42NTItMS40NTYgMS40NTYtMS40NTZoNS44MjRabTAgLjcyOEg5LjU4OGEuNzI4LjcyOCAwIDAgMC0uNzI4LjcyOHY1LjgyNGMwIC40MDIuMzI2LjcyOC43MjguNzI4aDUuODI0YS43MjguNzI4IDAgMCAwIC43MjgtLjcyOFY5LjU4OGEuNzI4LjcyOCAwIDAgMC0uNzI4LS43MjhaTTEyLjUgMTIuMTM2YS4zNjQuMzY0IDAgMCAxIDAgLjcyOGgtMi4xODRhLjM2NC4zNjQgMCAwIDEgMC0uNzI4SDEyLjVabTIuMTg0LTIuMTg0YS4zNjQuMzY0IDAgMCAxIDAgLjcyOGgtNC4zNjhhLjM2NC4zNjQgMCAwIDEgMC0uNzI4aDQuMzY4WiIgZmlsbD0iIzE5OENGRSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==");
;// CONCATENATED MODULE: ./src/assets/images/paper/up.svg
function up_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = up_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
function up_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return up_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return up_arrayLikeToArray(o, minLen); }
function up_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
var up_defProp = Object.defineProperty;
var up_getOwnPropSymbols = Object.getOwnPropertySymbols;
var up_hasOwnProp = Object.prototype.hasOwnProperty;
var up_propIsEnum = Object.prototype.propertyIsEnumerable;
var up_defNormalProp = function __defNormalProp(obj, key, value) {
return key in obj ? up_defProp(obj, key, {
enumerable: true,
configurable: true,
writable: true,
value: value
}) : obj[key] = value;
};
var up_spreadValues = function __spreadValues(a, b) {
for (var prop in b || (b = {})) if (up_hasOwnProp.call(b, prop)) up_defNormalProp(a, prop, b[prop]);
if (up_getOwnPropSymbols) {
var _iterator = up_createForOfIteratorHelper(up_getOwnPropSymbols(b)),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var prop = _step.value;
if (up_propIsEnum.call(b, prop)) up_defNormalProp(a, prop, b[prop]);
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
}
return a;
};
var SvgUp = function SvgUp(props) {
return /* @__PURE__ */React.createElement("svg", up_spreadValues({
width: 15,
height: 10,
xmlns: "http://www.w3.org/2000/svg"
}, props), /* @__PURE__ */React.createElement("title", null, "\u4E0B\u62C9\u7BAD\u5934\u5907\u4EFD 6"), /* @__PURE__ */React.createElement("path", {
d: "M6.713 2.113 1.265 7.56a.856.856 0 0 0 1.21 1.212l5.448-5.447 5.447 5.447a.856.856 0 0 0 1.21-1.212L8.53 1.51a.856.856 0 0 0-1.213 0l-.604.604Z",
fill: "#198CFE",
fillRule: "nonzero"
}));
};
/* harmony default export */ var up = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzEzIDIuMTEzIDEuMjY1IDcuNTZhLjg1Ni44NTYgMCAwIDAgMS4yMSAxLjIxMmw1LjQ0OC01LjQ0NyA1LjQ0NyA1LjQ0N2EuODU2Ljg1NiAwIDAgMCAxLjIxLTEuMjEyTDguNTMgMS41MWEuODU2Ljg1NiAwIDAgMC0xLjIxMyAwbC0uNjA0LjYwNFoiIGZpbGw9IiMxOThDRkUiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==");
;// CONCATENATED MODULE: ./src/assets/images/paper/xiren.svg
function xiren_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = xiren_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
function xiren_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return xiren_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return xiren_arrayLikeToArray(o, minLen); }
function xiren_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
var xiren_defProp = Object.defineProperty;
var xiren_getOwnPropSymbols = Object.getOwnPropertySymbols;
var xiren_hasOwnProp = Object.prototype.hasOwnProperty;
var xiren_propIsEnum = Object.prototype.propertyIsEnumerable;
var xiren_defNormalProp = function __defNormalProp(obj, key, value) {
return key in obj ? xiren_defProp(obj, key, {
enumerable: true,
configurable: true,
writable: true,
value: value
}) : obj[key] = value;
};
var xiren_spreadValues = function __spreadValues(a, b) {
for (var prop in b || (b = {})) if (xiren_hasOwnProp.call(b, prop)) xiren_defNormalProp(a, prop, b[prop]);
if (xiren_getOwnPropSymbols) {
var _iterator = xiren_createForOfIteratorHelper(xiren_getOwnPropSymbols(b)),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var prop = _step.value;
if (xiren_propIsEnum.call(b, prop)) xiren_defNormalProp(a, prop, b[prop]);
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
}
return a;
};
var SvgXiren = function SvgXiren(props) {
return /* @__PURE__ */React.createElement("svg", xiren_spreadValues({
width: 18,
height: 14,
xmlns: "http://www.w3.org/2000/svg"
}, props), /* @__PURE__ */React.createElement("title", null, "\u65B0\u4EBA\u8BFE\u7A0B"), /* @__PURE__ */React.createElement("path", {
d: "M17.232 13.753s-2.191-.383-4.212-.383c-2 0-3.83.383-3.83.383A.76.76 0 0 1 9 13.726a.76.76 0 0 1-.192.027s-2.19-.383-4.212-.383c-2 0-3.83.383-3.83.383A.766.766 0 0 1 0 12.987V1.882C0 2.392.454.35 4.763.35 7.186.35 8.398.977 9 1.45c.6-.473 1.8-1.1 4.189-1.1 4.37 0 4.81 2.043 4.81 1.532v11.105a.766.766 0 0 1-.766.766ZM8.424 2.648S7.66 1.5 4.595 1.5C2.042 1.5 1.15 2.65 1.15 2.65v9.572c0 .423.343.383.766.383 0 0 1.313-.383 2.68-.383 1.499 0 3.064.383 3.064.383.423 0 .765.04.765-.383V2.648Zm8.425 0s-.427-.639-1.915-.963v5.941l-1.531-1.149-1.532 1.15V1.587c-1.676.268-2.298 1.06-2.298 1.06v9.573c0 .423.343.383.766.383 0 0 1.313-.383 2.68-.383 1.5 0 3.064.383 3.064.383.423 0 .766.04.766-.383V2.648ZM6.509 9.541H3.064a.383.383 0 0 1-.383-.383v-.383c0-.212.172-.383.383-.383H6.51c.211 0 .383.171.383.383v.383a.383.383 0 0 1-.383.383Zm0-3.447H3.064a.383.383 0 0 1-.383-.382v-.383c0-.212.172-.383.383-.383H6.51c.211 0 .383.171.383.383v.383a.383.383 0 0 1-.383.382Z",
fill: "#198CFE",
fillRule: "nonzero"
}));
};
/* harmony default export */ var xiren = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE3LjIzMiAxMy43NTNzLTIuMTkxLS4zODMtNC4yMTItLjM4M2MtMiAwLTMuODMuMzgzLTMuODMuMzgzQS43Ni43NiAwIDAgMSA5IDEzLjcyNmEuNzYuNzYgMCAwIDEtLjE5Mi4wMjdzLTIuMTktLjM4My00LjIxMi0uMzgzYy0yIDAtMy44My4zODMtMy44My4zODNBLjc2Ni43NjYgMCAwIDEgMCAxMi45ODdWMS44ODJDMCAyLjM5Mi40NTQuMzUgNC43NjMuMzUgNy4xODYuMzUgOC4zOTguOTc3IDkgMS40NWMuNi0uNDczIDEuOC0xLjEgNC4xODktMS4xIDQuMzcgMCA0LjgxIDIuMDQzIDQuODEgMS41MzJ2MTEuMTA1YS43NjYuNzY2IDAgMCAxLS43NjYuNzY2Wk04LjQyNCAyLjY0OFM3LjY2IDEuNSA0LjU5NSAxLjVDMi4wNDIgMS41IDEuMTUgMi42NSAxLjE1IDIuNjV2OS41NzJjMCAuNDIzLjM0My4zODMuNzY2LjM4MyAwIDAgMS4zMTMtLjM4MyAyLjY4LS4zODMgMS40OTkgMCAzLjA2NC4zODMgMy4wNjQuMzgzLjQyMyAwIC43NjUuMDQuNzY1LS4zODNWMi42NDhabTguNDI1IDBzLS40MjctLjYzOS0xLjkxNS0uOTYzdjUuOTQxbC0xLjUzMS0xLjE0OS0xLjUzMiAxLjE1VjEuNTg3Yy0xLjY3Ni4yNjgtMi4yOTggMS4wNi0yLjI5OCAxLjA2djkuNTczYzAgLjQyMy4zNDMuMzgzLjc2Ni4zODMgMCAwIDEuMzEzLS4zODMgMi42OC0uMzgzIDEuNSAwIDMuMDY0LjM4MyAzLjA2NC4zODMuNDIzIDAgLjc2Ni4wNC43NjYtLjM4M1YyLjY0OFpNNi41MDkgOS41NDFIMy4wNjRhLjM4My4zODMgMCAwIDEtLjM4My0uMzgzdi0uMzgzYzAtLjIxMi4xNzItLjM4My4zODMtLjM4M0g2LjUxYy4yMTEgMCAuMzgzLjE3MS4zODMuMzgzdi4zODNhLjM4My4zODMgMCAwIDEtLjM4My4zODNabTAtMy40NDdIMy4wNjRhLjM4My4zODMgMCAwIDEtLjM4My0uMzgydi0uMzgzYzAtLjIxMi4xNzItLjM4My4zODMtLjM4M0g2LjUxYy4yMTEgMCAuMzgzLjE3MS4zODMuMzgzdi4zODNhLjM4My4zODMgMCAwIDEtLjM4My4zODJaIiBmaWxsPSIjMTk4Q0ZFIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=");
// EXTERNAL MODULE: ./node_modules/lodash/lodash.js
var lodash = __webpack_require__(96486);
// 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/jsx-runtime.js
var jsx_runtime = __webpack_require__(85893);
;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepTwo/List/index.tsx
var _excluded = ["index", "value", "onChange", "type", "disabled", "expansion"],
_excluded2 = ["value", "onChange", "listClassName", "disabled", "expansion"];
var Option = es_select/* default.Option */.Z.Option;
var parser = function parser(v) {
var num = parseInt(v);
return (0,lodash.isNaN)(num) ? 0 : num;
};
var ListGroup = function ListGroup(_ref) {
var _value$difficulties, _value$difficulties2;
var index = _ref.index,
_ref$value = _ref.value,
value = _ref$value === void 0 ? [] : _ref$value,
onChange = _ref.onChange,
type = _ref.type,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$expansion = _ref.expansion,
expansion = _ref$expansion === void 0 ? true : _ref$expansion,
props = objectWithoutProperties_default()(_ref, _excluded);
var _useState = (0,react.useState)(true),
_useState2 = slicedToArray_default()(_useState, 2),
visible = _useState2[0],
setVisible = _useState2[1];
var handleChange = function handleChange(e, i) {
var newValue = (0,lodash.cloneDeep)(value);
newValue.difficulties[i].num = e;
console.log(newValue, 444);
onChange(newValue);
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Listmodules.ListGroup,
style: {
borderWidth: index ? 1 : 0
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Listmodules.a,
children: index + 1
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
"data-type": "width",
className: Listmodules.b,
children: value === null || value === void 0 ? void 0 : value.name
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Listmodules.c,
children: value === null || value === void 0 ? void 0 : (_value$difficulties = value.difficulties) === null || _value$difficulties === void 0 ? void 0 : _value$difficulties.map(function (e, i) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: visible ? 'flex' : i ? 'none' : 'flex'
},
className: Listmodules.c1,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#777777',
marginRight: 5
},
children: "\u96BE\u5EA6"
}), e.difficulty === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Listmodules.radio,
children: "\u7B80\u5355"
}), e.difficulty === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Listmodules.radio,
children: "\u9002\u4E2D"
}), e.difficulty === 3 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Listmodules.radio,
children: "\u56F0\u96BE"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#777777',
marginRight: 5,
marginLeft: 50
},
children: "\u62BD\u9898\u6570\u91CF"
}), index === 0 && i === 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
id: "".concat(type, "_sum"),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
disabled: disabled,
parser: parser,
onChange: function onChange(e) {
return handleChange(e, i);
},
min: 0,
max: e === null || e === void 0 ? void 0 : e.count,
value: (e === null || e === void 0 ? void 0 : e.num) || 0,
style: {
width: 66
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
display: 'none'
},
children: "\u8BF7\u8F93\u5165\u6570\u91CF"
})]
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
disabled: disabled,
parser: parser,
onChange: function onChange(e) {
return handleChange(e, i);
},
min: 0,
max: e === null || e === void 0 ? void 0 : e.count,
value: (e === null || e === void 0 ? void 0 : e.num) || 0,
style: {
width: 66
}
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
marginLeft: 5
},
children: ["/", e === null || e === void 0 ? void 0 : e.count]
})]
}, i);
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: (value === null || value === void 0 ? void 0 : (_value$difficulties2 = value.difficulties) === null || _value$difficulties2 === void 0 ? void 0 : _value$difficulties2.length) === 1 || !expansion ? 'none' : 'block'
},
onClick: function onClick() {
return setVisible(!visible);
},
className: Listmodules.d,
children: [visible ? '收起' : '展开', /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
style: {
marginTop: -2,
transform: visible ? 'rotate(0deg)' : 'rotate(180deg)'
},
src: up,
className: "ml5"
})]
})]
});
};
var List = function List(_ref2) {
var _questionData$find, _value$item_banks;
var _ref2$value = _ref2.value,
value = _ref2$value === void 0 ? [] : _ref2$value,
onChange = _ref2.onChange,
listClassName = _ref2.listClassName,
_ref2$disabled = _ref2.disabled,
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
_ref2$expansion = _ref2.expansion,
expansion = _ref2$expansion === void 0 ? true : _ref2$expansion,
props = objectWithoutProperties_default()(_ref2, _excluded2);
var _useState3 = (0,react.useState)(true),
_useState4 = slicedToArray_default()(_useState3, 2),
visible = _useState4[0],
setVisible = _useState4[1];
var calculate = function calculate(v) {
var _v$item_banks;
var n = v.score || 0;
var item = [];
v === null || v === void 0 ? void 0 : (_v$item_banks = v.item_banks) === null || _v$item_banks === void 0 ? void 0 : _v$item_banks.forEach(function (e) {
var _e$tag_disciplines;
e === null || e === void 0 ? void 0 : (_e$tag_disciplines = e.tag_disciplines) === null || _e$tag_disciplines === void 0 ? void 0 : _e$tag_disciplines.forEach(function (r) {
var _r$difficulties;
r === null || r === void 0 ? void 0 : (_r$difficulties = r.difficulties) === null || _r$difficulties === void 0 ? void 0 : _r$difficulties.forEach(function (s) {
if (s.num) {
item.push(s.num);
}
});
});
});
var sum = item.reduce(function (a, b) {
return a + b;
}, 0);
return sum * n;
};
var questionData = [{
type: 'SINGLE',
name: '单选题'
}, {
type: 'MULTIPLE',
name: '多选题'
}, {
type: 'COMPLETION',
name: '填空题'
}, {
type: 'JUDGMENT',
name: '判断题'
}, {
type: 'SUBJECTIVE',
name: '简答题'
}, {
type: 'PROGRAM',
name: '编程题'
}, {
type: 'PRACTICAL',
name: '实训题'
}, {
type: 'COMBINATION',
name: '组合题'
}];
var handleChange = function handleChange(e, index, i) {
var newValue = (0,lodash.cloneDeep)(value);
newValue.item_banks[index].tag_disciplines[i] = e;
var total = calculate(newValue);
newValue.scoreTotal = total;
console.log(newValue, 'newValue');
onChange(newValue);
};
var handleInputChange = function handleInputChange(e) {
var newValue = (0,lodash.cloneDeep)(value);
newValue.score = e;
var total = calculate(newValue);
newValue.scoreTotal = total;
onChange(newValue);
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: classnames_default()(Listmodules.list, listClassName),
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Listmodules.head,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Listmodules.name,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: (_questionData$find = questionData.find(function (e) {
return e.type === (value === null || value === void 0 ? void 0 : value.item_type);
})) === null || _questionData$find === void 0 ? void 0 : _questionData$find.name
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Listmodules.right,
children: [expansion && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
onClick: function onClick() {
return setVisible(!visible);
},
className: "current c-light-primary mb10",
children: [visible ? '收起' : '展开', /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
style: {
marginTop: -2,
transform: visible ? 'rotate(0deg)' : 'rotate(180deg)'
},
src: up,
className: "ml5"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: sc
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml10 mr20",
children: ["\u603B\u5206", value.scoreTotal, "\u5206"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: "mr10",
src: sm
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: (value === null || value === void 0 ? void 0 : value.item_type) === 'COMBINATION' ? '每小题' : '每题'
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
id: "".concat(value === null || value === void 0 ? void 0 : value.item_type, "_score"),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
disabled: disabled,
parser: parser,
min: 0,
onChange: handleInputChange,
value: value.score,
style: {
margin: '0 5px'
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
display: 'none'
},
children: "\u8BF7\u8F93\u5165\u6BCF\u9898\u5206\u6570"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u5206"
})]
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Listmodules.body,
style: {
display: visible ? "block" : 'none'
},
children: value === null || value === void 0 ? void 0 : (_value$item_banks = value.item_banks) === null || _value$item_banks === void 0 ? void 0 : _value$item_banks.map(function (item, index) {
var _item$tag_disciplines;
return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Listmodules.top,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: xiren
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u65B9\u5411/\u8BFE\u7A0B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
children: [item === null || item === void 0 ? void 0 : item.disciplines, "/", item === null || item === void 0 ? void 0 : item.sub_discipline]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Listmodules.bottom,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Listmodules.l,
children: "\u77E5\u8BC6\u70B9"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Listmodules.r,
children: item === null || item === void 0 ? void 0 : (_item$tag_disciplines = item.tag_disciplines) === null || _item$tag_disciplines === void 0 ? void 0 : _item$tag_disciplines.map(function (e, i) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(ListGroup, {
expansion: expansion,
disabled: disabled,
type: value === null || value === void 0 ? void 0 : value.item_type,
value: e,
index: i,
onChange: function onChange(e) {
return handleChange(e, index, i);
}
}, "".concat(index, "-").concat(i));
})
})]
})]
}, index);
})
})]
});
};
/* harmony default export */ var StepTwo_List = (List);
/***/ }),
/***/ 57810:
/*!***********************************************!*\
!*** ./src/assets/images/icons/tagDelete.png ***!
\***********************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABjUlEQVQ4T61VsUoDQRB9s+eVYifkUlqIWCW3sbBMqYUR0cbfUPETxPgZ2giigpZaCnKXpBK1sMydpIx25+7ISu5ILhsjclvuzLx5M292lmA57PtuF2gIYIMBSYBn3BiICAg1cF0GrqjVSvLhlL+IqtVNEDUZWLAlS+8IeAPzvtduXw77ZYAMiEjKI2LeY2AskQ2cAGaiEy8MDwnQxicL7Ep5bDL+xmqijahZDsODDHBQ5sVfmVn6xmDeMuWTESAGnqf1bBpz09MSsESx729r4DwfIIA6hPjUSt2AaP7Hztwj5nXHdd0vpR7yMQzsUOT7pwzsjgEKsVIKgiCu1Za1UvfGLhynXgqCp6hSkSxEYCn9jLq+/wJgcawk5l4KYECN3YBlCVLWo4GvhmGfgVlrj4ZAjX0KmBmZD8Owj4IAMQAsvGSrKKR1zet0QpsosZQrmvnRKsqksZlxnFWVJAkT3Y6MDbAmgDlFdGcdm8IH22Qp9OmltAtdDoPlWez6SpkWtmCHFTNCvQMN/scX8A1e4fnIOEHt8AAAAABJRU5ErkJggg==";
/***/ })
}]);

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[34399],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[70491],{
/***/ 81643:
/*!**********************************************************!*\
@ -593,6 +593,593 @@ const genWireframeStyle = token => {
/***/ }),
/***/ 59606:
/*!********************************************************!*\
!*** ./node_modules/antd/es/rate/index.js + 8 modules ***!
\********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ rate; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/StarFilled.js
// This icon file is generated automatically.
var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" };
/* harmony default export */ var asn_StarFilled = (StarFilled);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(74643);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/StarFilled.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var StarFilled_StarFilled = function StarFilled(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_StarFilled
}));
};
if (false) {}
/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled));
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// 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/@babel/runtime/helpers/esm/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(45987);
// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js
var useMergedState = __webpack_require__(21770);
// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js
var KeyCode = __webpack_require__(15105);
// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js
var pickAttrs = __webpack_require__(64217);
;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js
function Star(props, ref) {
var disabled = props.disabled,
prefixCls = props.prefixCls,
character = props.character,
characterRender = props.characterRender,
index = props.index,
count = props.count,
value = props.value,
allowHalf = props.allowHalf,
focused = props.focused,
onHover = props.onHover,
onClick = props.onClick;
// =========================== Events ===========================
var onInternalHover = function onInternalHover(e) {
onHover(e, index);
};
var onInternalClick = function onInternalClick(e) {
onClick(e, index);
};
var onInternalKeyDown = function onInternalKeyDown(e) {
if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) {
onClick(e, index);
}
};
// =========================== Render ===========================
// >>>>> ClassName
var starValue = index + 1;
var classNameList = new Set([prefixCls]);
// TODO: Current we just refactor from CC to FC. This logic seems can be optimized.
if (value === 0 && index === 0 && focused) {
classNameList.add("".concat(prefixCls, "-focused"));
} else if (allowHalf && value + 0.5 >= starValue && value < starValue) {
classNameList.add("".concat(prefixCls, "-half"));
classNameList.add("".concat(prefixCls, "-active"));
if (focused) {
classNameList.add("".concat(prefixCls, "-focused"));
}
} else {
if (starValue <= value) {
classNameList.add("".concat(prefixCls, "-full"));
} else {
classNameList.add("".concat(prefixCls, "-zero"));
}
if (starValue === value && focused) {
classNameList.add("".concat(prefixCls, "-focused"));
}
}
// >>>>> Node
var characterNode = typeof character === 'function' ? character(props) : character;
var start = /*#__PURE__*/react.createElement("li", {
className: classnames_default()(Array.from(classNameList)),
ref: ref
}, /*#__PURE__*/react.createElement("div", {
onClick: disabled ? null : onInternalClick,
onKeyDown: disabled ? null : onInternalKeyDown,
onMouseMove: disabled ? null : onInternalHover,
role: "radio",
"aria-checked": value > index ? 'true' : 'false',
"aria-posinset": index + 1,
"aria-setsize": count,
tabIndex: disabled ? -1 : 0
}, /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-first")
}, characterNode), /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-second")
}, characterNode)));
if (characterRender) {
start = characterRender(start, props);
}
return start;
}
/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star));
;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js
function useRefs() {
var nodeRef = react.useRef({});
function getRef(index) {
return nodeRef.current[index];
}
function setRef(index) {
return function (node) {
nodeRef.current[index] = node;
};
}
return [getRef, setRef];
}
;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js
function getScroll(w) {
var ret = w.pageXOffset;
var method = 'scrollLeft';
if (typeof ret !== 'number') {
var d = w.document;
// ie6,7,8 standard mode
ret = d.documentElement[method];
if (typeof ret !== 'number') {
// quirks mode
ret = d.body[method];
}
}
return ret;
}
function getClientPosition(elem) {
var x;
var y;
var doc = elem.ownerDocument;
var body = doc.body;
var docElem = doc && doc.documentElement;
var box = elem.getBoundingClientRect();
x = box.left;
y = box.top;
x -= docElem.clientLeft || body.clientLeft || 0;
y -= docElem.clientTop || body.clientTop || 0;
return {
left: x,
top: y
};
}
function getOffsetLeft(el) {
var pos = getClientPosition(el);
var doc = el.ownerDocument;
// Only IE use `parentWindow`
var w = doc.defaultView || doc.parentWindow;
pos.left += getScroll(w);
return pos.left;
}
;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js
var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"];
function Rate(props, ref) {
var _classNames;
var _props$prefixCls = props.prefixCls,
prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls,
className = props.className,
defaultValue = props.defaultValue,
propValue = props.value,
_props$count = props.count,
count = _props$count === void 0 ? 5 : _props$count,
_props$allowHalf = props.allowHalf,
allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf,
_props$allowClear = props.allowClear,
allowClear = _props$allowClear === void 0 ? true : _props$allowClear,
_props$character = props.character,
character = _props$character === void 0 ? '★' : _props$character,
characterRender = props.characterRender,
disabled = props.disabled,
_props$direction = props.direction,
direction = _props$direction === void 0 ? 'ltr' : _props$direction,
_props$tabIndex = props.tabIndex,
tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex,
autoFocus = props.autoFocus,
onHoverChange = props.onHoverChange,
onChange = props.onChange,
onFocus = props.onFocus,
onBlur = props.onBlur,
onKeyDown = props.onKeyDown,
onMouseLeave = props.onMouseLeave,
restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded);
var _useRefs = useRefs(),
_useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2),
getStarRef = _useRefs2[0],
setStarRef = _useRefs2[1];
var rateRef = react.useRef(null);
// ============================ Ref =============================
var triggerFocus = function triggerFocus() {
if (!disabled) {
var _rateRef$current;
(_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus();
}
};
react.useImperativeHandle(ref, function () {
return {
focus: triggerFocus,
blur: function blur() {
if (!disabled) {
var _rateRef$current2;
(_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur();
}
}
};
});
// =========================== Value ============================
var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, {
value: propValue
}),
_useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
value = _useMergedState2[0],
setValue = _useMergedState2[1];
var _useMergedState3 = (0,useMergedState/* default */.Z)(null),
_useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2),
cleanedValue = _useMergedState4[0],
setCleanedValue = _useMergedState4[1];
var getStarValue = function getStarValue(index, x) {
var reverse = direction === 'rtl';
var starValue = index + 1;
if (allowHalf) {
var starEle = getStarRef(index);
var leftDis = getOffsetLeft(starEle);
var width = starEle.clientWidth;
if (reverse && x - leftDis > width / 2) {
starValue -= 0.5;
} else if (!reverse && x - leftDis < width / 2) {
starValue -= 0.5;
}
}
return starValue;
};
// >>>>> Change
var changeValue = function changeValue(nextValue) {
setValue(nextValue);
onChange === null || onChange === void 0 ? void 0 : onChange(nextValue);
};
// =========================== Focus ============================
var _React$useState = react.useState(false),
_React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2),
focused = _React$useState2[0],
setFocused = _React$useState2[1];
var onInternalFocus = function onInternalFocus() {
setFocused(true);
onFocus === null || onFocus === void 0 ? void 0 : onFocus();
};
var onInternalBlur = function onInternalBlur() {
setFocused(false);
onBlur === null || onBlur === void 0 ? void 0 : onBlur();
};
// =========================== Hover ============================
var _React$useState3 = react.useState(null),
_React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2),
hoverValue = _React$useState4[0],
setHoverValue = _React$useState4[1];
var onHover = function onHover(event, index) {
var nextHoverValue = getStarValue(index, event.pageX);
if (nextHoverValue !== cleanedValue) {
setHoverValue(nextHoverValue);
setCleanedValue(null);
}
onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue);
};
var onMouseLeaveCallback = function onMouseLeaveCallback(event) {
if (!disabled) {
setHoverValue(null);
setCleanedValue(null);
onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined);
}
if (event) {
onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event);
}
};
// =========================== Click ============================
var onClick = function onClick(event, index) {
var newValue = getStarValue(index, event.pageX);
var isReset = false;
if (allowClear) {
isReset = newValue === value;
}
onMouseLeaveCallback();
changeValue(isReset ? 0 : newValue);
setCleanedValue(isReset ? newValue : null);
};
var onInternalKeyDown = function onInternalKeyDown(event) {
var keyCode = event.keyCode;
var reverse = direction === 'rtl';
var nextValue = value;
if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) {
if (allowHalf) {
nextValue += 0.5;
} else {
nextValue += 1;
}
changeValue(nextValue);
event.preventDefault();
} else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) {
if (allowHalf) {
nextValue -= 0.5;
} else {
nextValue -= 1;
}
changeValue(nextValue);
event.preventDefault();
} else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) {
if (allowHalf) {
nextValue -= 0.5;
} else {
nextValue -= 1;
}
changeValue(nextValue);
event.preventDefault();
} else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) {
if (allowHalf) {
nextValue += 0.5;
} else {
nextValue += 1;
}
changeValue(nextValue);
event.preventDefault();
}
onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event);
};
// =========================== Effect ===========================
react.useEffect(function () {
if (autoFocus && !disabled) {
triggerFocus();
}
}, []);
// =========================== Render ===========================
// >>> Star
var starNodes = new Array(count).fill(0).map(function (item, index) {
return /*#__PURE__*/react.createElement(es_Star, {
ref: setStarRef(index),
index: index,
count: count,
disabled: disabled,
prefixCls: "".concat(prefixCls, "-star"),
allowHalf: allowHalf,
value: hoverValue === null ? value : hoverValue,
onClick: onClick,
onHover: onHover,
key: item || index,
character: character,
characterRender: characterRender,
focused: focused
});
});
var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames));
// >>> Node
return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({
className: classString,
onMouseLeave: onMouseLeaveCallback,
tabIndex: disabled ? -1 : tabIndex,
onFocus: disabled ? null : onInternalFocus,
onBlur: disabled ? null : onInternalBlur,
onKeyDown: disabled ? null : onInternalKeyDown,
ref: rateRef,
role: "radiogroup"
}, (0,pickAttrs/* default */.Z)(restProps, {
aria: true,
data: true,
attr: true
})), starNodes);
}
/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate));
;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js
/* harmony default export */ var es = (es_Rate);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(83062);
// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js
var style = __webpack_require__(14747);
// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js
var genComponentStyleHook = __webpack_require__(67968);
// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js
var statistic = __webpack_require__(45503);
;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js
const genRateStarStyle = token => {
const {
componentCls
} = token;
return {
[`${componentCls}-star`]: {
position: 'relative',
display: 'inline-block',
color: 'inherit',
cursor: 'pointer',
'&:not(:last-child)': {
marginInlineEnd: token.marginXS
},
'> div': {
transition: `all ${token.motionDurationMid}, outline 0s`,
'&:hover': {
transform: token.starHoverScale
},
'&:focus': {
outline: 0
},
'&:focus-visible': {
outline: `${token.lineWidth}px dashed ${token.starColor}`,
transform: token.starHoverScale
}
},
'&-first, &-second': {
color: token.starBg,
transition: `all ${token.motionDurationMid}`,
userSelect: 'none',
[token.iconCls]: {
verticalAlign: 'middle'
}
},
'&-first': {
position: 'absolute',
top: 0,
insetInlineStart: 0,
width: '50%',
height: '100%',
overflow: 'hidden',
opacity: 0
},
[`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: {
opacity: 1
},
[`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: {
color: 'inherit'
}
}
};
};
const genRateRtlStyle = token => ({
[`&-rtl${token.componentCls}`]: {
direction: 'rtl'
}
});
const genRateStyle = token => {
const {
componentCls
} = token;
return {
[componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
display: 'inline-block',
margin: 0,
padding: 0,
color: token.starColor,
fontSize: token.starSize,
lineHeight: 'unset',
listStyle: 'none',
outline: 'none',
// disable styles
[`&-disabled${componentCls} ${componentCls}-star`]: {
cursor: 'default',
'> div:hover': {
transform: 'scale(1)'
}
}
}), genRateStarStyle(token)), {
// text styles
[`+ ${componentCls}-text`]: {
display: 'inline-block',
marginInlineStart: token.marginXS,
fontSize: token.fontSize
}
}), genRateRtlStyle(token))
};
};
// ============================== Export ==============================
/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => {
const rateToken = (0,statistic/* merge */.TS)(token, {});
return [genRateStyle(rateToken)];
}, token => ({
starColor: token.yellow6,
starSize: token.controlHeightLG * 0.5,
starHoverScale: 'scale(1.1)',
starBg: token.colorFillContent
})));
;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js
'use client';
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => {
const {
prefixCls,
className,
rootClassName,
style,
tooltips,
character = /*#__PURE__*/react.createElement(icons_StarFilled, null)
} = props,
rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]);
const characterRender = (node, _ref) => {
let {
index
} = _ref;
if (!tooltips) {
return node;
}
return /*#__PURE__*/react.createElement(tooltip/* default */.Z, {
title: tooltips[index]
}, node);
};
const {
getPrefixCls,
direction,
rate
} = react.useContext(context/* ConfigContext */.E_);
const ratePrefixCls = getPrefixCls('rate', prefixCls);
// Style
const [wrapSSR, hashId] = rate_style(ratePrefixCls);
const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style);
return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({
ref: ref,
character: character,
characterRender: characterRender
}, rest, {
className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className),
style: mergedStyle,
prefixCls: ratePrefixCls,
direction: direction
})));
});
if (false) {}
/* harmony default export */ var rate = (rate_Rate);
/***/ }),
/***/ 51904:
/*!*******************************************************!*\
!*** ./node_modules/antd/es/tag/index.js + 3 modules ***!

File diff suppressed because it is too large Load Diff

@ -211,6 +211,10 @@ var regex = /(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;
}, [videoId, courseId]);
(0,react.useEffect)(function () {
var _src3;
if (el.current) {
pauseIcon.current.style.display = 'none';
playIcon.current.style.display = 'block';
}
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) {

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[5131,47897,34399,88511],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[85332,47897,88511,70491],{
/***/ 82826:
/*!**********************************************************************************!*\
@ -1427,6 +1427,594 @@ const genWireframeStyle = token => {
/***/ }),
/***/ 59606:
/*!********************************************************!*\
!*** ./node_modules/antd/es/rate/index.js + 8 modules ***!
\********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ rate; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/StarFilled.js
// This icon file is generated automatically.
var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" };
/* harmony default export */ var asn_StarFilled = (StarFilled);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(74643);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/StarFilled.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var StarFilled_StarFilled = function StarFilled(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_StarFilled
}));
};
if (false) {}
/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled));
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// 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/@babel/runtime/helpers/esm/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(45987);
// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js
var useMergedState = __webpack_require__(21770);
// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js
var KeyCode = __webpack_require__(15105);
// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js
var pickAttrs = __webpack_require__(64217);
;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js
function Star(props, ref) {
var disabled = props.disabled,
prefixCls = props.prefixCls,
character = props.character,
characterRender = props.characterRender,
index = props.index,
count = props.count,
value = props.value,
allowHalf = props.allowHalf,
focused = props.focused,
onHover = props.onHover,
onClick = props.onClick;
// =========================== Events ===========================
var onInternalHover = function onInternalHover(e) {
onHover(e, index);
};
var onInternalClick = function onInternalClick(e) {
onClick(e, index);
};
var onInternalKeyDown = function onInternalKeyDown(e) {
if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) {
onClick(e, index);
}
};
// =========================== Render ===========================
// >>>>> ClassName
var starValue = index + 1;
var classNameList = new Set([prefixCls]);
// TODO: Current we just refactor from CC to FC. This logic seems can be optimized.
if (value === 0 && index === 0 && focused) {
classNameList.add("".concat(prefixCls, "-focused"));
} else if (allowHalf && value + 0.5 >= starValue && value < starValue) {
classNameList.add("".concat(prefixCls, "-half"));
classNameList.add("".concat(prefixCls, "-active"));
if (focused) {
classNameList.add("".concat(prefixCls, "-focused"));
}
} else {
if (starValue <= value) {
classNameList.add("".concat(prefixCls, "-full"));
} else {
classNameList.add("".concat(prefixCls, "-zero"));
}
if (starValue === value && focused) {
classNameList.add("".concat(prefixCls, "-focused"));
}
}
// >>>>> Node
var characterNode = typeof character === 'function' ? character(props) : character;
var start = /*#__PURE__*/react.createElement("li", {
className: classnames_default()(Array.from(classNameList)),
ref: ref
}, /*#__PURE__*/react.createElement("div", {
onClick: disabled ? null : onInternalClick,
onKeyDown: disabled ? null : onInternalKeyDown,
onMouseMove: disabled ? null : onInternalHover,
role: "radio",
"aria-checked": value > index ? 'true' : 'false',
"aria-posinset": index + 1,
"aria-setsize": count,
tabIndex: disabled ? -1 : 0
}, /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-first")
}, characterNode), /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-second")
}, characterNode)));
if (characterRender) {
start = characterRender(start, props);
}
return start;
}
/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star));
;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js
function useRefs() {
var nodeRef = react.useRef({});
function getRef(index) {
return nodeRef.current[index];
}
function setRef(index) {
return function (node) {
nodeRef.current[index] = node;
};
}
return [getRef, setRef];
}
;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js
function getScroll(w) {
var ret = w.pageXOffset;
var method = 'scrollLeft';
if (typeof ret !== 'number') {
var d = w.document;
// ie6,7,8 standard mode
ret = d.documentElement[method];
if (typeof ret !== 'number') {
// quirks mode
ret = d.body[method];
}
}
return ret;
}
function getClientPosition(elem) {
var x;
var y;
var doc = elem.ownerDocument;
var body = doc.body;
var docElem = doc && doc.documentElement;
var box = elem.getBoundingClientRect();
x = box.left;
y = box.top;
x -= docElem.clientLeft || body.clientLeft || 0;
y -= docElem.clientTop || body.clientTop || 0;
return {
left: x,
top: y
};
}
function getOffsetLeft(el) {
var pos = getClientPosition(el);
var doc = el.ownerDocument;
// Only IE use `parentWindow`
var w = doc.defaultView || doc.parentWindow;
pos.left += getScroll(w);
return pos.left;
}
;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js
var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"];
function Rate(props, ref) {
var _classNames;
var _props$prefixCls = props.prefixCls,
prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls,
className = props.className,
defaultValue = props.defaultValue,
propValue = props.value,
_props$count = props.count,
count = _props$count === void 0 ? 5 : _props$count,
_props$allowHalf = props.allowHalf,
allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf,
_props$allowClear = props.allowClear,
allowClear = _props$allowClear === void 0 ? true : _props$allowClear,
_props$character = props.character,
character = _props$character === void 0 ? '★' : _props$character,
characterRender = props.characterRender,
disabled = props.disabled,
_props$direction = props.direction,
direction = _props$direction === void 0 ? 'ltr' : _props$direction,
_props$tabIndex = props.tabIndex,
tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex,
autoFocus = props.autoFocus,
onHoverChange = props.onHoverChange,
onChange = props.onChange,
onFocus = props.onFocus,
onBlur = props.onBlur,
onKeyDown = props.onKeyDown,
onMouseLeave = props.onMouseLeave,
restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded);
var _useRefs = useRefs(),
_useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2),
getStarRef = _useRefs2[0],
setStarRef = _useRefs2[1];
var rateRef = react.useRef(null);
// ============================ Ref =============================
var triggerFocus = function triggerFocus() {
if (!disabled) {
var _rateRef$current;
(_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus();
}
};
react.useImperativeHandle(ref, function () {
return {
focus: triggerFocus,
blur: function blur() {
if (!disabled) {
var _rateRef$current2;
(_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur();
}
}
};
});
// =========================== Value ============================
var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, {
value: propValue
}),
_useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
value = _useMergedState2[0],
setValue = _useMergedState2[1];
var _useMergedState3 = (0,useMergedState/* default */.Z)(null),
_useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2),
cleanedValue = _useMergedState4[0],
setCleanedValue = _useMergedState4[1];
var getStarValue = function getStarValue(index, x) {
var reverse = direction === 'rtl';
var starValue = index + 1;
if (allowHalf) {
var starEle = getStarRef(index);
var leftDis = getOffsetLeft(starEle);
var width = starEle.clientWidth;
if (reverse && x - leftDis > width / 2) {
starValue -= 0.5;
} else if (!reverse && x - leftDis < width / 2) {
starValue -= 0.5;
}
}
return starValue;
};
// >>>>> Change
var changeValue = function changeValue(nextValue) {
setValue(nextValue);
onChange === null || onChange === void 0 ? void 0 : onChange(nextValue);
};
// =========================== Focus ============================
var _React$useState = react.useState(false),
_React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2),
focused = _React$useState2[0],
setFocused = _React$useState2[1];
var onInternalFocus = function onInternalFocus() {
setFocused(true);
onFocus === null || onFocus === void 0 ? void 0 : onFocus();
};
var onInternalBlur = function onInternalBlur() {
setFocused(false);
onBlur === null || onBlur === void 0 ? void 0 : onBlur();
};
// =========================== Hover ============================
var _React$useState3 = react.useState(null),
_React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2),
hoverValue = _React$useState4[0],
setHoverValue = _React$useState4[1];
var onHover = function onHover(event, index) {
var nextHoverValue = getStarValue(index, event.pageX);
if (nextHoverValue !== cleanedValue) {
setHoverValue(nextHoverValue);
setCleanedValue(null);
}
onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue);
};
var onMouseLeaveCallback = function onMouseLeaveCallback(event) {
if (!disabled) {
setHoverValue(null);
setCleanedValue(null);
onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined);
}
if (event) {
onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event);
}
};
// =========================== Click ============================
var onClick = function onClick(event, index) {
var newValue = getStarValue(index, event.pageX);
var isReset = false;
if (allowClear) {
isReset = newValue === value;
}
onMouseLeaveCallback();
changeValue(isReset ? 0 : newValue);
setCleanedValue(isReset ? newValue : null);
};
var onInternalKeyDown = function onInternalKeyDown(event) {
var keyCode = event.keyCode;
var reverse = direction === 'rtl';
var nextValue = value;
if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) {
if (allowHalf) {
nextValue += 0.5;
} else {
nextValue += 1;
}
changeValue(nextValue);
event.preventDefault();
} else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) {
if (allowHalf) {
nextValue -= 0.5;
} else {
nextValue -= 1;
}
changeValue(nextValue);
event.preventDefault();
} else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) {
if (allowHalf) {
nextValue -= 0.5;
} else {
nextValue -= 1;
}
changeValue(nextValue);
event.preventDefault();
} else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) {
if (allowHalf) {
nextValue += 0.5;
} else {
nextValue += 1;
}
changeValue(nextValue);
event.preventDefault();
}
onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event);
};
// =========================== Effect ===========================
react.useEffect(function () {
if (autoFocus && !disabled) {
triggerFocus();
}
}, []);
// =========================== Render ===========================
// >>> Star
var starNodes = new Array(count).fill(0).map(function (item, index) {
return /*#__PURE__*/react.createElement(es_Star, {
ref: setStarRef(index),
index: index,
count: count,
disabled: disabled,
prefixCls: "".concat(prefixCls, "-star"),
allowHalf: allowHalf,
value: hoverValue === null ? value : hoverValue,
onClick: onClick,
onHover: onHover,
key: item || index,
character: character,
characterRender: characterRender,
focused: focused
});
});
var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames));
// >>> Node
return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({
className: classString,
onMouseLeave: onMouseLeaveCallback,
tabIndex: disabled ? -1 : tabIndex,
onFocus: disabled ? null : onInternalFocus,
onBlur: disabled ? null : onInternalBlur,
onKeyDown: disabled ? null : onInternalKeyDown,
ref: rateRef,
role: "radiogroup"
}, (0,pickAttrs/* default */.Z)(restProps, {
aria: true,
data: true,
attr: true
})), starNodes);
}
/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate));
;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js
/* harmony default export */ var es = (es_Rate);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(83062);
// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js
var style = __webpack_require__(14747);
// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js
var genComponentStyleHook = __webpack_require__(67968);
// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js
var statistic = __webpack_require__(45503);
;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js
const genRateStarStyle = token => {
const {
componentCls
} = token;
return {
[`${componentCls}-star`]: {
position: 'relative',
display: 'inline-block',
color: 'inherit',
cursor: 'pointer',
'&:not(:last-child)': {
marginInlineEnd: token.marginXS
},
'> div': {
transition: `all ${token.motionDurationMid}, outline 0s`,
'&:hover': {
transform: token.starHoverScale
},
'&:focus': {
outline: 0
},
'&:focus-visible': {
outline: `${token.lineWidth}px dashed ${token.starColor}`,
transform: token.starHoverScale
}
},
'&-first, &-second': {
color: token.starBg,
transition: `all ${token.motionDurationMid}`,
userSelect: 'none',
[token.iconCls]: {
verticalAlign: 'middle'
}
},
'&-first': {
position: 'absolute',
top: 0,
insetInlineStart: 0,
width: '50%',
height: '100%',
overflow: 'hidden',
opacity: 0
},
[`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: {
opacity: 1
},
[`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: {
color: 'inherit'
}
}
};
};
const genRateRtlStyle = token => ({
[`&-rtl${token.componentCls}`]: {
direction: 'rtl'
}
});
const genRateStyle = token => {
const {
componentCls
} = token;
return {
[componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
display: 'inline-block',
margin: 0,
padding: 0,
color: token.starColor,
fontSize: token.starSize,
lineHeight: 'unset',
listStyle: 'none',
outline: 'none',
// disable styles
[`&-disabled${componentCls} ${componentCls}-star`]: {
cursor: 'default',
'> div:hover': {
transform: 'scale(1)'
}
}
}), genRateStarStyle(token)), {
// text styles
[`+ ${componentCls}-text`]: {
display: 'inline-block',
marginInlineStart: token.marginXS,
fontSize: token.fontSize
}
}), genRateRtlStyle(token))
};
};
// ============================== Export ==============================
/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => {
const rateToken = (0,statistic/* merge */.TS)(token, {});
return [genRateStyle(rateToken)];
}, token => ({
starColor: token.yellow6,
starSize: token.controlHeightLG * 0.5,
starHoverScale: 'scale(1.1)',
starBg: token.colorFillContent
})));
;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js
'use client';
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => {
const {
prefixCls,
className,
rootClassName,
style,
tooltips,
character = /*#__PURE__*/react.createElement(icons_StarFilled, null)
} = props,
rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]);
const characterRender = (node, _ref) => {
let {
index
} = _ref;
if (!tooltips) {
return node;
}
return /*#__PURE__*/react.createElement(tooltip/* default */.Z, {
title: tooltips[index]
}, node);
};
const {
getPrefixCls,
direction,
rate
} = react.useContext(context/* ConfigContext */.E_);
const ratePrefixCls = getPrefixCls('rate', prefixCls);
// Style
const [wrapSSR, hashId] = rate_style(ratePrefixCls);
const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style);
return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({
ref: ref,
character: character,
characterRender: characterRender
}, rest, {
className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className),
style: mergedStyle,
prefixCls: ratePrefixCls,
direction: direction
})));
});
if (false) {}
/* harmony default export */ var rate = (rate_Rate);
/***/ }),
/***/ 55054:
/*!*************************************************************!*\
!*** ./node_modules/antd/es/statistic/index.js + 5 modules ***!

@ -108,7 +108,6 @@ var RecordScreen = function RecordScreen(_ref) {
width: 444,
title: '提示',
keyboard: false,
className: 'edu-modal',
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: ["\u672C\u573A\u8003\u8BD5\u5DF2\u5F00\u542F\u9000\u51FA\u5168\u5C4F\u9650\u5236\uFF0C\u5207\u6362\u9875\u9762", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {

@ -761,7 +761,7 @@
bottom: 90px;
z-index: 10;
}
.wrap___GEY86 {
#educoder .wrap___GEY86 {
padding: 0px;
height: 59px;
line-height: 59px;
@ -777,7 +777,7 @@
.wrap___GEY86:last-child {
border: 0;
}
.backTop___skoyU {
#educoder .backTop___skoyU {
position: static;
height: 50px;
display: flex;

@ -3042,7 +3042,7 @@ var theme = {
colorPrimary: '#3061D0',
colorInfo: '#3061D0',
colorLink: '#3061D0',
borderRadius: 4,
borderRadius: 2,
fontSizeLG: 14
},
components: {

@ -736,7 +736,7 @@ var List = function List(_ref) {
className: "ml30 c-grey-999 mr20",
children: ["\u8003\u8BD5\u65F6\u957F\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-blue",
children: v.time === null || v.time === -1 ? '不限' : "".concat(v.time, "\u5206\u949F")
children: v.time === null || v.time === -1 ? '不限' : "".concat(v.time, "\u5206\u949F")
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml15 c-grey-999",

@ -932,6 +932,10 @@ var Add_EditAttendance = function EditAttendance(_ref) {
btnLoading = _useState12[0],
setBtnLoading = _useState12[1];
var saveList = (0,react.useRef)([]);
var _useState13 = (0,react.useState)(false),
_useState14 = slicedToArray_default()(_useState13, 2),
isLoading = _useState14[0],
setIsLoading = _useState14[1];
var courseGroups = classroomList.courseGroups;
(0,react.useEffect)(function () {
if (classroomList.actionTabs.key === '新增签到') {
@ -979,31 +983,62 @@ var Add_EditAttendance = function EditAttendance(_ref) {
return _ref2.apply(this, arguments);
};
}();
var onLoadMore = function onLoadMore(nextPage) {
if (!list.length && nextPage > 1) {
return;
}
setPage(nextPage);
getData(nextPage);
};
var handleInfiniteOnLoad = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var reload,
res,
_args2 = arguments;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
reload = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : false;
if (!(hasMore && !isLoading)) {
_context2.next = 9;
break;
}
setIsLoading(true);
setPage(reload ? 1 : page + 1);
_context2.next = 6;
return (0,classrooms/* getCourseGroups */.qB)(objectSpread2_default()(objectSpread2_default()({}, params), {}, {
page: page + 1,
limit: limit
}));
case 6:
res = _context2.sent;
if (res) {
setList([].concat(toConsumableArray_default()(list), toConsumableArray_default()(res === null || res === void 0 ? void 0 : res.course_groups)));
saveList.current = [].concat(toConsumableArray_default()(list), toConsumableArray_default()(res === null || res === void 0 ? void 0 : res.course_groups));
setCount(res === null || res === void 0 ? void 0 : res.group_count);
}
setIsLoading(false);
case 9:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return function handleInfiniteOnLoad() {
return _ref3.apply(this, arguments);
};
}();
var clear = function clear() {
document.body.removeAttribute('style');
setPage(1);
setList([]);
};
var handleOk = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
var formValue, _formValue$group_ids, group_ids, ids, res;
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.t0 = (objectSpread2_default());
_context2.t1 = {};
_context2.next = 4;
_context3.t0 = (objectSpread2_default());
_context3.t1 = {};
_context3.next = 4;
return form.validateFields();
case 4:
_context2.t2 = _context2.sent;
formValue = (0, _context2.t0)(_context2.t1, _context2.t2);
_context3.t2 = _context3.sent;
formValue = (0, _context3.t0)(_context3.t1, _context3.t2);
_formValue$group_ids = formValue.group_ids, group_ids = _formValue$group_ids === void 0 ? [] : _formValue$group_ids;
ids = list.filter(function (item) {
return group_ids.includes(item.name);
@ -1013,14 +1048,14 @@ var Add_EditAttendance = function EditAttendance(_ref) {
formValue.late_time = dayjs_min_default()(formValue.late_time).format('HH:mm');
formValue.attendance_date = dayjs_min_default()(formValue.attendance_date).format('YYYY-MM-DD');
if (!(formValue.end_time >= formValue.late_time)) {
_context2.next = 15;
_context3.next = 15;
break;
}
message/* default.warning */.ZP.warning('迟到时间不能早于或等于结束时间');
return _context2.abrupt("return");
return _context3.abrupt("return");
case 15:
setBtnLoading(true);
_context2.next = 18;
_context3.next = 18;
return (0,fetch/* default */.ZP)("/api/weapps/courses/".concat(params.id, "/attendances.json"), {
method: 'post',
body: objectSpread2_default()(objectSpread2_default()({}, formValue), {}, {
@ -1030,7 +1065,7 @@ var Add_EditAttendance = function EditAttendance(_ref) {
})
});
case 18:
res = _context2.sent;
res = _context3.sent;
if (res.status === 0) {
clear();
(0,util/* trackEvent */.L9)(['教学课堂', '签到', '创建签到']);
@ -1055,12 +1090,12 @@ var Add_EditAttendance = function EditAttendance(_ref) {
}
case 21:
case "end":
return _context2.stop();
return _context3.stop();
}
}, _callee2);
}, _callee3);
}));
return function handleOk() {
return _ref3.apply(this, arguments);
return _ref4.apply(this, arguments);
};
}();
var hasMore = count > page * limit;
@ -1130,7 +1165,9 @@ var Add_EditAttendance = function EditAttendance(_ref) {
initialLoad: false,
pageStart: 1,
threshold: 20,
loadMore: onLoadMore,
loadMore: function loadMore(page) {
handleInfiniteOnLoad();
},
hasMore: hasMore,
useWindow: false,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
@ -1265,8 +1302,8 @@ var Add_EditAttendance = function EditAttendance(_ref) {
})
});
};
/* harmony default export */ var Add = ((0,_umi_production_exports.connect)(function (_ref4) {
var classroomList = _ref4.classroomList;
/* harmony default export */ var Add = ((0,_umi_production_exports.connect)(function (_ref5) {
var classroomList = _ref5.classroomList;
return {
classroomList: classroomList
};

@ -980,9 +980,6 @@ var CourseList = function CourseList(_ref) {
className: CourseListmodules.sign,
src: sg_namespaceObject
}), featured === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: ''
}), featured === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: jg_namespaceObject
})]

@ -2313,6 +2313,8 @@ var generateBrief = function generateBrief(_ref2) {
studentNames = _ref2.studentNames,
studentCount = _ref2.studentCount,
inPaper = _ref2.inPaper,
_ref2$is_random = _ref2.is_random,
is_random = _ref2$is_random === void 0 ? false : _ref2$is_random,
_ref2$position = _ref2.position,
position = _ref2$position === void 0 ? '' : _ref2$position;
var copyStatusDescribe = function copyStatusDescribe() {
@ -2350,7 +2352,7 @@ var generateBrief = function generateBrief(_ref2) {
}), "\u5B66\u4E60\u8FC7", currentPosition, "\u4E2D\u7684", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: ReuseShixunModalmodules.orangeColor,
children: used
}), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"]
}), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9", is_random ? '' : '是否继续使用和', "\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"]
});
};
@ -2874,6 +2876,7 @@ var ReuseMultipleShixunModal = function ReuseMultipleShixunModal(props) {
canNotCopy: renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_num,
studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names,
studentCount: renderData === null || renderData === void 0 ? void 0 : renderData.student_count,
is_random: renderData === null || renderData === void 0 ? void 0 : renderData.is_random,
inPaper: inPaper,
position: position
});
@ -10311,7 +10314,7 @@ var ExerciseAdd = function ExerciseAdd(_ref) {
color: '#000000',
marginLeft: 8
},
children: (exercise === null || exercise === void 0 ? void 0 : (_exercise$editData8 = exercise.editData) === null || _exercise$editData8 === void 0 ? void 0 : (_exercise$editData8$e = _exercise$editData8.exercise) === null || _exercise$editData8$e === void 0 ? void 0 : _exercise$editData8$e.time) || '不限'
children: (exercise === null || exercise === void 0 ? void 0 : (_exercise$editData8 = exercise.editData) === null || _exercise$editData8 === void 0 ? void 0 : (_exercise$editData8$e = _exercise$editData8.exercise) === null || _exercise$editData8$e === void 0 ? void 0 : _exercise$editData8$e.time) || '不限'
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {

@ -4831,7 +4831,6 @@ var Answer = function Answer(_ref) {
width: 500,
centered: true,
icon: null,
className: 'edu-modal',
title: "提示",
content: "老师已设置本试卷在交卷后不可查看",
onOk: function onOk() {
@ -4940,7 +4939,6 @@ var Answer = function Answer(_ref) {
cancelText: '取消',
title: '提示',
icon: null,
className: 'edu-modal',
keyboard: false,
onOk: function onOk() {
_umi_production_exports.history.replace("/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/detail"));
@ -4965,7 +4963,6 @@ var Answer = function Answer(_ref) {
cancelText: '取消',
title: '提示',
icon: null,
className: 'edu-modal',
keyboard: false,
onOk: toSkipUrl,
onCancel: function onCancel() {
@ -5202,7 +5199,6 @@ var Answer = function Answer(_ref) {
width: 530,
title: '提示',
icon: null,
className: 'edu-modal',
centered: true,
okText: '确定',
cancelText: '取消',
@ -5215,7 +5211,6 @@ var Answer = function Answer(_ref) {
width: 530,
title: '提示',
icon: null,
className: 'edu-modal',
centered: true,
okText: '确定',
cancelText: '取消',
@ -5313,7 +5308,6 @@ var Answer = function Answer(_ref) {
width: 530,
title: '提示',
centered: true,
className: 'edu-modal',
okText: '确定',
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: ["\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"]
@ -5393,7 +5387,6 @@ var Answer = function Answer(_ref) {
centered: true,
title: '提示',
icon: null,
className: 'edu-modal',
okText: '确定',
cancelText: '取消',
content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@ -5458,7 +5451,6 @@ var Answer = function Answer(_ref) {
centered: true,
title: '提示',
icon: null,
className: 'edu-modal',
okText: '确定',
cancelText: '取消',
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -5485,7 +5477,6 @@ var Answer = function Answer(_ref) {
width: 530,
title: '提示',
icon: null,
className: 'edu-modal',
centered: true,
okText: '确定',
content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@ -5712,12 +5703,12 @@ var Answer = function Answer(_ref) {
if (res.oj_undo > 0 || res.shixun_undo > 0) {
renderArr = [{
type: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_2 = answerData.exercise_question_types) === null || _answerData$exercise_2 === void 0 ? void 0 : (_answerData$exercise_3 = _answerData$exercise_2.find(function (item) {
return (item === null || item === void 0 ? void 0 : item.question_type) == 6;
return item.question_type == 6;
})) === null || _answerData$exercise_3 === void 0 ? void 0 : _answerData$exercise_3.name) || '编程题',
num: res.oj_undo
}, {
type: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_4 = answerData.exercise_question_types) === null || _answerData$exercise_4 === void 0 ? void 0 : (_answerData$exercise_5 = _answerData$exercise_4.find(function (item) {
return (item === null || item === void 0 ? void 0 : item.question_type) == 5;
return item.question_type == 5;
})) === null || _answerData$exercise_5 === void 0 ? void 0 : _answerData$exercise_5.name) || '实训题',
num: res.shixun_undo
}];
@ -5741,7 +5732,6 @@ var Answer = function Answer(_ref) {
title: '提示',
icon: null,
closable: true,
className: 'edu-modal',
centered: true,
okText: isSave ? '知道了' : '确认交卷',
cancelText: '取消',
@ -5782,7 +5772,6 @@ var Answer = function Answer(_ref) {
title: '提示',
icon: null,
centered: true,
className: 'edu-modal',
okText: isSave ? '知道了' : '确认交卷',
cancelText: '取消',
content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@ -5903,7 +5892,7 @@ var Answer = function Answer(_ref) {
es_modal/* default.info */.Z.info({
centered: true,
title: "交卷成功",
className: "".concat(Answermodules.commitModal, " edu-modal"),
className: "".concat(Answermodules.commitModal),
width: 520,
icon: null,
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -7259,7 +7248,6 @@ var Answer = function Answer(_ref) {
open: isShowmodal,
closable: false,
footer: false,
className: "edu-modal",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", {
style: {
@ -7796,7 +7784,6 @@ var useRemindModal = function useRemindModal(answerData) {
content: "".concat(eventItem === null || eventItem === void 0 ? void 0 : eventItem.reminder_content),
icon: null,
title: '提示',
className: 'edu-modal',
centered: true,
okText: "知道了"
});

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -5092,6 +5092,7 @@ var Fill = function Fill(_ref) {
}
}, [changeScoreData === null || changeScoreData === void 0 ? void 0 : changeScoreData[item === null || item === void 0 ? void 0 : item.q_position]]);
(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {
console.log("item=====", item, answerData, changeScoreData, "#37AD83;");
var data = [];
var _loop = function _loop(i) {
var _item$user_answer;
@ -5114,11 +5115,17 @@ var Fill = function Fill(_ref) {
className: "font14 c-light-primary mb5",
children: "\u5B66\u751F\u7B54\u9898"
}), userAnswer === null || userAnswer === void 0 ? void 0 : userAnswer.map(function (answer, index) {
var _item$standard_answer, _item$standard_answer2, _item$standard_answer3;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", {
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("span", {
children: ["\u7B54\u6848(\u586B\u7A7A", index + 1, "):"]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
children: item.question_type == 3 ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("span", {
style: {
color: (item === null || item === void 0 ? void 0 : (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : (_item$standard_answer2 = _item$standard_answer[index]) === null || _item$standard_answer2 === void 0 ? void 0 : (_item$standard_answer3 = _item$standard_answer2.answer_text) === null || _item$standard_answer3 === void 0 ? void 0 : _item$standard_answer3[0]) == (answer === null || answer === void 0 ? void 0 : answer.answer_text) ? "#37AD83" : "#E30000"
},
children: answer === null || answer === void 0 ? void 0 : answer.answer_text
}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
value: answer === null || answer === void 0 ? void 0 : answer.answer_text
})
})]

@ -3079,7 +3079,7 @@ var Answer = function Answer(_ref) {
type: "globalSetting/headerFooterToggle",
payload: false
});
if ((0,authority/* isAdmin */.GJ)() || (0,authority/* isCommonAdminOrCreator */.EO)()) {
if (((0,authority/* isAdmin */.GJ)() || (0,authority/* isCommonAdminOrCreator */.EO)()) && params.categoryId && user.userInfo.login) {
initData();
}
window.addEventListener('message', handleMessage);

@ -307,6 +307,7 @@
}
.answerWrap___CETMI {
margin-bottom: 40px;
width: 100%;
}
.answerSubjective____A1OC {
width: 100%;

@ -3145,9 +3145,6 @@ var CourseList = function CourseList(_ref) {
className: CourseListmodules.sign,
src: sg_namespaceObject
}), featured === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: ''
}), featured === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: jg_namespaceObject
})]
@ -5020,6 +5017,7 @@ var Fill = function Fill(_ref) {
}
}, [changeScoreData === null || changeScoreData === void 0 ? void 0 : changeScoreData[item === null || item === void 0 ? void 0 : item.q_position]]);
(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {
console.log("item=====", item, answerData, changeScoreData, "#37AD83;");
var data = [];
var _loop = function _loop(i) {
var _item$user_answer;
@ -5042,11 +5040,17 @@ var Fill = function Fill(_ref) {
className: "font14 c-light-primary mb5",
children: "\u5B66\u751F\u7B54\u9898"
}), userAnswer === null || userAnswer === void 0 ? void 0 : userAnswer.map(function (answer, index) {
var _item$standard_answer, _item$standard_answer2, _item$standard_answer3;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", {
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("span", {
children: ["\u7B54\u6848(\u586B\u7A7A", index + 1, "):"]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
children: item.question_type == 3 ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("span", {
style: {
color: (item === null || item === void 0 ? void 0 : (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : (_item$standard_answer2 = _item$standard_answer[index]) === null || _item$standard_answer2 === void 0 ? void 0 : (_item$standard_answer3 = _item$standard_answer2.answer_text) === null || _item$standard_answer3 === void 0 ? void 0 : _item$standard_answer3[0]) == (answer === null || answer === void 0 ? void 0 : answer.answer_text) ? "#37AD83" : "#E30000"
},
children: answer === null || answer === void 0 ? void 0 : answer.answer_text
}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
value: answer === null || answer === void 0 ? void 0 : answer.answer_text
})
})]
@ -5799,7 +5803,7 @@ var Shixun = function Shixun(_ref) {
setVisible = _useState6[1];
var exerciseId = answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.id;
(0,react.useEffect)(function () {
var _item$shixun_details, _challenge$, _challenge$$challenge;
var _item$shixun_details, _challenge$, _challenge$$challenge, _challenge$$challenge2;
if (!(item !== null && item !== void 0 && (_item$shixun_details = item.shixun_details) !== null && _item$shixun_details !== void 0 && _item$shixun_details.length)) {
return;
}
@ -5822,7 +5826,7 @@ var Shixun = function Shixun(_ref) {
}
setChallengeData(challenge);
setData([].concat(shixun));
setSelectedCode(challenge === null || challenge === void 0 ? void 0 : (_challenge$ = challenge[0]) === null || _challenge$ === void 0 ? void 0 : (_challenge$$challenge = _challenge$.challenge_paths) === null || _challenge$$challenge === void 0 ? void 0 : _challenge$$challenge[0].latest_code);
setSelectedCode(challenge === null || challenge === void 0 ? void 0 : (_challenge$ = challenge[0]) === null || _challenge$ === void 0 ? void 0 : (_challenge$$challenge = _challenge$.challenge_paths) === null || _challenge$$challenge === void 0 ? void 0 : (_challenge$$challenge2 = _challenge$$challenge[0]) === null || _challenge$$challenge2 === void 0 ? void 0 : _challenge$$challenge2.latest_code);
return function () {
data = [];
challengeData = [];

@ -2248,7 +2248,7 @@ var List = function List(_ref) {
if (diff3 > 0 && v !== null && v !== void 0 && v.is_random) {
modalText();
} else {
(0,util/* openNewWindow */.xg)("/classrooms/".concat(params.coursesId, "/exercise/").concat(v.id, "/random/edit?random=").concat(v.is_random));
(0,util/* openNewWindow */.xg)("/classrooms/".concat(params.coursesId, "/exercise/").concat(v.id, "/random/edit?type=settings"));
}
},
children: "\u7F16\u8F91\u8003\u8BD5"
@ -2398,7 +2398,7 @@ var List = function List(_ref) {
children: ["\u521B\u5EFA\u65F6\u95F4\uFF1A", dayjs_min_default()(v.created_at).format('YYYY-MM-DD HH:mm:ss')]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml30 c-grey-666",
children: ["\u7B54\u9898\u65F6\u957F\uFF1A", v.time === null ? '不限' : "".concat(v.time, "\u5206\u949F")]
children: ["\u7B54\u9898\u65F6\u957F\uFF1A", v.time === null ? '不限' : "".concat(v.time, "\u5206\u949F")]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml30 c-grey-666",
children: ["\u7C7B\u578B\uFF1A", v.is_random ? '随机组卷' : '人工组卷']
@ -2449,7 +2449,7 @@ var List = function List(_ref) {
children: v.author
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml30 c-grey-999 mr20",
children: ["\u7B54\u9898\u65F6\u957F\uFF1A", v.time === null ? '不限' : "".concat(v.time, "\u5206\u949F")]
children: ["\u7B54\u9898\u65F6\u957F\uFF1A", v.time === null ? '不限' : "".concat(v.time, "\u5206\u949F")]
}), !!(v !== null && v !== void 0 && v.exercise_left_time) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml15 c-grey-999",
children: ["\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A", v === null || v === void 0 ? void 0 : v.exercise_left_time]

@ -331,7 +331,7 @@ var NewCoursePage = function NewCoursePage(_ref) {
offsetHeight = (_document3 = document) === null || _document3 === void 0 ? void 0 : (_document3$querySelec = _document3.querySelector(idName)) === null || _document3$querySelec === void 0 ? void 0 : _document3$querySelec.clientHeight;
if (scrollHeight == offsetTop + offsetHeight && hasMore) {
memberSearchParams.page++;
setMemberSearchParams(memberSearchParams);
setMemberSearchParams(objectSpread2_default()({}, memberSearchParams));
}
case 4:
case "end":
@ -419,7 +419,7 @@ var NewCoursePage = function NewCoursePage(_ref) {
memberSearchParams.search = value;
}
memberSearchParams.page = 1;
setMemberSearchParams(memberSearchParams);
setMemberSearchParams(objectSpread2_default()({}, memberSearchParams));
setSearchMemberList([]);
setHasmore(true);
},

@ -6647,9 +6647,10 @@ var SendToClassModal = function SendToClassModal(_ref) {
className: "font14",
onClick: function onClick() {
return handleExpand(item.key);
},
}
// style={{ width:760, flexWrap:"nowrap", whiteSpace:"nowrap" }}
,
style: {
width: 760,
flexWrap: "nowrap",
whiteSpace: "nowrap"
},

@ -1010,6 +1010,8 @@ var generateBrief = function generateBrief(_ref2) {
studentNames = _ref2.studentNames,
studentCount = _ref2.studentCount,
inPaper = _ref2.inPaper,
_ref2$is_random = _ref2.is_random,
is_random = _ref2$is_random === void 0 ? false : _ref2$is_random,
_ref2$position = _ref2.position,
position = _ref2$position === void 0 ? '' : _ref2$position;
var copyStatusDescribe = function copyStatusDescribe() {
@ -1047,7 +1049,7 @@ var generateBrief = function generateBrief(_ref2) {
}), "\u5B66\u4E60\u8FC7", currentPosition, "\u4E2D\u7684", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: ReuseShixunModalmodules.orangeColor,
children: used
}), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"]
}), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9", is_random ? '' : '是否继续使用和', "\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"]
});
};
@ -1571,6 +1573,7 @@ var ReuseMultipleShixunModal = function ReuseMultipleShixunModal(props) {
canNotCopy: renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_num,
studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names,
studentCount: renderData === null || renderData === void 0 ? void 0 : renderData.student_count,
is_random: renderData === null || renderData === void 0 ? void 0 : renderData.is_random,
inPaper: inPaper,
position: position
});
@ -3105,39 +3108,40 @@ var SelectShixun_PublishShixun = function PublishShixun(_ref) {
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
setData([]);
setIsLoading(true);
querys = objectSpread2_default()({}, query);
if (query.sort === 'recommend') querys.sort = 'myshixuns_count';
if (!(query.sort === 'recommend')) {
_context.next = 8;
_context.next = 9;
break;
}
_context.next = 6;
_context.next = 7;
return dispatch({
type: 'classroomList/getShixunAiRecommendLists',
payload: objectSpread2_default()(objectSpread2_default()({}, querys), {}, {
course_id: params.coursesId
})
});
case 6:
_context.next = 11;
case 7:
_context.next = 12;
break;
case 8:
case 9:
re = objectSpread2_default()({}, querys);
_context.next = 11;
_context.next = 12;
return dispatch({
type: 'classroomList/getShixunLists',
payload: re
});
case 11:
_context.next = 13;
case 12:
_context.next = 14;
return (0,fetch/* default */.ZP)("/api/users/user_setting_groups.json", {
method: 'get',
params: {
type: 'Shixun'
}
});
case 13:
case 14:
result = _context.sent;
setGroupsData([{
id: null,
@ -3148,7 +3152,7 @@ var SelectShixun_PublishShixun = function PublishShixun(_ref) {
}].concat(toConsumableArray_default()((result === null || result === void 0 ? void 0 : result.groups) || [])));
setSelectArrs([]);
setIsLoading(false);
case 17:
case 18:
case "end":
return _context.stop();
}
@ -3647,14 +3651,14 @@ var SelectShixun_PublishShixun = function PublishShixun(_ref) {
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: v === null || v === void 0 ? void 0 : v.author_name
__html: v === null || v === void 0 ? void 0 : v.member_user_names
}
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: SelectShixunmodules.authorname,
dangerouslySetInnerHTML: {
__html: v === null || v === void 0 ? void 0 : v.author_name
__html: v === null || v === void 0 ? void 0 : v.member_user_names
}
})
}), v.author_school_name && /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, {
@ -4693,6 +4697,7 @@ var SelectCourses_PublishShixun = function PublishShixun(_ref) {
})]
})
}), (coursesLists === null || coursesLists === void 0 ? void 0 : (_coursesLists$subject = coursesLists.subject_list) === null || _coursesLists$subject === void 0 ? void 0 : _coursesLists$subject.length) === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {}), coursesLists === null || coursesLists === void 0 ? void 0 : (_coursesLists$subject2 = coursesLists.subject_list) === null || _coursesLists$subject2 === void 0 ? void 0 : _coursesLists$subject2.map(function (v, k) {
var _v$content, _v$content2, _v$content3, _v$content4, _v$content5, _v$content6;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SelectShixunmodules.listItem,
style: {
@ -4767,23 +4772,54 @@ var SelectCourses_PublishShixun = function PublishShixun(_ref) {
justifyContent: 'space-between'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
children: [v !== null && v !== void 0 && (_v$content = v.content) !== null && _v$content !== void 0 && _v$content.member_user_names ? /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
overlayClassName: SelectShixunmodules["tooltip-content"],
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: v === null || v === void 0 ? void 0 : (_v$content2 = v.content) === null || _v$content2 === void 0 ? void 0 : _v$content2.member_user_names
}
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: SelectShixunmodules.authorname,
dangerouslySetInnerHTML: {
__html: v === null || v === void 0 ? void 0 : (_v$content3 = v.content) === null || _v$content3 === void 0 ? void 0 : _v$content3.member_user_names
}
})
}) : (v === null || v === void 0 ? void 0 : v.member_user_names) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: v.member_user_names
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: SelectShixunmodules.authorname,
children: v.member_user_names
})
}), v !== null && v !== void 0 && (_v$content4 = v.content) !== null && _v$content4 !== void 0 && _v$content4.author_school_name ? /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
overlayClassName: SelectShixunmodules["tooltip-content"],
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: v === null || v === void 0 ? void 0 : v.author_name
__html: v === null || v === void 0 ? void 0 : (_v$content5 = v.content) === null || _v$content5 === void 0 ? void 0 : _v$content5.author_school_name
}
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: SelectShixunmodules.authorname,
dangerouslySetInnerHTML: {
__html: v === null || v === void 0 ? void 0 : v.author_name
__html: v === null || v === void 0 ? void 0 : (_v$content6 = v.content) === null || _v$content6 === void 0 ? void 0 : _v$content6.author_school_name
}
})
}), v.author_school_name && /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, {
}) : (v === null || v === void 0 ? void 0 : v.author_school_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: v.author_school_name
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: SelectShixunmodules.authorname,
children: v.author_school_name
})
})]

@ -383,7 +383,7 @@ div[class~="ant-modal-confirm-content"] {
}
#educoder .info___gY955 span[class~='highlight'],
#educoder .tooltip-content___A6uPo span[class~='highlight'] {
color: #E99237;
color: #fb3226;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\

@ -615,9 +615,9 @@ var jsx_runtime = __webpack_require__(85893);
/***/ }),
/***/ 54148:
/***/ 94954:
/*!*******************************************************************!*\
!*** ./src/pages/Classrooms/Lists/Students/index.tsx + 5 modules ***!
!*** ./src/pages/Classrooms/Lists/Students/index.tsx + 4 modules ***!
\*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -1742,61 +1742,8 @@ var StudentMemberTable = function StudentMemberTable(_ref) {
classroomList: classroomList
};
})(StudentMemberTable));
;// CONCATENATED MODULE: ./src/utils/hooks/useCustomRequest.ts
//常见的请求模式包含loading和改变params。
function useCustomRequest(request, baseParams) {
var _useState = (0,react.useState)(baseParams),
_useState2 = slicedToArray_default()(_useState, 2),
params = _useState2[0],
setParams = _useState2[1];
var _useState3 = (0,react.useState)(false),
_useState4 = slicedToArray_default()(_useState3, 2),
loading = _useState4[0],
setLoading = _useState4[1];
var _useState5 = (0,react.useState)(),
_useState6 = slicedToArray_default()(_useState5, 2),
data = _useState6[0],
setData = _useState6[1];
var getData = /*#__PURE__*/function () {
var _ref = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(newParams) {
var reset,
mergedParams,
res,
_args = arguments;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
reset = _args.length > 1 && _args[1] !== undefined ? _args[1] : false;
mergedParams = reset ? baseParams : objectSpread2_default()(objectSpread2_default()({}, params), newParams);
setLoading(true);
setParams(mergedParams);
_context.next = 6;
return request(mergedParams);
case 6:
res = _context.sent;
setLoading(false);
setData(res);
return _context.abrupt("return", res);
case 10:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getData(_x) {
return _ref.apply(this, arguments);
};
}();
return [params, loading, getData, data];
}
// EXTERNAL MODULE: ./src/utils/hooks/useCustomRequest.ts
var useCustomRequest = __webpack_require__(83018);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(29427);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Students/components/Approved/index.tsx
@ -1916,7 +1863,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
return _ref3.apply(this, arguments);
};
}();
var _useCustomRequest = useCustomRequest(getMemberData, {
var _useCustomRequest = (0,useCustomRequest/* useCustomRequest */.U)(getMemberData, {
page: 1,
limit: 20
}),
@ -1925,7 +1872,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
isLoading = _useCustomRequest2[1],
getData = _useCustomRequest2[2],
d = _useCustomRequest2[3];
var _useCustomRequest3 = useCustomRequest(getStudentData, {
var _useCustomRequest3 = (0,useCustomRequest/* useCustomRequest */.U)(getStudentData, {
page: 1,
limit: 20
}),
@ -2433,6 +2380,82 @@ var EditAttendance = function EditAttendance(_ref) {
};
})(EditAttendance));
/***/ }),
/***/ 83018:
/*!*********************************************!*\
!*** ./src/utils/hooks/useCustomRequest.ts ***!
\*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "U": function() { return /* binding */ useCustomRequest; }
/* harmony export */ });
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 67294);
//常见的请求模式包含loading和改变params。
function useCustomRequest(request, baseParams) {
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(baseParams),
_useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2),
params = _useState2[0],
setParams = _useState2[1];
var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false),
_useState4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState3, 2),
loading = _useState4[0],
setLoading = _useState4[1];
var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(),
_useState6 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState5, 2),
data = _useState6[0],
setData = _useState6[1];
var getData = /*#__PURE__*/function () {
var _ref = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(newParams) {
var reset,
mergedParams,
res,
_args = arguments;
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
reset = _args.length > 1 && _args[1] !== undefined ? _args[1] : false;
mergedParams = reset ? baseParams : _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params), newParams);
setLoading(true);
setParams(mergedParams);
_context.next = 6;
return request(mergedParams);
case 6:
res = _context.sent;
setLoading(false);
setData(res);
return _context.abrupt("return", res);
case 10:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getData(_x) {
return _ref.apply(this, arguments);
};
}();
return [params, loading, getData, data];
}
/***/ }),
/***/ 81643:

@ -334,6 +334,10 @@ var regex = /(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;
}, [videoId, courseId]);
(0,react.useEffect)(function () {
var _src3;
if (el.current) {
pauseIcon.current.style.display = 'none';
playIcon.current.style.display = 'block';
}
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) {

@ -1158,6 +1158,8 @@ var generateBrief = function generateBrief(_ref2) {
studentNames = _ref2.studentNames,
studentCount = _ref2.studentCount,
inPaper = _ref2.inPaper,
_ref2$is_random = _ref2.is_random,
is_random = _ref2$is_random === void 0 ? false : _ref2$is_random,
_ref2$position = _ref2.position,
position = _ref2$position === void 0 ? '' : _ref2$position;
var copyStatusDescribe = function copyStatusDescribe() {
@ -1195,7 +1197,7 @@ var generateBrief = function generateBrief(_ref2) {
}), "\u5B66\u4E60\u8FC7", currentPosition, "\u4E2D\u7684", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: ReuseShixunModalmodules.orangeColor,
children: used
}), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"]
}), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9", is_random ? '' : '是否继续使用和', "\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"]
});
};
@ -1719,6 +1721,7 @@ var ReuseMultipleShixunModal = function ReuseMultipleShixunModal(props) {
canNotCopy: renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_num,
studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names,
studentCount: renderData === null || renderData === void 0 ? void 0 : renderData.student_count,
is_random: renderData === null || renderData === void 0 ? void 0 : renderData.is_random,
inPaper: inPaper,
position: position
});
@ -3966,9 +3969,6 @@ var CourseList = function CourseList(_ref) {
className: CourseListmodules.sign,
src: sg_namespaceObject
}), featured === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: ''
}), featured === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: jg_namespaceObject
})]

@ -3389,9 +3389,6 @@ var CourseList = function CourseList(_ref) {
className: CourseListmodules.sign,
src: sg_namespaceObject
}), featured === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: ''
}), featured === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: jg_namespaceObject
})]

@ -1861,9 +1861,6 @@ var CourseList = function CourseList(_ref) {
className: CourseListmodules.sign,
src: sg_namespaceObject
}), featured === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: ''
}), featured === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: jg_namespaceObject
})]

@ -1765,9 +1765,6 @@ var CourseList = function CourseList(_ref) {
className: CourseListmodules.sign,
src: sg_namespaceObject
}), featured === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: ''
}), featured === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: jg_namespaceObject
})]

@ -1017,6 +1017,7 @@ function getCommitOut(debugResult) {
children: "\u8C03\u8BD5\u4EE3\u7801"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
className: "custom-ant-disabled",
loading: submitting,
disabled: submitting,
onClick: function onClick() {

@ -263,6 +263,9 @@ ul.s-navs a.active {
color: #5091ff;
border-bottom: 2px solid #5091ff;
}
#educoder .custom-ant-disabled:disabled {
color: inherit;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/Spinner/index.less?modules ***!

@ -3597,6 +3597,7 @@ function getCommitOut(debugResult) {
children: "\u8C03\u8BD5\u4EE3\u7801"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
className: "custom-ant-disabled",
loading: submitting,
disabled: submitting,
onClick: function onClick() {
@ -3636,6 +3637,9 @@ __webpack_require__.d(__webpack_exports__, {
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(70215);
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js
var defineProperty = __webpack_require__(38416);
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(17061);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
@ -5340,6 +5344,7 @@ var title = __webpack_require__(38508);
var _excluded = ["input", "showNote", "onShowNote", "notes", "onCancelNote", "onAddNote", "debugResult", "language", "debuging", "submitting", "executingMessage", "code", "onSubmitCode", "onDebugCode", "onChangeCode", "onChangeInput", "onUpdateCode", "user", "isLoading"];
@ -5837,11 +5842,13 @@ function MyProblem_reducer(state, action) {
_context10.next = 12;
break;
}
modal/* default.error */.Z.error({
modal/* default.error */.Z.error(defineProperty_default()({
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u9519\u8BEF"
}),
centered: true,
okText: '知道啦',
content: '评测代码超时'
});
okText: '知道啦'
}, "title", '评测代码超时'));
dispatch({
type: MyProblem_Types.SET_SUBMITING,
payload: false
@ -5853,11 +5860,13 @@ function MyProblem_reducer(state, action) {
break;
}
if (data.status === 2) {
modal/* default.error */.Z.error({
modal/* default.error */.Z.error(defineProperty_default()({
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u9519\u8BEF"
}),
centered: true,
okText: '知道啦',
content: '评测代码超时'
});
okText: '知道啦'
}, "title", '评测代码超时'));
}
if ((data === null || data === void 0 ? void 0 : data.status) === 0 && searchParams.get("type") === '1') {
setPassModalData(true);
@ -6471,7 +6480,6 @@ function MyProblem_reducer(state, action) {
okText: '确定',
cancelText: '取消',
icon: null,
className: 'edu-modal',
title: '提示',
content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u8BF7\u786E\u8BA4\u4F60\u7684\u7B54\u9898\u5185\u5BB9\u5DF2\u7ECF\u63D0\u4EA4\uFF1F"
@ -7204,7 +7212,6 @@ var useRemindModal = function useRemindModal(answerData) {
content: "".concat(eventItem === null || eventItem === void 0 ? void 0 : eventItem.reminder_content),
icon: null,
title: '提示',
className: 'edu-modal',
centered: true,
okText: "知道了"
});

@ -567,6 +567,9 @@ ul.s-navs a.active {
color: #5091ff;
border-bottom: 2px solid #5091ff;
}
#educoder .custom-ant-disabled:disabled {
color: inherit;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/Spinner/index.less?modules ***!

@ -7405,12 +7405,23 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) {
title: '创建者',
dataIndex: 'author_name',
key: 'author_name',
hidden: !isshixun
hidden: !isshixun,
render: function render(value, record, index) {
var _value$split;
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: value ? value === null || value === void 0 ? void 0 : (_value$split = value.split('、')) === null || _value$split === void 0 ? void 0 : _value$split[0] : '- -'
});
}
}, {
title: '所属单位',
dataIndex: 'author_school_name',
key: 'author_school_name',
hidden: !isshixun
hidden: !isshixun,
render: function render(value, record, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: value || '- -'
});
}
}, {
title: '难度',
dataIndex: 'difficulty',

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -62,8 +62,8 @@ var _umi_production_exports = __webpack_require__(89214);
;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Detail/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Detailmodules = ({"randomIcon":"randomIcon___V1A1W"});
// EXTERNAL MODULE: ./src/pages/Paperlibrary/components/SendToClassModal.tsx + 5 modules
var SendToClassModal = __webpack_require__(79086);
// EXTERNAL MODULE: ./src/pages/Paperlibrary/components/SendToClassModal.tsx + 6 modules
var SendToClassModal = __webpack_require__(61990);
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(85893);
;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Detail/index.tsx
@ -91,7 +91,8 @@ var questionType = {
COMPLETION: "填空题",
SUBJECTIVE: "简答题",
PRACTICAL: "实训题",
PROGRAM: "编程题"
PROGRAM: "编程题",
COMBINATION: "组合题"
};
var difficultType = {
1: "简单",
@ -118,14 +119,16 @@ var RandomPaperDetail = /*#__PURE__*/function (_React$Component) {
_this.setState({
loading: false
});
if (res) {
if (res !== null && res !== void 0 && res.examination_bank) {
var contents = res.contents,
examination_bank = res.examination_bank,
score_settings = res.score_settings;
score_settings = res.score_settings,
sort_by_item_type = res.sort_by_item_type;
_this.setState({
contents: contents,
examination_bank: examination_bank,
score_settings: score_settings
score_settings: score_settings,
sort_by_item_type: sort_by_item_type
});
}
});
@ -150,6 +153,7 @@ var RandomPaperDetail = /*#__PURE__*/function (_React$Component) {
contents: [],
examination_bank: {},
score_settings: [],
sort_by_item_type: [],
modalVisible: false,
id: null
};
@ -168,6 +172,7 @@ var RandomPaperDetail = /*#__PURE__*/function (_React$Component) {
contents = _this$state2.contents,
examination_bank = _this$state2.examination_bank,
score_settings = _this$state2.score_settings,
sort_by_item_type = _this$state2.sort_by_item_type,
loading = _this$state2.loading;
var count = []; //记录有哪些题型,数量
var totalScore = 0; //总分
@ -199,6 +204,16 @@ var RandomPaperDetail = /*#__PURE__*/function (_React$Component) {
}
});
});
console.log(allcount, sort_by_item_type, 'allcount');
// 将 item_type 转换为对应的中文题型
function getItemTypeName(itemType) {
return questionType[itemType] || itemType;
}
allcount.sort(function (a, b) {
var itemTypeA = getItemTypeName(a.item_type);
var itemTypeB = getItemTypeName(b.item_type);
return sort_by_item_type.indexOf(itemTypeA) - sort_by_item_type.indexOf(itemTypeB);
});
var CardTitle = /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: "flex",
@ -214,9 +229,9 @@ var RandomPaperDetail = /*#__PURE__*/function (_React$Component) {
fontSize: '16px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u603B\u8BA1 ", allcount.length, " \u5927\u9898\uFF0C ", totalCount, " \u5C0F\u9898\uFF0C\u603B\u5206 ", totalScore, " ", "\u5206"]
children: ["\u603B\u8BA1 ", allcount.length, " \u5927\u9898\uFF0C ", totalCount, " \u5C0F\u9898\uFF0C\u603B\u5206 ", totalScore && totalScore.toFixed(1), " ", "\u5206"]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u8003\u8BD5\u65F6\u957F\uFF1A ", examination_bank.time, " \u5206\u949F"]
children: ["\u8003\u8BD5\u65F6\u957F\uFF1A", examination_bank.time === null || examination_bank.time === -1 ? '不限' : "".concat(examination_bank.time, "\u5206\u949F")]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u8BD5\u5377\u96BE\u5EA6\uFF1A", difficultType[examination_bank.difficulty]]
})]
@ -305,47 +320,8 @@ var RandomPaperDetail = /*#__PURE__*/function (_React$Component) {
},
children: ["(\u5171 ", item.num, " \u9898\uFF0C\u6BCF\u9898 ", item.score, " \u5206)"]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: subIds.map(function (id) {
//contentArr 当前大题、当前二级目录 所有的难度
var contentArr = contents.filter(function (content) {
return content.sub_discipline_id === id && item.item_type === content.item_type;
});
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginTop: 20,
display: "flex"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
width: "30%",
fontWeight: "600"
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "".concat(contentArr[0].discipline_name, " /\n ").concat(contentArr[0].sub_discipline_name)
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: Object.keys(difficultType).map(function (difficulty) {
var dnum = 0;
contentArr.map(function (content) {
if (content.difficulty == difficulty) {
dnum = content.quanlity;
}
return null;
});
return dnum > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: "#0152d9",
marginLeft: 30
},
children: [difficultType[difficulty], ": ", dnum, " \u9898"]
}) : null;
})
})]
});
})
}), index === allcount.length - 1 ? null : /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})]
});
}, index);
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(SendToClassModal/* default */.Z, {})]
})

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -64,8 +64,8 @@ var Crumbs = __webpack_require__(94906);
/* harmony default export */ var ExchangeFromProblemSetmodules = ({"flex_box_center":"flex_box_center___pAXJ7","flex_space_between":"flex_space_between___okEh8","flex_box_vertical_center":"flex_box_vertical_center___H3oJW","flex_box_center_end":"flex_box_center_end___IoZHh","flex_box_column":"flex_box_column___pioDq","page":"page___AQTC0","wrap":"wrap___ypi7g","title":"title___MqXji","select":"select___jUs9O","contentWrap":"contentWrap___prReW","pngIcon":"pngIcon___nQYWW","tabsWrap":"tabsWrap___JTnDy","searchWrap":"searchWrap___Bgson","addQuestionBtn":"addQuestionBtn___y9Dkl","search":"search___xhreb","searchIcon":"searchIcon___kKxKj","batchWrap":"batchWrap___y6TB9","contentListWrap":"contentListWrap___sljKR","li":"li___xrdAB","bottom":"bottom___IZpbS","actionLeftItem":"actionLeftItem___pA5VQ","questionTypeName":"questionTypeName___CQhmP","more":"more___vOWPW","btnAdd":"btnAdd___Lh47d","treeWrapper":"treeWrapper___FLm4B","treeHeader":"treeHeader___dec6m","treeContent":"treeContent___lAajS","action":"action___fRPRI","headerWrapper":"headerWrapper___Mx250","exportBtn":"exportBtn___QrNIt"});
// EXTERNAL MODULE: ./src/pages/Problemset/components/Topic/index.tsx + 2 modules
var Topic = __webpack_require__(88094);
// EXTERNAL MODULE: ./src/pages/Problemset/components/NewFolder/index.tsx + 2 modules
var NewFolder = __webpack_require__(10751);
// EXTERNAL MODULE: ./src/pages/Problemset/components/NewFolder/index.tsx + 1 modules
var NewFolder = __webpack_require__(73364);
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(7);
// EXTERNAL MODULE: ./src/service/global.ts

File diff suppressed because it is too large Load Diff

@ -1,500 +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/Paperlibrary/Random/ExerciseEdit/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___V5dic {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___zoM6r {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___WTCR4 {
align-items: center;
box-align: center;
}
.flex_box_center_end___ZhjIT {
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___XGVlz {
flex-direction: column;
box-orient: block-axis;
}
.wrap___PXiQq {
margin: 0 auto 20px auto;
max-width: 1200px;
}
.wrap___PXiQq .btns___Imyyi {
display: flex;
align-items: center;
justify-content: center;
margin-top: 20px;
}
.wrap___PXiQq .btns___Imyyi button:nth-child(2) {
margin: 0 30px;
}
.wrap___PXiQq .tips___TLB21 {
display: flex;
align-items: center;
height: 13px;
margin-bottom: 29px;
margin-left: 14px;
}
.wrap___PXiQq .tips___TLB21 b {
font-size: 20px;
font-weight: 500;
color: #3c3c3c;
margin-right: 20px;
}
.wrap___PXiQq .tips___TLB21 span {
font-size: 14px;
color: #fcb041;
margin-left: 5px;
}
.wrap___PXiQq .crumbs___KmiI7 {
display: flex;
align-items: center;
margin: 24px 0;
}
.wrap___PXiQq .crumbs___KmiI7 b {
width: 6px;
height: 6px;
background: #198cfe;
border-radius: 3px;
margin-right: 7px;
}
.wrap___PXiQq .crumbs___KmiI7 span {
font-size: 14px;
color: #666666;
}
.oneWrap___YhZqd {
width: 1200px;
padding: 30px 50px 14px 50px;
margin-top: 14px;
background: #ffffff;
border-radius: 6px 6px 0 0;
}
.oneWrap___YhZqd .title___DVl_J {
display: flex;
align-items: center;
}
.oneWrap___YhZqd .title___DVl_J b {
width: 6px;
height: 6px;
background: #198cfe;
border-radius: 3px;
margin-right: 7px;
}
.oneWrap___YhZqd .title___DVl_J span {
font-size: 18px;
font-weight: 500;
color: #3c3c3c;
}
.oneWrap___YhZqd .title___DVl_J div {
width: 72px;
height: 25px;
line-height: 25px;
text-align: center;
background-color: #f9fafc;
color: #df3065;
margin-left: auto;
border-radius: 13px;
}
.oneWrap___YhZqd .formWrap___VN5d8 .ant-form-item-label {
line-height: 42px;
width: 10%;
padding-right: 30px;
}
.oneWrap___YhZqd .formWrap___VN5d8 .ant-form-item-control {
width: 90%;
}
.oneWrap___YhZqd .formWrap___VN5d8 .ant-radio-button-wrapper-checked {
background: #4c6fff;
color: #ffffff;
}
.oneWrap___YhZqd .formWrap___VN5d8 .ant-form-item {
padding: 10px 0;
}
.oneWrap___YhZqd .formWrap___VN5d8 .ant-input-borderless {
height: 42px;
background: #f9fbfc !important;
padding: 0 8px;
border-radius: 4px;
}
.oneWrap___YhZqd .formWrap___VN5d8 .ant-input-number-input-wrap input {
height: 40px;
padding: 0 8px;
border-radius: 4px;
font-size: 14px;
}
.oneWrap___YhZqd .rb___zNh0G {
width: 80px;
text-align: center;
border-radius: 50px !important;
overflow: hidden;
line-height: 40px !important;
height: 40px !important;
background: #f1f5fa;
border: 0 !important;
}
.twoWrap___YCLWk {
background: #ffffff;
border-radius: 0 0 6px 6px;
padding-bottom: 40px;
}
.twoWrap___YCLWk .customError {
position: relative;
}
.twoWrap___YCLWk .customError > div {
border: 1px solid #ff4d4f;
}
.twoWrap___YCLWk .customError > span {
display: inline !important;
color: #ff4d4f;
font-size: 12px;
position: absolute;
z-index: 10;
left: 3px;
top: 30px;
}
.twoWrap___YCLWk .list___NWsPr {
padding: 0 42px;
margin-top: 0;
}
.twoWrap___YCLWk .list___NWsPr div[data-type='width'] {
width: 450px;
}
.twoWrap___YCLWk .list___NWsPr > div:first-child {
height: 70px;
}
.twoWrap___YCLWk .list___NWsPr > div:last-child {
padding-bottom: 0;
}
.twoWrap___YCLWk .title___DVl_J {
display: flex;
align-items: center;
padding-left: 42px;
margin-top: 35px;
}
.twoWrap___YCLWk .title___DVl_J b {
width: 6px;
height: 6px;
background: #198cfe;
border-radius: 3px;
margin-right: 7px;
}
.twoWrap___YCLWk .title___DVl_J span {
font-size: 18px;
font-weight: 500;
color: #3c3c3c;
}
.twoWrap___YCLWk .title___DVl_J div {
width: 72px;
height: 25px;
line-height: 25px;
text-align: center;
background-color: #f9fafc;
color: #df3065;
margin-left: auto;
border-radius: 13px;
}
.twoWrap___YCLWk .total___x6P24 {
display: flex;
align-items: center;
padding-left: 42px;
margin-top: 35px;
}
.twoWrap___YCLWk .total___x6P24 b {
width: 4px;
height: 4px;
background: #198cfe;
border-radius: 2px;
margin-right: 7px;
}
.twoWrap___YCLWk .total___x6P24 span {
color: #3c3c3c;
}
.twoWrap___YCLWk .tag___bUrv6 {
margin: 0px 42px;
padding: 20px;
background: #fafafa;
border-radius: 6px;
}
.twoWrap___YCLWk .tag___bUrv6 .knWarp___cgy7Z {
padding: 1px 10px 10px 10px;
}
.twoWrap___YCLWk .tag___bUrv6 .knWarp___cgy7Z .kn___bdoMc {
margin: 18px 0 0 0;
display: flex;
align-items: center;
}
.twoWrap___YCLWk .tag___bUrv6 .knWarp___cgy7Z .kn___bdoMc span:first-child {
text-align: center;
display: inline-block;
width: 22px;
height: 22px;
line-height: 20px;
color: #333;
border: 1px solid #c5c5c5;
border-radius: 11px;
margin-right: 8px;
background: #e7e7e7;
font-size: 14px;
}
.twoWrap___YCLWk .tag___bUrv6 .knWarp___cgy7Z .kn___bdoMc span:last-child {
font-size: 14px;
color: #333333;
}
.twoWrap___YCLWk .tag___bUrv6 .name___hfjVq {
display: flex;
align-items: center;
}
.twoWrap___YCLWk .tag___bUrv6 .name___hfjVq b {
width: 4px;
height: 4px;
background: #198cfe;
border-radius: 2px;
margin-right: 7px;
}
.twoWrap___YCLWk .tag___bUrv6 .name___hfjVq span {
font-size: 14px;
color: #333333;
}
.modalColumn___KXSq6 {
font-size: 14px;
}
.modalColumn___KXSq6 .modalRow___s7fc_ {
display: flex;
align-items: center;
font-size: 14px;
flex-direction: row;
margin-top: 12px;
}
.modalColumn___KXSq6 .modalRow___s7fc_ .sup___fa5dL {
color: #fb3226;
font-size: 16px;
margin-top: 13px;
margin-right: 2px;
}
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/Paperlibrary/Random/AddAndEdit/components/StepTwo/List/index.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.list___e608F {
padding: 0 30px;
margin-top: 20px;
background-color: #fff;
}
.list___e608F .head___OtXo7 {
display: flex;
justify-content: space-between;
align-items: center;
height: 108px;
}
.list___e608F .head___OtXo7 .name___ewopv {
display: flex;
align-items: center;
}
.list___e608F .head___OtXo7 .name___ewopv b {
width: 6px;
height: 6px;
background: #198cfe;
border-radius: 3px;
margin-right: 10px;
}
.list___e608F .head___OtXo7 .name___ewopv span {
font-size: 20px;
color: #3c3c3c;
}
.list___e608F .head___OtXo7 .right___lDZUh {
display: flex;
align-items: end;
flex-direction: column;
font-size: 14px;
}
.list___e608F .head___OtXo7 .right___lDZUh > div:last-child {
display: flex;
align-items: center;
color: #333;
}
.list___e608F .body___os0Sr {
padding-bottom: 20px;
}
.list___e608F .body___os0Sr .top___Ptgzn {
height: 54px;
background: #e6f2ff;
padding-left: 36px;
display: flex;
align-items: center;
font-size: 14px;
}
.list___e608F .body___os0Sr .top___Ptgzn span {
font-size: 14px;
color: #333333;
margin-left: 10px;
margin-right: 50px;
}
.list___e608F .body___os0Sr .top___Ptgzn b {
width: 6px;
height: 6px;
border-radius: 3px;
background-color: #007dfe;
}
.list___e608F .body___os0Sr .top___Ptgzn aside {
margin-left: 6px;
font-size: 16px;
font-weight: 500;
color: #007dfe;
}
.list___e608F .body___os0Sr .bottom___lLWO4 {
display: flex;
align-items: flex-start;
background-color: #fafafa;
}
.list___e608F .body___os0Sr .bottom___lLWO4 .l___I1rmR {
width: 184px;
font-size: 14px;
color: #007dfe;
padding-top: 24px;
padding-left: 35px;
}
.ListGroup___kn9D6 {
display: flex;
align-items: flex-start;
font-size: 14px;
padding-top: 18px;
border-top: 1px dotted #e1dede;
}
.ListGroup___kn9D6 .a___VTKUk {
width: 22px;
height: 22px;
text-align: center;
line-height: 20px;
background: #ebf4ff;
border: 1px solid #198cfe;
color: #198cfe;
border-radius: 12px;
margin-right: 8px;
margin-top: 4px;
}
.ListGroup___kn9D6 .b___xv6D2 {
padding-top: 4px;
font-size: 14px;
color: #333333;
width: 250px;
}
.ListGroup___kn9D6 .c___wgDNH .c1___K7fE4 {
display: flex;
align-items: center;
color: #3c3c3c;
margin-bottom: 20px;
}
.ListGroup___kn9D6 .c1___K7fE4 {
display: flex;
align-items: center;
color: #3c3c3c;
}
.ListGroup___kn9D6 .c1___K7fE4 .radio___lk8AZ {
width: 50px;
height: 22px;
line-height: 20px;
text-align: center;
background: #ffffff;
color: #333333;
border-radius: 4px;
border: 1px solid #d4d4d4;
display: inline-block;
}
.ListGroup___kn9D6 .d___ExXlO {
cursor: pointer;
color: #198cfe;
font-size: 14px;
margin-left: 30px;
padding-top: 4px;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/Paperlibrary/Random/AddAndEdit/components/StepTwo/AddTags/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.btn___zSAGy {
display: inline-block;
padding-right: 32px;
position: relative;
}
.btn___zSAGy .s1___Xk5Go {
padding: 6px 18px;
color: #666666;
cursor: default;
background: #e6f2ff;
border-radius: 21px;
border: 1px solid #8aaaff;
color: #007dfe;
font-size: 14px;
margin-top: 20px;
display: inline-block;
}
.btn___zSAGy:hover .s1___Xk5Go {
color: #0152d9;
background: rgba(24, 144, 255, 0.2);
}
.btn___zSAGy:hover .s2___t4UvG {
display: inline-block;
}
.btn___zSAGy .s2___t4UvG {
display: none;
width: 20px;
height: 20px;
position: absolute;
z-index: 10;
right: 28px;
top: 10px;
cursor: pointer;
}
.btnDisabled___FcIYP .s1___Xk5Go,
.btnDisabled___FcIYP .s1___Xk5Go:hover {
color: #333333 !important;
background: #e7e7e7 !important;
border: 0;
}
.btnDisabled___FcIYP .s2___t4UvG {
visibility: hidden;
}
.btn2___VNO7t {
display: inline-block;
padding-right: 32px;
position: relative;
}
.btn2___VNO7t .s1___Xk5Go {
color: #333333;
font-size: 14px;
cursor: default;
margin-top: 12px;
display: inline-block;
}
.btn2___VNO7t .s1___Xk5Go img {
margin-top: -2px;
margin-right: 7px;
}
.btn2___VNO7t:hover .s2___t4UvG {
display: inline-block;
}
.btn2___VNO7t .s2___t4UvG {
display: none;
width: 20px;
height: 20px;
position: absolute;
z-index: 10;
right: 14px;
top: 0px;
cursor: pointer;
}

@ -1,89 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[90337,59278,83570,97425],{
/***/ 99611:
/*!****************************************************************************!*\
!*** ./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/extends.js
var esm_extends = __webpack_require__(87462);
// 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/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(74643);
;// CONCATENATED MODULE: ./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,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_EyeOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined));
/***/ }),
/***/ 6171:
/*!*****************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/LeftOutlined.js + 1 modules ***!
\*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_LeftOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js
// This icon file is generated automatically.
var LeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, "name": "left", "theme": "outlined" };
/* harmony default export */ var asn_LeftOutlined = (LeftOutlined);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(74643);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/LeftOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var LeftOutlined_LeftOutlined = function LeftOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_LeftOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_LeftOutlined = (/*#__PURE__*/react.forwardRef(LeftOutlined_LeftOutlined));
/***/ }),
(self["webpackChunk"] = self["webpackChunk"] || []).push([[90337],{
/***/ 24969:
/*!*****************************************************************************!*\
@ -127,48 +43,6 @@ if (false) {}
/***/ }),
/***/ 18073:
/*!******************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/RightOutlined.js + 1 modules ***!
\******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_RightOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js
// This icon file is generated automatically.
var RightOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, "name": "right", "theme": "outlined" };
/* harmony default export */ var asn_RightOutlined = (RightOutlined);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(74643);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/RightOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var RightOutlined_RightOutlined = function RightOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_RightOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_RightOutlined = (/*#__PURE__*/react.forwardRef(RightOutlined_RightOutlined));
/***/ }),
/***/ 96382:
/*!*************************************************************************!*\
!*** ./src/pages/Paperlibrary/Random/PreviewEdit/index.tsx + 1 modules ***!
@ -183,15 +57,15 @@ __webpack_require__.d(__webpack_exports__, {
"default": function() { return /* binding */ PreviewEdit; }
});
// 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/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/@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);
@ -202,14 +76,16 @@ var _umi_production_exports = __webpack_require__(89214);
;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/PreviewEdit/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var PreviewEditmodules = ({"flex_box_center":"flex_box_center___kQBcj","flex_space_between":"flex_space_between___Znlbo","flex_box_vertical_center":"flex_box_vertical_center___CPD50","flex_box_center_end":"flex_box_center_end___jzPvK","flex_box_column":"flex_box_column___cvIBS","wrap":"wrap___lab8O","crumbs":"crumbs___qvTza"});
// EXTERNAL MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.tsx + 10 modules
var StepPreview = __webpack_require__(59992);
// EXTERNAL MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.tsx + 12 modules
var StepPreview = __webpack_require__(7845);
// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(21687);
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(84519);
// EXTERNAL MODULE: ./node_modules/lodash/lodash.js
var lodash = __webpack_require__(96486);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(29427);
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(85893);
;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/PreviewEdit/index.tsx
@ -226,6 +102,7 @@ var jsx_runtime = __webpack_require__(85893);
var PaperlibraryPage = function PaperlibraryPage(_ref) {
var _useLocation, _useLocation$pathname, _userInfo$course;
var paperlibrary = _ref.paperlibrary,
@ -278,6 +155,10 @@ var PaperlibraryPage = function PaperlibraryPage(_ref) {
type: 'globalSetting/onlyShowBackTopIconToggle',
payload: false
});
dispatch({
type: 'exercise/getWorkSetting',
payload: objectSpread2_default()({}, params)
});
return function () {
dispatch({
type: 'globalSetting/onlyShowBackTopToggle',
@ -289,12 +170,12 @@ var PaperlibraryPage = function PaperlibraryPage(_ref) {
});
};
}, []);
(0,react.useEffect)(function () {
document.body.setAttribute('data-custom', 'initial');
return function () {
document.body.removeAttribute('data-custom');
};
}, []);
// useEffect(() => {
// document.body.setAttribute('data-custom', 'initial');
// return () => { document.body.removeAttribute('data-custom'); }
// }, []);
(0,react.useEffect)(function () {
getEditData(selectValue);
}, []);
@ -319,7 +200,7 @@ var PaperlibraryPage = function PaperlibraryPage(_ref) {
case 4:
res = _context.sent;
setLoading(false);
setEditData(formatPaperData(res));
setEditData((0,util/* formatRandomPaperData */.ad)(res));
case 7:
case "end":
return _context.stop();
@ -330,78 +211,6 @@ var PaperlibraryPage = function PaperlibraryPage(_ref) {
return _ref2.apply(this, arguments);
};
}();
var formatPaperData = function formatPaperData(originData) {
var numberFormatChinese = {
1: '一',
2: '二',
3: '三',
4: '四',
5: '五',
6: '六',
7: '七'
};
if (!originData) {
return;
}
var _ref3 = originData || {},
exam = _ref3.exam,
single_questions = _ref3.single_questions,
multiple_questions = _ref3.multiple_questions,
judgement_questions = _ref3.judgement_questions,
program_questions = _ref3.program_questions,
completion_questions = _ref3.completion_questions,
subjective_questions = _ref3.subjective_questions,
practical_questions = _ref3.practical_questions,
combination_questions = _ref3.combination_questions;
var questionData = [objectSpread2_default()({
type: 'SINGLE',
name: '单选题'
}, single_questions), objectSpread2_default()({
type: 'MULTIPLE',
name: '多选题'
}, multiple_questions), objectSpread2_default()({
type: 'COMPLETION',
name: '填空题'
}, completion_questions), objectSpread2_default()({
type: 'JUDGMENT',
name: '判断题'
}, judgement_questions), objectSpread2_default()({
type: 'SUBJECTIVE',
name: '简答题'
}, subjective_questions), objectSpread2_default()({
type: 'PROGRAM',
name: '编程题'
}, program_questions), objectSpread2_default()({
type: 'PRACTICAL',
name: '实训题'
}, practical_questions), objectSpread2_default()({
type: 'COMBINATION',
name: '组合题'
}, combination_questions)];
var ids = [];
var all_score = 0;
var all_questions_count = 0;
var questionList = questionData.filter(function (item) {
return item.questions_count > 0;
}).map(function (item, index) {
var _item$questions;
(_item$questions = item.questions) === null || _item$questions === void 0 ? void 0 : _item$questions.forEach(function (e) {
ids.push(e.id);
all_score = all_score + e.score;
all_questions_count = all_questions_count + 1;
});
return objectSpread2_default()(objectSpread2_default()({}, item), {
number: numberFormatChinese[index + 1]
});
});
return {
all_questions_count: all_questions_count,
all_score: all_score,
questionList: questionList,
ids: ids,
exam: exam
};
};
var handleBack = function handleBack() {
_umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise"));
};
@ -413,7 +222,7 @@ var PaperlibraryPage = function PaperlibraryPage(_ref) {
//换一题
var handleExchange = /*#__PURE__*/function () {
var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(record, other) {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(record, other) {
var res, _clonePreviewData$que, clonePreviewData;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
@ -449,27 +258,28 @@ var PaperlibraryPage = function PaperlibraryPage(_ref) {
}, _callee2);
}));
return function handleExchange(_x, _x2) {
return _ref4.apply(this, arguments);
return _ref3.apply(this, arguments);
};
}();
//下上
var handleSkipExamination = /*#__PURE__*/function () {
var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(num) {
var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(num) {
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
document.body.scrollIntoView();
getEditData(num);
setSelectValue(num);
case 3:
_context3.next = 4;
return getEditData(num);
case 4:
case "end":
return _context3.stop();
}
}, _callee3);
}));
return function handleSkipExamination(_x3) {
return _ref5.apply(this, arguments);
return _ref4.apply(this, arguments);
};
}();
console.log((0,_umi_production_exports.useLocation)(), 'location333');
@ -514,10 +324,10 @@ var PaperlibraryPage = function PaperlibraryPage(_ref) {
})
});
};
/* harmony default export */ var PreviewEdit = ((0,_umi_production_exports.connect)(function (_ref6) {
var paperlibrary = _ref6.paperlibrary,
user = _ref6.user,
globalSetting = _ref6.globalSetting;
/* harmony default export */ var PreviewEdit = ((0,_umi_production_exports.connect)(function (_ref5) {
var paperlibrary = _ref5.paperlibrary,
user = _ref5.user,
globalSetting = _ref5.globalSetting;
return {
paperlibrary: paperlibrary,
user: user,
@ -1071,108 +881,38 @@ function getStyle(prefixCls, token) {
/***/ }),
/***/ 79531:
/*!*********************************************************!*\
!*** ./node_modules/antd/es/input/index.js + 5 modules ***!
\*********************************************************/
/***/ 85418:
/*!************************************************************!*\
!*** ./node_modules/antd/es/dropdown/index.js + 1 modules ***!
\************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ input; }
"Z": function() { return /* binding */ es_dropdown; }
});
// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules
var dropdown = __webpack_require__(35874);
// 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/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules
var EllipsisOutlined = __webpack_require__(89705);
// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
var es_button = __webpack_require__(71577);
// 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);
// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js
var style = __webpack_require__(47673);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js
const Group = props => {
const {
getPrefixCls,
direction
} = (0,react.useContext)(context/* ConfigContext */.E_);
const {
prefixCls: customizePrefixCls,
className
} = props;
const prefixCls = getPrefixCls('input-group', customizePrefixCls);
const inputPrefixCls = getPrefixCls('input');
const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls);
const cls = classnames_default()(prefixCls, {
[`${prefixCls}-lg`]: props.size === 'large',
[`${prefixCls}-sm`]: props.size === 'small',
[`${prefixCls}-compact`]: props.compact,
[`${prefixCls}-rtl`]: direction === 'rtl'
}, hashId, className);
const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM);
const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), {
isFormItemInput: false
}), [formItemContext]);
if (false) {}
return wrapSSR( /*#__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/extends.js
var esm_extends = __webpack_require__(87462);
;// 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/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(74643);
;// CONCATENATED MODULE: ./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,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_EyeInvisibleOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined));
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules
var EyeOutlined = __webpack_require__(99611);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js
var omit = __webpack_require__(10366);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js
var es_ref = __webpack_require__(17799);
// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js
var useRemovePasswordTimeout = __webpack_require__(72922);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js
// EXTERNAL MODULE: ./node_modules/antd/es/space/index.js + 2 modules
var space = __webpack_require__(42075);
// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js
var Compact = __webpack_require__(4173);
// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules
var style = __webpack_require__(66748);
;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/dropdown-button.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];
@ -1190,297 +930,170 @@ var __rest = undefined && undefined.__rest || function (s, e) {
const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null);
const ActionMap = {
click: 'onClick',
hover: 'onMouseOver'
};
const Password = /*#__PURE__*/react.forwardRef((props, ref) => {
const {
visibilityToggle = true
} = props;
const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined;
const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false);
const inputRef = (0,react.useRef)(null);
react.useEffect(() => {
if (visibilityControlled) {
setVisible(visibilityToggle.visible);
}
}, [visibilityControlled, visibilityToggle]);
// Remove Password value
const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef);
const onVisibleChange = () => {
const {
disabled
} = props;
if (disabled) {
return;
}
if (visible) {
removePasswordTimeout();
}
setVisible(prevState => {
var _a;
const newState = !prevState;
if (typeof visibilityToggle === 'object') {
(_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState);
}
return newState;
});
};
const getIcon = prefixCls => {
const {
action = 'click',
iconRender = defaultIconRender
} = props;
const iconTrigger = ActionMap[action] || '';
const icon = iconRender(visible);
const iconProps = {
[iconTrigger]: onVisibleChange,
className: `${prefixCls}-icon`,
key: 'passwordIcon',
onMouseDown: e => {
// Prevent focused state lost
// https://github.com/ant-design/ant-design/issues/15173
e.preventDefault();
},
onMouseUp: e => {
// Prevent caret position change
// https://github.com/ant-design/ant-design/issues/23524
e.preventDefault();
}
};
return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps);
};
const {
className,
prefixCls: customizePrefixCls,
inputPrefixCls: customizeInputPrefixCls,
size
} = props,
restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]);
const DropdownButton = props => {
const {
getPrefixCls
getPopupContainer: getContextPopupContainer,
getPrefixCls,
direction
} = react.useContext(context/* ConfigContext */.E_);
const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
const prefixCls = getPrefixCls('input-password', customizePrefixCls);
const suffixIcon = visibilityToggle && getIcon(prefixCls);
const inputClassName = classnames_default()(prefixCls, className, {
[`${prefixCls}-${size}`]: !!size
});
const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), {
type: visible ? 'text' : 'password',
className: inputClassName,
prefixCls: inputPrefixCls,
suffix: suffixIcon
});
if (size) {
omittedProps.size = size;
}
return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({
ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef)
}, omittedProps));
});
if (false) {}
/* harmony default export */ var input_Password = (Password);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules
var SearchOutlined = __webpack_require__(68795);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js
var reactNode = __webpack_require__(96159);
// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
var es_button = __webpack_require__(71577);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js
var useSize = __webpack_require__(98675);
// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js
var Compact = __webpack_require__(4173);
;// 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;
};
const Search = /*#__PURE__*/react.forwardRef((props, ref) => {
const {
prefixCls: customizePrefixCls,
inputPrefixCls: customizeInputPrefixCls,
className,
size: customizeSize,
suffix,
enterButton = false,
addonAfter,
loading,
type = 'default',
danger,
disabled,
onSearch: customOnSearch,
onChange: customOnChange,
onCompositionStart,
onCompositionEnd
loading,
onClick,
htmlType,
children,
className,
menu,
arrow,
autoFocus,
overlay,
trigger,
align,
open,
onOpenChange,
placement,
getPopupContainer,
href,
icon = /*#__PURE__*/react.createElement(EllipsisOutlined/* default */.Z, null),
title,
buttonsRender = buttons => buttons,
mouseEnterDelay,
mouseLeaveDelay,
overlayClassName,
overlayStyle,
destroyPopupOnHide,
dropdownRender
} = props,
restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]);
const {
getPrefixCls,
direction
} = react.useContext(context/* ConfigContext */.E_);
const composedRef = react.useRef(false);
const prefixCls = getPrefixCls('input-search', customizePrefixCls);
const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]);
const prefixCls = getPrefixCls('dropdown', customizePrefixCls);
const buttonPrefixCls = `${prefixCls}-button`;
const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls);
const dropdownProps = {
menu,
arrow,
autoFocus,
align,
disabled,
trigger: disabled ? [] : trigger,
onOpenChange,
getPopupContainer: getPopupContainer || getContextPopupContainer,
mouseEnterDelay,
mouseLeaveDelay,
overlayClassName,
overlayStyle,
destroyPopupOnHide,
dropdownRender
};
const {
compactSize
compactSize,
compactItemClassnames
} = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction);
const size = (0,useSize/* default */.Z)(ctx => {
var _a;
return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx;
});
const inputRef = react.useRef(null);
const onChange = e => {
if (e && e.target && e.type === 'click' && customOnSearch) {
customOnSearch(e.target.value, e);
}
if (customOnChange) {
customOnChange(e);
}
};
const onMouseDown = e => {
var _a;
if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) {
e.preventDefault();
}
};
const onSearch = e => {
var _a, _b;
if (customOnSearch) {
customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e);
}
};
const onPressEnter = e => {
if (composedRef.current || loading) {
return;
}
onSearch(e);
};
const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null;
const btnClassName = `${prefixCls}-button`;
let button;
const enterButtonAsElement = enterButton || {};
const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true;
if (isAntdButton || enterButtonAsElement.type === 'button') {
button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({
onMouseDown,
onClick: e => {
var _a, _b;
(_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e);
onSearch(e);
},
key: 'enterButton'
}, isAntdButton ? {
className: btnClassName,
size
} : {}));
} else {
button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, {
className: btnClassName,
type: enterButton ? 'primary' : undefined,
size: size,
disabled: disabled,
key: "enterButton",
onMouseDown: onMouseDown,
onClick: onSearch,
loading: loading,
icon: searchIcon
}, enterButton);
const classes = classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId);
if ('overlay' in props) {
dropdownProps.overlay = overlay;
}
if (addonAfter) {
button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, {
key: 'addonAfter'
})];
if ('open' in props) {
dropdownProps.open = open;
}
const cls = classnames_default()(prefixCls, {
[`${prefixCls}-rtl`]: direction === 'rtl',
[`${prefixCls}-${size}`]: !!size,
[`${prefixCls}-with-button`]: !!enterButton
}, className);
const handleOnCompositionStart = e => {
composedRef.current = true;
onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);
};
const handleOnCompositionEnd = e => {
composedRef.current = false;
onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e);
};
return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({
ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref),
onPressEnter: onPressEnter
}, restProps, {
size: size,
onCompositionStart: handleOnCompositionStart,
onCompositionEnd: handleOnCompositionEnd,
prefixCls: inputPrefixCls,
addonAfter: button,
suffix: suffix,
onChange: onChange,
className: cls,
disabled: disabled
}));
});
if (false) {}
/* harmony default export */ var input_Search = (Search);
// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js
var TextArea = __webpack_require__(96330);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js
if ('placement' in props) {
dropdownProps.placement = placement;
} else {
dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight';
}
const leftButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, {
type: type,
danger: danger,
disabled: disabled,
loading: loading,
onClick: onClick,
htmlType: htmlType,
href: href,
title: title
}, children);
const rightButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, {
type: type,
danger: danger,
icon: icon
});
const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]);
return wrapSSR( /*#__PURE__*/react.createElement(space/* default.Compact */.Z.Compact, Object.assign({
className: classes,
size: compactSize,
block: true
}, restProps), leftButtonToRender, /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender)));
};
DropdownButton.__ANT_BUTTON = true;
/* harmony default export */ var dropdown_button = (DropdownButton);
;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/index.js
'use client';
const Dropdown = dropdown/* default */.Z;
Dropdown.Button = dropdown_button;
/* harmony default export */ var es_dropdown = (Dropdown);
/***/ }),
/***/ 64217:
/*!**********************************************!*\
!*** ./node_modules/rc-util/es/pickAttrs.js ***!
\**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
const input_Input = Input/* default */.Z;
if (false) {}
input_Input.Group = input_Group;
input_Input.Search = input_Search;
input_Input.TextArea = TextArea/* default */.Z;
input_Input.Password = input_Password;
/* harmony default export */ var input = (input_Input);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "Z": function() { return /* binding */ pickAttrs; }
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413);
/***/ }),
var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap";
var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError";
var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/);
/***/ 33507:
/*!*******************************************************!*\
!*** ./node_modules/antd/es/style/motion/collapse.js ***!
\*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
const genCollapseMotion = token => ({
[token.componentCls]: {
// For common/openAnimation
[`${token.antCls}-motion-collapse-legacy`]: {
overflow: 'hidden',
'&-active': {
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
}
},
[`${token.antCls}-motion-collapse`]: {
overflow: 'hidden',
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
}
/* eslint-enable max-len */
var ariaPrefix = 'aria-';
var dataPrefix = 'data-';
function match(key, prefix) {
return key.indexOf(prefix) === 0;
}
/**
* Picker props from exist props with filter
* @param props Passed props
* @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config
*/
function pickAttrs(props) {
var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
var mergedConfig;
if (ariaOnly === false) {
mergedConfig = {
aria: true,
data: true,
attr: true
};
} else if (ariaOnly === true) {
mergedConfig = {
aria: true
};
} else {
mergedConfig = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, ariaOnly);
}
});
/* harmony default export */ __webpack_exports__["Z"] = (genCollapseMotion);
var attrs = {};
Object.keys(props).forEach(function (key) {
if (
// Aria
mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) ||
// Data
mergedConfig.data && match(key, dataPrefix) ||
// Attr
mergedConfig.attr && propList.includes(key)) {
attrs[key] = props[key];
}
});
return attrs;
}
/***/ })

@ -86,7 +86,8 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-top: 20px;
padding-bottom: 70px;
margin: 20px auto 0 auto;
}
.wrap___ulhwR .left___kyWln {
width: 266px;
@ -163,6 +164,9 @@
padding: 15px 18px;
margin-bottom: 14px;
}
.wrap___ulhwR .left___kyWln .list___u9dBZ:last-child {
margin-bottom: 0;
}
.wrap___ulhwR .left___kyWln .list___u9dBZ .name___Wxggs {
display: flex;
align-items: center;
@ -397,39 +401,6 @@
font-size: 14px;
color: #8d8d8d;
}
.wrap___ulhwR .btnsElse___FPu2o {
display: flex;
justify-content: center;
align-items: center;
height: 68px;
visibility: hidden;
}
.wrap___ulhwR .btnsElse___FPu2o button {
margin: 0 15px;
}
.wrap___ulhwR .btnsWrap___GNs1j {
display: flex;
justify-content: center;
align-items: center;
height: 68px;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
z-index: 7;
background: #e7f3ff;
visibility: hidden;
}
.wrap___ulhwR .btnsWrap___GNs1j .btns___dsNVj {
display: flex;
justify-content: center;
align-items: center;
width: 1200px;
padding-left: 286px;
}
.wrap___ulhwR .btnsWrap___GNs1j .btns___dsNVj button {
margin: 0 15px;
}
.modalColumn___I_tK_ {
font-size: 14px;
}
@ -452,7 +423,7 @@
border-bottom-color: #55575d !important;
}
.popover___kE8aI .ant-popover-inner-content {
color: #fff;
color: #fff !important;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\

@ -1289,6 +1289,8 @@ var generateBrief = function generateBrief(_ref2) {
studentNames = _ref2.studentNames,
studentCount = _ref2.studentCount,
inPaper = _ref2.inPaper,
_ref2$is_random = _ref2.is_random,
is_random = _ref2$is_random === void 0 ? false : _ref2$is_random,
_ref2$position = _ref2.position,
position = _ref2$position === void 0 ? '' : _ref2$position;
var copyStatusDescribe = function copyStatusDescribe() {
@ -1326,7 +1328,7 @@ var generateBrief = function generateBrief(_ref2) {
}), "\u5B66\u4E60\u8FC7", currentPosition, "\u4E2D\u7684", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: ReuseShixunModalmodules.orangeColor,
children: used
}), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"]
}), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9", is_random ? '' : '是否继续使用和', "\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"]
});
};
@ -1850,6 +1852,7 @@ var ReuseMultipleShixunModal = function ReuseMultipleShixunModal(props) {
canNotCopy: renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_num,
studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names,
studentCount: renderData === null || renderData === void 0 ? void 0 : renderData.student_count,
is_random: renderData === null || renderData === void 0 ? void 0 : renderData.is_random,
inPaper: inPaper,
position: position
});
@ -2021,8 +2024,8 @@ var FixedButton = __webpack_require__(36845);
;// CONCATENATED MODULE: ./src/pages/Paperlibrary/See/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Seemodules = ({"bg":"bg___vBzoO","wrap":"wrap___rrSkg","title":"title___itgaE","btnWrapper":"btnWrapper___F_tyj","titleForExport":"titleForExport___lhBnq","flexRow":"flexRow___cvXQo","flexColumn":"flexColumn___cTDFf","flexJustifyBetween":"flexJustifyBetween___vy_7r","relative":"relative____B_F8","questionNumber":"questionNumber___V4g28","score":"score___dNKpj","selectTopicButton":"selectTopicButton___NO9DO","line":"line___j553x","dragTip":"dragTip___AaESI","typeActive":"typeActive___dLHVW","mouseTypeActive":"mouseTypeActive___N_Yv8","typeName":"typeName___bdcw3","typeNumber":"typeNumber___B6Fic","typeAction":"typeAction___O3dpz","setScore":"setScore___GA5cK","delete":"delete___O2OvN","modal":"modal___0ENtb","table":"table___ZRr4b","glassSeal":"glassSeal___C7Vpa"});
// EXTERNAL MODULE: ./src/pages/Paperlibrary/components/SendToClassModal.tsx + 5 modules
var SendToClassModal = __webpack_require__(79086);
// EXTERNAL MODULE: ./src/pages/Paperlibrary/components/SendToClassModal.tsx + 6 modules
var SendToClassModal = __webpack_require__(61990);
// EXTERNAL MODULE: ./node_modules/html2pdf.js/dist/html2pdf.js
var html2pdf = __webpack_require__(80599);
var html2pdf_default = /*#__PURE__*/__webpack_require__.n(html2pdf);
@ -2213,6 +2216,7 @@ var See = function See(_ref) {
getData();
handleGetQuestionName();
}, []);
console.log('---', paperlibrary);
(0,react.useEffect)(function () {
var _newExercisePaper$exe;
if ((_newExercisePaper$exe = newExercisePaper.exerciseExportHeadData) !== null && _newExercisePaper$exe !== void 0 && _newExercisePaper$exe.title) {

@ -1386,8 +1386,8 @@ var DeleteModal = function DeleteModal(_ref) {
loading: loading.effects
};
})(DeleteModal));
// EXTERNAL MODULE: ./src/pages/Paperlibrary/components/SendToClassModal.tsx + 5 modules
var SendToClassModal = __webpack_require__(79086);
// EXTERNAL MODULE: ./src/pages/Paperlibrary/components/SendToClassModal.tsx + 6 modules
var SendToClassModal = __webpack_require__(61990);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(29427);
// EXTERNAL MODULE: ./src/service/paperlibrary.ts
@ -1812,7 +1812,7 @@ var PaperlibraryPage = function PaperlibraryPage(_ref) {
});
return;
}
var url = isRandom ? "/randompaper/edit/".concat(id) : "/paperlibrary/add/".concat(id, "?defaultActiveKey=").concat(activeTabsKey, "&type=2");
var url = isRandom ? "/randompaper/edit/".concat(id, "?type=settings") : "/paperlibrary/add/".concat(id, "?defaultActiveKey=").concat(activeTabsKey, "&type=2");
(0,util/* openNewWindow */.xg)(url);
};
var handleDelete = function handleDelete(id) {

@ -2346,6 +2346,8 @@ var generateBrief = function generateBrief(_ref2) {
studentNames = _ref2.studentNames,
studentCount = _ref2.studentCount,
inPaper = _ref2.inPaper,
_ref2$is_random = _ref2.is_random,
is_random = _ref2$is_random === void 0 ? false : _ref2$is_random,
_ref2$position = _ref2.position,
position = _ref2$position === void 0 ? '' : _ref2$position;
var copyStatusDescribe = function copyStatusDescribe() {
@ -2383,7 +2385,7 @@ var generateBrief = function generateBrief(_ref2) {
}), "\u5B66\u4E60\u8FC7", currentPosition, "\u4E2D\u7684", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: ReuseShixunModalmodules.orangeColor,
children: used
}), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"]
}), "\u4E2A\u9879\u76EE\uFF0C", copyStatusDescribe(), "\u3002\u8BF7\u9009\u62E9", is_random ? '' : '是否继续使用和', "\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F"]
});
};
@ -2907,6 +2909,7 @@ var ReuseMultipleShixunModal = function ReuseMultipleShixunModal(props) {
canNotCopy: renderData === null || renderData === void 0 ? void 0 : renderData.no_copy_num,
studentNames: renderData === null || renderData === void 0 ? void 0 : renderData.student_names,
studentCount: renderData === null || renderData === void 0 ? void 0 : renderData.student_count,
is_random: renderData === null || renderData === void 0 ? void 0 : renderData.is_random,
inPaper: inPaper,
position: position
});
@ -8259,7 +8262,7 @@ var SortableItem = (0,react_sortable_hoc_esm/* SortableElement */.W8)(function (
className: SortTeammodules.directionItemWrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(tooltip/* default */.Z, {
color: "#ffffff",
placement: "topLeft",
placement: "leftTop",
title: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SortTeammodules.teamHeight,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -10037,7 +10040,7 @@ var Right = function Right(_ref) {
width: '100%'
},
children: (_pathsDetail$rightDat49 = pathsDetail.rightData) === null || _pathsDetail$rightDat49 === void 0 ? void 0 : (_pathsDetail$rightDat50 = _pathsDetail$rightDat49.members) === null || _pathsDetail$rightDat50 === void 0 ? void 0 : _pathsDetail$rightDat50.map(function (item, k) {
var _user$userInfo3, _item$name, _item$name2, _item$school, _item$school2;
var _item$name, _item$name2, _item$school, _item$school2, _user$userInfo3, _item$name3, _item$name4, _item$school3, _item$school4;
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
display: 'inline-block',
@ -10050,57 +10053,41 @@ var Right = function Right(_ref) {
className: SortTeammodules.directionItemWrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(tooltip/* default */.Z, {
color: "#ffffff",
placement: "topLeft",
placement: "leftTop",
title: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SortTeammodules.teamHeight,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
title: item === null || item === void 0 ? void 0 : item.name,
style: {
display: "flex"
fontSize: '14px',
color: '#333333',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
width: '80px',
overflow: 'hidden'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SortTeammodules.imageWrap,
style: {
marginRight: 11
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: SortTeammodules.imageWrap,
src: env/* default.API_SERVER */.Z.API_SERVER + '/images/' + (item === null || item === void 0 ? void 0 : item.image_url)
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
title: item === null || item === void 0 ? void 0 : item.name,
style: {
fontSize: '14px',
color: '#333333',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
width: '200px',
overflow: 'hidden'
},
children: (item === null || item === void 0 ? void 0 : item.name) || '--'
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
color: '#999999',
fontSize: '12px',
width: '192px',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
overflow: 'hidden',
WebkitLineClamp: 1
},
children: item === null || item === void 0 ? void 0 : item.school
})]
})]
children: (item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.length) > 6 ? (item === null || item === void 0 ? void 0 : (_item$name2 = item.name) === null || _item$name2 === void 0 ? void 0 : _item$name2.substr(0, 6)) + '...' : (item === null || item === void 0 ? void 0 : item.name) || '--'
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
marginLeft: '10px',
color: '#999999',
fontSize: '12px'
},
children: (item === null || item === void 0 ? void 0 : (_item$school = item.school) === null || _item$school === void 0 ? void 0 : _item$school.length) > 9 ? (item === null || item === void 0 ? void 0 : (_item$school2 = item.school) === null || _item$school2 === void 0 ? void 0 : _item$school2.substr(0, 9)) + '...' : item === null || item === void 0 ? void 0 : item.school
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
height: '1px',
width: '100%',
border: '1px solid #f5f5f5',
marginTop: '20px',
marginBottom: '10px'
marginTop: '3px',
marginBottom: '3px'
}
}), !(item !== null && item !== void 0 && item.brief_introduction) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u6682\u65E0\u76F8\u5173\u4ECB\u7ECD"
style: {
textAlign: 'center',
marginTop: "20px"
},
children: "\u6682\u65E0\u7B80\u4ECB"
}), (item === null || item === void 0 ? void 0 : item.brief_introduction) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SortTeammodules.divHeight,
children: item === null || item === void 0 ? void 0 : item.brief_introduction
@ -10141,11 +10128,11 @@ var Right = function Right(_ref) {
},
src: env/* default.API_SERVER */.Z.API_SERVER + '/images/' + (item === null || item === void 0 ? void 0 : item.image_url)
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [(item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.length) > 6 ? (item === null || item === void 0 ? void 0 : (_item$name2 = item.name) === null || _item$name2 === void 0 ? void 0 : _item$name2.substr(0, 6)) + '...' : (item === null || item === void 0 ? void 0 : item.name) || '--', /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: [(item === null || item === void 0 ? void 0 : (_item$name3 = item.name) === null || _item$name3 === void 0 ? void 0 : _item$name3.length) > 6 ? (item === null || item === void 0 ? void 0 : (_item$name4 = item.name) === null || _item$name4 === void 0 ? void 0 : _item$name4.substr(0, 6)) + '...' : (item === null || item === void 0 ? void 0 : item.name) || '--', /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#999999'
},
children: (item === null || item === void 0 ? void 0 : (_item$school = item.school) === null || _item$school === void 0 ? void 0 : _item$school.length) > 6 ? (item === null || item === void 0 ? void 0 : (_item$school2 = item.school) === null || _item$school2 === void 0 ? void 0 : _item$school2.substr(0, 6)) + '...' : (item === null || item === void 0 ? void 0 : item.school) || '--'
children: (item === null || item === void 0 ? void 0 : (_item$school3 = item.school) === null || _item$school3 === void 0 ? void 0 : _item$school3.length) > 6 ? (item === null || item === void 0 ? void 0 : (_item$school4 = item.school) === null || _item$school4 === void 0 ? void 0 : _item$school4.substr(0, 6)) + '...' : (item === null || item === void 0 ? void 0 : item.school) || '--'
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {})]
@ -10696,14 +10683,14 @@ var PublishShixun = function PublishShixun(_ref) {
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: v === null || v === void 0 ? void 0 : v.author_name
__html: v === null || v === void 0 ? void 0 : v.member_user_names
}
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: SelectShixunsmodules.authorname,
dangerouslySetInnerHTML: {
__html: v === null || v === void 0 ? void 0 : v.author_name
__html: v === null || v === void 0 ? void 0 : v.member_user_names
}
})
}), v.author_school_name && /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, {
@ -20254,9 +20241,10 @@ var SendToClassModal = function SendToClassModal(_ref) {
className: "font14",
onClick: function onClick() {
return handleExpand(item.key);
},
}
// style={{ width:760, flexWrap:"nowrap", whiteSpace:"nowrap" }}
,
style: {
width: 760,
flexWrap: "nowrap",
whiteSpace: "nowrap"
},

@ -1925,7 +1925,7 @@
}
.info___ProlR span[class~='highlight'],
.tooltip-content___M1Rrn span[class~='highlight'] {
color: #E99237;
color: #fb3226;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\

@ -5998,7 +5998,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl
\********************************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAgCAYAAACcuBHKAAAACXBIWXMAAAsSAAALEgHS3X78AAAAAXNSR0IArs4c6QAAAhNJREFUWEftlztLA0EQx/97Z2LAF1ooKhZaCClsVARFLAQbbQTBVFY2NjZiI4KFINjo51DBD2BhI4IQfKAIikJAg48oKD4Kk3usbDabXHSTu1yCucJp5pL5z+zvZm4XllBKVZTZSBriaLIV9HMdBIOoJE22XHEaA8U+zMc19B2HbfV5BByCAeAzDMPB4rJiCt0uBoZDHI5uIv4xUczbFJQbqOFdJNVz6Nm64xB7wVtQf0tBhUohJol7VHX1c4jddr0UNV3VIMoGh9hpKB+EakazIer7gc5FwN/o6qUcJyWegKsV4PUgmZINEVwGfHXyWoQAlALMy0zEmHdi2htwsWSBeFnNjIPVYOuIWuJZrG0XtwOQ5PNOPC+U75tIjyM27wGIu1kdFZXyRupxJGPMMxPPQp8vbo3l0fNxMAhmpgYovt8+15yF3u47EPEceg4RnfHAOG6mPQARmSoeQvUDRsLpYLJ0fBylgBAAAoZ5mTGdFVj1p07M65CzThhxQM2xi6QLOtPzTlyOO4Nw1Wz7pN8QugZU+ACZT54Tlhj7bdXJ4j81LN9qupYax/lY6pxIAIpklmaO/+1fUq4Q9VKed+JsxAPjOB32AMTJkAcgjgY8ABHu/YfI3DtU4+/vHWwDG+o9hwh39+HrYR8Uitut7yqPwESgeTBzIWYg75FNEK3NVcFCk6gvitqOELtMZyAKLVJC/TfVWC6c92hknAAAAABJRU5ErkJggg==";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPcBeocMk1Cv00oii5L+fgPwcR/zHfb3AJY2sEpUVLOUhB/l+w7I1iS9TYDFrM3AzhqGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII=";
/***/ }),
@ -6008,7 +6008,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAgCAYAAACc
\********************************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAhCAYAAAC1ONkWAAAACXBIWXMAAAsSAAALEgHS3X78AAAAAXNSR0IArs4c6QAAAqRJREFUWEfNmE1o02AYx/9JzJaltHatZRVR5hSRXHYYbCpMmTIRexAsDD0L8+Rphx10DIQddvDowbugCB68iWOKDqeb7tKD+MGKA8vo3Nzch7ZLlsibJjPrkjRvE8hySUiej9/7/PO+b54wmqZx2IMH4wqWv3kIS19HIcTOgVUP1uRX2XmUVl+DxX10vHpX097FwBmMQC3kP4JtSFElYPiKefnLGJrSd+sFdAb70PMQm8o1KiirMR8D5FXv7pzwE5wyjuSJQbQ9KDiDvWwrgIu2eI8ckOXWWhGtvZ3OYONHlYBS0YeJtT52BnueVMAYMTVAvyZnu8N85mS/67kGMAygGQHNa/PcEC+6gCUqFUueBaQRgD9AP3IaD3kR+HQbWHqje9UG63wE7GumSVG/rbIMTF+nAKs/Fb2nd7An9MH9eEz3eaxY11O39dmYEUHNEgBTWY9gp575GT+97/srFrDl0QGo6h1Ai9JH8lFQNQXwJ3cG2Aab7T+CaPNcoEBUwY4Bje3/PSYvGRUjYGIkPDAmDjRdNsBUYBuMfI9968tBbJGoBhqksXgV4Iy3aPKi5R37nB1CJDUcZC6qWEIHIJ6puEx0W8EyEoR0Tt+7nPYwqkyGsdd4wn4gesMGjNwicrKN4cmZ7Af4RFXFCBiRk+PDkzN+oSLnDil1sIwERsjVo1ggPmIKSNyyATPl3PwbnpyHh6qWC3PIRE55Izw501lgZtBmryRylkvhyjn7wmETJ7NzvRienL/m9O5q9xcskXNjPhw5VRlQSsDvgh1YRsLaQnhybpWBP+sOzchU+1toWlfNnaB6ZaddN6zdEfE14ynymH0zMtNzGivfJ8CH1FpGjnc7d0lkhi7m76H8o5e2EL7sGW4E51eG3f/2+Mrgz3nPgv0D9Cc+LoUg84gAAAAASUVORK5CYII=";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAedJREFUOBGtVDtLA0EQ/jY5z7dgEBVJLHyAitpYWQqKjVZa5BfEKpWlWPgrLG0UEdTexkILRUQiSBBBCAhGUINFHia53Dm7ufXcvfgIOHA3O69vvtnbPeY4ThD/KIF/xBJQhg/wbmkZtj0KMKbEGNIweg4xuPmq+DWDKSOfz2/AqaxpOVWzip8HC2xTsydfjoMHhMd2VMDjkSswTPqSucOhh3PmupaIediBOnL52UTLENC7QCV1bC9vkjkF3i4WVUDeORIF2sf5ymOk7mY1pr87hoHEhekHDLYQOfck8c6c6OeYfPHN3LyOxEB2KwQru0LrBvTPdaGRipj7ISUzqUWJ/moiRyc1tUXAQP42Tsa6sEIRCtwDRXqESDYS8RuG5iyRMEWFAat4CbvsAmgFmukmeYofJYeSAimab0L4DfQNHiF1laFAyMv840o2zN3Q1FMuIOIWStF9OtAxH4xkIC8NZyN9SnIOsNISkLRd3EWlFBP0lQJtDzVTyc8mBKB3U65nUnBYmDaFAr98BFGqvYKtwOMZHRsp1vsedVxV8bQRJXu5BbKWa6sAmK1lj2FiOoLcS5LYNX/N+3ktp+GapFJMeoDccdI9gEJ2nW5HhJjKuXmktih7yjJoC8VVwNpldXnr+KX8DfcD09mnwzz7SXEAAAAASUVORK5CYII=";
/***/ })

@ -5084,7 +5084,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl
\********************************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAgCAYAAACcuBHKAAAACXBIWXMAAAsSAAALEgHS3X78AAAAAXNSR0IArs4c6QAAAhNJREFUWEftlztLA0EQx/97Z2LAF1ooKhZaCClsVARFLAQbbQTBVFY2NjZiI4KFINjo51DBD2BhI4IQfKAIikJAg48oKD4Kk3usbDabXHSTu1yCucJp5pL5z+zvZm4XllBKVZTZSBriaLIV9HMdBIOoJE22XHEaA8U+zMc19B2HbfV5BByCAeAzDMPB4rJiCt0uBoZDHI5uIv4xUczbFJQbqOFdJNVz6Nm64xB7wVtQf0tBhUohJol7VHX1c4jddr0UNV3VIMoGh9hpKB+EakazIer7gc5FwN/o6qUcJyWegKsV4PUgmZINEVwGfHXyWoQAlALMy0zEmHdi2htwsWSBeFnNjIPVYOuIWuJZrG0XtwOQ5PNOPC+U75tIjyM27wGIu1kdFZXyRupxJGPMMxPPQp8vbo3l0fNxMAhmpgYovt8+15yF3u47EPEceg4RnfHAOG6mPQARmSoeQvUDRsLpYLJ0fBylgBAAAoZ5mTGdFVj1p07M65CzThhxQM2xi6QLOtPzTlyOO4Nw1Wz7pN8QugZU+ACZT54Tlhj7bdXJ4j81LN9qupYax/lY6pxIAIpklmaO/+1fUq4Q9VKed+JsxAPjOB32AMTJkAcgjgY8ABHu/YfI3DtU4+/vHWwDG+o9hwh39+HrYR8Uitut7yqPwESgeTBzIWYg75FNEK3NVcFCk6gvitqOELtMZyAKLVJC/TfVWC6c92hknAAAAABJRU5ErkJggg==";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPcBeocMk1Cv00oii5L+fgPwcR/zHfb3AJY2sEpUVLOUhB/l+w7I1iS9TYDFrM3AzhqGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII=";
/***/ }),
@ -5094,7 +5094,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAgCAYAAACc
\********************************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAhCAYAAAC1ONkWAAAACXBIWXMAAAsSAAALEgHS3X78AAAAAXNSR0IArs4c6QAAAqRJREFUWEfNmE1o02AYx/9JzJaltHatZRVR5hSRXHYYbCpMmTIRexAsDD0L8+Rphx10DIQddvDowbugCB68iWOKDqeb7tKD+MGKA8vo3Nzch7ZLlsibJjPrkjRvE8hySUiej9/7/PO+b54wmqZx2IMH4wqWv3kIS19HIcTOgVUP1uRX2XmUVl+DxX10vHpX097FwBmMQC3kP4JtSFElYPiKefnLGJrSd+sFdAb70PMQm8o1KiirMR8D5FXv7pzwE5wyjuSJQbQ9KDiDvWwrgIu2eI8ckOXWWhGtvZ3OYONHlYBS0YeJtT52BnueVMAYMTVAvyZnu8N85mS/67kGMAygGQHNa/PcEC+6gCUqFUueBaQRgD9AP3IaD3kR+HQbWHqje9UG63wE7GumSVG/rbIMTF+nAKs/Fb2nd7An9MH9eEz3eaxY11O39dmYEUHNEgBTWY9gp575GT+97/srFrDl0QGo6h1Ai9JH8lFQNQXwJ3cG2Aab7T+CaPNcoEBUwY4Bje3/PSYvGRUjYGIkPDAmDjRdNsBUYBuMfI9968tBbJGoBhqksXgV4Iy3aPKi5R37nB1CJDUcZC6qWEIHIJ6puEx0W8EyEoR0Tt+7nPYwqkyGsdd4wn4gesMGjNwicrKN4cmZ7Af4RFXFCBiRk+PDkzN+oSLnDil1sIwERsjVo1ggPmIKSNyyATPl3PwbnpyHh6qWC3PIRE55Izw501lgZtBmryRylkvhyjn7wmETJ7NzvRienL/m9O5q9xcskXNjPhw5VRlQSsDvgh1YRsLaQnhybpWBP+sOzchU+1toWlfNnaB6ZaddN6zdEfE14ynymH0zMtNzGivfJ8CH1FpGjnc7d0lkhi7m76H8o5e2EL7sGW4E51eG3f/2+Mrgz3nPgv0D9Cc+LoUg84gAAAAASUVORK5CYII=";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAedJREFUOBGtVDtLA0EQ/jY5z7dgEBVJLHyAitpYWQqKjVZa5BfEKpWlWPgrLG0UEdTexkILRUQiSBBBCAhGUINFHia53Dm7ufXcvfgIOHA3O69vvtnbPeY4ThD/KIF/xBJQhg/wbmkZtj0KMKbEGNIweg4xuPmq+DWDKSOfz2/AqaxpOVWzip8HC2xTsydfjoMHhMd2VMDjkSswTPqSucOhh3PmupaIediBOnL52UTLENC7QCV1bC9vkjkF3i4WVUDeORIF2sf5ymOk7mY1pr87hoHEhekHDLYQOfck8c6c6OeYfPHN3LyOxEB2KwQru0LrBvTPdaGRipj7ISUzqUWJ/moiRyc1tUXAQP42Tsa6sEIRCtwDRXqESDYS8RuG5iyRMEWFAat4CbvsAmgFmukmeYofJYeSAimab0L4DfQNHiF1laFAyMv840o2zN3Q1FMuIOIWStF9OtAxH4xkIC8NZyN9SnIOsNISkLRd3EWlFBP0lQJtDzVTyc8mBKB3U65nUnBYmDaFAr98BFGqvYKtwOMZHRsp1vsedVxV8bQRJXu5BbKWa6sAmK1lj2FiOoLcS5LYNX/N+3ktp+GapFJMeoDccdI9gEJ2nW5HhJjKuXmktih7yjJoC8VVwNpldXnr+KX8DfcD09mnwzz7SXEAAAAASUVORK5CYII=";
/***/ })

@ -3459,9 +3459,9 @@ var Crumbs = function Crumbs(_ref) {
/***/ }),
/***/ 10751:
/***/ 73364:
/*!*************************************************************************!*\
!*** ./src/pages/Problemset/components/NewFolder/index.tsx + 2 modules ***!
!*** ./src/pages/Problemset/components/NewFolder/index.tsx + 1 modules ***!
\*************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -3509,8 +3509,8 @@ var tree = __webpack_require__(282);
var fetch = __webpack_require__(84519);
// EXTERNAL MODULE: ./src/assets/images/problemset/folder-closed.png
var folder_closed = __webpack_require__(73631);
;// CONCATENATED MODULE: ./src/assets/images/problemset/folder.png
var folder_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAf5JREFUOE/VlE1r1FAUht+TdOoEZ7TCOK3ILEboQnGlUFGoKxfaZRfWz5aiRfwV4s6N4Eor4vQDN4ILoeCiG62LlgotVUSkIH6UWjtip1UymdTcHIlJZpKczkJwodkk94b7nPc89ybEzDr+4kX/H3BsTp1UrnaHmQsE8mV4NyJbA6Y0wo3+w3jezJJo+doT8z2YC3+qlYmWlKOuCuDpu58dCQuSgoNX4TgYsj9PREsC2HPrk9N3NI+OXekYN4lMFv1SqeHhTBkCOFBacYKCkTUJXCJgPbiXMnlshsZXt2i5wd5paDhSTGPuo41vphJ2BPDS2KrTTJW3+srxHegqGnizsombkxUfWFdLMuHgqJfQ74nBv5/2trVgzXSRz+o425VBZ3sKEy9NPF6ohrtSTyoS9pfKDkWUXe7OorvTgGm7mFq08GjehOfYdYPzGRQOkwrgxVK57tBbWBrYjdYWv8LtZxuYfmdLb5EAAnj+/tfYpgwey+DEfgOVqovXyzYmXllYXldIpwi1n6G8Rg0BvDCy5oRfXCg7n9WwbjE8FacObMOhQiuKOR0jM1U8XWwk9vDS4fh3R9aNd3m9Zzv25XRMvt3Egxe16DGUwHOjGz800oz4eYgDcxnCwT06Zj8oWJG2FbMlEvYOl8+4yr0HgtHsc9tynmGldG3o3//B/gJtne8DYwr6VgAAAABJRU5ErkJggg==";
// EXTERNAL MODULE: ./src/assets/images/problemset/folder.png
var folder = __webpack_require__(31328);
// EXTERNAL MODULE: ./src/service/problemset.ts
var problemset = __webpack_require__(75968);
// EXTERNAL MODULE: ./node_modules/lodash/lodash.js
@ -3857,7 +3857,7 @@ var NewFolder = function NewFolder(_ref3) {
onClick: function onClick() {
onOpen(item.id);
},
src: folder_namespaceObject,
src: folder,
className: NewFoldermodules.share_folderIcon
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
onClick: function onClick() {
@ -4016,7 +4016,7 @@ var NewFolder = function NewFolder(_ref3) {
onClick: function onClick() {
onOpen(item.id);
},
src: folder_namespaceObject,
src: folder,
className: NewFoldermodules.share_folderIcon
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
onClick: function onClick() {
@ -6510,8 +6510,8 @@ var BasketSideBar = function BasketSideBar(_ref) {
};
// EXTERNAL MODULE: ./src/pages/Problemset/components/Topic/index.tsx + 2 modules
var Topic = __webpack_require__(88094);
// EXTERNAL MODULE: ./src/pages/Problemset/components/NewFolder/index.tsx + 2 modules
var NewFolder = __webpack_require__(10751);
// EXTERNAL MODULE: ./src/pages/Problemset/components/NewFolder/index.tsx + 1 modules
var NewFolder = __webpack_require__(73364);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(29427);
// EXTERNAL MODULE: ./src/utils/authority.ts
@ -7075,14 +7075,14 @@ var PublishShixun = function PublishShixun(_ref) {
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: v === null || v === void 0 ? void 0 : v.author_name
__html: v === null || v === void 0 ? void 0 : v.member_user_names
}
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: SelectShixunsmodules.authorname,
dangerouslySetInnerHTML: {
__html: v === null || v === void 0 ? void 0 : v.author_name
__html: v === null || v === void 0 ? void 0 : v.member_user_names
}
})
}), v.author_school_name && /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, {
@ -8364,10 +8364,11 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
// const currentNavIndex = navigation.findIndex(item => item.id === id)
getGroups(objectSpread2_default()({}, params)).then(function (res) {
var _res$navigation2;
setNavigation(res === null || res === void 0 ? void 0 : res.navigation);
// 判断是否进入子文件 是否有id 父文件夹是否为共享状态 ---> 隐藏试题共享按钮功能
// if (res.navigation.length > 1 && id && isShare) {
if (res.navigation.length > 1 && id) {
if ((res === null || res === void 0 ? void 0 : (_res$navigation2 = res.navigation) === null || _res$navigation2 === void 0 ? void 0 : _res$navigation2.length) > 1 && id) {
setSubjectShare(true);
} else {
setSubjectShare(false);
@ -11414,7 +11415,7 @@ var getquestion_rank_list = /*#__PURE__*/function () {
\********************************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAgCAYAAACcuBHKAAAACXBIWXMAAAsSAAALEgHS3X78AAAAAXNSR0IArs4c6QAAAhNJREFUWEftlztLA0EQx/97Z2LAF1ooKhZaCClsVARFLAQbbQTBVFY2NjZiI4KFINjo51DBD2BhI4IQfKAIikJAg48oKD4Kk3usbDabXHSTu1yCucJp5pL5z+zvZm4XllBKVZTZSBriaLIV9HMdBIOoJE22XHEaA8U+zMc19B2HbfV5BByCAeAzDMPB4rJiCt0uBoZDHI5uIv4xUczbFJQbqOFdJNVz6Nm64xB7wVtQf0tBhUohJol7VHX1c4jddr0UNV3VIMoGh9hpKB+EakazIer7gc5FwN/o6qUcJyWegKsV4PUgmZINEVwGfHXyWoQAlALMy0zEmHdi2htwsWSBeFnNjIPVYOuIWuJZrG0XtwOQ5PNOPC+U75tIjyM27wGIu1kdFZXyRupxJGPMMxPPQp8vbo3l0fNxMAhmpgYovt8+15yF3u47EPEceg4RnfHAOG6mPQARmSoeQvUDRsLpYLJ0fBylgBAAAoZ5mTGdFVj1p07M65CzThhxQM2xi6QLOtPzTlyOO4Nw1Wz7pN8QugZU+ACZT54Tlhj7bdXJ4j81LN9qupYax/lY6pxIAIpklmaO/+1fUq4Q9VKed+JsxAPjOB32AMTJkAcgjgY8ABHu/YfI3DtU4+/vHWwDG+o9hwh39+HrYR8Uitut7yqPwESgeTBzIWYg75FNEK3NVcFCk6gvitqOELtMZyAKLVJC/TfVWC6c92hknAAAAABJRU5ErkJggg==";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPcBeocMk1Cv00oii5L+fgPwcR/zHfb3AJY2sEpUVLOUhB/l+w7I1iS9TYDFrM3AzhqGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII=";
/***/ }),
@ -11424,7 +11425,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAgCAYAAACc
\********************************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAhCAYAAAC1ONkWAAAACXBIWXMAAAsSAAALEgHS3X78AAAAAXNSR0IArs4c6QAAAqRJREFUWEfNmE1o02AYx/9JzJaltHatZRVR5hSRXHYYbCpMmTIRexAsDD0L8+Rphx10DIQddvDowbugCB68iWOKDqeb7tKD+MGKA8vo3Nzch7ZLlsibJjPrkjRvE8hySUiej9/7/PO+b54wmqZx2IMH4wqWv3kIS19HIcTOgVUP1uRX2XmUVl+DxX10vHpX097FwBmMQC3kP4JtSFElYPiKefnLGJrSd+sFdAb70PMQm8o1KiirMR8D5FXv7pzwE5wyjuSJQbQ9KDiDvWwrgIu2eI8ckOXWWhGtvZ3OYONHlYBS0YeJtT52BnueVMAYMTVAvyZnu8N85mS/67kGMAygGQHNa/PcEC+6gCUqFUueBaQRgD9AP3IaD3kR+HQbWHqje9UG63wE7GumSVG/rbIMTF+nAKs/Fb2nd7An9MH9eEz3eaxY11O39dmYEUHNEgBTWY9gp575GT+97/srFrDl0QGo6h1Ai9JH8lFQNQXwJ3cG2Aab7T+CaPNcoEBUwY4Bje3/PSYvGRUjYGIkPDAmDjRdNsBUYBuMfI9968tBbJGoBhqksXgV4Iy3aPKi5R37nB1CJDUcZC6qWEIHIJ6puEx0W8EyEoR0Tt+7nPYwqkyGsdd4wn4gesMGjNwicrKN4cmZ7Af4RFXFCBiRk+PDkzN+oSLnDil1sIwERsjVo1ggPmIKSNyyATPl3PwbnpyHh6qWC3PIRE55Izw501lgZtBmryRylkvhyjn7wmETJ7NzvRienL/m9O5q9xcskXNjPhw5VRlQSsDvgh1YRsLaQnhybpWBP+sOzchU+1toWlfNnaB6ZaddN6zdEfE14ynymH0zMtNzGivfJ8CH1FpGjnc7d0lkhi7m76H8o5e2EL7sGW4E51eG3f/2+Mrgz3nPgv0D9Cc+LoUg84gAAAAASUVORK5CYII=";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAedJREFUOBGtVDtLA0EQ/jY5z7dgEBVJLHyAitpYWQqKjVZa5BfEKpWlWPgrLG0UEdTexkILRUQiSBBBCAhGUINFHia53Dm7ufXcvfgIOHA3O69vvtnbPeY4ThD/KIF/xBJQhg/wbmkZtj0KMKbEGNIweg4xuPmq+DWDKSOfz2/AqaxpOVWzip8HC2xTsydfjoMHhMd2VMDjkSswTPqSucOhh3PmupaIediBOnL52UTLENC7QCV1bC9vkjkF3i4WVUDeORIF2sf5ymOk7mY1pr87hoHEhekHDLYQOfck8c6c6OeYfPHN3LyOxEB2KwQru0LrBvTPdaGRipj7ISUzqUWJ/moiRyc1tUXAQP42Tsa6sEIRCtwDRXqESDYS8RuG5iyRMEWFAat4CbvsAmgFmukmeYofJYeSAimab0L4DfQNHiF1laFAyMv840o2zN3Q1FMuIOIWStF9OtAxH4xkIC8NZyN9SnIOsNISkLRd3EWlFBP0lQJtDzVTyc8mBKB3U65nUnBYmDaFAr98BFGqvYKtwOMZHRsp1vsedVxV8bQRJXu5BbKWa6sAmK1lj2FiOoLcS5LYNX/N+3ktp+GapFJMeoDccdI9gEJ2nW5HhJjKuXmktih7yjJoC8VVwNpldXnr+KX8DfcD09mnwzz7SXEAAAAASUVORK5CYII=";
/***/ }),
/***/ 31328:
/*!*************************************************!*\
!*** ./src/assets/images/problemset/folder.png ***!
\*************************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAodJREFUOBGtU0trFEEQ/qZnM5NsWBCfSEjwQdSggmAieAv4uOnFg5eIXgTvEY+ePJqToDf9AcZDFAUF8SgEQUxAjC6+QlhX4xo0G93ZnRnr697umSyKBCyY/aqqq76q6uoF/rN4lu/BmzSsLGFM7P4kAZQCiBTR64nCw/MHvRnj+fuvI7zxtDWJJD1lQulO5TPHnkAqpuAUFKZUqg8da8xI35+/cMh77AjHJ5cakh/oqHa2ZhGHpSb+STxJZA3lqesFG1CuLAdsqLfbb/dlTwQ7GdmG9VGVBuoNfT/nHGHUSnByeAN2binmmDK1gyM7aGvl6gruPvtadCOfvVlxN0PFjsF4qxMptjl7BflirsPAVxJoQjy5eUMqq6bkMgbWF7C4HGMlsnRmZE82xtEdYSwGnRTuhCvVqG3T8bGhHpweKaFWj3HpzqI7Z16SmHxHmKbcVE7yBs+k1uBm8wh6Q4VQJvrZMkEp98EGBB2h3pFUMWJmPLKniKGtXZhZiLC/L8CLhQbmqhHefmmi3pRYOwInY65gRiiM+ZEP9Ic4c7ik+Ye3dePK/W94/bmpbVNO4u2S2rmrOmRvtkEmlHraC9EUgEzo/optVwZM4IiCLivR1WhywwrT75p4WYlkqhTT7xs4vreIke2h3KWHTaUClC/ZnsR3fOTWMnarZi/QulYhr2l0MMDorhA7NhbwodbC5Xs/9FT5d+s6lJJSzHxWJ9ov9Xw8KceYX9LrQ9+6LF6pgs4luqVIIl+G69gp0id1tk+8/byJ77+AV9UEiRTJMnQMOYycuPZpNuhS+7TF+fgkiBSr55+J9eXOm1E86wjpPzrx8aI8hd3U1yryrOcejQ9cXWveP+N/A79g8eaXNDk4AAAAAElFTkSuQmCC";
/***/ })

@ -1949,7 +1949,7 @@ span[class~='ant-checkbox-checked'] span[class~='ant-checkbox-inner']::after {
}
.info___QKQMx span[class~='highlight'],
.tooltip-content___RseJD span[class~='highlight'] {
color: #E99237;
color: #fb3226;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\

@ -1228,6 +1228,10 @@ var regex = /(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;
}, [videoId, courseId]);
(0,react.useEffect)(function () {
var _src3;
if (el.current) {
pauseIcon.current.style.display = 'none';
playIcon.current.style.display = 'block';
}
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) {
@ -9302,7 +9306,7 @@ function OjProblem_reducer(state, action) {
modal/* default.error */.Z.error({
centered: true,
okText: '知道啦',
content: '评测代码超时'
title: '评测代码超时'
});
dispatch({
type: OjProblem_Types.SET_SUBMITING,
@ -9318,7 +9322,7 @@ function OjProblem_reducer(state, action) {
modal/* default.error */.Z.error({
centered: true,
okText: '知道啦',
content: '评测代码超时'
title: '评测代码超时'
});
}
_context7.next = 16;

@ -682,6 +682,7 @@ function CoursePanel(_ref3) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("ul", {
className: Searchmodules["search-panel"],
children: data === null || data === void 0 ? void 0 : data.map(function (item) {
var _item$content3, _item$content4, _item$content5, _item$content6, _item$content7, _item$content8;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
className: Searchmodules["search-course-item"],
children: [!item.is_accessible && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -701,25 +702,56 @@ function CoursePanel(_ref3) {
className: "".concat(Searchmodules.detail, " mt20"),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Searchmodules.sum,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
children: [item !== null && item !== void 0 && (_item$content3 = item.content) !== null && _item$content3 !== void 0 && _item$content3.member_user_names ? /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
overlayClassName: Searchmodules["tooltip-content"],
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : item.author_name
__html: item === null || item === void 0 ? void 0 : (_item$content4 = item.content) === null || _item$content4 === void 0 ? void 0 : _item$content4.member_user_names
}
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Searchmodules.authorname,
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : item.author_name
__html: item === null || item === void 0 ? void 0 : (_item$content5 = item.content) === null || _item$content5 === void 0 ? void 0 : _item$content5.member_user_names
}
})
}), (item === null || item === void 0 ? void 0 : item.author_school_name) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : item.author_school_name
}
}) : (item === null || item === void 0 ? void 0 : item.member_user_names) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.member_user_names
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Searchmodules.authorname,
children: item.member_user_names
})
}), item !== null && item !== void 0 && (_item$content6 = item.content) !== null && _item$content6 !== void 0 && _item$content6.author_school_name ? /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
overlayClassName: Searchmodules["tooltip-content"],
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : (_item$content7 = item.content) === null || _item$content7 === void 0 ? void 0 : _item$content7.author_school_name
}
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Searchmodules.authorname,
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : (_item$content8 = item.content) === null || _item$content8 === void 0 ? void 0 : _item$content8.author_school_name
}
})
}) : (item === null || item === void 0 ? void 0 : item.author_school_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.author_school_name
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Searchmodules.authorname,
children: item.author_school_name
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u6210\u5458\u6570 \xA0", item.members_count]
})]
@ -735,6 +767,7 @@ function SubjectPanel(_ref4) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("ul", {
className: Searchmodules["search-panel"],
children: data === null || data === void 0 ? void 0 : data.map(function (item) {
var _item$content9, _item$content10, _item$content11, _item$content12, _item$content13, _item$content14;
return /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
target: "_blank",
@ -753,25 +786,56 @@ function SubjectPanel(_ref4) {
justifyContent: 'space-between'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
children: [item !== null && item !== void 0 && (_item$content9 = item.content) !== null && _item$content9 !== void 0 && _item$content9.member_user_names ? /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
overlayClassName: Searchmodules["tooltip-content"],
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : item.author_name
__html: item === null || item === void 0 ? void 0 : (_item$content10 = item.content) === null || _item$content10 === void 0 ? void 0 : _item$content10.member_user_names
}
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Searchmodules.authorname,
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : item.author_name
__html: item === null || item === void 0 ? void 0 : (_item$content11 = item.content) === null || _item$content11 === void 0 ? void 0 : _item$content11.member_user_names
}
})
}), (item === null || item === void 0 ? void 0 : item.author_school_name) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : item.author_school_name
}
}) : (item === null || item === void 0 ? void 0 : item.member_user_names) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.member_user_names
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Searchmodules.authorname,
children: item.member_user_names
})
}), item !== null && item !== void 0 && (_item$content12 = item.content) !== null && _item$content12 !== void 0 && _item$content12.author_school_name ? /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
overlayClassName: Searchmodules["tooltip-content"],
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : (_item$content13 = item.content) === null || _item$content13 === void 0 ? void 0 : _item$content13.author_school_name
}
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Searchmodules.authorname,
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : (_item$content14 = item.content) === null || _item$content14 === void 0 ? void 0 : _item$content14.author_school_name
}
})
}) : (item === null || item === void 0 ? void 0 : item.author_school_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.author_school_name
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Searchmodules.authorname,
children: item.author_school_name
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
@ -793,7 +857,7 @@ function ShiXunPanel(_ref5) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("ul", {
className: Searchmodules["search-panel"],
children: data === null || data === void 0 ? void 0 : data.map(function (item) {
var _item$content3, _item$content3$challe, _item$content4, _item$content4$tag_na;
var _item$content15, _item$content15$chall, _item$content16, _item$content16$tag_n, _item$content17, _item$content18, _item$content19, _item$content20, _item$content21, _item$content22;
return /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
target: "_blank",
@ -823,7 +887,7 @@ function ShiXunPanel(_ref5) {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Searchmodules.info,
children: [!item.content.challenge_names ? null : /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, {
children: item === null || item === void 0 ? void 0 : (_item$content3 = item.content) === null || _item$content3 === void 0 ? void 0 : (_item$content3$challe = _item$content3.challenge_names) === null || _item$content3$challe === void 0 ? void 0 : _item$content3$challe.map(function (value) {
children: item === null || item === void 0 ? void 0 : (_item$content15 = item.content) === null || _item$content15 === void 0 ? void 0 : (_item$content15$chall = _item$content15.challenge_names) === null || _item$content15$chall === void 0 ? void 0 : _item$content15$chall.map(function (value) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "flex-container",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
@ -834,7 +898,7 @@ function ShiXunPanel(_ref5) {
}, value);
})
}), !item.content.tag_names ? null : /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, {
children: item === null || item === void 0 ? void 0 : (_item$content4 = item.content) === null || _item$content4 === void 0 ? void 0 : (_item$content4$tag_na = _item$content4.tag_names) === null || _item$content4$tag_na === void 0 ? void 0 : _item$content4$tag_na.map(function (value) {
children: item === null || item === void 0 ? void 0 : (_item$content16 = item.content) === null || _item$content16 === void 0 ? void 0 : (_item$content16$tag_n = _item$content16.tag_names) === null || _item$content16$tag_n === void 0 ? void 0 : _item$content16$tag_n.map(function (value) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "flex-container",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
@ -854,25 +918,56 @@ function ShiXunPanel(_ref5) {
justifyContent: 'space-between'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
children: [item !== null && item !== void 0 && (_item$content17 = item.content) !== null && _item$content17 !== void 0 && _item$content17.member_user_names ? /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
overlayClassName: Searchmodules["tooltip-content"],
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : item.author_name
__html: item === null || item === void 0 ? void 0 : (_item$content18 = item.content) === null || _item$content18 === void 0 ? void 0 : _item$content18.member_user_names
}
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Searchmodules.authorname,
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : item.author_name
__html: item === null || item === void 0 ? void 0 : (_item$content19 = item.content) === null || _item$content19 === void 0 ? void 0 : _item$content19.member_user_names
}
})
}), (item === null || item === void 0 ? void 0 : item.author_school_name) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : item.author_school_name
}
}) : (item === null || item === void 0 ? void 0 : item.member_user_names) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.member_user_names
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Searchmodules.authorname,
children: item.member_user_names
})
}), item !== null && item !== void 0 && (_item$content20 = item.content) !== null && _item$content20 !== void 0 && _item$content20.author_school_name ? /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
overlayClassName: Searchmodules["tooltip-content"],
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : (_item$content21 = item.content) === null || _item$content21 === void 0 ? void 0 : _item$content21.author_school_name
}
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Searchmodules.authorname,
dangerouslySetInnerHTML: {
__html: item === null || item === void 0 ? void 0 : (_item$content22 = item.content) === null || _item$content22 === void 0 ? void 0 : _item$content22.author_school_name
}
})
}) : (item === null || item === void 0 ? void 0 : item.author_school_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.author_school_name
})
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Searchmodules.authorname,
children: item.author_school_name
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {

@ -194,7 +194,7 @@
}
.search-panel___OJsfs span[class~='highlight'],
.tooltip-content___oGakU span[class~='highlight'] {
color: #E99237;
color: #fb3226;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\

@ -3540,6 +3540,9 @@ var Warehouse = function Warehouse(_ref) {
}, [practiceSetting === null || practiceSetting === void 0 ? void 0 : (_practiceSetting$side6 = practiceSetting.sideBar) === null || _practiceSetting$side6 === void 0 ? void 0 : _practiceSetting$side6.selectPath]);
var menu = /*#__PURE__*/(0,jsx_runtime.jsxs)(es_menu/* default */.Z, {
className: Warehousemodules.menu,
style: {
background: '#24294b'
},
onClick: function onClick(value) {
var _shixunsDetail$detail;
if (!(shixunsDetail !== null && shixunsDetail !== void 0 && (_shixunsDetail$detail = shixunsDetail.detail) !== null && _shixunsDetail$detail !== void 0 && _shixunsDetail$detail.secret_repository) && value.key === "2") {

@ -3928,9 +3928,6 @@ var CourseList = function CourseList(_ref) {
className: CourseListmodules.sign,
src: sg_namespaceObject
}), featured === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: ''
}), featured === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: jg_namespaceObject
})]
@ -9802,6 +9799,9 @@ var Warehouse = function Warehouse(_ref) {
}, [practiceSetting === null || practiceSetting === void 0 ? void 0 : (_practiceSetting$side6 = practiceSetting.sideBar) === null || _practiceSetting$side6 === void 0 ? void 0 : _practiceSetting$side6.selectPath]);
var menu = /*#__PURE__*/(0,jsx_runtime.jsxs)(es_menu/* default */.Z, {
className: Warehousemodules.menu,
style: {
background: '#24294b'
},
onClick: function onClick(value) {
var _shixunsDetail$detail;
if (!(shixunsDetail !== null && shixunsDetail !== void 0 && (_shixunsDetail$detail = shixunsDetail.detail) !== null && _shixunsDetail$detail !== void 0 && _shixunsDetail$detail.secret_repository) && value.key === "2") {
@ -10112,9 +10112,9 @@ var Warehouse = function Warehouse(_ref) {
/***/ }),
/***/ 24747:
/***/ 77164:
/*!*******************************************************!*\
!*** ./src/pages/Shixuns/Edit/index.tsx + 46 modules ***!
!*** ./src/pages/Shixuns/Edit/index.tsx + 47 modules ***!
\*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -10654,8 +10654,8 @@ var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableA
;// CONCATENATED MODULE: ./src/pages/Shixuns/Edit/body/Information/AddTags/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var AddTagsmodules = ({"btn":"btn___CiIEf","s1":"s1___JCH7l","s2":"s2___jSyjE"});
// EXTERNAL MODULE: ./src/assets/images/icons/tagDelete.png
var tagDelete = __webpack_require__(57810);
;// CONCATENATED MODULE: ./src/assets/images/icons/tagDelete.png
var tagDelete_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABjUlEQVQ4T61VsUoDQRB9s+eVYifkUlqIWCW3sbBMqYUR0cbfUPETxPgZ2giigpZaCnKXpBK1sMydpIx25+7ISu5ILhsjclvuzLx5M292lmA57PtuF2gIYIMBSYBn3BiICAg1cF0GrqjVSvLhlL+IqtVNEDUZWLAlS+8IeAPzvtduXw77ZYAMiEjKI2LeY2AskQ2cAGaiEy8MDwnQxicL7Ep5bDL+xmqijahZDsODDHBQ5sVfmVn6xmDeMuWTESAGnqf1bBpz09MSsESx729r4DwfIIA6hPjUSt2AaP7Hztwj5nXHdd0vpR7yMQzsUOT7pwzsjgEKsVIKgiCu1Za1UvfGLhynXgqCp6hSkSxEYCn9jLq+/wJgcawk5l4KYECN3YBlCVLWo4GvhmGfgVlrj4ZAjX0KmBmZD8Owj4IAMQAsvGSrKKR1zet0QpsosZQrmvnRKsqksZlxnFWVJAkT3Y6MDbAmgDlFdGcdm8IH22Qp9OmltAtdDoPlWez6SpkWtmCHFTNCvQMN/scX8A1e4fnIOEHt8AAAAABJRU5ErkJggg==";
;// CONCATENATED MODULE: ./src/pages/Shixuns/Edit/body/Information/AddTags/index.tsx
@ -10725,7 +10725,7 @@ var AddTags = function AddTags(_ref) {
className: AddTagsmodules.s1,
children: item.name
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: tagDelete,
src: tagDelete_namespaceObject,
className: AddTagsmodules.s2,
onClick: function onClick() {
return handleDelete(index);
@ -19449,17 +19449,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl
/***/ }),
/***/ 57810:
/*!***********************************************!*\
!*** ./src/assets/images/icons/tagDelete.png ***!
\***********************************************/
/***/ (function(module) {
"use strict";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABjUlEQVQ4T61VsUoDQRB9s+eVYifkUlqIWCW3sbBMqYUR0cbfUPETxPgZ2giigpZaCnKXpBK1sMydpIx25+7ISu5ILhsjclvuzLx5M292lmA57PtuF2gIYIMBSYBn3BiICAg1cF0GrqjVSvLhlL+IqtVNEDUZWLAlS+8IeAPzvtduXw77ZYAMiEjKI2LeY2AskQ2cAGaiEy8MDwnQxicL7Ep5bDL+xmqijahZDsODDHBQ5sVfmVn6xmDeMuWTESAGnqf1bBpz09MSsESx729r4DwfIIA6hPjUSt2AaP7Hztwj5nXHdd0vpR7yMQzsUOT7pwzsjgEKsVIKgiCu1Za1UvfGLhynXgqCp6hSkSxEYCn9jLq+/wJgcawk5l4KYECN3YBlCVLWo4GvhmGfgVlrj4ZAjX0KmBmZD8Owj4IAMQAsvGSrKKR1zet0QpsosZQrmvnRKsqksZlxnFWVJAkT3Y6MDbAmgDlFdGcdm8IH22Qp9OmltAtdDoPlWez6SpkWtmCHFTNCvQMN/scX8A1e4fnIOEHt8AAAAABJRU5ErkJggg==";
/***/ }),
/***/ 36723:
/*!*****************************************!*\
!*** ./src/assets/images/noEnvData.png ***!

@ -935,9 +935,6 @@ var CourseList = function CourseList(_ref) {
className: CourseListmodules.sign,
src: sg_namespaceObject
}), featured === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: ''
}), featured === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: jg_namespaceObject
})]

@ -519,6 +519,10 @@ var regex = /(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;
}, [videoId, courseId]);
(0,react.useEffect)(function () {
var _src3;
if (el.current) {
pauseIcon.current.style.display = 'none';
playIcon.current.style.display = 'block';
}
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) {
@ -1672,7 +1676,7 @@ var List = function List(_ref) {
className: "ml30 c-grey-999 mr20",
children: ["\u8003\u8BD5\u65F6\u957F\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-blue",
children: v.time === null || v.time === -1 ? '不限' : "".concat(v.time, "\u5206\u949F")
children: v.time === null || v.time === -1 ? '不限' : "".concat(v.time, "\u5206\u949F")
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml15 c-grey-999",

@ -21497,7 +21497,6 @@ var useRemindModal = function useRemindModal(answerData) {
content: "".concat(eventItem === null || eventItem === void 0 ? void 0 : eventItem.reminder_content),
icon: null,
title: '提示',
className: 'edu-modal',
centered: true,
okText: "知道了"
});

@ -537,50 +537,50 @@ body:fullscreen .task-header-container {
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/tasks/left-panel/task-path-list/index.less?modules ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
div.tree___LyfjL {
#educoder div.tree___LyfjL {
background: none;
color: #fff;
}
div.tree___LyfjL i {
#educoder div.tree___LyfjL i {
font-style: normal;
}
div.tree___LyfjL [class~='ant-tree-treenode'] {
#educoder div.tree___LyfjL [class~='ant-tree-treenode'] {
padding: 4px 0;
margin: 4px 0;
font-size: 14px;
}
div.tree___LyfjL [class~='ant-tree-treenode'] [class~='ant-tree-switcher_open'] [class~='icon-you1'] {
#educoder div.tree___LyfjL [class~='ant-tree-treenode'] [class~='ant-tree-switcher_open'] [class~='icon-you1'] {
left: -1px;
}
div.tree___LyfjL [class~='ant-tree-treenode'] [class~='ant-tree-iconEle'] {
#educoder div.tree___LyfjL [class~='ant-tree-treenode'] [class~='ant-tree-iconEle'] {
display: none;
}
div.tree___LyfjL [class~='ant-tree-treenode'] [class~='ant-tree-title'] {
#educoder div.tree___LyfjL [class~='ant-tree-treenode'] [class~='ant-tree-title'] {
display: inline-flex;
align-items: center;
}
div.tree___LyfjL [class~='ant-tree-treenode'] [class~='ant-tree-title'] [class~='iconfont'] {
#educoder div.tree___LyfjL [class~='ant-tree-treenode'] [class~='ant-tree-title'] [class~='iconfont'] {
margin-right: 8px;
}
div.tree___LyfjL [class~='ant-tree-treenode'] [class~='ant-tree-title'] [class~='icon-tasks-img'] {
#educoder div.tree___LyfjL [class~='ant-tree-treenode'] [class~='ant-tree-title'] [class~='icon-tasks-img'] {
position: absolute;
right: 0;
top: 5px;
font-size: 0;
}
div.tree___LyfjL [class~='ant-tree-treenode']:hover::before {
#educoder div.tree___LyfjL [class~='ant-tree-treenode']:hover::before {
background: #0152d9 !important;
}
div.tree___LyfjL [class~='ant-tree-treenode']:hover * {
#educoder div.tree___LyfjL [class~='ant-tree-treenode']:hover * {
color: #fff;
}
div.tree___LyfjL [class~='ant-tree-treenode-selected']::before {
#educoder div.tree___LyfjL [class~='ant-tree-treenode-selected']::before {
visibility: hidden;
}
div.tree___LyfjL [class~='ant-tree-treenode-selected'] [class~='ant-tree-title'] {
#educoder div.tree___LyfjL [class~='ant-tree-treenode-selected'] [class~='ant-tree-title'] {
color: #0152d9;
}
div.tree___LyfjL [class~='ant-tree-switcher_open'] {
#educoder div.tree___LyfjL [class~='ant-tree-switcher_open'] {
transform: rotate(90deg);
}

@ -2945,9 +2945,6 @@ var CourseList = function CourseList(_ref) {
className: CourseListmodules.sign,
src: sg_namespaceObject
}), featured === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: ''
}), featured === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.sign,
src: jg_namespaceObject
})]

@ -10527,7 +10527,7 @@ p {
font-size: 14px;
overflow: auto;
}
#educoder .ant-modal .ant-modal-content .ant-modal-body .anticon-exclamation-circle {
#educoder .ant-modal .ant-modal-content .ant-modal-body .ant-modal-confirm-body > .anticon {
margin-bottom: 5px;
}
#educoder .ant-modal .ant-modal-content .ant-modal-body .ant-modal-confirm-title {
@ -10647,6 +10647,10 @@ p {
#educoder:has([class^="ant-modal-mask"]) body {
overflow: scroll;
}
#educoder:has([class^="body-overflow-initial"]) body {
overflow: visible;
overflow: initial;
}
#noVNC_mouse_capture_elem,
#noVNC_mouse_capture_elem + canvas {
display: none !important;
@ -12204,6 +12208,5 @@ body[data-custom='auto'] {
.layoutMainClass___t8btz {
min-width: 1200px;
min-height: 80vh;
background-color: #fff;
}

137
umi.js

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