diff --git a/11030.async.js b/11030.async.js index 78f457267d..47226d21ea 100644 --- a/11030.async.js +++ b/11030.async.js @@ -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 })] diff --git a/59278.async.js b/59278.async.js deleted file mode 100644 index b3d3d45d8d..0000000000 --- a/59278.async.js +++ /dev/null @@ -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); - -/***/ }) - -}]); \ No newline at end of file diff --git a/59627.async.js b/59627.async.js index 7340159ccf..5fa698fbb6 100644 --- a/59627.async.js +++ b/59627.async.js @@ -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 })] diff --git a/60696.async.js b/60696.async.js index 93048177da..b82ab3f5ab 100644 --- a/60696.async.js +++ b/60696.async.js @@ -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 }); diff --git a/79086.async.js b/61990.async.js similarity index 97% rename from 79086.async.js rename to 61990.async.js index 33f7ff847d..a9b37d1706 100644 --- a/79086.async.js +++ b/61990.async.js @@ -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 ***! diff --git a/66455.async.js b/66455.async.js new file mode 100644 index 0000000000..b8e7614c7f --- /dev/null +++ b/66455.async.js @@ -0,0 +1,2480 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[66455,88511,59606,70491,66379,64649,33893,9277,54682,68282],{ + +/***/ 81643: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/_util/getRenderPropValue.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getRenderPropValue; } +/* harmony export */ }); +const getRenderPropValue = propValue => { + if (!propValue) { + return null; + } + if (typeof propValue === 'function') { + return propValue(); + } + return propValue; +}; + +/***/ }), + +/***/ 85673: +/*!**************************************************************!*\ + !*** ./node_modules/antd/es/breadcrumb/index.js + 6 modules ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ breadcrumb; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/Children/toArray.js +var toArray = __webpack_require__(37419); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(1337); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules +var DownOutlined = __webpack_require__(80882); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules +var dropdown = __webpack_require__(35874); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js + + +const BreadcrumbSeparator = _ref => { + let { + children + } = _ref; + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('breadcrumb'); + return /*#__PURE__*/react.createElement("li", { + className: `${prefixCls}-separator`, + "aria-hidden": "true" + }, children === '' ? children : children || '/'); +}; +BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; +/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/useItemRender.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; +}; + + + +function getBreadcrumbName(route, params) { + if (route.title === undefined || route.title === null) { + return null; + } + const paramsKeys = Object.keys(params).join('|'); + return typeof route.title === 'object' ? route.title : String(route.title).replace(new RegExp(`:(${paramsKeys})`, 'g'), (replacement, key) => params[key] || replacement); +} +function renderItem(prefixCls, item, children, href) { + if (children === null || children === undefined) { + return null; + } + const { + className, + onClick + } = item, + restItem = __rest(item, ["className", "onClick"]); + const passedProps = Object.assign(Object.assign({}, (0,pickAttrs/* default */.Z)(restItem, { + data: true, + aria: true + })), { + onClick + }); + if (href !== undefined) { + return /*#__PURE__*/react.createElement("a", Object.assign({}, passedProps, { + className: classnames_default()(`${prefixCls}-link`, className), + href: href + }), children); + } + return /*#__PURE__*/react.createElement("span", Object.assign({}, passedProps, { + className: classnames_default()(`${prefixCls}-link`, className) + }), children); +} +function useItemRender(prefixCls, itemRender) { + const mergedItemRender = (item, params, routes, path, href) => { + if (itemRender) { + return itemRender(item, params, routes, path); + } + const name = getBreadcrumbName(item, params); + return renderItem(prefixCls, item, name, href); + }; + return mergedItemRender; +} +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js +var BreadcrumbItem_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 InternalBreadcrumbItem = props => { + const { + prefixCls, + separator = '/', + children, + menu, + overlay, + dropdownProps, + href + } = props; + // Warning for deprecated usage + if (false) {} + /** If overlay is have Wrap a Dropdown */ + const renderBreadcrumbNode = breadcrumbItem => { + if (menu || overlay) { + const mergeDropDownProps = Object.assign({}, dropdownProps); + if (menu) { + const _a = menu || {}, + { + items + } = _a, + menuProps = BreadcrumbItem_rest(_a, ["items"]); + mergeDropDownProps.menu = Object.assign(Object.assign({}, menuProps), { + items: items === null || items === void 0 ? void 0 : items.map((_a, index) => { + var { + key, + title, + label, + path + } = _a, + itemProps = BreadcrumbItem_rest(_a, ["key", "title", "label", "path"]); + let mergedLabel = label !== null && label !== void 0 ? label : title; + if (path) { + mergedLabel = /*#__PURE__*/react.createElement("a", { + href: `${href}${path}` + }, mergedLabel); + } + return Object.assign(Object.assign({}, itemProps), { + key: key !== null && key !== void 0 ? key : index, + label: mergedLabel + }); + }) + }); + } else if (overlay) { + mergeDropDownProps.overlay = overlay; + } + return /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({ + placement: "bottom" + }, mergeDropDownProps), /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-overlay-link` + }, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null))); + } + return breadcrumbItem; + }; + // wrap to dropDown + const link = renderBreadcrumbNode(children); + if (link !== undefined && link !== null) { + return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("li", null, link), separator && /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbSeparator, null, separator)); + } + return null; +}; +const BreadcrumbItem = props => { + const { + prefixCls: customizePrefixCls, + children, + href + } = props, + restProps = BreadcrumbItem_rest(props, ["prefixCls", "children", "href"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + return /*#__PURE__*/react.createElement(InternalBreadcrumbItem, Object.assign({}, restProps, { + prefixCls: prefixCls + }), renderItem(prefixCls, restProps, children, href)); +}; +BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; +/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); +// 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/breadcrumb/style/index.js + + +const genBreadcrumbStyle = token => { + const { + componentCls, + iconCls + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + color: token.itemColor, + fontSize: token.fontSize, + [iconCls]: { + fontSize: token.iconFontSize + }, + ol: { + display: 'flex', + flexWrap: 'wrap', + margin: 0, + padding: 0, + listStyle: 'none' + }, + a: Object.assign({ + color: token.linkColor, + transition: `color ${token.motionDurationMid}`, + padding: `0 ${token.paddingXXS}px`, + borderRadius: token.borderRadiusSM, + height: token.lineHeight * token.fontSize, + display: 'inline-block', + marginInline: -token.marginXXS, + '&:hover': { + color: token.linkHoverColor, + backgroundColor: token.colorBgTextHover + } + }, (0,style/* genFocusStyle */.Qy)(token)), + [`li:last-child`]: { + color: token.lastItemColor + }, + [`${componentCls}-separator`]: { + marginInline: token.separatorMargin, + color: token.separatorColor + }, + [`${componentCls}-link`]: { + [` + > ${iconCls} + span, + > ${iconCls} + a + `]: { + marginInlineStart: token.marginXXS + } + }, + [`${componentCls}-overlay-link`]: { + borderRadius: token.borderRadiusSM, + height: token.lineHeight * token.fontSize, + display: 'inline-block', + padding: `0 ${token.paddingXXS}px`, + marginInline: -token.marginXXS, + [`> ${iconCls}`]: { + marginInlineStart: token.marginXXS, + fontSize: token.fontSizeIcon + }, + '&:hover': { + color: token.linkHoverColor, + backgroundColor: token.colorBgTextHover, + a: { + color: token.linkHoverColor + } + }, + a: { + '&:hover': { + backgroundColor: 'transparent' + } + } + }, + // rtl style + [`&${token.componentCls}-rtl`]: { + direction: 'rtl' + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var breadcrumb_style = ((0,genComponentStyleHook/* default */.Z)('Breadcrumb', token => { + const BreadcrumbToken = (0,statistic/* merge */.TS)(token, {}); + return [genBreadcrumbStyle(BreadcrumbToken)]; +}, token => ({ + itemColor: token.colorTextDescription, + lastItemColor: token.colorText, + iconFontSize: token.fontSize, + linkColor: token.colorTextDescription, + linkHoverColor: token.colorText, + separatorColor: token.colorTextDescription, + separatorMargin: token.marginXS +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/useItems.js +var useItems_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + +function route2item(route) { + const { + breadcrumbName, + children + } = route, + rest = useItems_rest(route, ["breadcrumbName", "children"]); + const clone = Object.assign({ + title: breadcrumbName + }, rest); + if (children) { + clone.menu = { + items: children.map(_a => { + var { + breadcrumbName: itemBreadcrumbName + } = _a, + itemProps = useItems_rest(_a, ["breadcrumbName"]); + return Object.assign(Object.assign({}, itemProps), { + title: itemBreadcrumbName + }); + }) + }; + } + return clone; +} +function useItems(items, routes) { + return (0,react.useMemo)(() => { + if (items) { + return items; + } + if (routes) { + return routes.map(route2item); + } + return null; + }, [items, routes]); +} +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js +var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + + +const getPath = (params, path) => { + if (path === undefined) { + return path; + } + let mergedPath = (path || '').replace(/^\//, ''); + Object.keys(params).forEach(key => { + mergedPath = mergedPath.replace(`:${key}`, params[key]); + }); + return mergedPath; +}; +const Breadcrumb = props => { + const { + prefixCls: customizePrefixCls, + separator = '/', + style, + className, + rootClassName, + routes: legacyRoutes, + items, + children, + itemRender, + params = {} + } = props, + restProps = Breadcrumb_rest(props, ["prefixCls", "separator", "style", "className", "rootClassName", "routes", "items", "children", "itemRender", "params"]); + const { + getPrefixCls, + direction, + breadcrumb + } = react.useContext(context/* ConfigContext */.E_); + let crumbs; + const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + const [wrapSSR, hashId] = breadcrumb_style(prefixCls); + const mergedItems = useItems(items, legacyRoutes); + if (false) {} + const mergedItemRender = useItemRender(prefixCls, itemRender); + if (mergedItems && mergedItems.length > 0) { + // generated by route + const paths = []; + const itemRenderRoutes = items || legacyRoutes; + crumbs = mergedItems.map((item, index) => { + const { + path, + key, + type, + menu, + overlay, + onClick, + className: itemClassName, + separator: itemSeparator, + dropdownProps + } = item; + const mergedPath = getPath(params, path); + if (mergedPath !== undefined) { + paths.push(mergedPath); + } + const mergedKey = key !== null && key !== void 0 ? key : index; + if (type === 'separator') { + return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbSeparator, { + key: mergedKey + }, itemSeparator); + } + const itemProps = {}; + const isLastItem = index === mergedItems.length - 1; + if (menu) { + itemProps.menu = menu; + } else if (overlay) { + itemProps.overlay = overlay; + } + let { + href + } = item; + if (paths.length && mergedPath !== undefined) { + href = `#/${paths.join('/')}`; + } + return /*#__PURE__*/react.createElement(InternalBreadcrumbItem, Object.assign({ + key: mergedKey + }, itemProps, (0,pickAttrs/* default */.Z)(item, { + data: true, + aria: true + }), { + className: itemClassName, + dropdownProps: dropdownProps, + href: href, + separator: isLastItem ? '' : separator, + onClick: onClick, + prefixCls: prefixCls + }), mergedItemRender(item, params, itemRenderRoutes, paths, href)); + }); + } else if (children) { + const childrenLength = (0,toArray/* default */.Z)(children).length; + crumbs = (0,toArray/* default */.Z)(children).map((element, index) => { + if (!element) { + return element; + } + // =================== Warning ===================== + if (false) {} + false ? 0 : void 0; + const isLastItem = index === childrenLength - 1; + return (0,reactNode/* cloneElement */.Tm)(element, { + separator: isLastItem ? '' : separator, + key: index + }); + }); + } + const breadcrumbClassName = classnames_default()(prefixCls, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.className, { + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + const mergedStyle = Object.assign(Object.assign({}, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.style), style); + return wrapSSR( /*#__PURE__*/react.createElement("nav", Object.assign({ + className: breadcrumbClassName, + style: mergedStyle + }, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs))); +}; +Breadcrumb.Item = breadcrumb_BreadcrumbItem; +Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; +if (false) {} +/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js +'use client'; + + +/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); + +/***/ }), + +/***/ 96074: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/divider/index.js + 1 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ divider; } +}); + +// 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/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/divider/style/index.js + + +// ============================== Shared ============================== +const genSharedDividerStyle = token => { + const { + componentCls, + sizePaddingEdgeHorizontal, + colorSplit, + lineWidth + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + borderBlockStart: `${lineWidth}px solid ${colorSplit}`, + // vertical + '&-vertical': { + position: 'relative', + top: '-0.06em', + display: 'inline-block', + height: '0.9em', + margin: `0 ${token.dividerVerticalGutterMargin}px`, + verticalAlign: 'middle', + borderTop: 0, + borderInlineStart: `${lineWidth}px solid ${colorSplit}` + }, + '&-horizontal': { + display: 'flex', + clear: 'both', + width: '100%', + minWidth: '100%', + margin: `${token.dividerHorizontalGutterMargin}px 0` + }, + [`&-horizontal${componentCls}-with-text`]: { + display: 'flex', + alignItems: 'center', + margin: `${token.dividerHorizontalWithTextGutterMargin}px 0`, + color: token.colorTextHeading, + fontWeight: 500, + fontSize: token.fontSizeLG, + whiteSpace: 'nowrap', + textAlign: 'center', + borderBlockStart: `0 ${colorSplit}`, + '&::before, &::after': { + position: 'relative', + width: '50%', + borderBlockStart: `${lineWidth}px solid transparent`, + // Chrome not accept `inherit` in `border-top` + borderBlockStartColor: 'inherit', + borderBlockEnd: 0, + transform: 'translateY(50%)', + content: "''" + } + }, + [`&-horizontal${componentCls}-with-text-left`]: { + '&::before': { + width: '5%' + }, + '&::after': { + width: '95%' + } + }, + [`&-horizontal${componentCls}-with-text-right`]: { + '&::before': { + width: '95%' + }, + '&::after': { + width: '5%' + } + }, + [`${componentCls}-inner-text`]: { + display: 'inline-block', + padding: '0 1em' + }, + '&-dashed': { + background: 'none', + borderColor: colorSplit, + borderStyle: 'dashed', + borderWidth: `${lineWidth}px 0 0` + }, + [`&-horizontal${componentCls}-with-text${componentCls}-dashed`]: { + '&::before, &::after': { + borderStyle: 'dashed none none' + } + }, + [`&-vertical${componentCls}-dashed`]: { + borderInlineStartWidth: lineWidth, + borderInlineEnd: 0, + borderBlockStart: 0, + borderBlockEnd: 0 + }, + [`&-plain${componentCls}-with-text`]: { + color: token.colorText, + fontWeight: 'normal', + fontSize: token.fontSize + }, + [`&-horizontal${componentCls}-with-text-left${componentCls}-no-default-orientation-margin-left`]: { + '&::before': { + width: 0 + }, + '&::after': { + width: '100%' + }, + [`${componentCls}-inner-text`]: { + paddingInlineStart: sizePaddingEdgeHorizontal + } + }, + [`&-horizontal${componentCls}-with-text-right${componentCls}-no-default-orientation-margin-right`]: { + '&::before': { + width: '100%' + }, + '&::after': { + width: 0 + }, + [`${componentCls}-inner-text`]: { + paddingInlineEnd: sizePaddingEdgeHorizontal + } + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var divider_style = ((0,genComponentStyleHook/* default */.Z)('Divider', token => { + const dividerToken = (0,statistic/* merge */.TS)(token, { + dividerVerticalGutterMargin: token.marginXS, + dividerHorizontalWithTextGutterMargin: token.margin, + dividerHorizontalGutterMargin: token.marginLG + }); + return [genSharedDividerStyle(dividerToken)]; +}, { + sizePaddingEdgeHorizontal: 0 +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/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 Divider = props => { + const { + getPrefixCls, + direction, + divider + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'horizontal', + orientation = 'center', + orientationMargin, + className, + rootClassName, + children, + dashed, + plain, + style + } = props, + restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]); + const prefixCls = getPrefixCls('divider', customizePrefixCls); + const [wrapSSR, hashId] = divider_style(prefixCls); + const orientationPrefix = orientation.length > 0 ? `-${orientation}` : orientation; + const hasChildren = !!children; + const hasCustomMarginLeft = orientation === 'left' && orientationMargin != null; + const hasCustomMarginRight = orientation === 'right' && orientationMargin != null; + const classString = classnames_default()(prefixCls, divider === null || divider === void 0 ? void 0 : divider.className, hashId, `${prefixCls}-${type}`, { + [`${prefixCls}-with-text`]: hasChildren, + [`${prefixCls}-with-text${orientationPrefix}`]: hasChildren, + [`${prefixCls}-dashed`]: !!dashed, + [`${prefixCls}-plain`]: !!plain, + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-no-default-orientation-margin-left`]: hasCustomMarginLeft, + [`${prefixCls}-no-default-orientation-margin-right`]: hasCustomMarginRight + }, className, rootClassName); + const memoizedOrientationMargin = react.useMemo(() => { + if (typeof orientationMargin === 'number') { + return orientationMargin; + } + if (/^\d+$/.test(orientationMargin)) { + return Number(orientationMargin); + } + return orientationMargin; + }, [orientationMargin]); + const innerStyle = Object.assign(Object.assign({}, hasCustomMarginLeft && { + marginLeft: memoizedOrientationMargin + }), hasCustomMarginRight && { + marginRight: memoizedOrientationMargin + }); + // Warning children not work in vertical mode + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: Object.assign(Object.assign({}, divider === null || divider === void 0 ? void 0 : divider.style), style) + }, restProps, { + role: "separator" + }), children && type !== 'vertical' && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-inner-text`, + style: innerStyle + }, children))); +}; +if (false) {} +/* harmony default export */ var divider = (Divider); + +/***/ }), + +/***/ 66330: +/*!***************************************************!*\ + !*** ./node_modules/antd/es/popover/PurePanel.js ***! + \***************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* unused harmony exports getOverlay, RawPurePanel */ +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 92419); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 81643); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 20136); +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 getOverlay = (prefixCls, title, content) => { + if (!title && !content) return undefined; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(content))); +}; +const RawPurePanel = props => { + const { + hashId, + prefixCls, + className, + style, + placement = 'top', + title, + content, + children + } = props; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(hashId, prefixCls, `${prefixCls}-pure`, `${prefixCls}-placement-${placement}`, className), + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-arrow` + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_tooltip__WEBPACK_IMPORTED_MODULE_1__/* .Popup */ .G, Object.assign({}, props, { + className: hashId, + prefixCls: prefixCls + }), children || getOverlay(prefixCls, title, content))); +}; +const PurePanel = props => { + const { + prefixCls: customizePrefixCls + } = props, + restProps = __rest(props, ["prefixCls"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_4__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(RawPurePanel, Object.assign({}, restProps, { + prefixCls: prefixCls, + hashId: hashId + }))); +}; +/* harmony default export */ __webpack_exports__["ZP"] = (PurePanel); + +/***/ }), + +/***/ 55241: +/*!***********************************************!*\ + !*** ./node_modules/antd/es/popover/index.js ***! + \***********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 81643); +/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_util/motion */ 33603); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tooltip */ 83062); +/* harmony import */ var _PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PurePanel */ 66330); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style */ 20136); +'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; +}; + + + + + + + +// CSSINJS + +const Overlay = _ref => { + let { + title, + content, + prefixCls + } = _ref; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(content))); +}; +const Popover = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + title, + content, + overlayClassName, + placement = 'top', + trigger = 'hover', + mouseEnterDelay = 0.1, + mouseLeaveDelay = 0.1, + overlayStyle = {} + } = props, + otherProps = __rest(props, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(prefixCls); + const rootPrefixCls = getPrefixCls(); + const overlayCls = classnames__WEBPACK_IMPORTED_MODULE_0___default()(overlayClassName, hashId); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, Object.assign({ + placement: placement, + trigger: trigger, + mouseEnterDelay: mouseEnterDelay, + mouseLeaveDelay: mouseLeaveDelay, + overlayStyle: overlayStyle + }, otherProps, { + prefixCls: prefixCls, + overlayClassName: overlayCls, + ref: ref, + overlay: title || content ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Overlay, { + prefixCls: prefixCls, + title: title, + content: content + }) : null, + transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_6__/* .getTransitionName */ .mL)(rootPrefixCls, 'zoom-big', otherProps.transitionName), + "data-popover-inject": true + }))); +}); +if (false) {} +Popover._InternalPanelDoNotUseOrYouWillBeFired = _PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP; +/* harmony default export */ __webpack_exports__["Z"] = (Popover); + +/***/ }), + +/***/ 20136: +/*!*****************************************************!*\ + !*** ./node_modules/antd/es/popover/style/index.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style/motion */ 50438); +/* harmony import */ var _style_placementArrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style/placementArrow */ 97414); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 8796); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../theme/internal */ 45503); + + + + +const genBaseStyle = token => { + const { + componentCls, + popoverColor, + minWidth, + fontWeightStrong, + popoverPadding, + boxShadowSecondary, + colorTextHeading, + borderRadiusLG: borderRadius, + zIndexPopup, + marginXS, + colorBgElevated, + popoverBg + } = token; + return [{ + [componentCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { + position: 'absolute', + top: 0, + // use `left` to fix https://github.com/ant-design/ant-design/issues/39195 + left: { + _skip_check_: true, + value: 0 + }, + zIndex: zIndexPopup, + fontWeight: 'normal', + whiteSpace: 'normal', + textAlign: 'start', + cursor: 'auto', + userSelect: 'text', + transformOrigin: `var(--arrow-x, 50%) var(--arrow-y, 50%)`, + '--antd-arrow-background-color': colorBgElevated, + '&-rtl': { + direction: 'rtl' + }, + '&-hidden': { + display: 'none' + }, + [`${componentCls}-content`]: { + position: 'relative' + }, + [`${componentCls}-inner`]: { + backgroundColor: popoverBg, + backgroundClip: 'padding-box', + borderRadius, + boxShadow: boxShadowSecondary, + padding: popoverPadding + }, + [`${componentCls}-title`]: { + minWidth, + marginBottom: marginXS, + color: colorTextHeading, + fontWeight: fontWeightStrong + }, + [`${componentCls}-inner-content`]: { + color: popoverColor + } + }) + }, + // Arrow Style + (0,_style_placementArrow__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(token, { + colorBg: 'var(--antd-arrow-background-color)' + }), + // Pure Render + { + [`${componentCls}-pure`]: { + position: 'relative', + maxWidth: 'none', + margin: token.sizePopupArrow, + display: 'inline-block', + [`${componentCls}-content`]: { + display: 'inline-block' + } + } + }]; +}; +const genColorStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: _theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .PresetColors.map */ .i.map(colorKey => { + const lightColor = token[`${colorKey}6`]; + return { + [`&${componentCls}-${colorKey}`]: { + '--antd-arrow-background-color': lightColor, + [`${componentCls}-inner`]: { + backgroundColor: lightColor + }, + [`${componentCls}-arrow`]: { + background: 'transparent' + } + } + }; + }) + }; +}; +const genWireframeStyle = token => { + const { + componentCls, + lineWidth, + lineType, + colorSplit, + paddingSM, + controlHeight, + fontSize, + lineHeight, + padding + } = token; + const titlePaddingBlockDist = controlHeight - Math.round(fontSize * lineHeight); + const popoverTitlePaddingBlockTop = titlePaddingBlockDist / 2; + const popoverTitlePaddingBlockBottom = titlePaddingBlockDist / 2 - lineWidth; + const popoverPaddingHorizontal = padding; + return { + [componentCls]: { + [`${componentCls}-inner`]: { + padding: 0 + }, + [`${componentCls}-title`]: { + margin: 0, + padding: `${popoverTitlePaddingBlockTop}px ${popoverPaddingHorizontal}px ${popoverTitlePaddingBlockBottom}px`, + borderBottom: `${lineWidth}px ${lineType} ${colorSplit}` + }, + [`${componentCls}-inner-content`]: { + padding: `${paddingSM}px ${popoverPaddingHorizontal}px` + } + } + }; +}; +/* harmony default export */ __webpack_exports__["Z"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Popover', token => { + const { + colorBgElevated, + colorText, + wireframe + } = token; + const popoverToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_4__/* .merge */ .TS)(token, { + popoverPadding: 12, + popoverBg: colorBgElevated, + popoverColor: colorText + }); + return [genBaseStyle(popoverToken), genColorStyle(popoverToken), wireframe && genWireframeStyle(popoverToken), (0,_style_motion__WEBPACK_IMPORTED_MODULE_5__/* .initZoomMotion */ ._y)(popoverToken, 'zoom-big')]; +}, token => ({ + width: 177, + minWidth: 177, + zIndexPopup: token.zIndexPopupBase + 30 +}), { + deprecatedTokens: [['width', 'minWidth']] +})); + +/***/ }), + +/***/ 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 ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ tag; } +}); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js + 1 modules +var CloseOutlined = __webpack_require__(97937); +// 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/_util/colors.js +var colors = __webpack_require__(98787); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useClosable.js +var useClosable = __webpack_require__(69760); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/wave/index.js + 4 modules +var wave = __webpack_require__(45353); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +;// CONCATENATED MODULE: ./node_modules/antd/es/_util/capitalize.js +function capitalize(str) { + if (typeof str !== 'string') { + return str; + } + const ret = str.charAt(0).toUpperCase() + str.slice(1); + return ret; +} +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genPresetColor.js +var genPresetColor = __webpack_require__(98719); +// 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/tag/style/index.js + + + +const genTagStatusStyle = (token, status, cssVariableType) => { + const capitalizedCssVariableType = capitalize(cssVariableType); + return { + [`${token.componentCls}-${status}`]: { + color: token[`color${cssVariableType}`], + background: token[`color${capitalizedCssVariableType}Bg`], + borderColor: token[`color${capitalizedCssVariableType}Border`], + [`&${token.componentCls}-borderless`]: { + borderColor: 'transparent' + } + } + }; +}; +const genPresetStyle = token => (0,genPresetColor/* default */.Z)(token, (colorKey, _ref) => { + let { + textColor, + lightBorderColor, + lightColor, + darkColor + } = _ref; + return { + [`${token.componentCls}-${colorKey}`]: { + color: textColor, + background: lightColor, + borderColor: lightBorderColor, + // Inverse color + '&-inverse': { + color: token.colorTextLightSolid, + background: darkColor, + borderColor: darkColor + }, + [`&${token.componentCls}-borderless`]: { + borderColor: 'transparent' + } + } + }; +}); +const genBaseStyle = token => { + const { + paddingXXS, + lineWidth, + tagPaddingHorizontal, + componentCls + } = token; + const paddingInline = tagPaddingHorizontal - lineWidth; + const iconMarginInline = paddingXXS - lineWidth; + return { + // Result + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + height: 'auto', + marginInlineEnd: token.marginXS, + paddingInline, + fontSize: token.tagFontSize, + lineHeight: token.tagLineHeight, + whiteSpace: 'nowrap', + background: token.defaultBg, + border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`, + borderRadius: token.borderRadiusSM, + opacity: 1, + transition: `all ${token.motionDurationMid}`, + textAlign: 'start', + position: 'relative', + // RTL + [`&${componentCls}-rtl`]: { + direction: 'rtl' + }, + '&, a, a:hover': { + color: token.defaultColor + }, + [`${componentCls}-close-icon`]: { + marginInlineStart: iconMarginInline, + color: token.colorTextDescription, + fontSize: token.tagIconSize, + cursor: 'pointer', + transition: `all ${token.motionDurationMid}`, + '&:hover': { + color: token.colorTextHeading + } + }, + [`&${componentCls}-has-color`]: { + borderColor: 'transparent', + [`&, a, a:hover, ${token.iconCls}-close, ${token.iconCls}-close:hover`]: { + color: token.colorTextLightSolid + } + }, + [`&-checkable`]: { + backgroundColor: 'transparent', + borderColor: 'transparent', + cursor: 'pointer', + [`&:not(${componentCls}-checkable-checked):hover`]: { + color: token.colorPrimary, + backgroundColor: token.colorFillSecondary + }, + '&:active, &-checked': { + color: token.colorTextLightSolid + }, + '&-checked': { + backgroundColor: token.colorPrimary, + '&:hover': { + backgroundColor: token.colorPrimaryHover + } + }, + '&:active': { + backgroundColor: token.colorPrimaryActive + } + }, + [`&-hidden`]: { + display: 'none' + }, + // To ensure that a space will be placed between character and `Icon`. + [`> ${token.iconCls} + span, > span + ${token.iconCls}`]: { + marginInlineStart: paddingInline + } + }), + [`${componentCls}-borderless`]: { + borderColor: 'transparent', + background: token.tagBorderlessBg + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var tag_style = ((0,genComponentStyleHook/* default */.Z)('Tag', token => { + const { + lineWidth, + fontSizeIcon + } = token; + const tagFontSize = token.fontSizeSM; + const tagLineHeight = `${token.lineHeightSM * tagFontSize}px`; + const tagToken = (0,statistic/* merge */.TS)(token, { + tagFontSize, + tagLineHeight, + tagIconSize: fontSizeIcon - 2 * lineWidth, + tagPaddingHorizontal: 8, + tagBorderlessBg: token.colorFillTertiary + }); + return [genBaseStyle(tagToken), genPresetStyle(tagToken), genTagStatusStyle(tagToken, 'success', 'Success'), genTagStatusStyle(tagToken, 'processing', 'Info'), genTagStatusStyle(tagToken, 'error', 'Error'), genTagStatusStyle(tagToken, 'warning', 'Warning')]; +}, token => ({ + defaultBg: token.colorFillQuaternary, + defaultColor: token.colorText +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/tag/CheckableTag.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 CheckableTag = props => { + const { + prefixCls: customizePrefixCls, + className, + checked, + onChange, + onClick + } = props, + restProps = __rest(props, ["prefixCls", "className", "checked", "onChange", "onClick"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const handleClick = e => { + onChange === null || onChange === void 0 ? void 0 : onChange(!checked); + onClick === null || onClick === void 0 ? void 0 : onClick(e); + }; + const prefixCls = getPrefixCls('tag', customizePrefixCls); + // Style + const [wrapSSR, hashId] = tag_style(prefixCls); + const cls = classnames_default()(prefixCls, `${prefixCls}-checkable`, { + [`${prefixCls}-checkable-checked`]: checked + }, className, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("span", Object.assign({}, restProps, { + className: cls, + onClick: handleClick + }))); +}; +/* harmony default export */ var tag_CheckableTag = (CheckableTag); +;// CONCATENATED MODULE: ./node_modules/antd/es/tag/index.js +'use client'; + +var tag_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 InternalTag = (tagProps, ref) => { + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + children, + icon, + color, + onClose, + closeIcon, + closable, + bordered = true + } = tagProps, + props = tag_rest(tagProps, ["prefixCls", "className", "rootClassName", "style", "children", "icon", "color", "onClose", "closeIcon", "closable", "bordered"]); + const { + getPrefixCls, + direction, + tag + } = react.useContext(context/* ConfigContext */.E_); + const [visible, setVisible] = react.useState(true); + // Warning for deprecated usage + if (false) {} + react.useEffect(() => { + if ('visible' in props) { + setVisible(props.visible); + } + }, [props.visible]); + const isInternalColor = (0,colors/* isPresetColor */.o2)(color) || (0,colors/* isPresetStatusColor */.yT)(color); + const tagStyle = Object.assign(Object.assign({ + backgroundColor: color && !isInternalColor ? color : undefined + }, tag === null || tag === void 0 ? void 0 : tag.style), style); + const prefixCls = getPrefixCls('tag', customizePrefixCls); + // Style + const [wrapSSR, hashId] = tag_style(prefixCls); + const tagClassName = classnames_default()(prefixCls, tag === null || tag === void 0 ? void 0 : tag.className, { + [`${prefixCls}-${color}`]: isInternalColor, + [`${prefixCls}-has-color`]: color && !isInternalColor, + [`${prefixCls}-hidden`]: !visible, + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-borderless`]: !bordered + }, className, rootClassName, hashId); + const handleCloseClick = e => { + e.stopPropagation(); + onClose === null || onClose === void 0 ? void 0 : onClose(e); + if (e.defaultPrevented) { + return; + } + setVisible(false); + }; + const [, mergedCloseIcon] = (0,useClosable/* default */.Z)(closable, closeIcon, iconNode => iconNode === null ? /*#__PURE__*/react.createElement(CloseOutlined/* default */.Z, { + className: `${prefixCls}-close-icon`, + onClick: handleCloseClick + }) : /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-close-icon`, + onClick: handleCloseClick + }, iconNode), null, false); + const isNeedWave = typeof props.onClick === 'function' || children && children.type === 'a'; + const iconNode = icon || null; + const kids = iconNode ? /*#__PURE__*/react.createElement(react.Fragment, null, iconNode, children && /*#__PURE__*/react.createElement("span", null, children)) : children; + const tagNode = /*#__PURE__*/react.createElement("span", Object.assign({}, props, { + ref: ref, + className: tagClassName, + style: tagStyle + }), kids, mergedCloseIcon); + return wrapSSR(isNeedWave ? /*#__PURE__*/react.createElement(wave/* default */.Z, null, tagNode) : tagNode); +}; +const Tag = /*#__PURE__*/react.forwardRef(InternalTag); +if (false) {} +Tag.CheckableTag = tag_CheckableTag; +/* harmony default export */ var tag = (Tag); + +/***/ }), + +/***/ 12845: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/timeline/index.js + 5 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ timeline; } +}); + +// 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); +;// CONCATENATED MODULE: ./node_modules/antd/es/timeline/TimelineItem.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 TimelineItem = _a => { + var { + prefixCls: customizePrefixCls, + className, + color = 'blue', + dot, + pending = false, + position /** Dead, but do not pass in
' + (escaped ? code : (0,helpers.escape)(code, true)) + '';
+ }
+ if (['latex', 'katex', 'math'].indexOf(lang) >= 0) {
+ return "".concat(code, "
"); + } else { + return "").concat(escaped ? code : (0,helpers.escape)(code, true), "\n");
+ }
+};
+renderer.heading = function (text, level, raw) {
+ var anchor = this.options.headerPrefix + raw.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g, '-');
+ toc.push({
+ anchor: anchor,
+ level: level,
+ text: text
+ });
+ return ']*>/g;
+function _unescape(str) {
+ var div = document.createElement('div');
+ div.innerHTML = str;
+ return div.childNodes.length === 0 ? '' : div.childNodes[0].nodeValue;
+}
+/* harmony default export */ var RenderHtml = (function (_ref) {
+ var _ref$value = _ref.value,
+ value = _ref$value === void 0 ? '' : _ref$value,
+ className = _ref.className,
+ showTextOnly = _ref.showTextOnly,
+ showLines = _ref.showLines,
+ _ref$style = _ref.style,
+ style = _ref$style === void 0 ? {} : _ref$style,
+ _ref$stylesPrev = _ref.stylesPrev,
+ stylesPrev = _ref$stylesPrev === void 0 ? {} : _ref$stylesPrev,
+ highlightKeywords = _ref.highlightKeywords;
+ var str = String(value);
+ var _useState = (0,react.useState)(""),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ data = _useState2[0],
+ setData = _useState2[1];
+ var _useState3 = (0,react.useState)("office"),
+ _useState4 = slicedToArray_default()(_useState3, 2),
+ type = _useState4[0],
+ setType = _useState4[1];
+ var classNamesRef = (0,react.useRef)("a" + (0,v4/* default */.Z)());
+ var html = (0,react.useMemo)(function () {
+ try {
+ var reg = /\(\s+\/api\/attachments\/|\(\/api\/attachments\/|\(\/attachments\/download\//g;
+ var reg2 = /\"\/api\/attachments\/|\"\/attachments\/download\//g;
+ var reg3 = /\(\s+\/files\/uploads\/|\"\/files\/uploads\//g;
+ str = str.replace(reg, "(" + env/* default.API_SERVER */.Z.API_SERVER + "/api/attachments/").replace(reg2, '"' + env/* default.API_SERVER */.Z.API_SERVER + "/api/attachments/").replace(reg3, '"' + env/* default.API_SERVER */.Z.API_SERVER + "/files/uploads/").replaceAll("http://video.educoder", "https://video.educoder").replaceAll("http://www.educoder.net/api", "https://data.educoder.net/api").replaceAll("https://www.educoder.net/api", "https://data.educoder.net/api").replace(/\r\n/g, "\n");
+ // str = str.replace(new RegExp("(?([\s\S]+?)<\/style>/gim, function (_, css) {
+ var _css = css.replace(/(\n|\r)/g, "").split("}");
+ var arr = [];
+ _css.map(function (item) {
+ if (item != '') {
+ arr.push(".".concat(classNamesRef.current, " ").concat(item));
+ }
+ });
+ return "");
+ });
+ var math_expressions = getMathExpressions();
+ if (str.match(/\[TOC\]/)) {
+ rs = rs.replace('[TOC]
', getTocContent());
+ cleanToc();
+ }
+ rs = rs.replace(/(__special_katext_id_\d+__)/g, function (_match, capture) {
+ var _math_expressions$cap = math_expressions[capture],
+ type = _math_expressions$cap.type,
+ expression = _math_expressions$cap.expression;
+ return (0,katex.renderToString)(_unescape(expression) || '', {
+ displayMode: type === 'block',
+ throwOnError: false,
+ output: 'html'
+ });
+ });
+ rs = rs.replace(/▁/g, '▁▁▁');
+ resetMathExpressions();
+ // return dompurify.sanitize(rs)
+ var dom = document.createElement('div');
+ dom.innerHTML = rs;
+ if (highlightKeywords) {
+ var escapedKeywords = highlightKeywords.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
+ findKeyword(dom, escapedKeywords);
+ return dom.innerHTML;
+ }
+ if (showTextOnly) {
+ return dom.innerText;
+ }
+ setTimeout(function () {
+ return onLoad();
+ }, 500);
+ return dom.innerHTML;
+ }, [str, highlightKeywords]);
+ function findKeyword(node, keyword) {
+ return node.childNodes.forEach(function (childNode) {
+ if (childNode.childNodes.length > 0) {
+ findKeyword(childNode, keyword);
+ } else if (childNode.nodeName !== "IMG") {
+ if (childNode.innerHTML) {
+ var _childNode$innerHTML;
+ childNode.innerHTML = (_childNode$innerHTML = childNode.innerHTML) === null || _childNode$innerHTML === void 0 ? void 0 : _childNode$innerHTML.replace(new RegExp(keyword, "gi"), '$&');
+ } else {
+ var dom = document.createElement("span");
+ dom.innerHTML = childNode.textContent.replace(new RegExp(keyword, "gi"), '$&');
+ childNode.replaceWith(dom);
+ }
+ }
+ });
+
+ // return dom.childNodes.forEach((node:any) => {
+ // console.log("nodeLen:",node.childNodes.length)
+ // if(node.childNodes.length > 0){
+ // debugger
+ // // findKeyword(dom.childNodes,keyword)
+ // }else{
+ // if(node.nodeName !== "#text"){
+ // node.innerHTML = node.innerHTML.replaceAll(keyword,`${keyword}`)
+ // console.log("node:",node,dom,node.nodeName,node.innerHTML,node.childNodes.length)
+ // debugger
+ // }
+ // }
+
+ // return node
+ // });
+ }
+
+ var el = (0,react.useRef)();
+ lines.WebkitLineClamp = showLines;
+ if (showLines) {
+ style = objectSpread2_default()(objectSpread2_default()({}, style), lines);
+ }
+ function onAncherHandler(e) {
+ var target = e.target;
+ if (target.tagName.toUpperCase() === 'A') {
+ var ancher = target.getAttribute('href');
+ if (ancher.indexOf("office") > -1) {
+ e.preventDefault();
+ setData(ancher);
+ setType("office");
+ } else if (ancher.indexOf("application/pdf") > -1) {
+ e.preventDefault();
+ setData(ancher);
+ setType("pdf");
+ } else if (ancher.indexOf("text/html") > -1) {
+ e.preventDefault();
+ setData(ancher);
+ setType("html");
+ } else if (ancher.startsWith('#')) {
+ e.preventDefault();
+ var viewEl = document.getElementById(ancher.replace('#', ''));
+ if (viewEl) {
+ viewEl.scrollIntoView(true);
+ }
+ }
+ }
+ }
+ var onLoad = function onLoad() {
+ var _el$current;
+ var videoElement = (_el$current = el.current) === null || _el$current === void 0 ? void 0 : _el$current.querySelectorAll('video');
+ videoElement === null || videoElement === void 0 ? void 0 : videoElement.forEach(function (item) {
+ item.oncontextmenu = function () {
+ return false;
+ };
+ if (item.src.indexOf('.m3u8') > -1) {
+ if (item.canPlayType('application/vnd.apple.mpegurl')) {} else if (hls_default().isSupported()) {
+ var hls = new (hls_default())();
+ hls.loadSource(item.src);
+ hls.attachMedia(item);
+ }
+ }
+ });
+ };
+ (0,react.useEffect)(function () {
+ if (el.current && html) {
+ if (html.match(preRegex)) {
+ window.PR.prettyPrint();
+ }
+ }
+ if (el.current) {
+ el.current.addEventListener('click', onAncherHandler);
+ return function () {
+ var _el$current2;
+ (_el$current2 = el.current) === null || _el$current2 === void 0 ? void 0 : _el$current2.removeEventListener('click', onAncherHandler);
+ resetMathExpressions();
+ cleanToc();
+ };
+ }
+ }, [html, el.current, onAncherHandler]);
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
+ children: [showTextOnly && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ ref: el,
+ children: html
+ }), !showTextOnly && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ ref: el,
+ style: objectSpread2_default()({}, style),
+ className: "".concat(className ? className : '', " markdown-body ").concat(classNamesRef.current),
+ dangerouslySetInnerHTML: {
+ __html: html
+ }
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(PreviewAll/* default */.Z, {
+ close: true,
+ data: data,
+ type: !!(data !== null && data !== void 0 && data.length) ? type : "",
+ style: objectSpread2_default()({}, stylesPrev),
+ onClose: function onClose() {
+ return setData("");
+ }
+ })]
+ });
+});
+
+/***/ }),
+
+/***/ 97501:
+/*!*************************************************************!*\
+ !*** ./src/components/markdown-editor/code-block/index.tsx ***!
+ \*************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ "h": function() { return /* binding */ MyCodeMirror; }
+/* harmony export */ });
+/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __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_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __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_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__);
+/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd */ 79035);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! antd */ 25159);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd */ 71577);
+/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! codemirror */ 4631);
+/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(codemirror__WEBPACK_IMPORTED_MODULE_3__);
+/* harmony import */ var codemirror_lib_codemirror_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! codemirror/lib/codemirror.css */ 71749);
+/* harmony import */ var codemirror_theme_blackboard_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! codemirror/theme/blackboard.css */ 30483);
+/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
+
+
+
+
+
+
+
+
+
+var Option = antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"].Option */ .Z.Option;
+
+//https://github.com/codemirror/CodeMirror/issues/4838
+var formItemLayout = {
+ labelCol: {
+ span: 4
+ },
+ wrapperCol: {
+ span: 20
+ }
+};
+var LanguageDesc = {
+ asp: ['ASP', 'vbscript'],
+ actionscript: ['ActionScript(3.0)/Flash/Flex', 'clike'],
+ bash: ['Bash/Bat', 'shell'],
+ css: ['CSS', 'css'],
+ c: ['C', 'clike'],
+ cpp: ['C++', 'clike'],
+ csharp: ['C#', 'clike'],
+ coffeescript: ['CoffeeScript', 'coffeescript'],
+ d: ['D', 'd'],
+ dart: ['Dart', 'dart'],
+ delphi: ['Delphi/Pascal', 'pascal'],
+ erlang: ['Erlang', 'erlang'],
+ go: ['Golang', 'go'],
+ groovy: ['Groovy', 'groovy'],
+ html: ['HTML', 'text/html'],
+ java: ['Java', 'clike'],
+ json: ['JSON', 'text/json'],
+ javascript: ['Javascript', 'javascript'],
+ lua: ['Lua', 'lua'],
+ less: ['LESS', 'css'],
+ markdown: ['Markdown', 'gfm'],
+ 'objective-c': ['Objective-C', 'clike'],
+ php: ['PHP', 'php'],
+ perl: ['Perl', 'perl'],
+ python: ['Python', 'python'],
+ r: ['R', 'r'],
+ rst: ['reStructedText', 'rst'],
+ ruby: ['Ruby', 'ruby'],
+ sql: ['SQL', 'sql'],
+ sass: ['SASS/SCSS', 'sass'],
+ shell: ['Shell', 'shell'],
+ scala: ['Scala', 'clike'],
+ swift: ['Swift', 'clike'],
+ vb: ['VB/VBScript', 'vb'],
+ xml: ['XML', 'text/xml'],
+ yaml: ['YAML', 'yaml']
+};
+/* harmony default export */ __webpack_exports__["Z"] = (function (_ref) {
+ var callback = _ref.callback,
+ onCancel = _ref.onCancel;
+ var _useState = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)('python'),
+ _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default()(_useState, 2),
+ mode = _useState2[0],
+ setMode = _useState2[1];
+ function onSetMode(value) {
+ setMode(LanguageDesc[value][1]);
+ }
+ function onSubmit(values) {
+ callback(values);
+ }
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, formItemLayout), {}, {
+ className: "code-block-panel",
+ initialValues: {
+ language: 'python',
+ content: ''
+ },
+ onFinish: onSubmit,
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"].Item */ .Z.Item, {
+ label: "\u4EE3\u7801\u8BED\u8A00",
+ name: "language",
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, {
+ getPopupContainer: function getPopupContainer(trigger) {
+ return trigger.parentNode;
+ },
+ onChange: onSetMode,
+ children: Object.keys(LanguageDesc).map(function (item) {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(Option, {
+ value: item,
+ children: LanguageDesc[item][0]
+ }, item);
+ })
+ })
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"].Item */ .Z.Item, {
+ label: "\u4EE3\u7801\u5185\u5BB9",
+ name: "content",
+ rules: [{
+ required: true,
+ message: '请输入代码内容'
+ }],
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(MyCodeMirror, {
+ mode: mode
+ })
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", {
+ className: "flex-container flex-end",
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP, {
+ type: "primary",
+ htmlType: "submit",
+ style: {
+ marginRight: 10
+ },
+ children: "\u786E\u5B9A"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP, {
+ type: "ghost",
+ onClick: onCancel,
+ children: "\u53D6\u6D88"
+ })]
+ })]
+ }));
+});
+function MyCodeMirror(_ref2) {
+ var value = _ref2.value,
+ onChange = _ref2.onChange,
+ mode = _ref2.mode,
+ _ref2$options = _ref2.options,
+ options = _ref2$options === void 0 ? {} : _ref2$options;
+ var el = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();
+ var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(),
+ _useState4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default()(_useState3, 2),
+ cm = _useState4[0],
+ setCm = _useState4[1];
+ (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {
+ if (cm) {
+ var onChangeHandler = function onChangeHandler(cm) {
+ var content = cm.getValue();
+ onChange && onChange(content);
+ };
+ cm.on('change', onChangeHandler);
+ return function () {
+ cm.off('change', onChangeHandler);
+ };
+ }
+ }, [cm, onChange]);
+ (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {
+ if (cm) {
+ cm.setOption('mode', mode);
+ }
+ }, [cm, mode]);
+ (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {
+ if (cm) {
+ if (value !== cm.getValue() || value === '') {
+ setTimeout(function () {
+ cm.setValue(value || '');
+ }, 300);
+ }
+ }
+ }, [cm, value]);
+ (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {
+ if (el.current && !cm) {
+ var instance = codemirror__WEBPACK_IMPORTED_MODULE_3___default().fromTextArea(el.current, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({
+ mode: mode,
+ lineNumbers: true,
+ lineWrapping: true,
+ autoCloseBrackets: true,
+ tabSize: 4,
+ autofocus: true,
+ autoCloseTags: true,
+ matchBrackets: true,
+ styleActiveLine: true
+ }, options));
+ setCm(instance);
+ }
+ }, [el.current, cm]);
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", {
+ className: "my-codemirror-container",
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("textarea", {
+ ref: el
+ })
+ });
+}
+
+/***/ }),
+
+/***/ 55373:
+/*!***************************************************************!*\
+ !*** ./src/components/markdown-editor/index.tsx + 10 modules ***!
+ \***************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ "Z": function() { return /* binding */ markdown_editor; }
+});
+
+// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js
+var createForOfIteratorHelper = __webpack_require__(74704);
+var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper);
+// EXTERNAL MODULE: ./node_modules/@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/defineProperty.js
+var defineProperty = __webpack_require__(38416);
+var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
+// EXTERNAL MODULE: ./node_modules/react/index.js
+var react = __webpack_require__(67294);
+// EXTERNAL MODULE: ./node_modules/codemirror/lib/codemirror.js
+var codemirror = __webpack_require__(4631);
+var codemirror_default = /*#__PURE__*/__webpack_require__.n(codemirror);
+// EXTERNAL MODULE: ./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js
+var ResizeObserver_es = __webpack_require__(91033);
+// EXTERNAL MODULE: ./node_modules/codemirror/lib/codemirror.css
+var lib_codemirror = __webpack_require__(71749);
+// EXTERNAL MODULE: ./node_modules/codemirror/addon/edit/closetag.js
+var closetag = __webpack_require__(57341);
+// EXTERNAL MODULE: ./node_modules/codemirror/addon/edit/closebrackets.js
+var closebrackets = __webpack_require__(82801);
+// EXTERNAL MODULE: ./node_modules/codemirror/addon/display/placeholder.js
+var placeholder = __webpack_require__(88386);
+// EXTERNAL MODULE: ./node_modules/codemirror/mode/markdown/markdown.js
+var markdown = __webpack_require__(49047);
+// EXTERNAL MODULE: ./node_modules/codemirror/mode/stex/stex.js
+var stex = __webpack_require__(80785);
+;// CONCATENATED MODULE: ./src/components/markdown-editor/index.less
+// extracted by mini-css-extract-plugin
+
+// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 1 modules
+var RenderHtml = __webpack_require__(12768);
+// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
+var jsx_runtime = __webpack_require__(85893);
+;// CONCATENATED MODULE: ./src/components/RenderHtml/stex.tsx
+
+// const latexjs = require('latex-l.js/dist/latex.js');
+// import "latex-l.js/dist/css/base.css"
+
+
+/* harmony default export */ var RenderHtml_stex = (function (_ref) {
+ var _ref$value = _ref.value,
+ value = _ref$value === void 0 ? '' : _ref$value,
+ className = _ref.className,
+ showTextOnly = _ref.showTextOnly,
+ showLines = _ref.showLines,
+ _ref$style = _ref.style,
+ style = _ref$style === void 0 ? {} : _ref$style;
+ var html = (0,react.useMemo)(function () {
+ // try {
+ // const latex = value || 'This is some text';
+ // let generator = new latexjs.default.HtmlGenerator({ hyphenate: true })
+ // let doc = latexjs.default.parse(latex, { generator: generator }).htmlDocument()
+ // return doc.body.innerHTML
+ // }catch(e){
+ // console.log("e:",e)
+ // return "错误的latex语法,请检查"
+ // }
+ return "";
+ }, [value]);
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ dangerouslySetInnerHTML: {
+ __html: html
+ }
+ })
+ });
+});
+// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js
+var objectSpread2 = __webpack_require__(42122);
+var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
+;// CONCATENATED MODULE: ./src/components/markdown-editor/toolbar/index.less
+// extracted by mini-css-extract-plugin
+
+;// CONCATENATED MODULE: ./src/components/markdown-editor/css/iconfont.css
+// extracted by mini-css-extract-plugin
+
+;// CONCATENATED MODULE: ./src/components/markdown-editor/toolbar/index.tsx
+
+
+
+
+
+
+var DEFAULTICONS = [{
+ title: '粗体',
+ icon: 'icon-bold',
+ actionName: 'bold'
+}, {
+ title: '斜体',
+ icon: 'icon-italic',
+ actionName: 'italic'
+}, '|', {
+ title: '无序列表',
+ icon: 'icon-unorder-list',
+ actionName: 'list-ul'
+}, {
+ title: '有序列表',
+ icon: 'icon-order-list',
+ actionName: 'list-ol'
+}, '|', {
+ title: '行内代码',
+ icon: 'icon-code',
+ actionName: 'code'
+}, {
+ title: '代码块(多语言风格)',
+ icon: 'icon-file-code',
+ actionName: 'code-block'
+}, {
+ title: '链接',
+ icon: 'icon-link',
+ actionName: 'link'
+}, '|', {
+ title: '行内公式',
+ icon: 'icon-sum',
+ actionName: 'inline-latex'
+}, {
+ title: '多行公式',
+ icon: 'icon-formula',
+ actionName: 'latex'
+}, '|', {
+ title: '添加图片',
+ icon: 'icon-picture',
+ actionName: 'upload-image'
+}, {
+ title: '表格',
+ icon: 'icon-table',
+ actionName: 'add-table'
+}, '|', {
+ title: '换行',
+ icon: 'icon-minus',
+ actionName: 'line-break'
+}, {
+ title: '清空',
+ icon: 'icon-eraser',
+ actionName: 'eraser'
+}];
+function AButton(_ref) {
+ var onActionCallback = _ref.onActionCallback,
+ title = _ref.title,
+ icon = _ref.icon,
+ actionName = _ref.actionName,
+ _ref$className = _ref.className,
+ className = _ref$className === void 0 ? '' : _ref$className,
+ children = _ref.children;
+ function onAction() {
+ onActionCallback(actionName);
+ }
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
+ title: title,
+ className: className,
+ onClick: onAction,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "md-iconfont ".concat(icon)
+ }), children]
+ });
+}
+/* harmony default export */ var toolbar = (function (_ref2) {
+ var watch = _ref2.watch,
+ showNullButton = _ref2.showNullButton,
+ onActionCallback = _ref2.onActionCallback,
+ fullScreen = _ref2.fullScreen,
+ insertTemp = _ref2.insertTemp,
+ hidetoolBar = _ref2.hidetoolBar;
+ var icons = [].concat(DEFAULTICONS, [{
+ title: "".concat(watch ? '关闭实时预览' : '开启实时预览'),
+ icon: "".concat(watch ? 'icon-eye-slash' : 'icon-eye'),
+ actionName: 'trigger-watch'
+ }]);
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", {
+ className: "markdown-toolbar-container",
+ children: [!hidetoolBar && icons.map(function (item, index) {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
+ children: item.actionName ? /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, objectSpread2_default()(objectSpread2_default()({}, item), {}, {
+ onActionCallback: onActionCallback
+ })) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "v-line"
+ })
+ }, index);
+ }), showNullButton ? /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, {
+ icon: "icon-edit insert-blank",
+ className: "btn-null",
+ title: "\u589E\u52A0\u586B\u7A7A",
+ actionName: "add-null-ch",
+ onActionCallback: onActionCallback,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "fill-tip",
+ children: "\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"
+ })
+ })
+ }) : null, insertTemp && /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, {
+ icon: "icon-edit",
+ className: "btn-null",
+ title: "\u63D2\u5165\u6A21\u677F",
+ actionName: "inster-template-".concat(insertTemp),
+ onActionCallback: onActionCallback,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "fill-tip",
+ children: "\u63D2\u5165\u6A21\u677F"
+ })
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
+ className: "btn-full-screen",
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, {
+ icon: "".concat(fullScreen ? 'icon-shrink' : 'icon-enlarge'),
+ title: fullScreen ? '关闭全屏' : '开启全屏',
+ actionName: "trigger-full-screen",
+ onActionCallback: onActionCallback
+ })
+ })]
+ });
+});
+// EXTERNAL MODULE: ./src/components/modal.tsx
+var modal = __webpack_require__(12264);
+// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules
+var es_form = __webpack_require__(25159);
+// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules
+var input = __webpack_require__(79531);
+// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
+var es_button = __webpack_require__(71577);
+;// CONCATENATED MODULE: ./src/components/markdown-editor/link/index.tsx
+
+
+
+
+
+var formItemLayout = {
+ labelCol: {
+ span: 4
+ },
+ wrapperCol: {
+ span: 20
+ }
+};
+/* harmony default export */ var markdown_editor_link = (function (_ref) {
+ var callback = _ref.callback,
+ onCancel = _ref.onCancel;
+ function onSubmit(values) {
+ callback(values);
+ }
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, formItemLayout), {}, {
+ initialValues: {
+ link: 'http://',
+ title: ''
+ },
+ className: "link-panel",
+ onFinish: onSubmit,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ label: "\u94FE\u63A5\u5730\u5740",
+ name: "link",
+ rules: [{
+ required: true,
+ message: '请输入链接地址'
+ }],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {})
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ label: "\u94FE\u63A5\u6807\u9898",
+ name: "title",
+ rules: [{
+ required: true,
+ message: '请输入链接标题'
+ }],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {})
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: "flex-container flex-end",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
+ type: "primary",
+ htmlType: "submit",
+ style: {
+ marginRight: 10
+ },
+ children: "\u786E\u5B9A"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
+ type: "ghost",
+ onClick: onCancel,
+ children: "\u53D6\u6D88"
+ })]
+ })]
+ }));
+});
+// EXTERNAL MODULE: ./src/components/markdown-editor/code-block/index.tsx
+var code_block = __webpack_require__(97501);
+// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules
+var message = __webpack_require__(2453);
+;// CONCATENATED MODULE: ./src/components/markdown-editor/upload-image/index.less
+// extracted by mini-css-extract-plugin
+
+// EXTERNAL MODULE: ./src/pages/tasks/util.js
+var util = __webpack_require__(96403);
+;// CONCATENATED MODULE: ./src/components/markdown-editor/upload-image/index.tsx
+
+
+
+
+
+
+
+
+var useForm = es_form/* default.useForm */.Z.useForm;
+var style = {
+ width: 280,
+ marginRight: 10
+};
+var upload_image_formItemLayout = {
+ labelCol: {
+ span: 5
+ },
+ wrapperCol: {
+ span: 19
+ }
+};
+/* harmony default export */ var upload_image = (function (_ref) {
+ var callback = _ref.callback,
+ onCancel = _ref.onCancel;
+ var _useForm = useForm(),
+ _useForm2 = slicedToArray_default()(_useForm, 1),
+ form = _useForm2[0];
+ function onSubmit(values) {
+ callback(values);
+ }
+ function onAddUrl(data, file) {
+ if (data.status === -1) {
+ message/* default.error */.ZP.error(data.message);
+ return;
+ }
+ form.setFieldsValue({
+ src: "/api/attachments/".concat(data.id),
+ type: file.type
+ });
+ }
+ function onFileChange(e) {
+ var file = e.target.files[0];
+ uploadImage(file, onAddUrl);
+ }
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, objectSpread2_default()(objectSpread2_default()({
+ form: form
+ }, upload_image_formItemLayout), {}, {
+ className: "upload-image-panel",
+ onFinish: onSubmit,
+ style: {
+ width: 470,
+ overflow: "hidden"
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ label: "\u56FE\u7247\u5730\u5740",
+ required: true,
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: "flex-container",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: "src",
+ rules: [{
+ required: true,
+ message: '请输入图片地址'
+ }],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
+ style: style
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(UploadButton, {
+ onFileChange: onFileChange
+ })]
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ label: "\u56FE\u7247\u63CF\u8FF0",
+ name: "alt"
+ // rules={[{ required: true, message: '请输入图片描述' }]}
+ ,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
+ style: {
+ width: 264
+ }
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default.Item */.Z.Item, {
+ style: {
+ textAlign: "right"
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
+ type: "primary",
+ htmlType: "submit",
+ style: {
+ marginRight: 10
+ },
+ children: "\u786E\u5B9A"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
+ type: "default",
+ onClick: onCancel,
+ children: "\u53D6\u6D88"
+ })]
+ })]
+ }));
+});
+function UploadButton(_ref2) {
+ var onFileChange = _ref2.onFileChange;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("label", {
+ className: "upload-button",
+ style: {
+ cursor: "pointer"
+ },
+ children: ["\u672C\u5730\u4E0A\u4F20", /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "file",
+ onChange: onFileChange
+ })]
+ });
+}
+function uploadImage(file, callback) {
+ if (!file) {
+ throw new String('没有文件');
+ return;
+ }
+ var formData = new FormData();
+ formData.append('editormd-image-file', file);
+ formData.append('file_param_name', 'editormd-image-file');
+ formData.append('byxhr', 'true');
+ var xhr = new window.XMLHttpRequest();
+ xhr.withCredentials = true;
+ xhr.addEventListener('load', function (response) {
+ callback(JSON.parse(response.target.responseText), file);
+ }, false);
+ xhr.addEventListener('error', function (error) {
+ console.error(error);
+ }, false);
+ xhr.open('POST', "".concat(util/* apiPref */.KI, "/api/attachments.json"));
+ xhr.send(formData);
+}
+// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 5 modules
+var es_radio = __webpack_require__(78045);
+// EXTERNAL MODULE: ./node_modules/antd/es/input-number/index.js + 21 modules
+var input_number = __webpack_require__(31795);
+;// CONCATENATED MODULE: ./src/components/markdown-editor/add-table-panel/index.tsx
+
+
+
+
+var RadioGroup = es_radio/* default.Group */.ZP.Group;
+var add_table_panel_style = {
+ margin: '0 8px'
+};
+/* harmony default export */ var add_table_panel = (function (_ref) {
+ var callback = _ref.callback,
+ onCancel = _ref.onCancel;
+ function onSubmit(values) {
+ callback(values);
+ }
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
+ className: "add-table-panel",
+ initialValues: {
+ row: 3,
+ col: 2,
+ align: 'default'
+ },
+ onFinish: onSubmit,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: "flex-container",
+ style: {
+ alignItems: "baseline"
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: add_table_panel_style,
+ children: "\u5355\u5143\u683C\u6570\uFF1A"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: add_table_panel_style,
+ children: "\u884C\u6570"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ name: "row",
+ rules: [{
+ required: true,
+ message: '请输入行数'
+ }],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {})
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: add_table_panel_style,
+ children: "\u5217\u6570"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ name: "col",
+ rules: [{
+ required: true,
+ message: '请输入列数'
+ }],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {})
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: "flex-container",
+ style: {
+ marginTop: 12,
+ alignItems: "baseline"
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: add_table_panel_style,
+ children: "\u5BF9\u9F50\u65B9\u5F0F\uFF1A"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ name: "align",
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)(RadioGroup, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
+ value: "default",
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "fa fa-align-justify"
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
+ value: "left",
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "fa fa-align-left"
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
+ value: "center",
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "fa fa-align-center"
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
+ value: "right",
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "fa fa-align-right"
+ })
+ })]
+ })
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: "flex-container flex-end",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
+ type: "primary",
+ htmlType: "submit",
+ style: {
+ marginRight: 10
+ },
+ children: "\u786E\u5B9A"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
+ type: "ghost",
+ onClick: onCancel,
+ children: "\u53D6\u6D88"
+ })]
+ })]
+ });
+});
+// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
+var env = __webpack_require__(59758);
+// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 39 modules
+var es_modal = __webpack_require__(72423);
+;// CONCATENATED MODULE: ./src/components/markdown-editor/constant.ts
+var LINK = 'link';
+var UPLOAD_IMAGE = 'upload-image';
+var CODE_BLOCK = 'code-block';
+var ADD_TABLE = 'add-table';
+var HRLINE = '------------';
+var ALIGNSIGN = {
+ "default": HRLINE,
+ left: ":".concat(HRLINE),
+ center: ":".concat(HRLINE, ":"),
+ right: "".concat(HRLINE, ":")
+};
+// EXTERNAL MODULE: ./src/components/useInterval.tsx
+var useInterval = __webpack_require__(61891);
+;// CONCATENATED MODULE: ./src/components/markdown-editor/index.tsx
+
+
+
+var _DEFAULTKEYMAP, _TitleDesc;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+function noop() {}
+var pending = 0;
+var StorageTimeTicket = 10000;
+var NULL_CH = '▁';
+var TEMP1 = '\n**模板标题**\n模板正文内容,可输入文本内容和粘贴图片等操作'; //课程须知模板
+function processSize(size) {
+ return !/^\d+$/.test(size) ? size : "".concat(size, "px");
+}
+var isMac = navigator.platform.toUpperCase().indexOf('MAC') >= 0;
+var key = isMac ? 'Cmd' : 'Ctrl';
+var DEFAULTKEYMAP = (_DEFAULTKEYMAP = {}, defineProperty_default()(_DEFAULTKEYMAP, key + '-B', 'bold'), defineProperty_default()(_DEFAULTKEYMAP, key + '-I', 'italic'), _DEFAULTKEYMAP);
+var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '添加链接'), defineProperty_default()(_TitleDesc, CODE_BLOCK, '添加代码块'), defineProperty_default()(_TitleDesc, UPLOAD_IMAGE, '添加图片'), defineProperty_default()(_TitleDesc, ADD_TABLE, '添加表格'), _TitleDesc);
+
+//https://codemirror.net/demo
+//The height can be set through CSS (by giving the .CodeMirror class a height property), or by calling the cm's setSize method.
+/* harmony default export */ var markdown_editor = (function (_ref) {
+ var _ref$defaultValue = _ref.defaultValue,
+ defaultValue = _ref$defaultValue === void 0 ? '' : _ref$defaultValue,
+ onChange = _ref.onChange,
+ _ref$width = _ref.width,
+ width = _ref$width === void 0 ? '100%' : _ref$width,
+ _ref$height = _ref.height,
+ height = _ref$height === void 0 ? 400 : _ref$height,
+ _ref$miniToolbar = _ref.miniToolbar,
+ miniToolbar = _ref$miniToolbar === void 0 ? false : _ref$miniToolbar,
+ _ref$isFocus = _ref.isFocus,
+ isFocus = _ref$isFocus === void 0 ? false : _ref$isFocus,
+ watch = _ref.watch,
+ insertTemp = _ref.insertTemp,
+ _ref$mode = _ref.mode,
+ mode = _ref$mode === void 0 ? "markdown" : _ref$mode,
+ _ref$id = _ref.id,
+ id = _ref$id === void 0 ? 'markdown-editor-id' : _ref$id,
+ _ref$showResizeBar = _ref.showResizeBar,
+ showResizeBar = _ref$showResizeBar === void 0 ? false : _ref$showResizeBar,
+ _ref$noStorage = _ref.noStorage,
+ noStorage = _ref$noStorage === void 0 ? false : _ref$noStorage,
+ _ref$showNullButton = _ref.showNullButton,
+ showNullButton = _ref$showNullButton === void 0 ? false : _ref$showNullButton,
+ _ref$hidetoolBar = _ref.hidetoolBar,
+ hidetoolBar = _ref$hidetoolBar === void 0 ? false : _ref$hidetoolBar,
+ _ref$fullScreen = _ref.fullScreen,
+ fullScreen = _ref$fullScreen === void 0 ? false : _ref$fullScreen,
+ onBlur = _ref.onBlur,
+ onCMBeforeChange = _ref.onCMBeforeChange,
+ onFullScreen = _ref.onFullScreen,
+ _ref$className = _ref.className,
+ className = _ref$className === void 0 ? '' : _ref$className,
+ _ref$disablePaste = _ref.disablePaste,
+ disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
+ _ref$disabled = _ref.disabled,
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled,
+ _ref$placeholder = _ref.placeholder,
+ placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
+ _ref$values = _ref.values,
+ values = _ref$values === void 0 ? '' : _ref$values;
+ var _useState = (0,react.useState)(null),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ cm = _useState2[0],
+ setCm = _useState2[1];
+ var _useState3 = (0,react.useState)(defaultValue),
+ _useState4 = slicedToArray_default()(_useState3, 2),
+ value = _useState4[0],
+ setValue = _useState4[1];
+ var _useState5 = (0,react.useState)(watch),
+ _useState6 = slicedToArray_default()(_useState5, 2),
+ preview = _useState6[0],
+ setPreview = _useState6[1];
+ var _useState7 = (0,react.useState)(fullScreen),
+ _useState8 = slicedToArray_default()(_useState7, 2),
+ isFull = _useState8[0],
+ setIsFull = _useState8[1];
+ var _useState9 = (0,react.useState)(''),
+ _useState10 = slicedToArray_default()(_useState9, 2),
+ action = _useState10[0],
+ setAction = _useState10[1];
+ var _useState11 = (0,react.useState)(0),
+ _useState12 = slicedToArray_default()(_useState11, 2),
+ lastedUpdateTime = _useState12[0],
+ setLastedUpdateTime = _useState12[1];
+ var _useState13 = (0,react.useState)(height),
+ _useState14 = slicedToArray_default()(_useState13, 2),
+ h = _useState14[0],
+ setH = _useState14[1];
+ var _useState15 = (0,react.useState)(false),
+ _useState16 = slicedToArray_default()(_useState15, 2),
+ tip = _useState16[0],
+ setTip = _useState16[1];
+ var cmEl = (0,react.useRef)();
+ var containerEl = (0,react.useRef)();
+ var resizeBarEl = (0,react.useRef)();
+ var previewEl = (0,react.useRef)();
+
+ // useEffect(() => {
+ // setValue(defaultValue)
+ // cm?.setValue(defaultValue)
+ // },[])
+ (0,react.useEffect)(function () {
+ setValue(values);
+ cm === null || cm === void 0 ? void 0 : cm.setValue(values);
+ }, [values]);
+ (0,react.useEffect)(function () {
+ onFullScreen === null || onFullScreen === void 0 ? void 0 : onFullScreen(isFull);
+ }, [isFull]);
+ (0,react.useEffect)(function () {
+ if (cmEl.current) {
+ var onPaste = function onPaste(_, e) {
+ if (disablePaste) {
+ e.preventDefault();
+ return;
+ }
+ var clipboardData = e.clipboardData;
+ if (clipboardData) {
+ var types = clipboardData.types.toString();
+ var items = clipboardData.items;
+ var officeSix = ["pptm", "pptx", "ppt", "pot", "pps", "ppa", "potx", "ppsx", "ppam", "pptm", "potm", "ppsm", "doc", "docx", "dot", "dotx", "docm", "dotm", "xls", "xlsx", "csv", "xlt", "xla", "xltx", "xlsm", "xltm", "xlam", "xlsb"];
+ if (types === 'Files' || clipboardData.types.indexOf("Files") > -1) {
+ e.preventDefault();
+ if (mode == "stex") return;
+ try {
+ var _items$;
+ var item = items[1];
+ if (((_items$ = items[0]) === null || _items$ === void 0 ? void 0 : _items$.kind) === 'file') {
+ item = items[0];
+ }
+ var file = item.getAsFile();
+ var fileSix = file.name.split(".").pop();
+ // console.log("item:", item, file, item?.type?.match(/^video\//i))
+ uploadImage(file, function (data) {
+ if (data.id) {
+ var _file$type, _file$type2, _file$type3;
+ if ((file === null || file === void 0 ? void 0 : (_file$type = file.type) === null || _file$type === void 0 ? void 0 : _file$type.indexOf("image")) > -1) {
+ instance.replaceSelection(".concat(data.content_type, ")"));
+ } else if ((file === null || file === void 0 ? void 0 : (_file$type2 = file.type) === null || _file$type2 === void 0 ? void 0 : _file$type2.indexOf("video")) > -1) {
+ instance.replaceSelection(""));
+ } else if ((file === null || file === void 0 ? void 0 : (_file$type3 = file.type) === null || _file$type3 === void 0 ? void 0 : _file$type3.indexOf("pdf")) > -1) {
+ instance.replaceSelection("").concat(file.name, ""));
+ } else if (officeSix.includes(fileSix)) {
+ instance.replaceSelection("").concat(file.name, ""));
+ } else {
+ instance.replaceSelection("[".concat(file.name, "](").concat(env/* default.API_SERVER */.Z.API_SERVER, "/api/attachments/").concat(data.id, "?type=").concat(data.content_type, ")"));
+ }
+ } else {
+ if ((data === null || data === void 0 ? void 0 : data.status) === 401) document.location.href = '/user/login';
+ }
+ });
+ } catch (e) {
+ message/* default.warning */.ZP.warning("请使用chrome浏览器粘贴");
+ }
+ return true;
+ } else {
+ //toMarkdown ?
+ // let html = clipboardData.getData('text/html')
+ return true;
+ }
+ }
+ return true;
+ };
+ var instance = codemirror_default().fromTextArea(cmEl.current, {
+ mode: mode,
+ // inputStyle: 'contenteditable',
+ lineNumbers: miniToolbar ? false : true,
+ lineWrapping: true,
+ value: defaultValue,
+ autoCloseTags: true,
+ autoCloseBrackets: true
+ });
+ isFocus && instance.focus();
+ instance.on('paste', onPaste);
+ if (disabled) {
+ instance.on("beforeChange", function (instances, change) {
+ if (change.origin === "paste" || change.origin === "+input") {
+ change.cancel();
+ }
+ });
+ }
+ setCm(instance);
+ return function () {
+ instance.off('paste', onPaste);
+ };
+ }
+ }, []);
+ var resizeEditorBodyHeight = (0,react.useCallback)(function () {
+ if (containerEl.current) {
+ try {
+ // let toolH = containerEl.current.getElementsByClassName('markdown-toolbar-container')[0].offsetHeight
+ // let mdBody = containerEl.current.getElementsByClassName('markdown-editor-body')[0]
+ // if (!isFull) {
+ // mdBody.style.height = `${h - toolH}px`
+ // } else {
+ // mdBody.style.height = `calc(100vh - ${toolH}px)`
+ // }
+ } catch (error) {
+ console.log(error, '---- to set md editor body height');
+ }
+ }
+ }, [h, containerEl, isFull]);
+ (0,react.useEffect)(function () {
+ function onLayout() {
+ var ro = new ResizeObserver_es/* default */.Z(function (entries) {
+ var _iterator = createForOfIteratorHelper_default()(entries),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var entry = _step.value;
+ if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) {
+ resizeEditorBodyHeight();
+ cm.setSize('100%', '100%');
+ cm.refresh();
+ }
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ });
+ ro.observe(cmEl.current.parentElement);
+ return ro;
+ }
+ if (cm) {
+ var ro = onLayout();
+ return function () {
+ var _cmEl$current, _cmEl$current2;
+ if ((_cmEl$current = cmEl.current) !== null && _cmEl$current !== void 0 && _cmEl$current.parentElement) ro.unobserve((_cmEl$current2 = cmEl.current) === null || _cmEl$current2 === void 0 ? void 0 : _cmEl$current2.parentElement);
+ };
+ }
+ }, [cm, resizeEditorBodyHeight]);
+
+ //keymap
+ (0,react.useEffect)(function () {
+ if (cm) {
+ var keymap = [];
+ var _loop = function _loop() {
+ var _Object$entries$_i = slicedToArray_default()(_Object$entries[_i], 2),
+ k = _Object$entries$_i[0],
+ value = _Object$entries$_i[1];
+ var map = defineProperty_default()({}, k, function () {
+ onActionCallback(value);
+ });
+ keymap.push(map);
+ cm.addKeyMap(map);
+ };
+ for (var _i = 0, _Object$entries = Object.entries(DEFAULTKEYMAP); _i < _Object$entries.length; _i++) {
+ _loop();
+ }
+ return function () {
+ for (var _i2 = 0, _keymap = keymap; _i2 < _keymap.length; _i2++) {
+ var m = _keymap[_i2];
+ cm.removeKeyMap(m);
+ }
+ };
+ }
+ }, [cm]);
+ (0,react.useEffect)(function () {
+ if (fullScreen !== isFull) {
+ setIsFull(fullScreen);
+ }
+ }, [fullScreen]);
+ (0,useInterval/* default */.Z)(function () {
+ if (!noStorage && lastedUpdateTime > 0) {
+ var currentTime = new Date().getTime();
+ var lastedValue = window.sessionStorage.getItem(id);
+ if (currentTime >= lastedUpdateTime + StorageTimeTicket && (!lastedValue || lastedValue !== value)) {
+ window.sessionStorage.setItem(id, value);
+ setTip(true);
+ }
+ }
+ }, StorageTimeTicket);
+ (0,react.useEffect)(function () {
+ setPreview(watch);
+ }, [cm, watch]);
+ (0,react.useEffect)(function () {
+ if (cm) {
+ isFocus && cm.focus();
+ }
+ }, [cm, isFocus]);
+ (0,react.useEffect)(function () {
+ if (preview && cm) {
+ var syncScroll = function syncScroll(e) {
+ var target = e.target;
+ if (previewEl.current) {
+ var ratio = target.scrollTop / target.scrollHeight;
+ previewEl.current.scrollTop = previewEl.current.scrollHeight * ratio;
+ }
+ };
+ var scrollEl = cm.getScrollerElement();
+ scrollEl.addEventListener('scroll', syncScroll);
+ return function () {
+ scrollEl.removeEventListener('scroll', syncScroll);
+ };
+ }
+ }, [cm, preview]);
+ (0,react.useEffect)(function () {
+ if (cm && onCMBeforeChange) {
+ var onChangeHandler = function onChangeHandler(cm, change) {
+ onCMBeforeChange(cm, change);
+ };
+ cm.on('beforeChange', onChangeHandler);
+ return function () {
+ cm.off('beforeChange', onChangeHandler);
+ };
+ }
+ }, [cm, onCMBeforeChange]);
+ (0,react.useEffect)(function () {
+ if (cm && onBlur) {
+ var onBlurHandler = function onBlurHandler() {
+ onBlur(cm.getValue());
+ };
+ cm.on('blur', onBlurHandler);
+ return function () {
+ cm.off('blur', onBlurHandler);
+ };
+ }
+ }, [cm, onBlur]);
+ (0,react.useEffect)(function () {
+ if (cm) {
+ var onChangeHandler = function onChangeHandler(cm) {
+ var content = cm.getValue();
+ setValue(content);
+ setLastedUpdateTime(new Date().getTime());
+ cm.getScrollerElement().dispatchEvent(new CustomEvent('scroll'));
+ onChange && onChange(content);
+ };
+ cm.on('change', onChangeHandler);
+ return function () {
+ cm.off('change', onChangeHandler);
+ };
+ }
+ }, [cm, onChange]);
+ (0,react.useEffect)(function () {
+ if (cm) {
+ // isFocus && cm.focus()
+ if (defaultValue === null || defaultValue === undefined) {
+ cm.setValue('');
+ setValue('');
+ } else {
+ if (defaultValue !== cm.getValue()) {
+ cm.setValue(defaultValue);
+ setValue(defaultValue);
+ cm.setCursor(disabled ? 1 : cm.lineCount(), 0);
+ }
+ }
+ }
+ }, [cm, defaultValue]);
+ var onActionCallback = (0,react.useCallback)(function (actionName) {
+ var cursor = cm.getCursor();
+ var selection = cm.getSelection();
+ var selectionText = selection.split('\n');
+ switch (actionName) {
+ case 'bold':
+ cm.replaceSelection('**' + selection + '**');
+ if (selection === '') {
+ cm.setCursor(cursor.line, cursor.ch + 2);
+ }
+ return cm.focus();
+ case 'italic':
+ cm.replaceSelection('*' + selection + '*');
+ if (selection === '') {
+ cm.setCursor(cursor.line, cursor.ch + 1);
+ }
+ return cm.focus();
+ case 'code':
+ cm.replaceSelection('`' + selection + '`');
+ if (selection === '') {
+ cm.setCursor(cursor.line, cursor.ch + 1);
+ }
+ return cm.focus();
+ case 'inline-latex':
+ cm.replaceSelection('`$$' + selection + '$$`');
+ if (selection === '') {
+ cm.setCursor(cursor.line, cursor.ch + 3);
+ }
+ return cm.focus();
+ case 'latex':
+ cm.replaceSelection("```latex\n" + selection + "\n```");
+ cm.setCursor(cursor.line + 1, selection.length + 1);
+ return cm.focus();
+ case 'line-break':
+ cm.replaceSelection('
\n');
+ return cm.focus();
+ case 'list-ul':
+ if (selection === '') {
+ cm.replaceSelection('- ' + selection);
+ } else {
+ cm.replaceSelection(selectionText.map(function (item) {
+ return item === '' ? '' : "- ".concat(item);
+ }).join('\n'));
+ }
+ return cm.focus();
+ case 'list-ol':
+ if (selection === '') {
+ cm.replaceSelection('1. ' + selection);
+ } else {
+ cm.replaceSelection(selectionText.map(function (item, index) {
+ return item === '' ? '' : "".concat(index + 1, ". ").concat(item);
+ }).join('\n'));
+ }
+ return cm.focus();
+ case 'add-null-ch':
+ if (selection === '') {
+ cm.setCursor(cursor.line, cursor.ch);
+ }
+ cm.replaceSelection(NULL_CH);
+ return cm.focus();
+ case 'inster-template-1':
+ if (selection === '') {
+ cm.setCursor(cursor.line, cursor.ch);
+ }
+ cm.replaceSelection(TEMP1);
+ return cm.focus();
+ case 'eraser':
+ cm.setValue('');
+ return cm.focus();
+ case 'trigger-watch':
+ setPreview(!preview);
+ return cm.focus();
+ case 'trigger-full-screen':
+ setIsFull(!isFull);
+ return cm.focus();
+ case LINK:
+ setAction(LINK);
+ return;
+ case CODE_BLOCK:
+ setAction(CODE_BLOCK);
+ return;
+ case UPLOAD_IMAGE:
+ setAction(UPLOAD_IMAGE);
+ return;
+ case ADD_TABLE:
+ setAction(ADD_TABLE);
+ return;
+ default:
+ throw new Error();
+ }
+ }, [cm, preview, isFull]);
+ var ExecutePluginAction = (0,react.useCallback)(function (values) {
+ setAction('');
+ switch (action) {
+ case LINK:
+ var title = values.title,
+ link = values.link;
+ cm.replaceSelection("[".concat(title, "](").concat(link, ")"));
+ return cm.focus();
+ case CODE_BLOCK:
+ var language = values.language,
+ content = values.content;
+ cm.replaceSelection(['```' + language, content, '```'].join('\n'));
+ return cm.focus();
+ case UPLOAD_IMAGE:
+ var src = values.src,
+ alt = values.alt;
+ if (alt) {
+ cm.replaceSelection(".concat(src, " \"").concat(alt, "\" )"));
+ } else {
+ cm.replaceSelection(""));
+ }
+ return cm.focus();
+ case ADD_TABLE:
+ var row = values.row,
+ col = values.col,
+ align = values.align;
+ var table = '\n';
+ for (var r = 0; r < row; r++) {
+ var rows = [];
+ var heads = [];
+ for (var c = 0; c < col; c++) {
+ if (r === 1) {
+ heads.push(ALIGNSIGN[align]);
+ }
+ rows.push(' ');
+ }
+ if (r === 1) {
+ table += "| ".concat(heads.join(' | '), " |\n");
+ }
+ table += "| ".concat(rows.join(col === 1 ? '' : ' | '), " |\n");
+ }
+ cm.replaceSelection(table + '\n');
+ return cm.focus();
+ default:
+ throw new Error();
+ }
+ }, [cm, action]);
+ var PluginEl = (0,react.useMemo)(function () {
+ switch (action) {
+ case LINK:
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor_link, {
+ callback: ExecutePluginAction,
+ onCancel: onCancel
+ });
+ case CODE_BLOCK:
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(code_block/* default */.Z, {
+ callback: ExecutePluginAction,
+ onCancel: onCancel
+ });
+ case UPLOAD_IMAGE:
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(upload_image, {
+ callback: ExecutePluginAction,
+ onCancel: onCancel
+ });
+ case ADD_TABLE:
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(add_table_panel, {
+ callback: ExecutePluginAction,
+ onCancel: onCancel
+ });
+ default:
+ return null;
+ }
+ }, [action]);
+ function onCancel() {
+ setAction('');
+ }
+ (0,react.useEffect)(function () {
+ if (resizeBarEl.current) {
+ var onMouseDown = function onMouseDown(e) {
+ dragging = true;
+ startY = e.pageY;
+ };
+ var onMouseUp = function onMouseUp() {
+ dragging = false;
+ };
+ var onMouseMove = function onMouseMove(e) {
+ if (dragging) {
+ var delta = e.pageY - startY;
+ if (delta < 0) {
+ delta = 0;
+ }
+ if (delta > 300) {
+ delta = 300;
+ }
+ var resizeH = height + delta + 'px';
+ setH(resizeH);
+ }
+ };
+ var resizeBar = resizeBarEl.current;
+ var dragging = false;
+ var startY = 0;
+ resizeBar.addEventListener('mousedown', onMouseDown);
+ document.addEventListener('mousemove', onMouseMove);
+ document.addEventListener('mouseup', onMouseUp);
+ return function () {
+ resizeBar.removeEventListener('mousedown', onMouseDown);
+ document.removeEventListener('mousemove', onMouseMove);
+ document.removeEventListener('mouseup', onMouseUp);
+ };
+ }
+ }, [cm, resizeBarEl]);
+ (0,react.useEffect)(function () {
+ setH(height);
+ }, [height]);
+ var fixedWidth = processSize(width);
+ var fixedHeight = processSize(h);
+ var style = {
+ width: fixedWidth,
+ height: fixedHeight
+ };
+ var saveTime = (0,react.useMemo)(function () {
+ if (lastedUpdateTime) {
+ var d = new Date(lastedUpdateTime);
+ var _h = d.getHours();
+ var m = d.getMinutes();
+ var s = d.getSeconds();
+ _h = _h < 10 ? '0' + _h : _h;
+ m = m < 10 ? '0' + m : m;
+ s = s < 10 ? '0' + s : s;
+ return "".concat(_h, ":").concat(m, ":").concat(s);
+ }
+ return 0;
+ }, [lastedUpdateTime]);
+ function onCancelStorage() {
+ window.sessionStorage.removeItem(id);
+ setTip(false);
+ setLastedUpdateTime(0);
+ }
+ function onReset() {
+ setTip(false);
+ setLastedUpdateTime(0);
+ cm.setValue(window.sessionStorage.getItem(id));
+ }
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: "markdown-editor-wrapper",
+ ref: containerEl,
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: "markdown-editor-container ".concat(className, " ").concat(preview ? 'on-preview' : '', " ").concat(miniToolbar ? 'mini' : '', " ").concat(isFull ? 'full-screen' : ''),
+ style: style,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(toolbar, {
+ insertTemp: insertTemp,
+ watch: preview,
+ fullScreen: isFull,
+ showNullButton: showNullButton,
+ onActionCallback: onActionCallback,
+ hidetoolBar: hidetoolBar
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: "markdown-editor-body",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: "codemirror-container",
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("textarea", {
+ ref: cmEl,
+ placeholder: placeholder
+ })
+ }), preview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ ref: previewEl,
+ className: "preview-container",
+ children: [mode === "stex" && /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml_stex, {
+ value: value
+ }), mode !== "stex" && /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
+ value: value
+ })]
+ }) : null]
+ })]
+ })
+ }), showResizeBar ? /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
+ ref: resizeBarEl,
+ className: "editor-resize"
+ }) : null, /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
+ children: TitleDesc[action] ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, {
+ centered: true,
+ title: TitleDesc[action],
+ open: true,
+ onCancel: onCancel,
+ footer: null,
+ className: "markdown-popup-form",
+ children: PluginEl
+ }) : null
+ })]
+ });
+});
+
+/***/ }),
+
+/***/ 12264:
+/*!**********************************!*\
+ !*** ./src/components/modal.tsx ***!
+ \**********************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ "Z": function() { return /* binding */ Dialog; }
+/* harmony export */ });
+/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/classCallCheck.js */ 56690);
+/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createClass.js */ 89728);
+/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_1__);
+/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/inherits.js */ 61655);
+/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_2__);
+/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createSuper.js */ 26389);
+/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_3__);
+/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 67294);
+/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-dom */ 73935);
+
+
+
+
+
+
+var Dialog = /*#__PURE__*/function (_React$Component) {
+ _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_2___default()(Dialog, _React$Component);
+ var _super = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_3___default()(Dialog);
+ function Dialog(props) {
+ var _this;
+ _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0___default()(this, Dialog);
+ _this = _super.call(this, props);
+ var doc = window.document;
+ _this.node = doc.createElement('div');
+ doc.body.appendChild(_this.node);
+ return _this;
+ }
+ _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_1___default()(Dialog, [{
+ key: "render",
+ value: function render() {
+ var children = this.props.children;
+ return /*#__PURE__*/(0,react_dom__WEBPACK_IMPORTED_MODULE_5__.createPortal)(children, this.node);
+ }
+ }, {
+ key: "componentWillUnmount",
+ value: function componentWillUnmount() {
+ window.document.body.removeChild(this.node);
+ }
+ }]);
+ return Dialog;
+}(react__WEBPACK_IMPORTED_MODULE_4__.Component);
+
+
+/***/ }),
+
+/***/ 11030:
+/*!****************************************************************!*\
+ !*** ./src/components/ui-customization/index.tsx + 36 modules ***!
+ \****************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ "jL": function() { return /* reexport */ ui_customization_Banner; },
+ "w9": function() { return /* reexport */ Cards_ClassroomList; },
+ "QD": function() { return /* reexport */ ui_customization_ConfirmAndCancel; },
+ "cQ": function() { return /* reexport */ Cards_CourseList; },
+ "op": function() { return /* reexport */ ui_customization_CustomButton; },
+ "_b": function() { return /* reexport */ CustomCrumbs; },
+ "t7": function() { return /* reexport */ ui_customization_CustomInput; },
+ "Gi": function() { return /* reexport */ ui_customization_CustomTable; },
+ "YG": function() { return /* reexport */ CustomTabs; },
+ "qp": function() { return /* reexport */ ui_customization_CustomTags; },
+ "vr": function() { return /* reexport */ ui_customization_FixedBottom; },
+ "qE": function() { return /* reexport */ HeadBack; },
+ "Je": function() { return /* reexport */ QuickPager; },
+ "wb": function() { return /* reexport */ Cards_ShixunList; },
+ "cq": function() { return /* reexport */ ui_customization_SuperiorSort; },
+ "tp": function() { return /* reexport */ ui_customization_SuperiorTabs; }
+});
+
+// EXTERNAL MODULE: ./node_modules/react/index.js
+var react = __webpack_require__(67294);
+;// CONCATENATED MODULE: ./src/components/ui-customization/Banner/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var Bannermodules = ({"flex_box_center":"flex_box_center___NeSU8","flex_space_between":"flex_space_between___ImTGl","flex_box_vertical_center":"flex_box_vertical_center___BtRd9","flex_box_center_end":"flex_box_center_end___qcLe3","flex_box_column":"flex_box_column___Ze_3q","banner":"banner___PoUBO","content":"content___XoDjy","btns":"btns___Pb35j"});
+;// CONCATENATED MODULE: ./src/components/ui-customization/Banner/robot.png
+var robot_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgU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28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==";
+// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
+var jsx_runtime = __webpack_require__(85893);
+;// CONCATENATED MODULE: ./src/components/ui-customization/Banner/index.tsx
+
+
+
+
+
+var Banner = function Banner(_ref) {
+ var _ref$dataSource = _ref.dataSource,
+ dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource,
+ img = _ref.img,
+ _ref$imgWidth = _ref.imgWidth,
+ imgWidth = _ref$imgWidth === void 0 ? 346 : _ref$imgWidth,
+ title = _ref.title,
+ sunTitle = _ref.sunTitle,
+ bannerExtraContent = _ref.bannerExtraContent;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: Bannermodules.banner,
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: Bannermodules.content,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {
+ children: title
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: sunTitle
+ })]
+ }), dataSource.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: Bannermodules.btns,
+ children: dataSource.map(function (e, i) {
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ onClick: e.click,
+ children: [e.name, e.sign ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: robot_namespaceObject,
+ width: 39
+ }) : null]
+ }, i);
+ })
+ }), bannerExtraContent]
+ }), img && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ style: {
+ marginTop: 33,
+ marginRight: 38
+ },
+ src: img,
+ width: imgWidth
+ })]
+ })
+ });
+};
+/* harmony default export */ var ui_customization_Banner = (Banner);
+// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
+var slicedToArray = __webpack_require__(27424);
+var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
+;// CONCATENATED MODULE: ./src/components/ui-customization/CustomTags/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var CustomTagsmodules = ({"flex_box_center":"flex_box_center___hG6RI","flex_space_between":"flex_space_between___ss3Fh","flex_box_vertical_center":"flex_box_vertical_center___K80p9","flex_box_center_end":"flex_box_center_end___qmXX3","flex_box_column":"flex_box_column___GFV8F","row":"row___aXJjm","title":"title___HUKL0","tagsWrap":"tagsWrap___XB2W3","action":"action___VdHb1","bar":"bar___t1kKC","tag":"tag___V7Eft","name":"name___Hk1Ip","num":"num___xQpcH","active":"active___XryTX","tagsBorderWrap":"tagsBorderWrap___OMxjs"});
+// EXTERNAL MODULE: ./node_modules/classnames/index.js
+var classnames = __webpack_require__(94184);
+var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+// EXTERNAL MODULE: ./node_modules/lodash/lodash.js
+var lodash = __webpack_require__(96486);
+;// CONCATENATED MODULE: ./src/components/ui-customization/CustomTags/index.tsx
+
+
+
+
+
+
+
+var CustomTags = function CustomTags(_ref) {
+ var _ref$dataSource = _ref.dataSource,
+ dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource,
+ value = _ref.value,
+ onChange = _ref.onChange,
+ onTitleChange = _ref.onTitleChange,
+ className = _ref.className,
+ title = _ref.title,
+ _ref$titleWidth = _ref.titleWidth,
+ titleWidth = _ref$titleWidth === void 0 ? 41 : _ref$titleWidth,
+ _ref$style = _ref.style,
+ style = _ref$style === void 0 ? {} : _ref$style,
+ _ref$fontColor = _ref.fontColor,
+ fontColor = _ref$fontColor === void 0 ? '#6A7283' : _ref$fontColor,
+ showCount = _ref.showCount;
+ var _useState = (0,react.useState)(0),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ show = _useState2[0],
+ setShow = _useState2[1];
+ var _useState3 = (0,react.useState)(false),
+ _useState4 = slicedToArray_default()(_useState3, 2),
+ showBorder = _useState4[0],
+ setShowBorder = _useState4[1];
+ var tagsRef = (0,react.useRef)(null);
+ var scrollRef = (0,react.useRef)(null);
+ (0,react.useEffect)(function () {
+ if (dataSource.length !== 0) {
+ var _tagsRef$current;
+ if ((tagsRef === null || tagsRef === void 0 ? void 0 : (_tagsRef$current = tagsRef.current) === null || _tagsRef$current === void 0 ? void 0 : _tagsRef$current.clientHeight) > 97) {
+ setShow(1);
+ } else {
+ setShow(0);
+ }
+ }
+ if (dataSource.length === 0) {
+ setShow(0);
+ }
+ setShowBorder(false);
+ }, [dataSource]);
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: classnames_default()(CustomTagsmodules.row, className),
+ style: style,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ onClick: (0,lodash.throttle)(function () {
+ return onTitleChange === null || onTitleChange === void 0 ? void 0 : onTitleChange();
+ }, 2000),
+ style: {
+ width: titleWidth,
+ marginTop: showBorder ? 12 : 4
+ },
+ className: "".concat(CustomTagsmodules.title, " ").concat(onTitleChange ? "current" : ""),
+ children: title
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: showBorder ? "".concat(CustomTagsmodules.tagsWrap, " ").concat(CustomTagsmodules.tagsBorderWrap) : CustomTagsmodules.tagsWrap,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: CustomTagsmodules.bar,
+ ref: scrollRef,
+ style: show > 0 ? {
+ height: show === 1 ? 97 : 'auto',
+ overflow: show === 1 ? 'hidden' : 'auto',
+ paddingRight: 55
+ } : {
+ paddingRight: 0
+ },
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: CustomTagsmodules.tag,
+ ref: tagsRef,
+ children: dataSource === null || dataSource === void 0 ? void 0 : dataSource.map(function (e) {
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ onClick: function onClick() {
+ return onChange(e.id);
+ },
+ style: {
+ color: fontColor
+ },
+ className: value === e.id ? CustomTagsmodules.active : '',
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ title: e.name,
+ className: CustomTagsmodules.name,
+ children: e.name
+ }), !!showCount && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: CustomTagsmodules.num,
+ children: e.count
+ })]
+ }, e.id);
+ })
+ })
+ }), !!show && /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, {
+ children: show === 1 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ onClick: function onClick() {
+ var _tagsRef$current2;
+ setShow(2);
+ if ((tagsRef === null || tagsRef === void 0 ? void 0 : (_tagsRef$current2 = tagsRef.current) === null || _tagsRef$current2 === void 0 ? void 0 : _tagsRef$current2.clientHeight) > 245) {
+ setShowBorder(true);
+ } else {
+ setShowBorder(false);
+ }
+ },
+ className: CustomTagsmodules.action,
+ children: ["\u5C55\u5F00", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ style: {
+ transform: 'translateY(1px) scale(0.6)'
+ },
+ className: "iconfont icon-zhankai4"
+ })]
+ }) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ onClick: function onClick() {
+ scrollRef.current.scrollTop = 0;
+ setShow(1);
+ setShowBorder(false);
+ },
+ className: CustomTagsmodules.action,
+ children: ["\u6536\u8D77", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ style: {
+ transform: 'translateY(0px) scale(0.6)'
+ },
+ className: "iconfont icon-shouqi3"
+ })]
+ })
+ })]
+ })]
+ });
+};
+/* harmony default export */ var ui_customization_CustomTags = (CustomTags);
+;// CONCATENATED MODULE: ./src/components/ui-customization/SuperiorTabs/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var SuperiorTabsmodules = ({"flex_box_center":"flex_box_center___aK2n3","flex_space_between":"flex_space_between___HX0Oh","flex_box_vertical_center":"flex_box_vertical_center___LJOJr","flex_box_center_end":"flex_box_center_end___SCakF","flex_box_column":"flex_box_column___AYv4m","tabs":"tabs___GTqPV","active":"active___F26E8"});
+;// CONCATENATED MODULE: ./src/components/ui-customization/SuperiorTabs/index.tsx
+
+
+
+
+var SuperiorTabs = function SuperiorTabs(_ref) {
+ var _ref$dataSource = _ref.dataSource,
+ dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource,
+ value = _ref.value,
+ onChange = _ref.onChange,
+ className = _ref.className,
+ _ref$style = _ref.style,
+ style = _ref$style === void 0 ? {} : _ref$style;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ style: style,
+ className: classnames_default()(SuperiorTabsmodules.tabs, className),
+ children: dataSource.map(function (e) {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ onClick: function onClick() {
+ return onChange(e.id);
+ },
+ className: value === e.id ? SuperiorTabsmodules.active : '',
+ children: e.name
+ }, e.id);
+ })
+ });
+};
+/* harmony default export */ var ui_customization_SuperiorTabs = (SuperiorTabs);
+;// CONCATENATED MODULE: ./src/components/ui-customization/CustomInput/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var CustomInputmodules = ({"flex_box_center":"flex_box_center___yX6Oa","flex_space_between":"flex_space_between___t7oqF","flex_box_vertical_center":"flex_box_vertical_center___dEIHy","flex_box_center_end":"flex_box_center_end___taQDF","flex_box_column":"flex_box_column___xY_Lr","input":"input___PW2zI","dropdown":"dropdown___vSy8B","menu":"menu___NiyBu","text":"text___Grueu","b1":"b1___ZKryM","b2":"b2___aKyGa"});
+// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules
+var input = __webpack_require__(79531);
+;// CONCATENATED MODULE: ./src/components/ui-customization/CustomInput/index.tsx
+
+
+
+
+
+
+
+var CustomInput = function CustomInput(_ref) {
+ var _dataSource$find;
+ var _ref$dataSource = _ref.dataSource,
+ dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource,
+ value = _ref.value,
+ onChange = _ref.onChange,
+ className = _ref.className,
+ _ref$style = _ref.style,
+ style = _ref$style === void 0 ? {} : _ref$style,
+ placeholder = _ref.placeholder;
+ var _useState = (0,react.useState)(''),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ dropValue = _useState2[0],
+ setDropValue = _useState2[1];
+ var _useState3 = (0,react.useState)(''),
+ _useState4 = slicedToArray_default()(_useState3, 2),
+ inputValue = _useState4[0],
+ setInputValue = _useState4[1];
+ (0,react.useEffect)(function () {
+ var _JSON$stringify;
+ if ((_JSON$stringify = JSON.stringify(value)) !== null && _JSON$stringify !== void 0 && _JSON$stringify.includes('{')) {
+ setDropValue(value.id);
+ setInputValue(value.value);
+ } else {
+ setInputValue(value);
+ }
+ }, [value]);
+ var handleChange = function handleChange() {
+ onChange(inputValue, dropValue || null);
+ };
+ var handleDropValue = function handleDropValue(id) {
+ if (id === dropValue) return;
+ setDropValue(id);
+ onChange(inputValue, id);
+ };
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: classnames_default()(CustomInputmodules.input, className),
+ style: style,
+ children: [!!dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: CustomInputmodules.dropdown,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: CustomInputmodules.text,
+ children: [(_dataSource$find = dataSource.find(function (e) {
+ return e.id === dropValue;
+ })) === null || _dataSource$find === void 0 ? void 0 : _dataSource$find.name, /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-zhankai4"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("b", {
+ className: CustomInputmodules.b1
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("b", {
+ className: CustomInputmodules.b2
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: CustomInputmodules.menu,
+ children: dataSource.map(function (e, i) {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ onClick: function onClick() {
+ return handleDropValue(e.id);
+ },
+ children: e.name
+ }, i);
+ })
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
+ onPressEnter: handleChange,
+ value: decodeURIComponent(inputValue || ""),
+ onChange: function onChange(e) {
+ return setInputValue(e.target.value);
+ },
+ bordered: false,
+ placeholder: placeholder
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ onClick: handleChange,
+ className: "iconfont icon-sousuo9 font14 pl10 current"
+ })]
+ });
+};
+/* harmony default export */ var ui_customization_CustomInput = (CustomInput);
+;// CONCATENATED MODULE: ./src/components/ui-customization/QuickPager/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var QuickPagermodules = ({"flex_box_center":"flex_box_center___tol8o","flex_space_between":"flex_space_between___Z235C","flex_box_vertical_center":"flex_box_vertical_center___Wq1sZ","flex_box_center_end":"flex_box_center_end___LLxom","flex_box_column":"flex_box_column___DbMSN","quickPager":"quickPager___GM30J","disabled":"disabled___Ozc8I"});
+;// CONCATENATED MODULE: ./src/components/ui-customization/QuickPager/index.tsx
+
+
+
+
+
+
+var QuickPager_SuperiorTabs = function SuperiorTabs(_ref) {
+ var value = _ref.value,
+ onChange = _ref.onChange,
+ className = _ref.className,
+ total = _ref.total,
+ pageSize = _ref.pageSize,
+ _ref$style = _ref.style,
+ style = _ref$style === void 0 ? {} : _ref$style;
+ var prevPageDisabled = value < 2;
+ var nextPageDisabled = value >= Math.ceil(total / pageSize);
+ if (total <= pageSize) {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {});
+ }
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: classnames_default()(QuickPagermodules.quickPager, className),
+ style: style,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ onClick: function onClick() {
+ if (!prevPageDisabled) {
+ onChange(value - 1, 'prev');
+ }
+ },
+ className: prevPageDisabled ? QuickPagermodules.disabled : '',
+ children: "\u4E0A\u4E00\u9875"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ onClick: function onClick() {
+ if (!nextPageDisabled) {
+ onChange(value + 1, 'next');
+ }
+ },
+ className: nextPageDisabled ? QuickPagermodules.disabled : '',
+ children: "\u4E0B\u4E00\u9875"
+ })]
+ });
+};
+/* harmony default export */ var QuickPager = (QuickPager_SuperiorTabs);
+;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/ShixunList/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var ShixunListmodules = ({"flex_box_center":"flex_box_center___FO7TP","flex_space_between":"flex_space_between___LotYx","flex_box_vertical_center":"flex_box_vertical_center___bWdaw","flex_box_center_end":"flex_box_center_end___mVJ1o","flex_box_column":"flex_box_column___M83Mm","list":"list___oOsiS","wrap":"wrap___G6T7F","lockWrap":"lockWrap___Rl79E","li":"li___oZZ7l","cover":"cover___b2bYW","img":"img___IQX7w","sign":"sign___HkT6C","name":"name___SsJx8","e":"e___TMqq0","tags":"tags___bcjyo","rate":"rate___YACg7"});
+// EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js + 1 modules
+var spin = __webpack_require__(57953);
+// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules
+var tooltip = __webpack_require__(83062);
+// EXTERNAL MODULE: ./node_modules/antd/es/rate/index.js + 8 modules
+var rate = __webpack_require__(59606);
+// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
+var env = __webpack_require__(59758);
+// EXTERNAL MODULE: ./src/utils/util.tsx
+var util = __webpack_require__(29427);
+// EXTERNAL MODULE: ./src/components/ui-customization/Cards/ShixunList/img/Jupyter.png
+var Jupyter = __webpack_require__(96908);
+// EXTERNAL MODULE: ./src/components/ui-customization/Cards/ShixunList/img/JupyterLab.png
+var JupyterLab = __webpack_require__(57177);
+// EXTERNAL MODULE: ./src/components/ui-customization/Cards/ShixunList/img/unity.png
+var unity = __webpack_require__(81378);
+// EXTERNAL MODULE: ./src/components/NoData/index.tsx
+var NoData = __webpack_require__(82982);
+;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/ShixunList/index.tsx
+
+
+
+
+
+
+
+
+
+
+
+
+var ShixunList = function ShixunList(_ref) {
+ var className = _ref.className,
+ _ref$dataSource = _ref.dataSource,
+ dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource,
+ _ref$col = _ref.col,
+ col = _ref$col === void 0 ? 4 : _ref$col,
+ right = _ref.right,
+ _ref$bottom = _ref.bottom,
+ bottom = _ref$bottom === void 0 ? 23 : _ref$bottom,
+ _ref$precision = _ref.precision,
+ precision = _ref$precision === void 0 ? 0 : _ref$precision,
+ _ref$wrapWidth = _ref.wrapWidth,
+ wrapWidth = _ref$wrapWidth === void 0 ? 1200 : _ref$wrapWidth,
+ trackEventItems = _ref.trackEventItems,
+ loading = _ref.loading;
+ var width = Math.floor((wrapWidth - (col - 1) * right) / col);
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
+ spinning: loading,
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: classnames_default()(ShixunListmodules.list, className),
+ children: [!!dataSource.length && dataSource.map(function (item, index) {
+ var name = item.name,
+ id = item.id,
+ identifier = item.identifier,
+ power = item.power,
+ cover_image_id = item.cover_image_id,
+ pic = item.pic;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: ShixunListmodules.wrap,
+ style: {
+ width: width,
+ marginRight: (1 + index) % col === 0 ? 0 : right + precision,
+ marginBottom: bottom
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
+ target: "_blank",
+ href: "/shixuns/".concat(identifier, "/challenges"),
+ className: ShixunListmodules.li,
+ onClick: function onClick(e) {
+ e.preventDefault();
+ if (trackEventItems) {
+ (0,util/* trackEvent */.L9)([trackEventItems]);
+ }
+ power && (0,util/* openNewWindow */.xg)("/shixuns/".concat(identifier, "/challenges"));
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: ShixunListmodules.img,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ className: ShixunListmodules.cover,
+ src: cover_image_id ? "".concat(env/* default.API_SERVER */.Z.API_SERVER, "/api/attachments/").concat(cover_image_id) : "".concat(env/* default.IMG_SERVER */.Z.IMG_SERVER, "/").concat(pic)
+ }), item.is_jupyter && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ className: ShixunListmodules.sign,
+ src: Jupyter
+ }), item.is_jupyter_lab && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ className: ShixunListmodules.sign,
+ src: JupyterLab
+ }), item.is_unity_3d && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ className: ShixunListmodules.sign,
+ src: unity
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: ShixunListmodules.name,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: name || '实践项目名称-未填写',
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: ShixunListmodules.e,
+ children: name || '实践项目名称-未填写'
+ })
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: ShixunListmodules.tags,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ placement: "bottom",
+ title: "\u5173\u5361\u6570",
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-shixunguanqia font14 mr2"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: item.challenges_count
+ })]
+ })
+ }), !!item.myshixuns_count && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ placement: "bottom",
+ title: "\u5B66\u4E60\u4EBA\u6570",
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-chengyuan font14 mr2"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: item.myshixuns_count
+ })]
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ placement: "bottom",
+ title: "\u96BE\u5EA6\u7B49\u7EA7",
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: item.level
+ })
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: ShixunListmodules.rate,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(rate/* default */.Z, {
+ allowHalf: true,
+ disabled: true,
+ defaultValue: item.score_info
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ children: ["\xA0", item.score_info ? "".concat(item.score_info, "\u5206") : '5分']
+ })]
+ })]
+ })]
+ }), !power && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: ShixunListmodules.lockWrap,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: "".concat(env/* default.IMG_SERVER */.Z.IMG_SERVER, "/images/educoder/icon/lockclose.svg")
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "mt15 font16 c-white",
+ children: "\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743"
+ })]
+ })]
+ }, id);
+ }), !dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {})]
+ })
+ });
+};
+/* harmony default export */ var Cards_ShixunList = (ShixunList);
+;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var CourseListmodules = ({"flex_box_center":"flex_box_center___AQ53o","flex_space_between":"flex_space_between___i2aIa","flex_box_vertical_center":"flex_box_vertical_center___sPEKB","flex_box_center_end":"flex_box_center_end___GhSSH","flex_box_column":"flex_box_column___R9_Hb","list":"list___jb2Ay","wrap":"wrap___VsQDr","lockWrap":"lockWrap___g1k1T","li":"li___IxCLC","cover":"cover___Mu8wr","img":"img___IpFLA","sign":"sign___DXJ4d","name":"name___l7FoJ","e":"e___pXQUG","unit":"unit___wCIFR","tags":"tags___w_Mil","tag1":"tag1___dxm7r","tag2":"tag2___llZkf"});
+;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/img/gg.png
+var gg_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAAA4CAYAAAAB3jHPAAAAAXNSR0IArs4c6QAAIABJREFUeF7dXQd4FdeV/ucJid5MMRgjRAeBBDZg0zFG9NiwMbis635O2WQ32WyS3Q1J1glxId6NU522ceLEsZMYMM1U0wWmG0RRo4MkRC+mCklv9rvn3nPLvHlPT5RsvM9F0nsz86b885///OfcOx5u8cv3/RQcX3pvtDo6zPf8HhGgh+957eH7jQE09oG0sK/0oj48AD7959Mv9Lcv3uGfPnw/av6mhcV7wWXE21H9mbuO2LbcPvwoLecuq7bn+/Cs7YvvCC7H+yW/3wfoK+X2ffkHomrf6DvlCnp/5d9R2hVP/ONX0++IelBffouvzl9/c+Ia3vTL97elVpccm+B73lOe748G0NSPyE2L/4sLxX8n+jIGmVhGnOqIvibxQCYvWHyQic8EgBRs1QX31Dp0NaPiAjPQzLYYKLTvBFb5UwPIArUEHwNW/pRYksvLRRnY7rHQGSKQiRtMgEwC7v8LyG4KYH7JhvrR6Kmv+PC/Bngt6Bx7HiIKRRpkgo3EeRT/q+EViSpUWUwmrw/xmgSUuBzMGvrimgtHF1WxoASEYilx3RRYQIzpw4/ythIzmQGZzWSGgSSQGKAMNrOv4jPNyAHG1cymcBgRgFe/S6r95L5qvuIhxybCYOWRec/5iE73/Eg7zxOXCpCk5SEaBjLeTg0gE+xCoYnDpbowElvhIKOLR9fWDZcm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XBJU0Qpv8t9cJfSTsqisFuvJXOEMJn2msIGkch1zONuVLjk2Xhs9uHJUSjEGoPXMWTD+tcC88raCQIfoxb78k6wHnfDHpySDLUBFy8rHP8jHxQ/58GbLibFIe1jO+tW6Yir1WbkuCkJGd8r1iuTLj/rNTlaKbmGRTZwzTZrejrcrWIy7ooQexAOMlWj1E6+KZy7jKEyO8JSbGeFtkbs3jHNduHz97u10ZCwarOnLfxVGDQJhgK3DGuaqbhBUTcsis+jMT3KtYObKJBHL17+iudFvub7vm71CdoRXAqyB5FwyIwZRKJNWTZ4GWQiXIZPrW48MFF6d2uR8ntMW4+ueyrrRfK4ZL5guFRv6pNS6+xSXQTWIbYnpZmsxq7YZEGWYBCJGp1kP+QrmF0ym9oT4unaZByQKelkgUyFRdKhMjFIWoMlgh71k507NcGLek/7ES/HA5qyEWo3LPJFDDr0oSCzqgLGVJVD4uKGS0JwLMgkhhRz2vrNCo/2k3vt+ftjQeaOIwg7L/bD7YNM5j6JxB0O5zwWWgFPhzMKm8Exlypr1UzGIHMHDLOfJrNc9ZzyQCi1GSom49T6y2SadNx2eJVmlHwmOrn9svX6lgDMPskifJauOtTP86uHep4nRnZ29zyvPeA1RsRrDHhpklCs+fUT9fcrLSVByRMSJwKZAZIxZE1xnLNQw2TMeGpsp8p+7eySGZCPMxkms9t8SCWJefaVWtFyzOpy5a6HuM8eVywSD2QGFAZkzDBB4Z8syOJZGDo7DQMZyT0GmY//BTPiWWsfFEpDAAAAAElFTkSuQmCC";
+;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/img/sg.png
+var sg_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAAA4CAYAAAAB3jHPAAAAAXNSR0IArs4c6QAAIABJREFUeF7VXQm4VVXZfvc+5yKzMqiAgpggqGihoBI4Zz+iQA7VX2Fa+GeFmjnmjAZmDlnmDGaDY5KzJmmWAiKIoCihmAN/ySTDvRcF4e691v+s4VvrW2vvcwFB8r/lcy/n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lg29AyiA7jMsNIcFO9O8j+yNWNDFq2AolAEyxKYUzpFrMwg1gzCmeyWo+5dNmlLYAHX9VCvhfvnbflo9jzYiHUM5H1x+w4wkyRHHuzDWfaoKOWNyFv9LRvvQ23CMD4cFX4XLEE+8lcDIHEHlLKPkDaXUrZDkjaSSlaGJ4jozNkmbJw6r6ElAGPVweIGXmo5fZGWTHbuevMniAjM+jnonbnuMmwpExEwAn6vwrmKhP2hcdXhv1cpKvCLzEtbrP14LLpR/o/JBqhquSiLD0AAAAASUVORK5CYII=";
+;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/img/jg.png
+var jg_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAAA4CAYAAAAB3jHPAAAAAXNSR0IArs4c6QAAIABJREFUeF61XQl4VdW1/m9GIAlhDGEIBATB2aetvCfYwYoDqKioVZGi4vxq9VlHVNSqtCA+obaKoBat4gRiHVBQBH2aiG3VKgIhYQhhyEQIhAwkuee8b49n7X32ubkRe7+PL3c4e5999vr3v/619jqHGH7gl+/7qdhSdAI8nAJgFHx/FHwUwPdyAOQAfgZ8X55V/mWf2b8YxF/+Ir/xj+R7/V4ed6jt2blUn3ocpG91fjU+dQwdl++RmWT9qWug79Wl0WPJ5fL+AcTYG/aKyXlhf8VH4zt1jB4faWfblfZL+1LHGedVX6r+aGd6kMEYla1CWIqJIR/qy/f/kY6y9vGAdzmAcfC83BBAFGgMoBAj6AtVxrYARo2r+yJANABJjGqDIQRkBV4FYPbZ08MXb+hY1Htybn5NtH1UG8cxDEzqawUs/Vl1G5OLT9lUmk0BRYNDfS87UH0rYKohG1anHxxwMPqmA3Oghp+PXKNaE98XYH5FUVe04BYg9lv4fm8+UzYD8YsiKzaKiZSROgIA/Z1eTKg9WZr2OUNglTOvgaJWqQSfcU0EYOq6ovpTzKIRROdHAdsCDycpxVgWkCij0bUVAqYFGj5nDiDp7+n1WgxqgEP2QQ5PjJ3vyWDcDW4tvgLx2IPw/YHB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i8W+7MFTHqQCIiUKBgoedU5zLAaOsohzvVzEYnMLiXMrhRw2FYykJGbooyGWln02FkdKmYLOJ/RHOxl+v8TismAgIdaxSgDr19QgZTQ/DXrc5GSvxFeN5Eg8kSaSU7FRDSPAQQdmpCBxeE8SiYQixFj7PTK2TynCAn22JaL9qTb/3PHK68mNJqdCjKPrZGM4IBG5QUsJTVokxFvk8yux7JKP+G9kkBTNjTj2H9qofhxaebhYnS9+uIz34UOElDKGCEXJS0ig0AZSBbn6l+FDCN/qzVqNtGBAhUX2lbWy7JYC+apVe6jQQB3EuoabV0Fk2gGkDsSK8p12OD0aW7KHxsBpKfkxbth94+aYBpNvtuBXvM+Rz4sJKxNKtuswYBENVDTlZyaLdI9rMy8LYbVS4xkv1IukIZnM6p1l7B3T6h/yxU29MCiQJapGtUoIkCiUtX2d8lAlMkT5EfjItNoMui+uq4facBJtksFetWXgE//iBgPTQ42ac9O8GgDE7YRgl9Gyyu9gZ4HTcJG25bnYMgy3Zpap24XBr/LcF/KhraH9SdC2tpXFlukALSBV5jIzqB+X6geq4AWsnoMYpdcV3fC2CazdjpYOl4AAABHElEQVQGef2+WwD8Fl5c1jrTUh/rf9igUacerzJ0xH8LE3Kn7HgHQ7rcq/P/a1TAkwMwojsJGjvi0yC3/tsXDZQIkITYS/VvJ2Uj0hTUNRtgs1kvEZNEASOqTYRbDJFYcu0PCWAaaKye7Nva8fDbpsCPnQYkU36trEMBScEToZlCbs/qx45mXdEnZTI7TWCwkmubJoFeoqykJ0ftCthTbTGarc94e/sY9V0y7i8Zt/Z9+ukck/0gAKPD5Bvm371zItoxFr5/BGIeq20ugOfnIIYcePIxBQYz2WCKqG4Q/lmczsVsdjRKE7b204I0Li02sMtsFIsYwYC6ZY3sZ9Jcmcr869k168GE35A/0tOHGCsBKP8NEV+n3GGS5/9/aODhUXT7opcAAAAASUVORK5CYII=";
+;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/index.tsx
+
+
+
+
+
+
+
+
+
+
+
+
+var CourseList = function CourseList(_ref) {
+ var className = _ref.className,
+ _ref$dataSource = _ref.dataSource,
+ dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource,
+ _ref$col = _ref.col,
+ col = _ref$col === void 0 ? 4 : _ref$col,
+ right = _ref.right,
+ _ref$bottom = _ref.bottom,
+ bottom = _ref$bottom === void 0 ? 23 : _ref$bottom,
+ _ref$precision = _ref.precision,
+ precision = _ref$precision === void 0 ? 0 : _ref$precision,
+ _ref$wrapWidth = _ref.wrapWidth,
+ wrapWidth = _ref$wrapWidth === void 0 ? 1200 : _ref$wrapWidth,
+ trackEventItems = _ref.trackEventItems,
+ loading = _ref.loading;
+ var width = Math.floor((wrapWidth - (col - 1) * right) / col);
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
+ spinning: loading,
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: classnames_default()(CourseListmodules.list, className),
+ children: [!!dataSource.length && dataSource.map(function (item, index) {
+ var name = item.name,
+ id = item.id,
+ identifier = item.identifier,
+ featured = item.featured,
+ school_name = item.school_name,
+ image_url = item.image_url,
+ excellent = item.excellent,
+ is_plan = item.is_plan;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: CourseListmodules.wrap,
+ style: {
+ width: width,
+ marginRight: (1 + index) % col === 0 ? 0 : right + precision,
+ marginBottom: bottom
+ },
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
+ target: "_blank",
+ href: "/paths/".concat(identifier),
+ className: CourseListmodules.li,
+ onClick: function onClick(e) {
+ e.preventDefault();
+ if (trackEventItems) {
+ (0,util/* trackEvent */.L9)([trackEventItems]);
+ }
+ (0,util/* openNewWindow */.xg)("/paths/".concat(identifier));
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: CourseListmodules.img,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ className: CourseListmodules.cover,
+ src: "".concat(env/* default.IMG_SERVER */.Z.IMG_SERVER, "/").concat(image_url)
+ }), featured === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ className: CourseListmodules.sign,
+ src: gg_namespaceObject
+ }), featured === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ className: CourseListmodules.sign,
+ src: ''
+ }), featured === 3 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ className: CourseListmodules.sign,
+ src: sg_namespaceObject
+ }), featured === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ className: CourseListmodules.sign,
+ src: jg_namespaceObject
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: CourseListmodules.name,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: name,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: CourseListmodules.e,
+ children: name
+ })
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: CourseListmodules.unit,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-danwei1 font14 mr3"
+ }), school_name]
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: CourseListmodules.tags,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ placement: "bottom",
+ title: "\u7AE0\u8282\u6570",
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-zhangjie1 font14 mr3"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: item.stages_count
+ })]
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ placement: "bottom",
+ title: "\u5B66\u4E60\u4EBA\u6570",
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-chengyuan font14 mr3"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: item.members_count
+ })]
+ })
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ children: [is_plan && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: CourseListmodules.tag1,
+ children: "101\u8BA1\u5212"
+ }), excellent && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: CourseListmodules.tag2,
+ children: "\u5F00\u653E\u8BFE\u7A0B"
+ })]
+ })]
+ })]
+ })
+ }, id);
+ }), !dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {})]
+ })
+ });
+};
+/* harmony default export */ var Cards_CourseList = (CourseList);
+;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/ClassroomList/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var ClassroomListmodules = ({"flex_box_center":"flex_box_center___eMcr7","flex_space_between":"flex_space_between___HcNca","flex_box_vertical_center":"flex_box_vertical_center___ZnvVN","flex_box_center_end":"flex_box_center_end___fdgDf","flex_box_column":"flex_box_column___SEKvd","list":"list___L1hmU","wrap":"wrap___pKgcW","lockWrap":"lockWrap___SMhkK","top":"top___udHSB","sign":"sign___uwRpq","name":"name___Fpf90","img":"img___AMLhL","text":"text___KiTb7","btns":"btns___i6IuZ","bottom":"bottom____k2sh"});
+;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/ClassroomList/img/privately.png
+var privately_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNx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S4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC";
+;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/ClassroomList/index.tsx
+
+
+
+
+
+
+
+
+
+
+var ClassroomList = function ClassroomList(_ref) {
+ var className = _ref.className,
+ _ref$dataSource = _ref.dataSource,
+ dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource,
+ _ref$col = _ref.col,
+ col = _ref$col === void 0 ? 4 : _ref$col,
+ right = _ref.right,
+ _ref$bottom = _ref.bottom,
+ bottom = _ref$bottom === void 0 ? 23 : _ref$bottom,
+ _ref$precision = _ref.precision,
+ precision = _ref$precision === void 0 ? 0 : _ref$precision,
+ _ref$wrapWidth = _ref.wrapWidth,
+ wrapWidth = _ref$wrapWidth === void 0 ? 1200 : _ref$wrapWidth,
+ trackEventItems = _ref.trackEventItems,
+ loading = _ref.loading;
+ var width = Math.floor((wrapWidth - (col - 1) * right) / col);
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
+ spinning: loading,
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: classnames_default()(ClassroomListmodules.list, className),
+ children: [!!dataSource.length && dataSource.map(function (item, index) {
+ var subject_identifier = item.subject_identifier,
+ id = item.id,
+ identifier = item.identifier,
+ power = item.power;
+ var is_public = item.is_public != 0 && item.is_public;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: ClassroomListmodules.wrap,
+ style: {
+ width: width,
+ marginRight: (1 + index) % col === 0 ? 0 : right + precision,
+ marginBottom: bottom
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
+ className: ClassroomListmodules.li,
+ onClick: function onClick(e) {
+ e.preventDefault();
+ if (trackEventItems) {
+ (0,util/* trackEvent */.L9)([trackEventItems]);
+ }
+ (0,util/* openNewWindow */.xg)(item.first_category_url);
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: ClassroomListmodules.top,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: item.name,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: ClassroomListmodules.name,
+ children: item.name
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ className: ClassroomListmodules.img,
+ src: true ? env/* default.IMG_SERVER */.Z.IMG_SERVER + '/images/' + item.avatar_url : 0
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: ClassroomListmodules.text,
+ title: item.creator,
+ children: item.creator
+ }), subject_identifier && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: ClassroomListmodules.btns,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ children: "\u5F00\u653E\u8BFE\u7A0B"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
+ children: "\u5F00\u653E\u8BFE\u5802"
+ })]
+ }), is_public && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: ClassroomListmodules.sign,
+ children: "\u516C\u5F00"
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: ClassroomListmodules.bottom,
+ children: [item.visits > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: "\u8BBF\u95EE\u91CF",
+ placement: "bottom",
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-liulanyan"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: item.visits
+ })]
+ })
+ }), item.course_members_count > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: "\u6210\u5458",
+ placement: "bottom",
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-chengyuan"
+ }), item.course_members_count]
+ })
+ }), item.tasks_count > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: "\u4F5C\u4E1A",
+ placement: "bottom",
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-zuoye"
+ }), item.tasks_count]
+ })
+ }), item.is_end ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ style: {
+ color: '#6B758B'
+ },
+ children: "\u5DF2\u7ED3\u675F"
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ style: {
+ color: '#00B187'
+ },
+ children: "\u8FDB\u884C\u4E2D"
+ })]
+ })]
+ }), !item.is_accessible && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: ClassroomListmodules.lockWrap,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: "".concat(env/* default.IMG_SERVER */.Z.IMG_SERVER, "/images/educoder/icon/lockclose.svg")
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "mt15 font16 c-white",
+ children: "\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165"
+ })]
+ })]
+ }, id);
+ }), !dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {})]
+ })
+ });
+};
+/* harmony default export */ var Cards_ClassroomList = (ClassroomList);
+;// CONCATENATED MODULE: ./src/components/ui-customization/CustomTabs/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var CustomTabsmodules = ({"flex_box_center":"flex_box_center___d27mZ","flex_space_between":"flex_space_between___qfRU9","flex_box_vertical_center":"flex_box_vertical_center___fCRld","flex_box_center_end":"flex_box_center_end___ORMV8","flex_box_column":"flex_box_column___PNKtZ","tabs":"tabs___alpa7","tabsWrap":"tabsWrap___aCQjw","tab":"tab___MKLr4","active":"active___nl_4v"});
+;// CONCATENATED MODULE: ./src/components/ui-customization/CustomTabs/index.tsx
+
+
+
+
+
+var FixedBottom = function FixedBottom(_ref) {
+ var _ref$dataSource = _ref.dataSource,
+ dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource,
+ value = _ref.value,
+ onChange = _ref.onChange,
+ className = _ref.className,
+ _ref$style = _ref.style,
+ style = _ref$style === void 0 ? {} : _ref$style,
+ tabBarExtraContent = _ref.tabBarExtraContent;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: classnames_default()(CustomTabsmodules.tabs, className),
+ style: style,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: CustomTabsmodules.tabsWrap,
+ children: dataSource.map(function (item, index) {
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
+ className: CustomTabsmodules.tab,
+ onClick: function onClick() {
+ onChange(item.id);
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: value === item.id ? CustomTabsmodules.active : '',
+ children: item.name
+ }), (item === null || item === void 0 ? void 0 : item.total) !== undefined && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ children: ["\uFF08", item === null || item === void 0 ? void 0 : item.total, "\uFF09"]
+ })]
+ }, index);
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: CustomTabsmodules.tabBar,
+ children: tabBarExtraContent
+ })]
+ });
+};
+/* harmony default export */ var CustomTabs = (FixedBottom);
+;// CONCATENATED MODULE: ./src/components/ui-customization/CustomTable/index.tsx
+
+
+
+var CustomTable = function CustomTable(_ref) {
+ var className = _ref.className,
+ _ref$style = _ref.style,
+ style = _ref$style === void 0 ? {} : _ref$style,
+ children = _ref.children;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: classnames_default()(className),
+ style: style,
+ children: children
+ });
+};
+/* harmony default export */ var ui_customization_CustomTable = (CustomTable);
+;// CONCATENATED MODULE: ./src/components/ui-customization/SuperiorSort/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var SuperiorSortmodules = ({"flex_box_center":"flex_box_center___e6HxQ","flex_space_between":"flex_space_between___RnXYe","flex_box_vertical_center":"flex_box_vertical_center___lVxPk","flex_box_center_end":"flex_box_center_end___bu8yv","flex_box_column":"flex_box_column___JczGj","orderWrap":"orderWrap___ZfyGX","orderIconWrap":"orderIconWrap___XTB_O","orderAsc":"orderAsc___KWHmA","orderDesc":"orderDesc___rHdbB","active":"active___a7eSP","cursorPointer":"cursorPointer___gs9kL","orderTextWrap":"orderTextWrap___teAKn"});
+// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/index.js + 1 modules
+var dropdown = __webpack_require__(85418);
+// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 11 modules
+var menu = __webpack_require__(68508);
+;// CONCATENATED MODULE: ./src/components/ui-customization/SuperiorSort/index.tsx
+
+
+
+
+
+
+var dropItem = [{
+ id: 'updated_at',
+ name: '最新动态'
+}, {
+ id: 'created_at',
+ name: '最新创建'
+}, {
+ id: 'name',
+ name: '名称排序'
+}];
+var SuperiorSort = function SuperiorSort(_ref) {
+ var _dataSource$find;
+ var sortValue = _ref.sortValue,
+ dropValue = _ref.dropValue,
+ className = _ref.className,
+ onSort = _ref.onSort,
+ onDrop = _ref.onDrop,
+ _ref$dataSource = _ref.dataSource,
+ dataSource = _ref$dataSource === void 0 ? dropItem : _ref$dataSource;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: classnames_default()(SuperiorSortmodules.orderWrap, className),
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
+ dropdownRender: function dropdownRender() {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
+ children: dataSource.map(function (e, i) {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default.Item */.Z.Item, {
+ onClick: function onClick() {
+ return onDrop(e.id);
+ },
+ children: e.name
+ }, i);
+ })
+ });
+ },
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: SuperiorSortmodules.orderTextWrap,
+ children: (_dataSource$find = dataSource.find(function (e) {
+ return dropValue === e.id;
+ })) === null || _dataSource$find === void 0 ? void 0 : _dataSource$find.name
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ className: SuperiorSortmodules.orderIconWrap,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: SuperiorSortmodules.orderAsc,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: sortValue === 'asc' ? "iconfont icon-sanjiaoxing-up font12 ".concat(SuperiorSortmodules.cursorPointer, " ").concat(SuperiorSortmodules.active) : "iconfont icon-sanjiaoxing-up font12 ".concat(SuperiorSortmodules.cursorPointer),
+ onClick: function onClick() {
+ return onSort(sortValue === 'asc' ? 'desc' : 'asc');
+ }
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: SuperiorSortmodules.orderDesc,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: sortValue === 'desc' ? "iconfont icon-sanjiaoxing-down font12 ".concat(SuperiorSortmodules.cursorPointer, " ").concat(SuperiorSortmodules.active) : "iconfont icon-sanjiaoxing-down font12 ".concat(SuperiorSortmodules.cursorPointer),
+ onClick: function onClick() {
+ return onSort(sortValue === 'asc' ? 'desc' : 'asc');
+ }
+ })
+ })]
+ })]
+ });
+};
+/* harmony default export */ var ui_customization_SuperiorSort = (SuperiorSort);
+// 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/objectWithoutProperties.js
+var objectWithoutProperties = __webpack_require__(70215);
+var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
+;// CONCATENATED MODULE: ./src/components/ui-customization/CustomButton/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var CustomButtonmodules = ({"flex_box_center":"flex_box_center___LCi0B","flex_space_between":"flex_space_between___hzONe","flex_box_vertical_center":"flex_box_vertical_center___ZyQRE","flex_box_center_end":"flex_box_center_end___XKM74","flex_box_column":"flex_box_column___p8LCU","btn":"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd","default":"default___K791v"});
+// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
+var es_button = __webpack_require__(71577);
+;// CONCATENATED MODULE: ./src/components/ui-customization/CustomButton/index.tsx
+
+
+
+
+
+var _excluded = ["className", "style", "children", "loading", "openLoading", "onClick", "size", "shape"];
+
+
+
+
+
+
+var CustomButton = function CustomButton(_ref) {
+ var className = _ref.className,
+ style = _ref.style,
+ children = _ref.children,
+ _ref$loading = _ref.loading,
+ loading = _ref$loading === void 0 ? false : _ref$loading,
+ openLoading = _ref.openLoading,
+ _ref$onClick = _ref.onClick,
+ onClick = _ref$onClick === void 0 ? function () {} : _ref$onClick,
+ _ref$size = _ref.size,
+ size = _ref$size === void 0 ? 'middle' : _ref$size,
+ _ref$shape = _ref.shape,
+ shape = _ref$shape === void 0 ? 'round' : _ref$shape,
+ props = objectWithoutProperties_default()(_ref, _excluded);
+ var _useState = (0,react.useState)(false),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ btnLoading = _useState2[0],
+ setBtnLoading = _useState2[1];
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, objectSpread2_default()(objectSpread2_default()({
+ onClick: (0,lodash.throttle)( /*#__PURE__*/function () {
+ var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(e) {
+ return regeneratorRuntime_default()().wrap(function _callee$(_context) {
+ while (1) switch (_context.prev = _context.next) {
+ case 0:
+ openLoading && setBtnLoading(true);
+ _context.prev = 1;
+ _context.next = 4;
+ return onClick(e);
+ case 4:
+ _context.next = 9;
+ break;
+ case 6:
+ _context.prev = 6;
+ _context.t0 = _context["catch"](1);
+ console.log("error", _context.t0);
+ case 9:
+ openLoading && setBtnLoading(false);
+ case 10:
+ case "end":
+ return _context.stop();
+ }
+ }, _callee, null, [[1, 6]]);
+ }));
+ return function (_x) {
+ return _ref2.apply(this, arguments);
+ };
+ }(), 2000, {
+ leading: true,
+ trailing: false
+ }),
+ className: classnames_default()(CustomButtonmodules.btn, CustomButtonmodules["".concat(size, "-").concat(shape)], className),
+ style: style,
+ size: size,
+ shape: shape,
+ loading: btnLoading || loading
+ }, props), {}, {
+ children: children
+ }));
+};
+/* harmony default export */ var ui_customization_CustomButton = (CustomButton);
+;// CONCATENATED MODULE: ./src/components/ui-customization/HeadBack/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var HeadBackmodules = ({"flex_box_center":"flex_box_center___TB7bQ","flex_space_between":"flex_space_between___oBlTb","flex_box_vertical_center":"flex_box_vertical_center___b5XbB","flex_box_center_end":"flex_box_center_end___CNhe7","flex_box_column":"flex_box_column___yHXKW","head":"head___ghH72","node":"node___mjPEy"});
+;// CONCATENATED MODULE: ./src/components/ui-customization/HeadBack/index.tsx
+
+
+
+
+
+var HeadBack_CustomButton = function CustomButton(_ref) {
+ var className = _ref.className,
+ style = _ref.style,
+ _ref$children = _ref.children,
+ children = _ref$children === void 0 ? null : _ref$children,
+ onClick = _ref.onClick,
+ title = _ref.title;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: classnames_default()(HeadBackmodules.head, className),
+ style: style,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ className: "primary-hover",
+ onClick: onClick,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-fanhui2 font12"
+ }), "\u8FD4\u56DE"]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("b", {
+ title: title,
+ children: title
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: HeadBackmodules.node,
+ children: children
+ })]
+ });
+};
+/* harmony default export */ var HeadBack = (HeadBack_CustomButton);
+;// CONCATENATED MODULE: ./src/components/ui-customization/ConfirmAndCancel/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var ConfirmAndCancelmodules = ({"flex_box_center":"flex_box_center___AlHuF","flex_space_between":"flex_space_between___vN2LW","flex_box_vertical_center":"flex_box_vertical_center___Ac7D2","flex_box_center_end":"flex_box_center_end___y38I7","flex_box_column":"flex_box_column___iQE6P","btns":"btns___sNgTb","confirm":"confirm___Ozirl","cancel":"cancel___aiq1I"});
+;// CONCATENATED MODULE: ./src/components/ui-customization/ConfirmAndCancel/index.tsx
+
+
+
+
+
+
+var ConfirmAndCancel = function ConfirmAndCancel(_ref) {
+ var _ref$confirmShow = _ref.confirmShow,
+ confirmShow = _ref$confirmShow === void 0 ? true : _ref$confirmShow,
+ confirmTitle = _ref.confirmTitle,
+ confirmClick = _ref.confirmClick,
+ _ref$cancelShow = _ref.cancelShow,
+ cancelShow = _ref$cancelShow === void 0 ? true : _ref$cancelShow,
+ cancelTitle = _ref.cancelTitle,
+ cancelClick = _ref.cancelClick,
+ className = _ref.className,
+ style = _ref.style,
+ _ref$confirmLoading = _ref.confirmLoading,
+ confirmLoading = _ref$confirmLoading === void 0 ? false : _ref$confirmLoading;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: classnames_default()(ConfirmAndCancelmodules.btns, className),
+ style: style,
+ children: [confirmShow && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
+ loading: confirmLoading,
+ onClick: confirmClick,
+ type: "primary",
+ className: ConfirmAndCancelmodules.confirm,
+ children: confirmTitle
+ }), cancelShow && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
+ onClick: cancelClick,
+ className: ConfirmAndCancelmodules.cancel,
+ children: cancelTitle
+ })]
+ });
+};
+/* harmony default export */ var ui_customization_ConfirmAndCancel = (ConfirmAndCancel);
+;// CONCATENATED MODULE: ./src/components/ui-customization/FixedBottom/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var FixedBottommodules = ({"flex_box_center":"flex_box_center___jkpdr","flex_space_between":"flex_space_between___OtsL8","flex_box_vertical_center":"flex_box_vertical_center___rbcb_","flex_box_center_end":"flex_box_center_end___zBR21","flex_box_column":"flex_box_column___nS_eP","fixedBottom":"fixedBottom___oJl7m","wrap":"wrap___A3Oq1","center":"center____VL1y"});
+;// CONCATENATED MODULE: ./src/components/ui-customization/FixedBottom/index.tsx
+
+
+
+
+
+var FixedBottom_CustomTabs = function CustomTabs(_ref) {
+ var className = _ref.className,
+ _ref$style = _ref.style,
+ style = _ref$style === void 0 ? {} : _ref$style,
+ LeftContent = _ref.LeftContent,
+ children = _ref.children,
+ RightContent = _ref.RightContent;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: classnames_default()(FixedBottommodules.fixedBottom, className),
+ style: style,
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: FixedBottommodules.wrap,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: FixedBottommodules.left,
+ children: LeftContent
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: FixedBottommodules.center,
+ children: children
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: FixedBottommodules.right,
+ children: RightContent
+ })]
+ })
+ });
+};
+/* harmony default export */ var ui_customization_FixedBottom = (FixedBottom_CustomTabs);
+;// CONCATENATED MODULE: ./src/components/ui-customization/CustomCrumbs/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var CustomCrumbsmodules = ({"flex_box_center":"flex_box_center___tY8Yn","flex_space_between":"flex_space_between___vHdYA","flex_box_vertical_center":"flex_box_vertical_center___pa61F","flex_box_center_end":"flex_box_center_end___HyDXt","flex_box_column":"flex_box_column___UjZek","crumbs":"crumbs___V41Oe","hover":"hover___bEIVd"});
+// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules
+var _umi_production_exports = __webpack_require__(89214);
+;// CONCATENATED MODULE: ./src/components/ui-customization/CustomCrumbs/index.tsx
+
+
+
+
+
+
+var CustomCrumbs_CustomTabs = function CustomTabs(_ref) {
+ var className = _ref.className,
+ _ref$style = _ref.style,
+ style = _ref$style === void 0 ? {} : _ref$style,
+ _ref$dataSource = _ref.dataSource,
+ dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: classnames_default()(CustomCrumbsmodules.crumbs, className),
+ style: style,
+ children: dataSource.map(function (e, i) {
+ if (i < dataSource.length - 1) {
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, {
+ children: [e.path ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: CustomCrumbsmodules.hover,
+ onClick: function onClick() {
+ return _umi_production_exports.history.push(e.path);
+ },
+ children: e.name
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: e.name
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ children: ["\xA0", '>', "\xA0"]
+ })]
+ }, i);
+ }
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: {
+ color: '#5F6368'
+ },
+ children: e.name
+ }, i);
+ })
+ });
+};
+/* harmony default export */ var CustomCrumbs = (CustomCrumbs_CustomTabs);
+;// CONCATENATED MODULE: ./src/components/ui-customization/index.tsx
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+/***/ }),
+
+/***/ 61891:
+/*!****************************************!*\
+ !*** ./src/components/useInterval.tsx ***!
+ \****************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ "Z": function() { return /* binding */ useInterval; }
+/* harmony export */ });
+/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294);
+
+function useInterval(callback, delay) {
+ var savedCallback = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
+
+ // 保存新回调
+ (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
+ savedCallback.current = callback;
+ });
+
+ // 建立 interval
+ (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
+ function tick() {
+ savedCallback.current();
+ }
+ if (delay !== null) {
+ var id = setInterval(tick, delay);
+ return function () {
+ return clearInterval(id);
+ };
+ }
+ }, [delay]);
+}
+
+/***/ }),
+
+/***/ 86661:
+/*!*******************************************************************!*\
+ !*** ./src/pages/Paperlibrary/Random/Edit/index.tsx + 29 modules ***!
+ \*******************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+// ESM COMPAT FLAG
+__webpack_require__.r(__webpack_exports__);
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ "default": function() { return /* binding */ Edit; }
+});
+
+// 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/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/Edit/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var Editmodules = ({"wrapper":"wrapper___KtBVT","breadCrumbWrapper":"breadCrumbWrapper___k9tSB","baseInfo":"baseInfo____j5EY","radioBtnWrapper":"radioBtnWrapper___k9OCh","radiogroup":"radiogroup___e2fW6","easy":"easy___WcUAp","medium":"medium___U_o3j","hard":"hard___dAXLS","fixedBottom":"fixedBottom___liDZ4","cancelBtn":"cancelBtn___ZV9Mi","confirmBtn":"confirmBtn___DwH6m","previewBtn":"previewBtn___aLYCy"});
+// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules
+var message = __webpack_require__(2453);
+// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules
+var es_form = __webpack_require__(25159);
+// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/index.js + 6 modules
+var breadcrumb = __webpack_require__(85673);
+// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules
+var _umi_production_exports = __webpack_require__(89214);
+;// CONCATENATED MODULE: ./src/components/ExerciseComponents/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var ExerciseComponentsmodules = ({"digitalLabel":"digitalLabel___hkWuZ","active":"active___jawU1","titleEditor":"titleEditor___wX1lW","title":"title___SuT2h","editIcon":"editIcon___XrTIi","paperTab":"paperTab___GUxeB","tabItem":"tabItem___or0fY","dottedLine":"dottedLine___Ln0Xr"});
+// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
+var jsx_runtime = __webpack_require__(85893);
+;// CONCATENATED MODULE: ./src/components/ExerciseComponents/DigitalLabel.tsx
+
+
+
+var DigitalLabel = function DigitalLabel(_ref) {
+ var number = _ref.number,
+ active = _ref.active,
+ className = _ref.className;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: "".concat(ExerciseComponentsmodules.digitalLabel, " ").concat(active ? ExerciseComponentsmodules.active : '', " ").concat(className),
+ children: number
+ });
+};
+
+// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules
+var tooltip = __webpack_require__(83062);
+// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules
+var input = __webpack_require__(79531);
+;// CONCATENATED MODULE: ./src/components/ExerciseComponents/TitleEditor.tsx
+
+
+
+
+
+
+
+
+var TitleEditor = function TitleEditor(_ref) {
+ var defaultValue = _ref.defaultValue,
+ onFinish = _ref.onFinish;
+ var _useState = (0,react.useState)(false),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ isEdit = _useState2[0],
+ setIsEdit = _useState2[1];
+ var _useState3 = (0,react.useState)(defaultValue),
+ _useState4 = slicedToArray_default()(_useState3, 2),
+ value = _useState4[0],
+ setValue = _useState4[1];
+ (0,react.useEffect)(function () {
+ setValue(defaultValue);
+ }, [defaultValue]);
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: ExerciseComponentsmodules.titleEditor,
+ children: !isEdit ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: ExerciseComponentsmodules.title,
+ onDoubleClick: function onDoubleClick() {
+ return setIsEdit(true);
+ },
+ children: [value, /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: "\u70B9\u51FB\u7F16\u8F91\u8BD5\u5377\u540D\u79F0",
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "".concat(ExerciseComponentsmodules.editIcon, " iconfont icon-bianji_Hover"),
+ onClick: function onClick() {
+ return setIsEdit(true);
+ }
+ })
+ })]
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
+ autoFocus: true,
+ maxLength: 60,
+ style: {
+ textAlign: 'center',
+ marginTop: 20,
+ marginBottom: 20
+ },
+ value: value,
+ onChange: function onChange(e) {
+ setValue(e.target.value);
+ },
+ onBlur: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
+ var _value$replaceAll;
+ var flag;
+ return regeneratorRuntime_default()().wrap(function _callee$(_context) {
+ while (1) switch (_context.prev = _context.next) {
+ case 0:
+ if (!((value === null || value === void 0 ? void 0 : (_value$replaceAll = value.replaceAll(' ', '')) === null || _value$replaceAll === void 0 ? void 0 : _value$replaceAll.length) <= 0)) {
+ _context.next = 3;
+ break;
+ }
+ message/* default.error */.ZP.error('试卷标题不能为空');
+ return _context.abrupt("return");
+ case 3:
+ _context.next = 5;
+ return onFinish(value);
+ case 5:
+ flag = _context.sent;
+ flag && setIsEdit(false);
+ case 7:
+ case "end":
+ return _context.stop();
+ }
+ }, _callee);
+ })),
+ onPressEnter: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
+ var _value$replaceAll2;
+ var flag;
+ return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
+ while (1) switch (_context2.prev = _context2.next) {
+ case 0:
+ if (!((value === null || value === void 0 ? void 0 : (_value$replaceAll2 = value.replaceAll(' ', '')) === null || _value$replaceAll2 === void 0 ? void 0 : _value$replaceAll2.length) <= 0)) {
+ _context2.next = 3;
+ break;
+ }
+ message/* default.error */.ZP.error('试卷标题不能为空');
+ return _context2.abrupt("return");
+ case 3:
+ _context2.next = 5;
+ return onFinish(value);
+ case 5:
+ flag = _context2.sent;
+ flag && setIsEdit(false);
+ case 7:
+ case "end":
+ return _context2.stop();
+ }
+ }, _callee2);
+ }))
+ })
+ });
+};
+
+// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js
+var row = __webpack_require__(71230);
+// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js
+var col = __webpack_require__(15746);
+;// CONCATENATED MODULE: ./src/components/ExerciseComponents/PaperTab.tsx
+
+
+
+
+
+
+
+
+
+var PaperTab = function PaperTab(_ref) {
+ var _tabs$, _tabs$2, _tabs$4, _tabs$5, _tabs$6, _tabs$9, _tabs$10;
+ var _ref$onChange = _ref.onChange,
+ onChange = _ref$onChange === void 0 ? /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
+ return regeneratorRuntime_default()().wrap(function _callee$(_context) {
+ while (1) switch (_context.prev = _context.next) {
+ case 0:
+ case "end":
+ return _context.stop();
+ }
+ }, _callee);
+ })) : _ref$onChange,
+ tabs = _ref.tabs,
+ activeKey = _ref.activeKey,
+ defaultActiveKey = _ref.defaultActiveKey,
+ _ref$className = _ref.className,
+ className = _ref$className === void 0 ? '' : _ref$className;
+ var _useState = (0,react.useState)(defaultActiveKey === undefined ? (_tabs$ = tabs[0]) === null || _tabs$ === void 0 ? void 0 : _tabs$.key : defaultActiveKey),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ innerActiveKey = _useState2[0],
+ setInnerActiveKey = _useState2[1];
+ (0,react.useEffect)(function () {
+ if (activeKey !== undefined) {
+ setInnerActiveKey(activeKey);
+ }
+ }, [activeKey]);
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "center",
+ align: "middle",
+ className: "".concat(ExerciseComponentsmodules.paperTab, " ").concat(className),
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ className: "".concat(ExerciseComponentsmodules.tabItem, " ").concat(innerActiveKey === ((_tabs$2 = tabs[0]) === null || _tabs$2 === void 0 ? void 0 : _tabs$2.key) ? ExerciseComponentsmodules.active : ''),
+ onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
+ var _tabs$3;
+ return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
+ while (1) switch (_context2.prev = _context2.next) {
+ case 0:
+ _context2.next = 2;
+ return onChange(tabs[0].key);
+ case 2:
+ setInnerActiveKey((_tabs$3 = tabs[0]) === null || _tabs$3 === void 0 ? void 0 : _tabs$3.key);
+ case 3:
+ case "end":
+ return _context2.stop();
+ }
+ }, _callee2);
+ })),
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(DigitalLabel, {
+ number: 1,
+ active: innerActiveKey === ((_tabs$4 = tabs[0]) === null || _tabs$4 === void 0 ? void 0 : _tabs$4.key),
+ className: "mr10"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: (_tabs$5 = tabs[0]) === null || _tabs$5 === void 0 ? void 0 : _tabs$5.label
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ flex: "188px",
+ className: "".concat(ExerciseComponentsmodules.dottedLine, " ml30 mr30")
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ className: "".concat(ExerciseComponentsmodules.tabItem, " ").concat(innerActiveKey === ((_tabs$6 = tabs[1]) === null || _tabs$6 === void 0 ? void 0 : _tabs$6.key) ? ExerciseComponentsmodules.active : ''),
+ onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
+ var _tabs$7, _tabs$8;
+ return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
+ while (1) switch (_context3.prev = _context3.next) {
+ case 0:
+ _context3.next = 2;
+ return onChange((_tabs$7 = tabs[1]) === null || _tabs$7 === void 0 ? void 0 : _tabs$7.key);
+ case 2:
+ setInnerActiveKey((_tabs$8 = tabs[1]) === null || _tabs$8 === void 0 ? void 0 : _tabs$8.key);
+ case 3:
+ case "end":
+ return _context3.stop();
+ }
+ }, _callee3);
+ })),
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(DigitalLabel, {
+ number: 2,
+ active: innerActiveKey === ((_tabs$9 = tabs[1]) === null || _tabs$9 === void 0 ? void 0 : _tabs$9.key),
+ className: "mr10"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: (_tabs$10 = tabs[1]) === null || _tabs$10 === void 0 ? void 0 : _tabs$10.label
+ })]
+ })]
+ });
+};
+
+;// CONCATENATED MODULE: ./src/components/ExerciseComponents/index.tsx
+
+
+
+// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js
+var createForOfIteratorHelper = __webpack_require__(74704);
+var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper);
+// EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js + 1 modules
+var spin = __webpack_require__(57953);
+// EXTERNAL MODULE: ./node_modules/antd/es/cascader/index.js + 63 modules
+var cascader = __webpack_require__(80316);
+// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 5 modules
+var es_radio = __webpack_require__(78045);
+// EXTERNAL MODULE: ./node_modules/antd/es/input-number/index.js + 21 modules
+var input_number = __webpack_require__(31795);
+// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
+var es_button = __webpack_require__(71577);
+// EXTERNAL MODULE: ./src/utils/fetch.ts
+var fetch = __webpack_require__(84519);
+;// CONCATENATED MODULE: ./src/service/randomPaper/index.ts
+
+
+
+
+function getRandomExam(_x) {
+ return _getRandomExam.apply(this, arguments);
+}
+function _getRandomExam() {
+ _getRandomExam = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(id) {
+ return regeneratorRuntime_default()().wrap(function _callee$(_context) {
+ while (1) switch (_context.prev = _context.next) {
+ case 0:
+ return _context.abrupt("return", (0,fetch/* default */.ZP)("/api/examination_banks/".concat(id, "/edit_random_exam_new.json"), {
+ method: 'get'
+ }));
+ case 1:
+ case "end":
+ return _context.stop();
+ }
+ }, _callee);
+ }));
+ return _getRandomExam.apply(this, arguments);
+}
+function updateRandomExam(_x2, _x3) {
+ return _updateRandomExam.apply(this, arguments);
+}
+function _updateRandomExam() {
+ _updateRandomExam = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(id, params) {
+ return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
+ while (1) switch (_context2.prev = _context2.next) {
+ case 0:
+ return _context2.abrupt("return", (0,fetch/* default */.ZP)("/api/examination_banks/".concat(id, "/update_random_exam.json"), {
+ method: 'post',
+ body: params
+ }));
+ case 1:
+ case "end":
+ return _context2.stop();
+ }
+ }, _callee2);
+ }));
+ return _updateRandomExam.apply(this, arguments);
+}
+function createRandomExam(_x4) {
+ return _createRandomExam.apply(this, arguments);
+}
+function _createRandomExam() {
+ _createRandomExam = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(params) {
+ return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
+ while (1) switch (_context3.prev = _context3.next) {
+ case 0:
+ return _context3.abrupt("return", (0,fetch/* default */.ZP)("/api/examination_banks/create_random_exam.json", {
+ method: 'post',
+ body: params
+ }));
+ case 1:
+ case "end":
+ return _context3.stop();
+ }
+ }, _callee3);
+ }));
+ return _createRandomExam.apply(this, arguments);
+}
+function getDisciplines(_x5) {
+ return _getDisciplines.apply(this, arguments);
+}
+function _getDisciplines() {
+ _getDisciplines = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(params) {
+ return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
+ while (1) switch (_context4.prev = _context4.next) {
+ case 0:
+ return _context4.abrupt("return", (0,fetch/* default */.ZP)("/api/disciplines.json", {
+ method: 'get',
+ params: params
+ }));
+ case 1:
+ case "end":
+ return _context4.stop();
+ }
+ }, _callee4);
+ }));
+ return _getDisciplines.apply(this, arguments);
+}
+function getQuestionNum(_x6) {
+ return _getQuestionNum.apply(this, arguments);
+}
+function _getQuestionNum() {
+ _getQuestionNum = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(params) {
+ return regeneratorRuntime_default()().wrap(function _callee5$(_context5) {
+ while (1) switch (_context5.prev = _context5.next) {
+ case 0:
+ return _context5.abrupt("return", (0,fetch/* default */.ZP)("/api/item_banks/item_difficulty_count.json", {
+ method: 'get',
+ params: params
+ }));
+ case 1:
+ case "end":
+ return _context5.stop();
+ }
+ }, _callee5);
+ }));
+ return _getQuestionNum.apply(this, arguments);
+}
+function setItemTypeScore(_x7, _x8) {
+ return _setItemTypeScore.apply(this, arguments);
+}
+function _setItemTypeScore() {
+ _setItemTypeScore = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(id, params) {
+ return regeneratorRuntime_default()().wrap(function _callee6$(_context6) {
+ while (1) switch (_context6.prev = _context6.next) {
+ case 0:
+ return _context6.abrupt("return", (0,fetch/* default */.ZP)("/api/examination_banks/".concat(id, "/set_item_type_score.json"), {
+ method: 'post',
+ body: params
+ }));
+ case 1:
+ case "end":
+ return _context6.stop();
+ }
+ }, _callee6);
+ }));
+ return _setItemTypeScore.apply(this, arguments);
+}
+function setItemTypeScores(_x9, _x10) {
+ return _setItemTypeScores.apply(this, arguments);
+}
+function _setItemTypeScores() {
+ _setItemTypeScores = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7(id, params) {
+ return regeneratorRuntime_default()().wrap(function _callee7$(_context7) {
+ while (1) switch (_context7.prev = _context7.next) {
+ case 0:
+ return _context7.abrupt("return", (0,fetch/* default */.ZP)("/api/exercises/".concat(id, "/set_item_type_score.json"), {
+ method: 'post',
+ body: params
+ }));
+ case 1:
+ case "end":
+ return _context7.stop();
+ }
+ }, _callee7);
+ }));
+ return _setItemTypeScores.apply(this, arguments);
+}
+function deleteItem(_x11, _x12) {
+ return _deleteItem.apply(this, arguments);
+}
+function _deleteItem() {
+ _deleteItem = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8(id, params) {
+ return regeneratorRuntime_default()().wrap(function _callee8$(_context8) {
+ while (1) switch (_context8.prev = _context8.next) {
+ case 0:
+ return _context8.abrupt("return", (0,fetch/* default */.ZP)("/api/examination_banks/".concat(id, "/delete_item_type.json"), {
+ method: 'post',
+ body: params
+ }));
+ case 1:
+ case "end":
+ return _context8.stop();
+ }
+ }, _callee8);
+ }));
+ return _deleteItem.apply(this, arguments);
+}
+function deletecourseItem(_x13, _x14) {
+ return _deletecourseItem.apply(this, arguments);
+}
+function _deletecourseItem() {
+ _deletecourseItem = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9(id, params) {
+ return regeneratorRuntime_default()().wrap(function _callee9$(_context9) {
+ while (1) switch (_context9.prev = _context9.next) {
+ case 0:
+ return _context9.abrupt("return", (0,fetch/* default */.ZP)("/api/exercises/".concat(id, "/delete_item_type.json"), {
+ method: 'post',
+ body: params
+ }));
+ case 1:
+ case "end":
+ return _context9.stop();
+ }
+ }, _callee9);
+ }));
+ return _deletecourseItem.apply(this, arguments);
+}
+function previewRandomPaper(_x15) {
+ return _previewRandomPaper.apply(this, arguments);
+}
+function _previewRandomPaper() {
+ _previewRandomPaper = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10(params) {
+ return regeneratorRuntime_default()().wrap(function _callee10$(_context10) {
+ while (1) switch (_context10.prev = _context10.next) {
+ case 0:
+ return _context10.abrupt("return", (0,fetch/* default */.ZP)("/api/examination_banks/preview_random_questions.json", {
+ method: 'post',
+ body: params
+ }));
+ case 1:
+ case "end":
+ return _context10.stop();
+ }
+ }, _callee10);
+ }));
+ return _previewRandomPaper.apply(this, arguments);
+}
+function toggleRandomQuestions(_x16) {
+ return _toggleRandomQuestions.apply(this, arguments);
+}
+function _toggleRandomQuestions() {
+ _toggleRandomQuestions = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11(params) {
+ return regeneratorRuntime_default()().wrap(function _callee11$(_context11) {
+ while (1) switch (_context11.prev = _context11.next) {
+ case 0:
+ return _context11.abrupt("return", (0,fetch/* default */.ZP)('/api/examination_banks/toggle_random_questions.json', {
+ method: 'post',
+ body: params
+ }));
+ case 1:
+ case "end":
+ return _context11.stop();
+ }
+ }, _callee11);
+ }));
+ return _toggleRandomQuestions.apply(this, arguments);
+}
+function saveQuestionList(_x17) {
+ return _saveQuestionList.apply(this, arguments);
+}
+function _saveQuestionList() {
+ _saveQuestionList = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee12(params) {
+ return regeneratorRuntime_default()().wrap(function _callee12$(_context12) {
+ while (1) switch (_context12.prev = _context12.next) {
+ case 0:
+ return _context12.abrupt("return", (0,fetch/* default */.ZP)('/api/examination_banks/save_question_list.json', {
+ method: 'post',
+ body: params
+ }));
+ case 1:
+ case "end":
+ return _context12.stop();
+ }
+ }, _callee12);
+ }));
+ return _saveQuestionList.apply(this, arguments);
+}
+function getExerciseRandomExam(_x18) {
+ return _getExerciseRandomExam.apply(this, arguments);
+}
+function _getExerciseRandomExam() {
+ _getExerciseRandomExam = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee13(params) {
+ return regeneratorRuntime_default()().wrap(function _callee13$(_context13) {
+ while (1) switch (_context13.prev = _context13.next) {
+ case 0:
+ return _context13.abrupt("return", (0,fetch/* default */.ZP)("/api/exercises/".concat(params.categoryId, "/edit.json"), {
+ method: 'get',
+ params: objectSpread2_default()({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context13.stop();
+ }
+ }, _callee13);
+ }));
+ return _getExerciseRandomExam.apply(this, arguments);
+}
+// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js
+var defineProperty = __webpack_require__(38416);
+var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
+;// CONCATENATED MODULE: ./src/service/randomPaper/types.ts
+var RuleValueKeyType = /*#__PURE__*/function (RuleValueKeyType) {
+ RuleValueKeyType["OnlyFileFolder"] = "1";
+ RuleValueKeyType["OnlyKnowledge"] = "2";
+ RuleValueKeyType["OnlyDifficulty"] = "3";
+ RuleValueKeyType["FileFolderAndDiff"] = "4";
+ RuleValueKeyType["FileFolderAndKnowledge"] = "5";
+ RuleValueKeyType["KnowledgeAndDiff"] = "6";
+ RuleValueKeyType["All"] = "7";
+ RuleValueKeyType["Shixun"] = "8";
+ return RuleValueKeyType;
+}({});
+// EXTERNAL MODULE: ./node_modules/lodash/lodash.js
+var lodash = __webpack_require__(96486);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/reducer.ts
+
+
+
+
+var _RuleValueMap;
+
+
+
+var RuleValueType = /*#__PURE__*/function (RuleValueType) {
+ RuleValueType[RuleValueType["FileFolder"] = 1] = "FileFolder";
+ RuleValueType[RuleValueType["Difficulty"] = 2] = "Difficulty";
+ RuleValueType[RuleValueType["Knowledge"] = 3] = "Knowledge";
+ return RuleValueType;
+}(RuleValueType || {});
+var DataContext = /*#__PURE__*/(0,react.createContext)(null);
+var RuleValueMap = (_RuleValueMap = {}, defineProperty_default()(_RuleValueMap, RuleValueKeyType.OnlyFileFolder, [RuleValueType.FileFolder]), defineProperty_default()(_RuleValueMap, RuleValueKeyType.OnlyKnowledge, [RuleValueType.Knowledge]), defineProperty_default()(_RuleValueMap, RuleValueKeyType.OnlyDifficulty, [RuleValueType.Difficulty]), defineProperty_default()(_RuleValueMap, RuleValueKeyType.FileFolderAndDiff, [RuleValueType.FileFolder, RuleValueType.Difficulty]), defineProperty_default()(_RuleValueMap, RuleValueKeyType.FileFolderAndKnowledge, [RuleValueType.FileFolder, RuleValueType.Knowledge]), defineProperty_default()(_RuleValueMap, RuleValueKeyType.KnowledgeAndDiff, [RuleValueType.Knowledge, RuleValueType.Difficulty]), defineProperty_default()(_RuleValueMap, RuleValueKeyType.All, [RuleValueType.Knowledge, RuleValueType.Difficulty, RuleValueType.FileFolder]), _RuleValueMap);
+var compareTwoArr = function compareTwoArr(target, source) {
+ if (target.length !== source.length) {
+ return false;
+ }
+ var _iterator = createForOfIteratorHelper_default()(source),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var sourceValue = _step.value;
+ if (!target.includes(sourceValue)) {
+ return false;
+ }
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ return true;
+};
+var getRuleValue = function getRuleValue(userSelect) {
+ for (var _i = 0, _Object$entries = Object.entries(RuleValueMap); _i < _Object$entries.length; _i++) {
+ var _Object$entries$_i = slicedToArray_default()(_Object$entries[_i], 2),
+ ruleKey = _Object$entries$_i[0],
+ ruleValueArr = _Object$entries$_i[1];
+ if (compareTwoArr(userSelect, ruleValueArr)) {
+ return ruleKey;
+ }
+ }
+};
+var questionTypeMap = {
+ SINGLE: '单选题',
+ MULTIPLE: '多选题',
+ COMPLETION: '填空题',
+ JUDGMENT: '判断题',
+ SUBJECTIVE: '简答题',
+ PROGRAM: '编程题',
+ COMBINATION: '组合题',
+ PRACTICAL: '实训题'
+};
+var difficultyMap = {
+ '1': {
+ label: '简单',
+ color: '#46B70E'
+ },
+ '2': {
+ label: '适中',
+ color: '#165DFF'
+ },
+ '3': {
+ label: '困难',
+ color: '#EE6F1A'
+ }
+};
+var getFixedNumber = function getFixedNumber(num) {
+ return parseFloat(num.toFixed(1));
+};
+var reducer = function reducer(state, action) {
+ switch (action.type) {
+ //初始化
+ case 'init':
+ {
+ return action.payload;
+ }
+ //只更新试卷的基础信息部分
+ case 'updateBaseInfo':
+ {
+ return objectSpread2_default()(objectSpread2_default()({}, state), {}, {
+ examination_bank: action.payload
+ });
+ }
+ //删除某个题型
+ case 'deleteQuestionType':
+ {
+ var item_types = state.item_types;
+ var newItemTypes = item_types.filter(function (item) {
+ return item.item_type !== action.payload;
+ });
+ state.examination_bank.question_count = getFixedNumber(newItemTypes.reduce(function (acc, cur) {
+ return acc + cur.item_bank_count;
+ }, 0));
+ state.examination_bank.total_score = getFixedNumber(newItemTypes.reduce(function (acc, cur) {
+ return acc + cur.total_score;
+ }, 0));
+ return objectSpread2_default()(objectSpread2_default()({}, state), {}, {
+ item_types: newItemTypes
+ });
+ }
+ //批量增删题型
+ case 'setQuestionType':
+ {
+ var _state$item_types = state.item_types,
+ _item_types = _state$item_types === void 0 ? [] : _state$item_types;
+ var prevItemTypes = _item_types.map(function (item) {
+ return item.item_type;
+ });
+ var _newItemTypes = _item_types.filter(function (item) {
+ return action.payload.includes(item.item_type);
+ });
+ var _iterator2 = createForOfIteratorHelper_default()(action.payload),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var itemType = _step2.value;
+ if (!prevItemTypes.includes(itemType)) {
+ if (itemType === 'PRACTICAL') {
+ _newItemTypes.push({
+ item_type: itemType,
+ contents: [],
+ item_banks: [],
+ item_bank_count: 0,
+ item_bank_num: 0,
+ item_type_text: questionTypeMap[itemType],
+ random_rule_type: RuleValueKeyType.Shixun,
+ score: 0,
+ total_score: 0
+ });
+ } else {
+ _newItemTypes.push({
+ item_type: itemType,
+ contents: [],
+ item_bank_count: 0,
+ item_type_text: questionTypeMap[itemType],
+ // random_rule_type: '1',
+ score: 0,
+ total_score: 0
+ });
+ }
+ }
+ }
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
+ }
+ return objectSpread2_default()(objectSpread2_default()({}, state), {}, {
+ item_types: _newItemTypes
+ });
+ }
+ //调整题型顺序
+ case 'updateItemTypes':
+ {
+ return objectSpread2_default()(objectSpread2_default()({}, state), {}, {
+ item_types: action.payload
+ });
+ }
+ //删除抽题规则
+ case 'deleteRule':
+ {
+ var _currentItem$contents;
+ var stateCopy = (0,lodash.cloneDeep)(state);
+ var currentItem = stateCopy.item_types.find(function (item) {
+ return item.item_type === action.payload.itemType;
+ });
+ var deleteRule = currentItem.contents.find(function (content) {
+ return content.id === action.payload.id && content.is_share == action.payload.is_share;
+ });
+ currentItem.contents = currentItem.contents.filter(function (content) {
+ return content !== deleteRule;
+ });
+ if (((_currentItem$contents = currentItem.contents) === null || _currentItem$contents === void 0 ? void 0 : _currentItem$contents.length) === 0) currentItem.random_rule_type = [];
+ currentItem.item_bank_count -= deleteRule.quanlity;
+ stateCopy.examination_bank.question_count -= deleteRule.quanlity;
+ currentItem.total_score -= deleteRule.quanlity * currentItem.score;
+ stateCopy.examination_bank.total_score -= deleteRule.quanlity * currentItem.score;
+ currentItem.total_score = getFixedNumber(currentItem.total_score);
+ stateCopy.examination_bank.total_score = getFixedNumber(stateCopy.examination_bank.total_score);
+ stateCopy.contents = currentItem.contents;
+ return stateCopy;
+ }
+ case 'changeQuestionNum':
+ {
+ var _currentItem$contents2;
+ var _stateCopy = (0,lodash.cloneDeep)(state);
+ var _currentItem = _stateCopy.item_types.find(function (item) {
+ return item.item_type === action.payload.itemType;
+ });
+ var countitems = _currentItem === null || _currentItem === void 0 ? void 0 : (_currentItem$contents2 = _currentItem.contents) === null || _currentItem$contents2 === void 0 ? void 0 : _currentItem$contents2.find(function (item) {
+ return item.id === action.payload.id;
+ });
+ console.log('---', _stateCopy, countitems.quanlity, action.payload.num);
+ if (action.payload.itemType === 'PRACTICAL') {
+ if (action.payload.num) {
+ _stateCopy.examination_bank.question_count = _stateCopy.examination_bank.question_count - _currentItem.item_bank_count + action.payload.num;
+ _stateCopy.examination_bank.total_score = getFixedNumber(_stateCopy.examination_bank.total_score - _currentItem.total_score + action.payload.num * _currentItem.score);
+ }
+ if (action.payload.score) {
+ _stateCopy.examination_bank.total_score = getFixedNumber(_stateCopy.examination_bank.total_score - _currentItem.total_score + action.payload.num * _currentItem.score);
+ }
+ _currentItem.item_bank_count = action.payload.num;
+ _currentItem.total_score = getFixedNumber(_currentItem.item_bank_count * _currentItem.score);
+ return _stateCopy;
+ }
+ _stateCopy.examination_bank.question_count = _stateCopy.examination_bank.question_count - countitems.quanlity + action.payload.num;
+ var currentRule = _currentItem.contents.find(function (content) {
+ return content.id === action.payload.id && content.teacher_group_id === action.payload.teacher_group_id;
+ });
+ currentRule.quanlity = action.payload.num;
+ var newItemBankCount = 0,
+ newTotalScore = 0;
+ var _iterator3 = createForOfIteratorHelper_default()(_currentItem.contents),
+ _step3;
+ try {
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
+ var content = _step3.value;
+ newItemBankCount += content.quanlity;
+ newTotalScore += content.quanlity * _currentItem.score;
+ }
+
+ // stateCopy.examination_bank.question_count = stateCopy?.item_types?.map((item => item.item_bank_count))?.reduce((a, b) => a + b)
+ } catch (err) {
+ _iterator3.e(err);
+ } finally {
+ _iterator3.f();
+ }
+ _stateCopy.examination_bank.total_score = getFixedNumber(_stateCopy.examination_bank.total_score - _currentItem.total_score + newTotalScore);
+ _currentItem.item_bank_count = newItemBankCount;
+ _currentItem.total_score = getFixedNumber(newTotalScore);
+ return _stateCopy;
+ }
+ case 'changeQuestionScore':
+ {
+ var _stateCopy2 = (0,lodash.cloneDeep)(state);
+ var _currentItem2 = _stateCopy2.item_types.find(function (item) {
+ return item.item_type === action.payload.itemType;
+ });
+ _currentItem2.score = action.payload.score;
+ _currentItem2.total_score = getFixedNumber(_currentItem2.item_bank_count * _currentItem2.score);
+ _stateCopy2.examination_bank.total_score = getFixedNumber(_stateCopy2.item_types.reduce(function (acc, cur) {
+ return acc + cur.total_score;
+ }, 0));
+ return _stateCopy2;
+ }
+ case 'editRule':
+ {
+ var _stateCopy3 = (0,lodash.cloneDeep)(state);
+ var _currentItem3 = _stateCopy3.item_types.find(function (item) {
+ return item.item_type === action.payload.itemType;
+ });
+ _currentItem3.contents = action.payload.tableData.map(function (content) {
+ return objectSpread2_default()(objectSpread2_default()({}, content), {}, {
+ item_type: action.payload.itemType,
+ random_rule_type: action.payload.randomRuleType
+ });
+ });
+ _currentItem3.random_rule_type = action.payload.randomRuleType;
+ _currentItem3.item_bank_count = _currentItem3.contents.reduce(function (acc, cur) {
+ return acc + cur.quanlity;
+ }, 0);
+ _currentItem3.score = _currentItem3.score || 1;
+ _currentItem3.total_score = getFixedNumber(_currentItem3.item_bank_count * _currentItem3.score);
+ _stateCopy3.examination_bank.question_count = _stateCopy3.item_types.reduce(function (acc, cur) {
+ return acc + cur.item_bank_count;
+ }, 0);
+ _stateCopy3.examination_bank.total_score = getFixedNumber(_stateCopy3.item_types.reduce(function (acc, cur) {
+ return acc + cur.total_score;
+ }, 0));
+ return _stateCopy3;
+ }
+ case 'addShixun':
+ {
+ var _stateCopy4 = (0,lodash.cloneDeep)(state);
+ var _currentItem4 = _stateCopy4.item_types.find(function (item) {
+ return item.item_type === 'PRACTICAL';
+ });
+ _currentItem4.item_banks = action.payload.shixunList;
+ _stateCopy4.examination_bank.question_count = _stateCopy4.examination_bank.question_count + 1;
+ _currentItem4.item_bank_num = _currentItem4.item_banks.length;
+ _currentItem4.item_bank_count = _currentItem4.item_bank_count || 1;
+ _currentItem4.score = _currentItem4.score || 1;
+ _currentItem4.total_score = _currentItem4.total_score || _currentItem4.score * _currentItem4.item_bank_count;
+ return _stateCopy4;
+ }
+ case 'deleteShixunQuestion':
+ {
+ var _stateCopy5 = (0,lodash.cloneDeep)(state);
+ var _currentItem5 = _stateCopy5.item_types.find(function (item) {
+ return item.item_type === 'PRACTICAL';
+ });
+ _currentItem5.item_banks = _currentItem5.item_banks.filter(function (item) {
+ return item.id !== action.payload.shixunId;
+ });
+ _currentItem5.item_bank_num -= 1;
+ if (_currentItem5.item_bank_count > _currentItem5.item_bank_num) {
+ _currentItem5.item_bank_count -= 1;
+ _currentItem5.total_score -= _currentItem5.score;
+ _currentItem5.total_score = getFixedNumber(_currentItem5.total_score);
+ }
+ return _stateCopy5;
+ }
+ }
+};
+
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/BaseInfo.tsx
+
+
+
+
+
+
+
+
+
+
+
+
+var BaseInfo = function BaseInfo(_ref) {
+ var courseOptions = _ref.courseOptions,
+ setCurrentKey = _ref.setCurrentKey,
+ loading = _ref.loading,
+ form = _ref.form;
+ var _useContext = (0,react.useContext)(DataContext),
+ data = _useContext.data,
+ disabled = _useContext.disabled,
+ dispatch = _useContext.dispatch;
+ var urlParams = (0,_umi_production_exports.useParams)();
+ var isFirst = (0,react.useRef)(true);
+ var initData = (0,react.useMemo)(function () {
+ var _data$examination_ban, _data$examination_ban2, _data$examination_ban3, _data$examination_ban4, _data$examination_ban5;
+ if (!courseOptions.length || !data) {
+ return;
+ }
+ var subDisciplineId = data === null || data === void 0 ? void 0 : (_data$examination_ban = data.examination_bank) === null || _data$examination_ban === void 0 ? void 0 : _data$examination_ban.sub_discipline_id;
+ var time = (data === null || data === void 0 ? void 0 : (_data$examination_ban2 = data.examination_bank) === null || _data$examination_ban2 === void 0 ? void 0 : _data$examination_ban2.time) === -1 ? undefined : isFirst.current ? urlParams.id ? data === null || data === void 0 ? void 0 : (_data$examination_ban3 = data.examination_bank) === null || _data$examination_ban3 === void 0 ? void 0 : _data$examination_ban3.time : (data === null || data === void 0 ? void 0 : (_data$examination_ban4 = data.examination_bank) === null || _data$examination_ban4 === void 0 ? void 0 : _data$examination_ban4.time) || 60 : data === null || data === void 0 ? void 0 : (_data$examination_ban5 = data.examination_bank) === null || _data$examination_ban5 === void 0 ? void 0 : _data$examination_ban5.time;
+ isFirst.current = false;
+ var valueForCascader = [];
+ var _iterator = createForOfIteratorHelper_default()(courseOptions),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ var _iterator2 = createForOfIteratorHelper_default()(item.children),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var option = _step2.value;
+ if (option.value === subDisciplineId) {
+ valueForCascader = [item.value, option.value];
+ }
+ }
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
+ }
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ return objectSpread2_default()(objectSpread2_default()({}, data.examination_bank), {}, {
+ time: time,
+ course: valueForCascader
+ });
+ }, [data, courseOptions]);
+ (0,react.useEffect)(function () {
+ form.setFieldsValue(objectSpread2_default()({}, initData));
+ }, [initData]);
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {
+ spinning: loading,
+ size: "large",
+ style: {
+ position: 'fixed',
+ maxHeight: '100vh'
+ },
+ className: "mt30",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: Editmodules.baseInfo,
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
+ form: form,
+ autoComplete: "off",
+ colon: false,
+ labelCol: {
+ span: 4
+ },
+ wrapperCol: {
+ span: 20
+ },
+ initialValues: initData,
+ onValuesChange: function onValuesChange(changedValues, newValues) {
+ var _newValues$course = newValues.course,
+ course = _newValues$course === void 0 ? [] : _newValues$course;
+ var newBaseInfo = objectSpread2_default()(objectSpread2_default()({}, newValues), {}, {
+ sub_discipline_id: course[1] || 0
+ });
+ dispatch({
+ type: 'updateBaseInfo',
+ payload: newBaseInfo
+ });
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ name: "name",
+ label: "\u8BD5\u5377\u540D\u79F0",
+ rules: [{
+ required: true,
+ validator: function validator(_, value) {
+ var _value$replaceAll;
+ return (value === null || value === void 0 ? void 0 : (_value$replaceAll = value.replaceAll(' ', '')) === null || _value$replaceAll === void 0 ? void 0 : _value$replaceAll.length) > 0 ? Promise.resolve() : Promise.reject('请填写试卷标题');
+ }
+ }],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
+ maxLength: 60,
+ size: "large",
+ placeholder: "\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",
+ showCount: true
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ label: '方向&课程',
+ name: "course",
+ rules: [{
+ required: true,
+ message: '请选择方向&课程'
+ }],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(cascader/* default */.Z, {
+ disabled: disabled,
+ size: "large",
+ allowClear: false,
+ placeholder: "\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",
+ options: courseOptions,
+ dropdownMenuColumnStyle: {
+ padding: '8px 12px',
+ fontSize: 14
+ }
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ label: "\u96BE\u5EA6",
+ name: "difficulty",
+ className: Editmodules.radioBtnWrapper,
+ rules: [{
+ required: true,
+ message: '请选择难度'
+ }],
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, {
+ disabled: disabled,
+ className: Editmodules.radiogroup,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, {
+ className: Editmodules.easy,
+ value: 1,
+ children: "\u7B80\u5355"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, {
+ className: Editmodules.medium,
+ value: 2,
+ children: "\u9002\u4E2D"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, {
+ className: Editmodules.hard,
+ value: 3,
+ children: "\u56F0\u96BE"
+ })]
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ label: "\u7B54\u9898\u65F6\u957F",
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ align: "middle",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ name: "time",
+ noStyle: true,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
+ min: 1,
+ disabled: disabled,
+ size: "large",
+ max: 9999,
+ style: {
+ width: 220
+ },
+ placeholder: "\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "ml10",
+ children: "\u5206\u949F"
+ })]
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ label: "\u8BD5\u5377\u987B\u77E5",
+ name: "exam_notes",
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.TextArea */.Z.TextArea, {
+ rows: 6,
+ disabled: disabled,
+ showCount: true,
+ maxLength: 65535,
+ placeholder: "\u8BF7\u5728\u6B64\u8F93\u5165\u672C\u6B21\u8BD5\u5377\u7B54\u9898\u7684\u76F8\u5173\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u523665535\u4E2A\u5B57\u7B26"
+ })
+ })]
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: Editmodules.fixedBottom,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
+ className: "".concat(Editmodules.cancelBtn, " mr5"),
+ onClick: function onClick() {
+ if (urlParams.id || window.location.href.indexOf('randompaper') > -1) {
+ _umi_production_exports.history.push("/paperlibrary");
+ } else {
+ _umi_production_exports.history.push("/classrooms/".concat(urlParams.coursesId, "/exercise"));
+ }
+ },
+ children: "\u53D6\u6D88"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
+ className: "".concat(Editmodules.confirmBtn, " ml15"),
+ type: "primary",
+ size: "large",
+ onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
+ var res;
+ return regeneratorRuntime_default()().wrap(function _callee$(_context) {
+ while (1) switch (_context.prev = _context.next) {
+ case 0:
+ _context.next = 2;
+ return form.validateFields();
+ case 2:
+ if (!(!urlParams.id && !urlParams.coursesId)) {
+ _context.next = 9;
+ break;
+ }
+ _context.next = 5;
+ return createRandomExam(data);
+ case 5:
+ res = _context.sent;
+ if (res.status === 0) {
+ _umi_production_exports.history.replace("/randompaper/edit/".concat(res === null || res === void 0 ? void 0 : res.examination_bank_id, "?type=settings"));
+ setCurrentKey('settings');
+ }
+ _context.next = 10;
+ break;
+ case 9:
+ setCurrentKey('settings');
+ case 10:
+ case "end":
+ return _context.stop();
+ }
+ }, _callee);
+ })),
+ children: "\u4E0B\u4E00\u6B65"
+ })]
+ })]
+ });
+};
+/* harmony default export */ var Edit_BaseInfo = (BaseInfo);
+// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js
+var toConsumableArray = __webpack_require__(861);
+var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
+// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js
+var objectDestructuringEmpty = __webpack_require__(13012);
+var objectDestructuringEmpty_default = /*#__PURE__*/__webpack_require__.n(objectDestructuringEmpty);
+// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 39 modules
+var modal = __webpack_require__(72423);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var QuestionInfomodules = ({"flex_box_center":"flex_box_center___NXYwj","flex_space_between":"flex_space_between___Oy2UZ","flex_box_vertical_center":"flex_box_vertical_center___ybBar","flex_box_center_end":"flex_box_center_end___yyQPf","flex_box_column":"flex_box_column____kuXY","questionInfo":"questionInfo___U9mnu","label":"label___PP7Ng","content":"content___PUXFl","leftPart":"leftPart___uoQeo","rightPart":"rightPart___mCG7H","dragItem":"dragItem___djmPG","blackText":"blackText___KqEaU","greyText":"greyText___VamKm","iconWrapper":"iconWrapper___o1C0y","contentArea":"contentArea___Fj7D0","dragging":"dragging___mX3Il","hidden":"hidden___KWDLK","dragIcon":"dragIcon___yPuB3","deleteIcon":"deleteIcon___go29y","disabled":"disabled___uSK9k","challengeNameWrapper":"challengeNameWrapper___DFjRy","challengeName":"challengeName___m7v0x","shixunPreviewFooter":"shixunPreviewFooter___iaciG","shixunInfoWrapper":"shixunInfoWrapper___aSihg","shixunInfo":"shixunInfo___WYBm1","btnToDetail":"btnToDetail___WVmtj","fixedBottom":"fixedBottom___oeMSX","cancelBtn":"cancelBtn___ac73V","confirmBtn":"confirmBtn___sYh2O","previewBtn":"previewBtn___c2uQz","setScoreModalTitle":"setScoreModalTitle___ADafj","modalTitle":"modalTitle___t821D","scoreText":"scoreText___M3UUZ"});
+// EXTERNAL MODULE: ./src/components/NoData/index.tsx
+var NoData = __webpack_require__(82982);
+// EXTERNAL MODULE: ./src/components/ui-customization/index.tsx + 36 modules
+var ui_customization = __webpack_require__(11030);
+// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 3 modules
+var es_checkbox = __webpack_require__(84567);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/QuestionTypeModal.tsx
+
+
+
+
+
+
+var options = [{
+ label: '单选题',
+ value: 'SINGLE'
+}, {
+ label: '多选题',
+ value: 'MULTIPLE'
+}, {
+ label: '填空题',
+ value: 'COMPLETION'
+}, {
+ label: '判断题',
+ value: 'JUDGMENT'
+}, {
+ label: '简答题',
+ value: 'SUBJECTIVE'
+}, {
+ label: '编程题',
+ value: 'PROGRAM'
+}, {
+ label: '组合题',
+ value: 'COMBINATION'
+}, {
+ label: '实训题',
+ value: 'PRACTICAL'
+}];
+var QuestionTypeModal = function QuestionTypeModal(_ref) {
+ var open = _ref.open,
+ onCancel = _ref.onCancel,
+ _onOk = _ref.onOk;
+ var _useContext = (0,react.useContext)(DataContext),
+ data = _useContext.data,
+ dispatch = _useContext.dispatch;
+ (0,react.useEffect)(function () {
+ if (open) {
+ var _ref2 = data || {},
+ item_types = _ref2.item_types;
+ setQuestionType(item_types === null || item_types === void 0 ? void 0 : item_types.map(function (item) {
+ return item.item_type;
+ }));
+ }
+ }, [open, data]);
+ var _useState = (0,react.useState)([]),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ questionType = _useState2[0],
+ setQuestionType = _useState2[1];
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
+ title: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ children: ["\u9898\u578B\u8BBE\u7F6E", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "c-grey-333",
+ style: {
+ fontSize: 14,
+ fontWeight: 400
+ },
+ children: '(通过勾选可对题型进行添加/删除)'
+ })]
+ }),
+ closable: true,
+ centered: true,
+ open: open,
+ onCancel: onCancel,
+ onOk: function onOk() {
+ return _onOk(questionType);
+ },
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, {
+ value: questionType,
+ onChange: function onChange(checkedValue) {
+ return setQuestionType(checkedValue);
+ },
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
+ gutter: [0, 20],
+ children: options.map(function (item) {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ span: 6,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
+ value: item.value,
+ children: item.label
+ })
+ }, item.value);
+ })
+ })
+ })
+ });
+};
+/* harmony default export */ var QuestionInfo_QuestionTypeModal = (QuestionTypeModal);
+// EXTERNAL MODULE: ./node_modules/antd/es/table/index.js + 90 modules
+var table = __webpack_require__(63889);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/SetScoreModal.tsx
+
+
+
+
+
+
+
+
+
+var SetScore = function SetScore(_ref) {
+ var open = _ref.open,
+ onCancel = _ref.onCancel,
+ _onOk = _ref.onOk;
+ var _useContext = (0,react.useContext)(DataContext),
+ data = _useContext.data;
+ var _useState = (0,react.useState)(),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ tempData = _useState2[0],
+ setTempData = _useState2[1];
+ console.log('---', tempData);
+ (0,react.useEffect)(function () {
+ if (open) {
+ setTempData((0,lodash.cloneDeep)(data));
+ }
+ }, [open, data]);
+ var paperTotalScore = (0,react.useMemo)(function () {
+ var _tempData$item_types, _total;
+ var total;
+ total = tempData === null || tempData === void 0 ? void 0 : (_tempData$item_types = tempData.item_types) === null || _tempData$item_types === void 0 ? void 0 : _tempData$item_types.map(function (item) {
+ return item.total_score;
+ }).reduce(function (a, b) {
+ return parseFloat(a) + parseFloat(b);
+ });
+ // for (const item of tempData?.item_types || []) {
+ // total += item.total_score
+ // }
+ return (_total = total) === null || _total === void 0 ? void 0 : _total.toFixed(1);
+ }, [tempData]);
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
+ title: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ className: QuestionInfomodules.setScoreModalTitle,
+ justify: "space-between",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionInfomodules.modalTitle,
+ children: "\u6279\u91CF\u8BBE\u7F6E\u5206\u503C"
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ className: QuestionInfomodules.scoreText,
+ children: ["\u603B\u5206\xA0", paperTotalScore]
+ })]
+ }),
+ open: open,
+ width: 640,
+ centered: true,
+ closable: true,
+ onCancel: onCancel,
+ onOk: function onOk() {
+ _onOk(tempData);
+ },
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
+ columns: [{
+ title: '题型名称',
+ dataIndex: 'item_type_text'
+ }, {
+ title: '小题总数',
+ dataIndex: 'item_bank_count'
+ }, {
+ title: '题型总分',
+ dataIndex: 'total_score'
+ }, {
+ title: '操作',
+ render: function render(value, record) {
+ var score = record.score,
+ item_type = record.item_type;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ style: {
+ color: '#9096A3'
+ },
+ children: ["\u6BCF\u9898", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
+ precision: 1,
+ size: "large",
+ className: "ml10 mr10",
+ min: 0.1,
+ disabled: (record === null || record === void 0 ? void 0 : record.item_bank_count) === 0,
+ max: 100,
+ value: score,
+ onChange: function onChange(v) {
+ var dataCopy = tempData;
+ var currentItem = dataCopy.item_types.find(function (item) {
+ return item.item_type === item_type;
+ });
+ currentItem.score = Number(v);
+ currentItem.total_score = parseFloat(v * currentItem.item_bank_count).toFixed(1);
+ dataCopy.examination_bank.total_score = dataCopy.item_types.reduce(function (acc, cur) {
+ return Number(acc) + Number(cur.total_score);
+ }, 0);
+ setTempData(objectSpread2_default()({}, dataCopy));
+ }
+ }), "\u5206"]
+ });
+ }
+ }],
+ dataSource: tempData === null || tempData === void 0 ? void 0 : tempData.item_types,
+ rowKey: "item_type",
+ pagination: false
+ })
+ });
+};
+/* harmony default export */ var SetScoreModal = (SetScore);
+// EXTERNAL MODULE: ./node_modules/antd/es/tabs/index.js + 28 modules
+var tabs = __webpack_require__(34755);
+// EXTERNAL MODULE: ./node_modules/antd/es/select/index.js + 42 modules
+var es_select = __webpack_require__(79035);
+// EXTERNAL MODULE: ./node_modules/antd/es/tree/index.js + 35 modules
+var tree = __webpack_require__(282);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/RuleModal/ImgIcon/folder-closed.png
+var folder_closed_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAtFJREFUWEftWL9rU1EYPffFpCCKEEEJVUQHB10qAUHFHwguDg4ORRDq4uDg4CBIJ6GD0D/B3UEFJ5cugjbQChIqokWKClVrFDGIg2B8yZX3Xl/z/O5LzvfyKhTJXV7g/jrfOfc797sx1toCNnAzQ4A51RkymJNA/CcMvpoYhf0xDWtPwqICWEKM+QSYGgojt3Hw3mweFjmD9YlR+N8WAJSdjYwBrAWCb1oL+jzvMbzSFKoPBgLKAc6dugPbuRDtHzAXgGEMxmjjsXEAYr4MMOw2DcA8wcjWG6g+XOEAZ8c+wNpKtCXZMI+WMn6DJrbsOMQBPtrr9ySM4ZX9LEApkOfd5QBntvvhuhqFswKOz2/wDQWSZ9o0FADLfji5fBTYPwmUduYVMmV+IrLWF2DpFtCcizDTu3hmFeCBKaC4LR2cJpvjMZrwfn8HFm8qATan/bWslWckq6SuTyWcIfi5allrkmsY/DoZSZzanCwQo0REAwTIJf583e9txNIWic9p5E2OCQilZ7BxzY/8L60RSqRkcgnHqKXERgFw5eq/80EagIbB91cSPigilMabNWmYD6okXr7cZdABIAE7Gv6dpfIuZxJDI/G7S32ymJx6CoDP50ny5mIXIJPQ2Y8kEVVEw+DSeCKLWbkldlQA6JZwaZe9BuDr8xkAZjU6Pp5LvHiu9xmkWej6Wt8KXOK1VuGDL89272IaMLv6yAID3cUvzvS5SZyQyZOAZZl7hrnEz0/rjZoxzAhOyUEOcOFEH6MWhDGCWAApPs8B1o/p68GsANgbRVVRPzu8fvVg5gA0xcLTsV/wCtF/iKz6cABkfBfL+Z12m0tc2/cWXnFPODf3zZCxmOj4yxzg/O4qWv48LDwHIHOZrO/i5HoGHRQ3HeEAg0m1ShWtn/dh27tgUAilTqOUMcyqm7AfbZjCR5Q2j+N4o64DOMDhXq8pQ4B5mdzwDP4B5kHmZrL/eyAAAAAASUVORK5CYII=";
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/RuleModal/ImgIcon/folder-opened.png
+var folder_opened_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAA4RJREFUWEftWEtrE1EYPXfSh5VWSlMfNSi4sokLK30pWtuKIChVVBBBWpfiRhcKghii7tp/4FrBBxREXbhQ0Bj7gqokahe+kNZWqa21tLGtk7kymY5J79yZL5NUKNLZZHHnzj33fOec+90wzrkHS/hhywBzrM4ygzkSiP+EwTdtPvDJdnDeCI4KgBPEsGGAPYOn8Bq23A7nwiLNYH+bD+rYSwBlloUYAzgH9F/Zo48pyhMoBVdR3ZkVUBpgV9MNcO24sb7OnA6GYtBEa75rbkCYL24wOcxGAPYUhSUXUH3/Cw0wXDUIziuMJYkFc6mluH+GcRSv2UYDfLxJtSWMwiuOUxsUC6Qot2iAD71q8ruZVNgtYFO/+m+yQKKm2UgGAMvU5GTvbqDyClC4LmUMuw+LTFiYdNDC7FdgIASMG57KHGDNdSB/tVyKltIJAESmRHziBmZHgf5WlwBrb6bihFrQmkdpCSDRiiyu+ozgyJzBujtpy1Jiy9XOAPqOuQRY35mKP8qdFvELBFJu1qH1HnUL8K59iV0DFtwqc3PPIQnAH+3noGmXAK1k4YnhxoaS8joqQgFYOaBUAlBSedbTIgCcuLwBc78+SW3qWnJUzkjG8/yAZ3Nqd937BYDfghvB4x+NQJ5vAMycozRvOVOF+Rk1FaVAkQEquX73PkmJh89EwXngn5+5dhsuPgwopYYZu/ZKAA6dDkLTQhaAlhKLDAsvuJWE+X5RDbCi1jBjpEkCcPCsH4mpmKXEVIksbZiAkDxz5zWZVwaUnjS6pkiDTcx8aI2CscCCRtStJqmjzKmtLD8FeLxAZKcNwPcnguCJ0II1SAYERJSJnUxX0gysagbC2+0YbPNDnY79rZrk6LR+n0DkRsP5a4GK80C4xuEkeXswCvCAfaOawV3E1K2+DGUaUeO+i4AlB9NpeX0gCGihpA6zeahcpBB7W4Bo0IHBgSN+zP2MGVuX1ZiihHKJOC5IpMAHfH7gAFAfetUYBUcgGwIXZc73d0BixqEffNGQ5mYi1yjCSFdLKhIfA6ZHHQBGm/2YmYpJ2bAEN4nAmVRZjKmzwOQQcWnq3focnNdTBwV9n88yhuKj95xb/i5/HdSpRwBbmfpXIRPTCIS5ycF0U3o8O+g7SWR9FebiHeCJXQArkNdKYIiqODXO2G9A6cCeiRANcFEsmf1HlgFmz50xc8kz+AfHHTJwrKNsNwAAAABJRU5ErkJggg==";
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/RuleModal/ImgIcon/folderopen1.png
+var folderopen1_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABWlJREFUWEftV1tsVEUY/ubspUu3W9mWGlttwXq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GW2NlYaMu/vYgxyaYaBbGkPt+pUP5Trw1xGa4Nu7FhdjkULPBlDUwxGVLgVgsFIGj/+MY0rYdXwzzwvQTzFOiDHi4Fj9K14wI+V9/uxr3PQuZLs6hxviKnpfttVI+fERzdVoPoOsWmYiGt4ozsCncnFA+JeFGp0KwJuNK+pwL6OPBKzYzV/npHZoZN/74UK3OUAMJ7S8VpXBJoRsPYgEhBLskLzmkq0nR7OX+q2t4fNaHYYtUEXdq4O4N6MxGzKnzfSiExpqJnvRm8oiYtXkhiJasZqj8vMMCqzaebAsvbsiQf9OHXxRv5+kEXzZFzvt+5qgiQEmO8jhseSGjAW0w0wJW7g8Tovnqovgb+EGO+XLvTCRYBITEd3bxy/DqREQrnmojLgRt/VMaN7z9ssNLeP94GPZotR2d2CECy5x40315XZNIgldbz61U15aSLASHgSqqblB9hyfKpV07WMzHaXi3lS3NPrAnav9ePRGjOgVI3i5KUEvrucEm6HfFix2h6dnMbNqen8AHd1pxpiyWS/mS0lYSncj2cWVJURBHwEI1Ed8VQ+8sSoSasqro9OFL40beuM/UIpXSnczvjbF387484jK+VODDL/3QiPny3YsG7vGFsRT+rfE5BSC6QjB7IWWfY/91FrrwRRV0k76i2fhhcnk2obqN4IQrxOAGWevEV8UIiS1iltO/t69SEpQHnI/bcz5gDOlt/bnsF/AOXAMnuF/cdAAAAAAElFTkSuQmCC";
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/RuleModal/ImgIcon/folder.png
+var folder_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABpxJREFUWAntWE2IHFUQrtfzk5nNbrKbRGPcRSU/oIEkmERjMAQhCBIjKBpFEBER9OZNL4IevOhFbyGHRA9BhKBeouJFIkTNwaxGg16ikN1k0WR3M5ndnf/ptr56r7p7+s1mkYCHkILpev1e1VdfVb3X0zNEt+Qmr4Dpl9+xs9FYq0XvR0SPUETriC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/RuleModal/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var RuleModalmodules = ({"ruleCheckBox":"ruleCheckBox___Onj2f","folderAreaWrapper":"folderAreaWrapper___ut2mr","folderAreaHeader":"folderAreaHeader___fOIDA","folderWrapper":"folderWrapper___IpJ50","folderIcon":"folderIcon___zBoRM","shareFolderIcon":"shareFolderIcon____5s3p","treeNodeItem":"treeNodeItem___quqla","treeNodeDifficulty":"treeNodeDifficulty___en0gk"});
+// EXTERNAL MODULE: ./src/service/problemset.ts
+var problemset = __webpack_require__(75968);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/RuleModal/FileFolder.tsx
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+//更新treeNode的统一方法
+var updateTreeData = function updateTreeData(list, key, changePart) {
+ return list.map(function (node) {
+ if (node.key === key) {
+ return _objectSpread(_objectSpread({}, node), changePart);
+ }
+ if (node.children) {
+ return _objectSpread(_objectSpread({}, node), {}, {
+ children: updateTreeData(node.children, key, changePart)
+ });
+ }
+ return node;
+ });
+};
+var diffMap = {
+ '简单': 1,
+ '适中': 2,
+ '困难': 3
+};
+var generateTree = function generateTree(arr, ruleValue, type) {
+ return arr.map(function (item) {
+ var _item$tag_disciplines;
+ var tagNodeArr = item === null || item === void 0 ? void 0 : item.tag_disciplines.map(function (tagItem) {
+ var tagDifficultyArr = tagItem === null || tagItem === void 0 ? void 0 : tagItem.difficulty_count.map(function (diff) {
+ return {
+ label: diff === null || diff === void 0 ? void 0 : diff.name,
+ value: diffMap[diff.name]
+ };
+ });
+ return {
+ title: getRuleValue(ruleValue) === RuleValueKeyType.All && tagDifficultyArr.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "space-between",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ children: "".concat(tagItem.name, "\uFF08").concat(tagItem.child_count, "\uFF09")
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "mr15",
+ style: {
+ color: '#666'
+ },
+ children: "\u96BE\u5EA6"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["".concat(item.id, "_").concat(tagItem.id), 'diffValue'],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, {
+ style: {
+ columnGap: 12
+ },
+ options: tagDifficultyArr
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["".concat(item.id, "_").concat(tagItem.id), 'diffNum'],
+ initialValue: tagItem === null || tagItem === void 0 ? void 0 : tagItem.difficulty_count,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["".concat(item.id, "_").concat(tagItem.id), 'extra'],
+ initialValue: objectSpread2_default()(objectSpread2_default()({}, item), {}, {
+ type: type
+ }),
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ })]
+ })]
+ }) : "".concat(tagItem.name, "\uFF08").concat(tagItem.child_count, "\uFF09"),
+ key: "".concat(item.id, "_").concat(tagItem.id),
+ name: tagItem.name,
+ parentName: item.name,
+ item_banks_count: tagItem.child_count,
+ icon: null,
+ isLeaf: true,
+ checkable: getRuleValue(ruleValue) === RuleValueKeyType.FileFolderAndKnowledge,
+ disableCheckbox: tagItem.child_count === 0
+ };
+ });
+ var difficultyArr = item === null || item === void 0 ? void 0 : item.difficulty_count.map(function (diff) {
+ return {
+ label: diff === null || diff === void 0 ? void 0 : diff.name,
+ value: diffMap[diff.name]
+ };
+ });
+ return {
+ title: getRuleValue(ruleValue) === RuleValueKeyType.FileFolderAndDiff && difficultyArr.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "space-between",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ children: "".concat(item.name, "\uFF08").concat(item.item_banks_count, "\uFF09")
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "mr15",
+ style: {
+ color: '#666'
+ },
+ children: "\u96BE\u5EA6"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["".concat(item.id), 'diffValue'],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, {
+ style: {
+ columnGap: 12
+ },
+ options: difficultyArr
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["".concat(item.id), 'diffNum'],
+ initialValue: item === null || item === void 0 ? void 0 : item.difficulty_count,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["".concat(item.id), 'extra'],
+ initialValue: objectSpread2_default()(objectSpread2_default()({}, item), {}, {
+ type: type
+ }),
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ })]
+ })]
+ }) : "".concat(item.name, "\uFF08").concat(item.item_banks_count, "\uFF09"),
+ key: "".concat(item.id),
+ name: item.name,
+ item_banks_count: item.item_banks_count,
+ icon: function icon(e) {
+ if (e.expanded) {
+ // 展开
+ return type === '0' ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: folder_opened_namespaceObject,
+ className: RuleModalmodules.folderIcon
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: folderopen1_namespaceObject,
+ className: RuleModalmodules.shareFolderIcon
+ });
+ } else {
+ // 收起
+ return type === '0' ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: folder_closed_namespaceObject,
+ className: RuleModalmodules.folderIcon
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: folder_namespaceObject,
+ className: RuleModalmodules.shareFolderIcon
+ });
+ }
+ },
+ isLeaf: !item.have_child && !((_item$tag_disciplines = item.tag_disciplines) !== null && _item$tag_disciplines !== void 0 && _item$tag_disciplines.length),
+ checkable: getRuleValue(ruleValue) === RuleValueKeyType.OnlyFileFolder,
+ disableCheckbox: item.item_banks_count === 0,
+ children: item.children.length ? getRuleValue(ruleValue) === RuleValueKeyType.All || getRuleValue(ruleValue) === RuleValueKeyType.FileFolderAndKnowledge ? [].concat(toConsumableArray_default()(generateTree(item.children, ruleValue, type)), toConsumableArray_default()(tagNodeArr)) : generateTree(item.children, ruleValue, type) : []
+ };
+ });
+};
+var generateTree2 = function generateTree2(arr, ruleValue, type) {
+ return arr.map(function (item) {
+ var _item$tag_disciplines2;
+ var tagNodeArr = item === null || item === void 0 ? void 0 : item.tag_disciplines.map(function (tagItem) {
+ console.log("tagItem:", tagItem);
+ var tagDifficultyArr = tagItem === null || tagItem === void 0 ? void 0 : tagItem.difficulty_count.map(function (diff) {
+ return {
+ label: diff === null || diff === void 0 ? void 0 : diff.name,
+ value: diffMap[diff.name]
+ };
+ });
+ return {
+ title: getRuleValue(ruleValue) === RuleValueKeyType.All && tagDifficultyArr.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "space-between",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ children: "".concat(tagItem.name, "\uFF08").concat(tagItem.child_count, "\uFF09")
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "mr15",
+ style: {
+ color: '#666'
+ },
+ children: "\u96BE\u5EA6"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["".concat(item.id, "_").concat(tagItem.id), 'diffValue'],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, {
+ style: {
+ columnGap: 12
+ },
+ options: tagDifficultyArr
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["".concat(item.id, "_").concat(tagItem.id), 'diffNum'],
+ initialValue: tagItem === null || tagItem === void 0 ? void 0 : tagItem.difficulty_count,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["".concat(item.id, "_").concat(tagItem.id), 'extra'],
+ initialValue: objectSpread2_default()(objectSpread2_default()({}, item), {}, {
+ type: type
+ }),
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ })]
+ })]
+ }) : "".concat(tagItem.name, "\uFF08").concat(tagItem.child_count, "\uFF09"),
+ key: "".concat(item.id, "_").concat(tagItem.id),
+ name: tagItem.name,
+ parentName: item.name,
+ item_banks_count: tagItem.child_count,
+ icon: null,
+ isLeaf: true,
+ checkable: getRuleValue(ruleValue) === RuleValueKeyType.FileFolderAndKnowledge,
+ disableCheckbox: tagItem.child_count === 0
+ };
+ });
+ var difficultyArr = item === null || item === void 0 ? void 0 : item.difficulty_count.map(function (diff) {
+ return {
+ label: diff === null || diff === void 0 ? void 0 : diff.name,
+ value: diffMap[diff.name]
+ };
+ });
+ return {
+ title: getRuleValue(ruleValue) === RuleValueKeyType.FileFolderAndDiff && difficultyArr.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "space-between",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ children: "".concat(item.name, "\uFF08").concat(item.item_banks_count, "\uFF09")
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "mr15",
+ style: {
+ color: '#666'
+ },
+ children: "\u96BE\u5EA6"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["".concat(item.id), 'diffValue'],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, {
+ style: {
+ columnGap: 12
+ },
+ options: difficultyArr
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["".concat(item.id), 'diffNum'],
+ initialValue: item === null || item === void 0 ? void 0 : item.difficulty_count,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["".concat(item.id), 'extra'],
+ initialValue: objectSpread2_default()(objectSpread2_default()({}, item), {}, {
+ type: type
+ }),
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ })]
+ })]
+ }) : "".concat(item.name, "\uFF08").concat(item.item_banks_count, "\uFF09"),
+ key: "".concat(item.id),
+ name: item.name,
+ item_banks_count: item.item_banks_count,
+ icon: function icon(e) {
+ if (e.expanded) {
+ // 展开
+ return type === '0' ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: folder_opened_namespaceObject,
+ className: RuleModalmodules.folderIcon
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: folderopen1_namespaceObject,
+ className: RuleModalmodules.shareFolderIcon
+ });
+ } else {
+ // 收起
+ return type === '0' ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: folder_closed_namespaceObject,
+ className: RuleModalmodules.folderIcon
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: folder_namespaceObject,
+ className: RuleModalmodules.shareFolderIcon
+ });
+ }
+ },
+ isLeaf: !item.have_child && !((_item$tag_disciplines2 = item.tag_disciplines) !== null && _item$tag_disciplines2 !== void 0 && _item$tag_disciplines2.length),
+ checkable: getRuleValue(ruleValue) === RuleValueKeyType.OnlyFileFolder,
+ disableCheckbox: item.item_banks_count === 0,
+ children: // item.children.length ?
+ // (getRuleValue(ruleValue) === RuleValueKeyType.All || getRuleValue(ruleValue) === RuleValueKeyType.FileFolderAndKnowledge) ?
+ [].concat(toConsumableArray_default()(generateTree2(item.children, ruleValue, type)), toConsumableArray_default()(tagNodeArr)) //: generateTree2(item.children, ruleValue, type) : []
+ };
+ });
+};
+
+var FileFolder = function FileFolder(_ref) {
+ var ruleValue = _ref.ruleValue,
+ defaultData = _ref.defaultData,
+ setSelectData = _ref.setSelectData,
+ currentItemType = _ref.currentItemType,
+ selectData = _ref.selectData;
+ var _useState = (0,react.useState)("1"),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ activeKey = _useState2[0],
+ setActiveKey = _useState2[1];
+ var _useState3 = (0,react.useState)(true),
+ _useState4 = slicedToArray_default()(_useState3, 2),
+ isFirst = _useState4[0],
+ setIsFirst = _useState4[1];
+ var _Form$useForm = es_form/* default.useForm */.Z.useForm(),
+ _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
+ form = _Form$useForm2[0];
+ var _useState5 = (0,react.useState)([]),
+ _useState6 = slicedToArray_default()(_useState5, 2),
+ teamlist = _useState6[0],
+ setteamlist = _useState6[1];
+ var _useState7 = (0,react.useState)('all'),
+ _useState8 = slicedToArray_default()(_useState7, 2),
+ teamvalue = _useState8[0],
+ setteamvalue = _useState8[1];
+ var _onCheck = function onCheck(checkedKeys, info, type) {
+ var checkedNodes = info.checkedNodes;
+ console.log("type:", type, checkedNodes);
+ if (type === '0') {
+ setMyCheckedKeys(checkedKeys);
+ if (getRuleValue(ruleValue) === RuleValueKeyType.OnlyFileFolder) {
+ //选文件夹
+ setSelectData(function (pre) {
+ return objectSpread2_default()(objectSpread2_default()({}, pre), {}, {
+ my: checkedNodes.map(function (node) {
+ return {
+ id: node.key,
+ group_id: node.key,
+ group_name: node.name,
+ item_bank_num: node.item_banks_count,
+ folderType: '0',
+ quanlity: 1
+ };
+ })
+ });
+ });
+ setSelectedNum(checkedNodes.reduce(function (acc, cur) {
+ return acc + cur.item_banks_count;
+ }, 0));
+ } else {
+ //选知识点
+ console.log(checkedNodes);
+ setSelectData(function (pre) {
+ return objectSpread2_default()(objectSpread2_default()({}, pre), {}, {
+ my: checkedNodes.map(function (node) {
+ var _node$key$split = node.key.split('_'),
+ _node$key$split2 = slicedToArray_default()(_node$key$split, 2),
+ group_id = _node$key$split2[0],
+ tag_discipline_id = _node$key$split2[1];
+ return {
+ id: node.key,
+ tag_discipline_name: node.name,
+ group_id: group_id,
+ tag_discipline_id: tag_discipline_id,
+ folderType: '0',
+ group_name: node.parentName,
+ item_bank_num: node.item_banks_count,
+ quanlity: 1
+ };
+ })
+ });
+ });
+ setSelectedNum(checkedNodes.reduce(function (acc, cur) {
+ return acc + cur.item_banks_count;
+ }, 0));
+ }
+ } else {
+ setPublicCheckedKeys(checkedKeys);
+ if (getRuleValue(ruleValue) === RuleValueKeyType.OnlyFileFolder) {
+ setSelectData(function (pre) {
+ console.log("pre:", pre);
+ return objectSpread2_default()(objectSpread2_default()({}, pre), {}, {
+ "public": checkedNodes.map(function (node) {
+ return {
+ id: node.key === '0' ? '00' : node.key,
+ teacher_group_name: node.name,
+ teacher_group_id: node.key,
+ folderType: '3',
+ item_bank_num: node.item_banks_count,
+ quanlity: 1
+ };
+ })
+ });
+ });
+ } else {
+ setSelectData(function (pre) {
+ return objectSpread2_default()(objectSpread2_default()({}, pre), {}, {
+ "public": checkedNodes.map(function (node) {
+ var _node$key$split3 = node.key.split('_'),
+ _node$key$split4 = slicedToArray_default()(_node$key$split3, 2),
+ teacher_group_id = _node$key$split4[0],
+ tag_discipline_id = _node$key$split4[1];
+ return {
+ id: node.key === '0' ? '00' : node.key,
+ tag_discipline_name: node.name,
+ teacher_group_id: teacher_group_id,
+ tag_discipline_id: tag_discipline_id,
+ folderType: '3',
+ teacher_group_name: node.parentName,
+ item_bank_num: node.item_banks_count,
+ quanlity: 1
+ };
+ })
+ });
+ });
+ }
+ setSelectedNum(checkedNodes.reduce(function (acc, cur) {
+ return acc + cur.item_banks_count;
+ }, 0));
+ }
+ };
+ var _useState9 = (0,react.useState)([]),
+ _useState10 = slicedToArray_default()(_useState9, 2),
+ myCheckedKeys = _useState10[0],
+ setMyCheckedKeys = _useState10[1];
+ var _useState11 = (0,react.useState)([]),
+ _useState12 = slicedToArray_default()(_useState11, 2),
+ publicCheckedKeys = _useState12[0],
+ setPublicCheckedKeys = _useState12[1];
+ var _useState13 = (0,react.useState)([]),
+ _useState14 = slicedToArray_default()(_useState13, 2),
+ myFolderData = _useState14[0],
+ setMyFolderData = _useState14[1];
+ var _useState15 = (0,react.useState)([]),
+ _useState16 = slicedToArray_default()(_useState15, 2),
+ publicFolderData = _useState16[0],
+ setPublicFolderData = _useState16[1];
+ var _useState17 = (0,react.useState)([]),
+ _useState18 = slicedToArray_default()(_useState17, 2),
+ myDatas = _useState18[0],
+ setMyData = _useState18[1];
+ var _useState19 = (0,react.useState)([]),
+ _useState20 = slicedToArray_default()(_useState19, 2),
+ publicDatas = _useState20[0],
+ setPublicData = _useState20[1];
+ var _useState21 = (0,react.useState)(false),
+ _useState22 = slicedToArray_default()(_useState21, 2),
+ myLoading = _useState22[0],
+ setMyLoading = _useState22[1];
+ var _useState23 = (0,react.useState)(false),
+ _useState24 = slicedToArray_default()(_useState23, 2),
+ publicLoading = _useState24[0],
+ setPublicLoading = _useState24[1];
+ function initdata() {
+ return _initdata.apply(this, arguments);
+ }
+ function _initdata() {
+ _initdata = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
+ var res;
+ return regeneratorRuntime_default()().wrap(function _callee3$(_context4) {
+ while (1) switch (_context4.prev = _context4.next) {
+ case 0:
+ _context4.next = 2;
+ return (0,fetch/* default */.ZP)("/api/teach_group_shares.json", {
+ method: 'get'
+ });
+ case 2:
+ res = _context4.sent;
+ if (res) {
+ setteamlist(res === null || res === void 0 ? void 0 : res.groups);
+ }
+ case 4:
+ case "end":
+ return _context4.stop();
+ }
+ }, _callee3);
+ }));
+ return _initdata.apply(this, arguments);
+ }
+ (0,react.useEffect)(function () {
+ initdata();
+ }, []);
+ var getData = /*#__PURE__*/function () {
+ var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(params) {
+ var _res$navigation$, _res$navigation$2;
+ var res, rootDifficultyArr, rootTagNodeArr, _res$navigation$3, _res$navigation$4, _res$navigation$5, _res$navigation$6, _res$navigation$7, normalChildren, normalChildren2, _res$navigation$8, _res$navigation$9, _res$navigation$10, _res$navigation$11, _normalChildren;
+ return regeneratorRuntime_default()().wrap(function _callee$(_context) {
+ while (1) switch (_context.prev = _context.next) {
+ case 0:
+ params.type === '0' ? setMyLoading(true) : setPublicLoading(true);
+ _context.next = 3;
+ return (0,problemset/* getGroup */.ex)(params);
+ case 3:
+ res = _context.sent;
+ params.type === '0' ? setMyLoading(false) : setPublicLoading(false);
+ params.type === '0' ? setMyData(res) : setPublicData(res);
+ rootDifficultyArr = (_res$navigation$ = res.navigation[0]) === null || _res$navigation$ === void 0 ? void 0 : _res$navigation$.difficulty_count.map(function (diff) {
+ return {
+ label: diff === null || diff === void 0 ? void 0 : diff.name,
+ value: diffMap[diff.name]
+ };
+ });
+ rootTagNodeArr = (_res$navigation$2 = res.navigation[0]) === null || _res$navigation$2 === void 0 ? void 0 : _res$navigation$2.tag_disciplines.map(function (item) {
+ var tagDifficultyArr = item === null || item === void 0 ? void 0 : item.difficulty_count.map(function (diff) {
+ return {
+ label: diff === null || diff === void 0 ? void 0 : diff.name,
+ value: diffMap[diff.name]
+ };
+ });
+ return {
+ title: getRuleValue(ruleValue) === RuleValueKeyType.All && tagDifficultyArr.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "space-between",
+ style: {
+ color: '#232B40'
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ children: "".concat(item.name, "\uFF08").concat(item.child_count, "\uFF09")
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "mr15",
+ style: {
+ color: '#666'
+ },
+ children: "\u96BE\u5EA6"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["0_".concat(item.id), 'diffValue'],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, {
+ style: {
+ columnGap: 12
+ },
+ options: tagDifficultyArr
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["0_".concat(item.id), 'diffNum'],
+ initialValue: item === null || item === void 0 ? void 0 : item.difficulty_count,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["0_".concat(item.id), 'extra'],
+ initialValue: {
+ tag_discipline_name: item.name,
+ name: '根目录',
+ type: params.type
+ },
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ })]
+ })]
+ }) : /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ style: {
+ color: '#232B40'
+ },
+ children: [item.name, "\uFF08", item.child_count, "\uFF09"]
+ }),
+ key: "0_".concat(item.id),
+ name: item.name,
+ parentName: '根目录',
+ item_banks_count: item.child_count,
+ icon: null,
+ isLeaf: true,
+ checkable: getRuleValue(ruleValue) === RuleValueKeyType.FileFolderAndKnowledge,
+ disableCheckbox: item.child_count === 0
+ };
+ });
+ if (params.type === '0') {
+ normalChildren = generateTree(res.data, ruleValue, '0');
+ normalChildren2 = generateTree2(res.data, ruleValue, '0');
+ console.log("normalChildren2:", normalChildren2);
+ setMyFolderData([{
+ title: getRuleValue(ruleValue) === RuleValueKeyType.FileFolderAndDiff ? /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "space-between",
+ style: {
+ color: '#232B40'
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ children: "\u6839\u76EE\u5F55\uFF08".concat((_res$navigation$3 = res.navigation[0]) === null || _res$navigation$3 === void 0 ? void 0 : _res$navigation$3.child_count, "\uFF09")
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "mr15",
+ style: {
+ color: '#666'
+ },
+ children: "\u96BE\u5EA6"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["0", 'diffValue'],
+ initialValue: [],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, {
+ style: {
+ columnGap: 12
+ },
+ options: rootDifficultyArr
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["0", 'diffNum'],
+ initialValue: (_res$navigation$4 = res.navigation[0]) === null || _res$navigation$4 === void 0 ? void 0 : _res$navigation$4.difficulty_count,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["0", 'extra'],
+ initialValue: {
+ type: '0',
+ group_id: '0',
+ name: '根目录'
+ },
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ })]
+ })]
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: {
+ color: '#232B40'
+ },
+ children: "\u6839\u76EE\u5F55\uFF08".concat((_res$navigation$5 = res.navigation[0]) === null || _res$navigation$5 === void 0 ? void 0 : _res$navigation$5.child_count, "\uFF09")
+ }),
+ key: '0',
+ name: '根目录',
+ item_banks_count: (_res$navigation$6 = res.navigation[0]) === null || _res$navigation$6 === void 0 ? void 0 : _res$navigation$6.child_count,
+ disabled: ((_res$navigation$7 = res.navigation[0]) === null || _res$navigation$7 === void 0 ? void 0 : _res$navigation$7.child_count) > 0 ? false : true,
+ checkable: getRuleValue(ruleValue) === RuleValueKeyType.OnlyFileFolder,
+ icon: function icon(e) {
+ if (e.expanded) {
+ // 展开
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: folder_opened_namespaceObject,
+ className: RuleModalmodules.folderIcon
+ });
+ } else {
+ // 收起
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: folder_closed_namespaceObject,
+ className: RuleModalmodules.folderIcon
+ });
+ }
+ },
+ isLeaf: false,
+ children: getRuleValue(ruleValue) === RuleValueKeyType.OnlyFileFolder || getRuleValue(ruleValue) === RuleValueKeyType.FileFolderAndDiff ? normalChildren : [].concat(toConsumableArray_default()(normalChildren2), toConsumableArray_default()(rootTagNodeArr))
+ }]);
+ } else {
+ _normalChildren = generateTree(res.data, ruleValue, '3');
+ console.log('---', _normalChildren);
+
+ // return
+ setPublicFolderData([{
+ title: getRuleValue(ruleValue) === RuleValueKeyType.FileFolderAndDiff ? /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "space-between",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ children: "\u6839\u76EE\u5F55"
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "mr15",
+ style: {
+ color: '#666'
+ },
+ children: "\u96BE\u5EA6"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["0", 'diffValue'],
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, {
+ style: {
+ columnGap: 12
+ },
+ options: rootDifficultyArr
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["0", 'diffNum'],
+ initialValue: (_res$navigation$8 = res.navigation[0]) === null || _res$navigation$8 === void 0 ? void 0 : _res$navigation$8.difficulty_count,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ noStyle: true,
+ name: ["0", 'extra'],
+ initialValue: {
+ type: '3',
+ group_id: '0',
+ name: '根目录'
+ },
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ })]
+ })]
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: {
+ color: '#232B40'
+ },
+ children: "\u6839\u76EE\u5F55\uFF08".concat((_res$navigation$9 = res.navigation[0]) === null || _res$navigation$9 === void 0 ? void 0 : _res$navigation$9.child_count, "\uFF09")
+ }),
+ key: '0',
+ name: '根目录',
+ item_banks_count: (_res$navigation$10 = res.navigation[0]) === null || _res$navigation$10 === void 0 ? void 0 : _res$navigation$10.child_count,
+ checkable: getRuleValue(ruleValue) === RuleValueKeyType.OnlyFileFolder,
+ icon: function icon(e) {
+ if (e.expanded) {
+ // 展开
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: folderopen1_namespaceObject,
+ className: RuleModalmodules.shareFolderIcon
+ });
+ } else {
+ // 收起
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: folder_namespaceObject,
+ className: RuleModalmodules.shareFolderIcon
+ });
+ }
+ },
+ isLeaf: false,
+ disabled: ((_res$navigation$11 = res.navigation[0]) === null || _res$navigation$11 === void 0 ? void 0 : _res$navigation$11.child_count) > 0 ? false : true,
+ children: getRuleValue(ruleValue) === RuleValueKeyType.OnlyFileFolder || getRuleValue(ruleValue) === RuleValueKeyType.FileFolderAndDiff ? _normalChildren : [].concat(toConsumableArray_default()(_normalChildren), toConsumableArray_default()(rootTagNodeArr))
+ }]);
+ }
+ // setTimeout(() => {
+ // setIsFirst(false)
+ // },500)
+ case 9:
+ case "end":
+ return _context.stop();
+ }
+ }, _callee);
+ }));
+ return function getData(_x) {
+ return _ref2.apply(this, arguments);
+ };
+ }();
+ (0,react.useEffect)(function () {
+ if (activeKey === "1") {
+ getData({
+ type: '0',
+ group_id: 0,
+ item_type: currentItemType,
+ show_children: true
+ });
+ } else if (activeKey === "2") {
+ getData({
+ type: '3',
+ except_mine: true,
+ item_type: currentItemType,
+ show_children: true,
+ teach_group_id: teamvalue === 'all' ? '' : teamvalue
+ });
+ }
+ }, [ruleValue, activeKey, teamvalue]);
+ (0,react.useEffect)(function () {
+ console.log("selectData-active:", selectData, defaultData, activeKey);
+ // setMyFolderData([])
+ // setPublicFolderData
+ if (activeKey === "1") {
+ var _selectData$my, _selectData$my2, _selectData$my2$reduc;
+ setMyCheckedKeys(selectData === null || selectData === void 0 ? void 0 : (_selectData$my = selectData.my) === null || _selectData$my === void 0 ? void 0 : _selectData$my.map(function (item) {
+ return item.id;
+ }));
+ setSelectedNum((selectData === null || selectData === void 0 ? void 0 : (_selectData$my2 = selectData.my) === null || _selectData$my2 === void 0 ? void 0 : (_selectData$my2$reduc = _selectData$my2.reduce) === null || _selectData$my2$reduc === void 0 ? void 0 : _selectData$my2$reduc.call(_selectData$my2, function (acc, cur) {
+ return acc + cur.item_bank_num;
+ }, 0)) || 0);
+ } else if (activeKey === "2") {
+ var _selectData$public, _selectData$public2, _selectData$public2$r;
+ setPublicCheckedKeys(selectData === null || selectData === void 0 ? void 0 : (_selectData$public = selectData["public"]) === null || _selectData$public === void 0 ? void 0 : _selectData$public.map(function (item) {
+ return item.id;
+ }));
+ setSelectedNum((selectData === null || selectData === void 0 ? void 0 : (_selectData$public2 = selectData["public"]) === null || _selectData$public2 === void 0 ? void 0 : (_selectData$public2$r = _selectData$public2.reduce) === null || _selectData$public2$r === void 0 ? void 0 : _selectData$public2$r.call(_selectData$public2, function (acc, cur) {
+ return acc + cur.item_bank_num;
+ }, 0)) || 0);
+ }
+ if (getRuleValue(ruleValue) === RuleValueKeyType.FileFolderAndDiff) {
+ form.resetFields();
+ setTimeout(function () {
+ setSelectData(selectData);
+ }, 300);
+ if (activeKey === "1") {
+ var _selectData$filter;
+ setSelectedNum((selectData === null || selectData === void 0 ? void 0 : selectData.filter(function (item) {
+ return !item.is_share;
+ }).reduce(function (acc, cur) {
+ return acc + cur.item_bank_num;
+ }, 0)) || 0);
+ selectData === null || selectData === void 0 ? void 0 : (_selectData$filter = selectData.filter(function (item) {
+ return !item.is_share;
+ })) === null || _selectData$filter === void 0 ? void 0 : _selectData$filter.forEach(function (item) {
+ var prev = form.getFieldValue(["".concat(item.group_id), 'diffValue']) || [];
+ console.log("prev:", prev);
+ if (!(prev !== null && prev !== void 0 && prev.includes[item.difficulty])) {
+ form.setFieldValue(["".concat(item.group_id), 'diffValue'], Array.from(new Set([].concat(toConsumableArray_default()(prev), [item.difficulty]))));
+ }
+ // form.setFieldValue([`${item.group_id}`, 'diffValue'], [...prev, item.difficulty])
+ });
+ } else {
+ var _selectData$filter2;
+ setSelectedNum((selectData === null || selectData === void 0 ? void 0 : selectData.filter(function (item) {
+ return !!item.is_share;
+ }).reduce(function (acc, cur) {
+ return acc + cur.item_bank_num;
+ }, 0)) || 0);
+ selectData === null || selectData === void 0 ? void 0 : (_selectData$filter2 = selectData.filter(function (item) {
+ return !!item.is_share;
+ })) === null || _selectData$filter2 === void 0 ? void 0 : _selectData$filter2.forEach(function (item) {
+ var prev = form.getFieldValue(["".concat(item.teacher_group_id), 'diffValue']) || [];
+ if (!(prev !== null && prev !== void 0 && prev.includes[item.difficulty])) {
+ form.setFieldValue(["".concat(item.teacher_group_id), 'diffValue'], Array.from(new Set([].concat(toConsumableArray_default()(prev), [item.difficulty]))));
+ }
+ // form.setFieldValue([`${item.teacher_group_id}`, 'diffValue'], [...prev, item.difficulty])
+ });
+ }
+ }
+ }, [activeKey]);
+ (0,react.useEffect)(function () {
+ // if(!isFirst){
+ // return
+ // }
+ setTimeout(function () {
+ console.log("getRuleValue(ruleValue):", getRuleValue(ruleValue), defaultData);
+ switch (getRuleValue(ruleValue)) {
+ case RuleValueKeyType.OnlyFileFolder:
+ {
+ var myData = [];
+ var publicData = [];
+ var _iterator = createForOfIteratorHelper_default()(selectData.my || []),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ myData.push(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ var _iterator2 = createForOfIteratorHelper_default()(selectData["public"] || []),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var _item = _step2.value;
+ publicData.push(_item);
+ }
+ // setSelectedNum(defaultData.reduce((acc, cur) => acc + cur.item_bank_num, 0) || 0)
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
+ }
+ setMyCheckedKeys(myData.map(function (item) {
+ return "".concat(item.group_id);
+ }));
+ setPublicCheckedKeys(publicData.map(function (item) {
+ return "".concat(item.teacher_group_id);
+ }));
+ // setSelectedNum(myData.reduce((acc, cur) => acc + cur.item_bank_num, 0))
+ if (activeKey === "1") {
+ setSelectedNum(myData.reduce(function (acc, cur) {
+ return acc + cur.item_bank_num;
+ }, 0));
+ } else {
+ setSelectedNum(publicData.reduce(function (acc, cur) {
+ return acc + cur.item_bank_num;
+ }, 0));
+ }
+ break;
+ }
+ case RuleValueKeyType.FileFolderAndKnowledge:
+ {
+ var _myData = [];
+ var _publicData = [];
+ var _iterator3 = createForOfIteratorHelper_default()(defaultData),
+ _step3;
+ try {
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
+ var _item2 = _step3.value;
+ if (_item2 !== null && _item2 !== void 0 && _item2.group_name) {
+ _myData.push(_item2);
+ } else {
+ _publicData.push(_item2);
+ }
+ }
+ } catch (err) {
+ _iterator3.e(err);
+ } finally {
+ _iterator3.f();
+ }
+ setSelectedNum(defaultData.reduce(function (acc, cur) {
+ return acc + cur.item_bank_num;
+ }, 0));
+ setMyCheckedKeys(_myData.map(function (item) {
+ return "".concat(item.group_id, "_").concat(item.tag_discipline_id);
+ }));
+ setPublicCheckedKeys(_publicData.map(function (item) {
+ return "".concat(item.group_id, "_").concat(item.tag_discipline_id);
+ }));
+ console.log("defaultData:", defaultData, currentItemType, ruleValue);
+ break;
+ }
+ case RuleValueKeyType.All:
+ {
+ setSelectedNum(defaultData.reduce(function (acc, cur) {
+ return acc + cur.item_bank_num;
+ }, 0) || 0);
+ if (myFolderData.length > 0 || publicFolderData.length > 0) {
+ defaultData.forEach(function (item) {
+ var prev = form.getFieldValue(["".concat(item.group_id, "_").concat(item.tag_discipline_id), 'diffValue']) || [];
+ form.setFieldValue(["".concat(item.group_id, "_").concat(item.tag_discipline_id), 'diffValue'], [].concat(toConsumableArray_default()(prev), [item.difficulty]));
+ });
+ }
+ break;
+ }
+ case RuleValueKeyType.FileFolderAndDiff:
+ {
+ var _myData2 = [];
+ var _publicData2 = [];
+ // for (const item of selectData?.my || []) {
+ // myData.push(item)
+
+ // }
+ // for (const item of selectData?.public || []) {
+ // publicData.push(item)
+ // }
+ if (activeKey === "1") {
+ var _selectData$filter3;
+ setSelectedNum((selectData === null || selectData === void 0 ? void 0 : selectData.filter(function (item) {
+ return !item.is_share;
+ }).reduce(function (acc, cur) {
+ return acc + cur.item_bank_num;
+ }, 0)) || 0);
+ selectData === null || selectData === void 0 ? void 0 : (_selectData$filter3 = selectData.filter(function (item) {
+ return !item.is_share;
+ })) === null || _selectData$filter3 === void 0 ? void 0 : _selectData$filter3.forEach(function (item) {
+ var prev = form.getFieldValue(["".concat(item.group_id), 'diffValue']) || [];
+ console.log("prev:", prev, item.difficulty);
+ if (!(prev !== null && prev !== void 0 && prev.includes[item.difficulty])) {
+ form.setFieldValue(["".concat(item.group_id), 'diffValue'], Array.from(new Set([].concat(toConsumableArray_default()(prev), [item.difficulty]))));
+ }
+ });
+ } else {
+ var _selectData$filter4;
+ setSelectedNum((selectData === null || selectData === void 0 ? void 0 : selectData.filter(function (item) {
+ return !!item.is_share;
+ }).reduce(function (acc, cur) {
+ return acc + cur.item_bank_num;
+ }, 0)) || 0);
+ selectData === null || selectData === void 0 ? void 0 : (_selectData$filter4 = selectData.filter(function (item) {
+ return !!item.is_share;
+ })) === null || _selectData$filter4 === void 0 ? void 0 : _selectData$filter4.forEach(function (item) {
+ var prev = form.getFieldValue(["".concat(item.group_id), 'diffValue']) || [];
+ if (!(prev !== null && prev !== void 0 && prev.includes[item.difficulty])) {
+ form.setFieldValue(["".concat(item.group_id), 'diffValue'], Array.from(new Set([].concat(toConsumableArray_default()(prev), [item.difficulty]))));
+ }
+ // form.setFieldValue([`${item.group_id}`, 'diffValue'], [...prev, item.difficulty])
+ });
+ }
+
+ // if (myFolderData.length > 0 || publicFolderData.length > 0) {
+ // defaultData.forEach(item => {
+ // const prev = form.getFieldValue([`${item.group_id}`, 'diffValue']) || []
+ // form.setFieldValue([`${item.group_id}`, 'diffValue'], [...prev, item.difficulty])
+ // })
+ // }
+ break;
+ }
+ }
+ }, 800);
+ }, [defaultData, ruleValue, myFolderData, publicFolderData]);
+ var _useState25 = (0,react.useState)(0),
+ _useState26 = slicedToArray_default()(_useState25, 2),
+ selectedNum = _useState26[0],
+ setSelectedNum = _useState26[1];
+ console.log("filefolder:", selectData, defaultData);
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, {
+ form: form,
+ onValuesChange: /*#__PURE__*/function () {
+ var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(c, v) {
+ var count, values, valuesd, arr, _i, _Object$keys, _values$id, _values$id$diffValue, id, obj, map, _arr, _loop, _i2, _Object$keys2;
+ return regeneratorRuntime_default()().wrap(function _callee2$(_context3) {
+ while (1) switch (_context3.prev = _context3.next) {
+ case 0:
+ console.log("onValuesChange:", v, c);
+ count = 0;
+ if (!(getRuleValue(ruleValue) === RuleValueKeyType.FileFolderAndDiff)) {
+ _context3.next = 16;
+ break;
+ }
+ _context3.next = 5;
+ return form.getFieldValue();
+ case 5:
+ values = _context3.sent;
+ valuesd = [];
+ arr = [];
+ for (_i = 0, _Object$keys = Object.keys(values); _i < _Object$keys.length; _i++) {
+ id = _Object$keys[_i];
+ if (!!((_values$id = values[id]) !== null && _values$id !== void 0 && (_values$id$diffValue = _values$id.diffValue) !== null && _values$id$diffValue !== void 0 && _values$id$diffValue.length) && id !== "null" && id !== null) {
+ obj = values[id];
+ valuesd.push(objectSpread2_default()({
+ id: id
+ }, obj));
+ }
+ }
+ map = {
+ 1: '简单',
+ 2: '适中',
+ 3: '困难'
+ };
+ valuesd.map(function (item) {
+ var _item$diffValue;
+ if (item.id == 0) {
+ var _myDatas$navigation, _myDatas$navigation$, _publicDatas$navigati, _publicDatas$navigati2;
+ item.diffNum = activeKey === "1" ? myDatas === null || myDatas === void 0 ? void 0 : (_myDatas$navigation = myDatas.navigation) === null || _myDatas$navigation === void 0 ? void 0 : (_myDatas$navigation$ = _myDatas$navigation[0]) === null || _myDatas$navigation$ === void 0 ? void 0 : _myDatas$navigation$.difficulty_count : publicDatas === null || publicDatas === void 0 ? void 0 : (_publicDatas$navigati = publicDatas.navigation) === null || _publicDatas$navigati === void 0 ? void 0 : (_publicDatas$navigati2 = _publicDatas$navigati[0]) === null || _publicDatas$navigati2 === void 0 ? void 0 : _publicDatas$navigati2.difficulty_count;
+ }
+ item === null || item === void 0 ? void 0 : (_item$diffValue = item.diffValue) === null || _item$diffValue === void 0 ? void 0 : _item$diffValue.map(function (i) {
+ var _item$extra, _item$diffNum, _item$diffNum$filter, _item$diffNum$filter$;
+ var newItem = {
+ group_name: ((_item$extra = item.extra) === null || _item$extra === void 0 ? void 0 : _item$extra.name) || "",
+ teacher_group_name: '',
+ id: "".concat(item.id, "_").concat(i),
+ group_id: item.id,
+ difficulty: i,
+ item_bank_num: (_item$diffNum = item.diffNum) === null || _item$diffNum === void 0 ? void 0 : (_item$diffNum$filter = _item$diffNum.filter(function (d) {
+ return d.name === map[i];
+ })) === null || _item$diffNum$filter === void 0 ? void 0 : (_item$diffNum$filter$ = _item$diffNum$filter[0]) === null || _item$diffNum$filter$ === void 0 ? void 0 : _item$diffNum$filter$.value
+ };
+ if (activeKey === "2") {
+ var _item$extra2;
+ newItem.is_share = true;
+ newItem.teacher_group_id = item.id;
+ newItem.teacher_group_name = (_item$extra2 = item.extra) === null || _item$extra2 === void 0 ? void 0 : _item$extra2.name;
+ }
+ arr.push(newItem);
+ });
+ });
+ console.log('---valuesd', valuesd, arr);
+ count = arr.reduce(function (acc, cur) {
+ return acc + cur.item_bank_num;
+ }, 0);
+ setSelectData([].concat(arr, toConsumableArray_default()(selectData === null || selectData === void 0 ? void 0 : selectData.filter(function (item) {
+ return activeKey === '1' ? item.is_share : !item.is_share;
+ }))));
+ _context3.next = 26;
+ break;
+ case 16:
+ if (!(getRuleValue(ruleValue) === RuleValueKeyType.All)) {
+ _context3.next = 26;
+ break;
+ }
+ _arr = [];
+ _loop = /*#__PURE__*/regeneratorRuntime_default()().mark(function _loop() {
+ var _extra$tag_discipline, _extra$tag_discipline2;
+ var id, _v$id, _v$id$diffNum, diffNum, _v$id$diffValue, diffValue, _v$id$extra, extra, _id$split, _id$split2, group_id, tag_discipline_id, extraitem;
+ return regeneratorRuntime_default()().wrap(function _loop$(_context2) {
+ while (1) switch (_context2.prev = _context2.next) {
+ case 0:
+ id = _Object$keys2[_i2];
+ _v$id = v[id], _v$id$diffNum = _v$id.diffNum, diffNum = _v$id$diffNum === void 0 ? [] : _v$id$diffNum, _v$id$diffValue = _v$id.diffValue, diffValue = _v$id$diffValue === void 0 ? [] : _v$id$diffValue, _v$id$extra = _v$id.extra, extra = _v$id$extra === void 0 ? {} : _v$id$extra;
+ _id$split = id.split('_'), _id$split2 = slicedToArray_default()(_id$split, 2), group_id = _id$split2[0], tag_discipline_id = _id$split2[1];
+ extraitem = (_extra$tag_discipline = extra.tag_disciplines) === null || _extra$tag_discipline === void 0 ? void 0 : (_extra$tag_discipline2 = _extra$tag_discipline.filter(function (item) {
+ return parseInt(item.id) === parseInt(tag_discipline_id);
+ })) === null || _extra$tag_discipline2 === void 0 ? void 0 : _extra$tag_discipline2[0];
+ diffValue.forEach(function (diffItemValue) {
+ var _diffNum$find;
+ var map = {
+ 1: '简单',
+ 2: '适中',
+ 3: '困难'
+ };
+ var currentDiffNum = diffNum === null || diffNum === void 0 ? void 0 : (_diffNum$find = diffNum.find(function (i) {
+ return i.name === map[diffItemValue];
+ })) === null || _diffNum$find === void 0 ? void 0 : _diffNum$find.value;
+ var newItem = {
+ group_name: '',
+ teacher_group_name: '',
+ tag_discipline_name: (extraitem === null || extraitem === void 0 ? void 0 : extraitem.name) || extra.tag_discipline_name,
+ id: "".concat(id, "_").concat(diffItemValue),
+ group_id: group_id,
+ tag_discipline_id: tag_discipline_id,
+ difficulty: diffItemValue,
+ item_bank_num: currentDiffNum
+ };
+ count += currentDiffNum;
+ if (extra.type === '0') {
+ newItem.group_name = extra.name;
+ } else {
+ newItem.teacher_group_name = extra.name;
+ }
+ if (currentDiffNum > 0) {
+ _arr.push(newItem);
+ }
+ });
+ case 5:
+ case "end":
+ return _context2.stop();
+ }
+ }, _loop);
+ });
+ _i2 = 0, _Object$keys2 = Object.keys(v);
+ case 20:
+ if (!(_i2 < _Object$keys2.length)) {
+ _context3.next = 25;
+ break;
+ }
+ return _context3.delegateYield(_loop(), "t0", 22);
+ case 22:
+ _i2++;
+ _context3.next = 20;
+ break;
+ case 25:
+ setSelectData(_arr);
+ case 26:
+ setSelectedNum(count);
+ case 27:
+ case "end":
+ return _context3.stop();
+ }
+ }, _callee2);
+ }));
+ return function (_x2, _x3) {
+ return _ref3.apply(this, arguments);
+ };
+ }(),
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z, {
+ destroyInactiveTabPane: true,
+ activeKey: activeKey,
+ onChange: function onChange(key) {
+ return setActiveKey(key);
+ },
+ style: {
+ minHeight: 260
+ },
+ tabBarExtraContent: {
+ right: activeKey === '2' && (teamlist === null || teamlist === void 0 ? void 0 : teamlist.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select/* default */.Z, {
+ onChange: function onChange(value) {
+ setteamvalue(value);
+ },
+ value: teamvalue,
+ style: {
+ width: 120
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, {
+ value: "all",
+ children: "\u5168\u90E8"
+ }, "all"), teamlist === null || teamlist === void 0 ? void 0 : teamlist.map(function (item) {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, {
+ value: item === null || item === void 0 ? void 0 : item.group_id,
+ children: item === null || item === void 0 ? void 0 : item.name
+ }, item === null || item === void 0 ? void 0 : item.group_id);
+ })]
+ })
+ },
+ items: [{
+ key: '1',
+ label: '我创建的',
+ children: (myFolderData === null || myFolderData === void 0 ? void 0 : myFolderData.length) === 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
+ spinning: myLoading,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
+ ButtonTwo: /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
+ target: "_blank",
+ href: "/problemset",
+ children: ["\u524D\u5F80\u9898\u5E93\uFF0C\u65B0\u589E\u66F4\u591A\u8BD5\u9898", '>']
+ })
+ })
+ }) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: RuleModalmodules.folderAreaWrapper,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "space-between",
+ align: "middle",
+ className: RuleModalmodules.folderAreaHeader,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: "\u6587\u4EF6\u5939"
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ className: "mr20",
+ children: ["\u5DF2\u9009", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ style: {
+ color: '#3061D0'
+ },
+ children: [" ", selectedNum, " "]
+ }), "\u9898"]
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
+ spinning: myLoading,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ style: {
+ minHeight: 200
+ },
+ children: myFolderData.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tree/* default */.Z, {
+ checkable: true,
+ className: RuleModalmodules.folderWrapper,
+ rootStyle: {
+ paddingLeft: 15,
+ paddingRight: 0,
+ paddingTop: 10
+ },
+ selectable: false,
+ onCheck: function onCheck(checkedKey, info) {
+ return _onCheck(checkedKey, info, '0');
+ },
+ checkedKeys: myCheckedKeys,
+ checkStrictly: true,
+ treeData: myFolderData,
+ showIcon: true,
+ blockNode: true,
+ defaultExpandAll: true
+ })
+ })
+ })]
+ })
+ }, {
+ key: '2',
+ label: '团队共享',
+ children: (publicFolderData === null || publicFolderData === void 0 ? void 0 : publicFolderData.length) === 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
+ spinning: publicLoading,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
+ ButtonTwo: /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
+ target: "_blank",
+ href: "/problemset",
+ children: ["\u524D\u5F80\u9898\u5E93\uFF0C\u65B0\u589E\u66F4\u591A\u8BD5\u9898", '>']
+ })
+ })
+ }) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: RuleModalmodules.folderAreaWrapper,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "space-between",
+ align: "middle",
+ className: RuleModalmodules.folderAreaHeader,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: "\u6587\u4EF6\u5939"
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ className: "mr20",
+ children: ["\u5DF2\u9009", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ style: {
+ color: '#3061D0'
+ },
+ children: [" ", selectedNum || 0, " "]
+ }), "\u9898"]
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
+ spinning: publicLoading,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ style: {
+ minHeight: 200
+ },
+ children: (publicFolderData === null || publicFolderData === void 0 ? void 0 : publicFolderData.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tree/* default */.Z, {
+ checkable: true,
+ className: RuleModalmodules.folderWrapper,
+ selectable: false,
+ rootStyle: {
+ paddingLeft: 15,
+ paddingRight: 0,
+ paddingTop: 10
+ },
+ onCheck: function onCheck(checkedKey, info) {
+ return _onCheck(checkedKey, info, '3');
+ },
+ checkedKeys: publicCheckedKeys,
+ checkStrictly: true,
+ treeData: publicFolderData,
+ showIcon: true,
+ blockNode: true,
+ defaultExpandAll: true
+ })
+ })
+ })]
+ })
+ }]
+ })
+ });
+};
+/* harmony default export */ var RuleModal_FileFolder = (FileFolder);
+// EXTERNAL MODULE: ./src/models/problemset/util.ts
+var util = __webpack_require__(87429);
+// EXTERNAL MODULE: ./src/utils/hooks/useCustomRequest.ts
+var useCustomRequest = __webpack_require__(83018);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/RuleModal/Knowledge.tsx
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+var Knowledge_diffMap = {
+ '简单': 1,
+ '适中': 2,
+ '困难': 3
+};
+var Knowledge = function Knowledge(_ref) {
+ var ruleValue = _ref.ruleValue,
+ setSelectData = _ref.setSelectData,
+ currentItemType = _ref.currentItemType,
+ defaultData = _ref.defaultData,
+ isFirst = _ref.isFirst;
+ var _useState = (0,react.useState)([]),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ courseOptions = _useState2[0],
+ setCourseOptions = _useState2[1];
+ var _useCustomRequest = (0,useCustomRequest/* useCustomRequest */.U)(getDisciplines, {
+ source: 'question',
+ page: 1,
+ per_page: 10,
+ group_id: 0,
+ keyword: '',
+ group_type: 0,
+ clazz: 'ItemBanksGroup',
+ sub_discipline_id: undefined,
+ item_type: currentItemType,
+ show_children: true
+ }),
+ _useCustomRequest2 = slicedToArray_default()(_useCustomRequest, 4),
+ params = _useCustomRequest2[0],
+ isLoading = _useCustomRequest2[1],
+ getData = _useCustomRequest2[2],
+ disciplineRes = _useCustomRequest2[3];
+ (0,react.useEffect)(function () {
+ asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
+ var res;
+ return regeneratorRuntime_default()().wrap(function _callee$(_context) {
+ while (1) switch (_context.prev = _context.next) {
+ case 0:
+ _context.next = 2;
+ return getData({}, true);
+ case 2:
+ res = _context.sent;
+ setCourseOptions((0,util/* formatCourseOptions */.L)(res.disciplines));
+ case 4:
+ case "end":
+ return _context.stop();
+ }
+ }, _callee);
+ }))();
+ }, []);
+ console.log(defaultData);
+ (0,react.useEffect)(function () {
+ if (!isFirst) {
+ return;
+ }
+ switch (getRuleValue(ruleValue)) {
+ case RuleValueKeyType.OnlyKnowledge:
+ {
+ setSelectedKeys(defaultData.map(function (item) {
+ return item.tag_discipline_id;
+ }));
+ break;
+ }
+ case RuleValueKeyType.KnowledgeAndDiff:
+ {
+ var map = new Map();
+ defaultData.forEach(function (item) {
+ if (!item) {
+ return;
+ }
+ map.has(item.tag_discipline_id) ? map.set(item.tag_discipline_id, [].concat(toConsumableArray_default()(map.get(item.tag_discipline_id)), [item.difficulty])) : map.set(item.tag_discipline_id, [item.difficulty]);
+ });
+ var _iterator = createForOfIteratorHelper_default()(map.entries()),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var _step$value = slicedToArray_default()(_step.value, 2),
+ key = _step$value[0],
+ value = _step$value[1];
+ form.setFieldValue([key, 'diff'], value);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ break;
+ }
+ }
+ }, [defaultData, ruleValue, isFirst]);
+ var _Form$useForm = es_form/* default.useForm */.Z.useForm(),
+ _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
+ form = _Form$useForm2[0];
+ var dataSource = (0,react.useMemo)(function () {
+ var arr = [];
+ var discipline = '',
+ subDiscipline = '';
+ var formValue = {};
+ var _iterator2 = createForOfIteratorHelper_default()((disciplineRes === null || disciplineRes === void 0 ? void 0 : disciplineRes.disciplines) || []),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var item = _step2.value;
+ discipline = item.name;
+ var _iterator3 = createForOfIteratorHelper_default()(item.sub_disciplines),
+ _step3;
+ try {
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
+ var subItem = _step3.value;
+ subDiscipline = subItem.name;
+ var _iterator4 = createForOfIteratorHelper_default()(subItem.tag_disciplines),
+ _step4;
+ try {
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
+ var tagItem = _step4.value;
+ var rowItem = {
+ sub_discipline_name: "".concat(discipline, "&").concat(subDiscipline),
+ sub_discipline_id: subItem.id,
+ tag_discipline_name: tagItem.name,
+ id: tagItem.id,
+ item_bank_num: tagItem.total_count,
+ difficulty_count: tagItem.difficulty_count,
+ tag_discipline_id: tagItem.id
+ // defaultChecks: defaultData?.filter(items => items._id == tagItem.id)?.[0]?.difficulty_count?.map(items => items.value),
+ // defaultChecks2: defaultData?.filter(items => items._id == tagItem.id)
+ };
+ // if (defaultData?.filter(items => items._id == tagItem.id)?.[0]) {
+ // formValue[tagItem.id] = {};
+ // formValue[tagItem.id]["diff"] = defaultData?.filter(items => items._id == tagItem.id)?.[0]?.difficulty_count?.map(items => items.value);
+ // formValue[tagItem.id]["extra"] = rowItem;
+ // }
+ arr.push(rowItem);
+ }
+ } catch (err) {
+ _iterator4.e(err);
+ } finally {
+ _iterator4.f();
+ }
+ }
+ } catch (err) {
+ _iterator3.e(err);
+ } finally {
+ _iterator3.f();
+ }
+ }
+ // form.setFieldsValue(formValue)
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
+ }
+ return arr;
+ }, [disciplineRes, defaultData]);
+ var columns = [{
+ title: '知识点',
+ dataIndex: 'tag_discipline_name',
+ show: true,
+ render: function render(text, record) {
+ var item_bank_num = record.item_bank_num;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ children: [text, "(".concat(item_bank_num, ")")]
+ });
+ }
+ }, {
+ title: '方向&课程',
+ dataIndex: 'sub_discipline_name',
+ ellipsis: true,
+ show: true
+ }, {
+ title: '难度',
+ width: '35%',
+ show: ruleValue.includes(RuleValueType.Difficulty),
+ render: function render(t, record) {
+ var id = record.id,
+ difficulty_count = record.difficulty_count,
+ total_count = record.total_count,
+ sub_discipline_name = record.sub_discipline_name,
+ tag_discipline_name = record.tag_discipline_name;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ name: [id, 'diff'],
+ noStyle: true,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, {
+ style: {
+ columnGap: 12
+ },
+ options: difficulty_count.map(function (diff) {
+ return {
+ label: diff.name,
+ value: Knowledge_diffMap[diff.name]
+ };
+ })
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
+ name: [id, 'extra'],
+ initialValue: {
+ difficulty_count: difficulty_count,
+ total_count: total_count,
+ sub_discipline_name: sub_discipline_name,
+ tag_discipline_name: tag_discipline_name
+ },
+ noStyle: true,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
+ type: "hidden"
+ })
+ })]
+ });
+ }
+ }].filter(function (item) {
+ return item.show;
+ });
+ var _useState3 = (0,react.useState)([]),
+ _useState4 = slicedToArray_default()(_useState3, 2),
+ selectedKeys = _useState4[0],
+ setSelectedKeys = _useState4[1];
+ var diffKeyMap = (0,react.useRef)(new Map());
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ style: {
+ marginTop: 12
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ className: "mb20",
+ align: "middle",
+ gutter: 20,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(cascader/* default */.Z, {
+ placeholder: "\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",
+ size: "large",
+ style: {
+ width: 240
+ },
+ options: courseOptions,
+ onChange: function onChange(value) {
+ getData({
+ sub_discipline_id: value === null || value === void 0 ? void 0 : value[1]
+ });
+ }
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomInput */.t7, {
+ style: {
+ width: 300
+ },
+ placeholder: "\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0\u8FDB\u884C\u641C\u7D22",
+ value: params.keyword,
+ onChange: function onChange(value) {
+ return getData({
+ keyword: value
+ });
+ }
+ })
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, {
+ form: form,
+ onValuesChange: function onValuesChange(changeedValues, newValues) {
+ console.log(newValues);
+
+ //难度+知识点
+ diffKeyMap.current.clear();
+ var _loop = function _loop() {
+ var _item$diff;
+ var id = _Object$keys[_i];
+ var map = {
+ 1: '简单',
+ 2: '适中',
+ 3: '困难'
+ };
+ var item = newValues[id];
+ var _ref3 = item.extra || {},
+ difficulty_count = _ref3.difficulty_count,
+ total_count = _ref3.total_count;
+ item === null || item === void 0 ? void 0 : (_item$diff = item.diff) === null || _item$diff === void 0 ? void 0 : _item$diff.forEach(function (diff) {
+ var _difficulty_count$fin;
+ var diffNum = difficulty_count === null || difficulty_count === void 0 ? void 0 : (_difficulty_count$fin = difficulty_count.find(function (x) {
+ return x.name === map[diff];
+ })) === null || _difficulty_count$fin === void 0 ? void 0 : _difficulty_count$fin.value;
+ var newItem = objectSpread2_default()(objectSpread2_default()({}, item.extra), {}, {
+ id: "".concat(id, "_").concat(diff),
+ difficulty: diff,
+ item_bank_num: diffNum,
+ tag_discipline_id: id
+ });
+ if (diffNum > 0) {
+ diffKeyMap.current.set("".concat(id, "_").concat(diff), newItem);
+ }
+ });
+ };
+ for (var _i = 0, _Object$keys = Object.keys(newValues); _i < _Object$keys.length; _i++) {
+ _loop();
+ }
+ setSelectData(toConsumableArray_default()(diffKeyMap.current.values()));
+ },
+ children: (dataSource === null || dataSource === void 0 ? void 0 : dataSource.length) === 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
+ ButtonTwo: /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
+ target: "_blank",
+ href: "/problemset",
+ children: ["\u524D\u5F80\u9898\u5E93\uFF0C\u65B0\u589E\u66F4\u591A\u8BD5\u9898", '>']
+ })
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
+ rowSelection: getRuleValue(ruleValue) === RuleValueKeyType.OnlyKnowledge ? {
+ preserveSelectedRowKeys: true,
+ type: 'checkbox',
+ onChange: function onChange(selectedRowKeys, selectedRows) {
+ console.log("table-selectedRowKeys:", selectedRowKeys, selectedRows);
+ setSelectedKeys(selectedRowKeys);
+ setSelectData(selectedRows);
+ },
+ getCheckboxProps: function getCheckboxProps(record) {
+ return {
+ disabled: record.item_bank_num === 0
+ };
+ },
+ selectedRowKeys: selectedKeys
+ } : undefined,
+ columns: columns,
+ dataSource: dataSource,
+ loading: isLoading,
+ scroll: {
+ y: 480
+ },
+ rowKey: "id",
+ pagination: false
+ // pagination={{
+ // total: dataSource?.length,
+ // showTotal: total => 共{total}条数据,
+ // size: 'default',
+ // pageSize: params.per_page,
+ // current: params.page,
+ // onChange(page, pageSize) {
+ // getData({ page, per_page: pageSize })
+ // },
+ // }}
+ })
+ })]
+ });
+};
+
+/* harmony default export */ var RuleModal_Knowledge = (Knowledge);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/RuleModal/ruleInfo.tsx
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+var ruleInfo_diffMap = {
+ '简单': 1,
+ '适中': 2,
+ '困难': 3
+};
+
+//规则设置内容的UI优先级可以理解为文件夹>知识点>难度,例如勾选了“指定文件夹抽题”则优先展示文件夹组件
+
+var RuleModal = function RuleModal(_ref) {
+ var _data$item_types;
+ var open = _ref.open,
+ onCancel = _ref.onCancel,
+ setVisibleModalType = _ref.setVisibleModalType,
+ currentItemType = _ref.currentItemType;
+ var _useContext = (0,react.useContext)(DataContext),
+ data = _useContext.data,
+ dispatch = _useContext.dispatch;
+ var _useState = (0,react.useState)([]),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ ruleValue = _useState2[0],
+ setRuleValue = _useState2[1];
+ var _useState3 = (0,react.useState)(),
+ _useState4 = slicedToArray_default()(_useState3, 2),
+ selectData = _useState4[0],
+ setSelectData = _useState4[1];
+ var questionInfo = data === null || data === void 0 ? void 0 : (_data$item_types = data.item_types) === null || _data$item_types === void 0 ? void 0 : _data$item_types.find(function (item) {
+ return item.item_type === currentItemType;
+ });
+ (0,react.useEffect)(function () {
+ if (open) {
+ var _data$item_types2;
+ var currentItem = data === null || data === void 0 ? void 0 : (_data$item_types2 = data.item_types) === null || _data$item_types2 === void 0 ? void 0 : _data$item_types2.find(function (item) {
+ return item.item_type === currentItemType;
+ });
+ if ((currentItem === null || currentItem === void 0 ? void 0 : currentItem.random_rule_type) !== RuleValueKeyType.Shixun) {
+ var _data$item_types3, _data$item_types3$fin;
+ var rules = RuleValueMap[currentItem === null || currentItem === void 0 ? void 0 : currentItem.random_rule_type] || [];
+ setRuleValue(rules);
+ var defaultSelectData = data === null || data === void 0 ? void 0 : (_data$item_types3 = data.item_types) === null || _data$item_types3 === void 0 ? void 0 : (_data$item_types3$fin = _data$item_types3.find(function (item) {
+ return item.item_type === currentItemType;
+ })) === null || _data$item_types3$fin === void 0 ? void 0 : _data$item_types3$fin.contents;
+ switch (getRuleValue(rules)) {
+ case RuleValueKeyType.OnlyDifficulty:
+ {
+ setDefaultData(defaultSelectData.map(function (item) {
+ return item.difficulty;
+ }));
+ break;
+ }
+ case RuleValueKeyType.OnlyFileFolder:
+ {
+ setDefaultData({
+ my: defaultSelectData === null || defaultSelectData === void 0 ? void 0 : defaultSelectData.filter(function (item) {
+ return parseInt(item.teacher_group_id) !== "NaN" && !item.teacher_group_id && item.teacher_group_id !== 0;
+ }),
+ "public": defaultSelectData === null || defaultSelectData === void 0 ? void 0 : defaultSelectData.filter(function (item) {
+ return parseInt(item.teacher_group_id) >= 0;
+ })
+ });
+ setSelectData({
+ my: defaultSelectData === null || defaultSelectData === void 0 ? void 0 : defaultSelectData.filter(function (item) {
+ return parseInt(item.teacher_group_id) !== "NaN" && !item.teacher_group_id && item.teacher_group_id !== 0;
+ }),
+ "public": defaultSelectData === null || defaultSelectData === void 0 ? void 0 : defaultSelectData.filter(function (item) {
+ return parseInt(item.teacher_group_id) >= 0;
+ })
+ });
+ break;
+ }
+ case RuleValueKeyType.FileFolderAndDiff:
+ {
+ setDefaultData(defaultSelectData);
+ setSelectData(defaultSelectData);
+ break;
+ }
+ default:
+ setDefaultData(defaultSelectData);
+ }
+ }
+ }
+ }, [open]);
+ var _useState5 = (0,react.useState)([]),
+ _useState6 = slicedToArray_default()(_useState5, 2),
+ totalNumOfDiff = _useState6[0],
+ setTotalNumOfDiff = _useState6[1];
+ (0,react.useEffect)(function () {
+ if (open) {
+ getQuestionNum({
+ item_type: currentItemType
+ }).then(function (res) {
+ if (res.status === 0) {
+ setTotalNumOfDiff(res.data);
+ }
+ });
+ }
+ }, [open]);
+ (0,react.useEffect)(function () {
+ console.log("selectData", selectData);
+ }, [selectData]);
+ var _useState7 = (0,react.useState)(),
+ _useState8 = slicedToArray_default()(_useState7, 2),
+ defaultData = _useState8[0],
+ setDefaultData = _useState8[1];
+ var _useState9 = (0,react.useState)(true),
+ _useState10 = slicedToArray_default()(_useState9, 2),
+ isFirst = _useState10[0],
+ setIsFirst = _useState10[1];
+
+ // useEffect(() => {
+ // if (open) {
+ // const defaultSelectData = data?.item_types?.find(item => item.item_type === currentItemType)?.contents
+ // console.log("defaultSelectData:",defaultSelectData,getRuleValue(ruleValue),ruleValue)
+ // switch (getRuleValue(ruleValue)) {
+ // case RuleValueKeyType.OnlyDifficulty: {
+ // setDefaultData(defaultSelectData.map(item => item.difficulty))
+ // break
+ // }
+ // default: setDefaultData(defaultSelectData)
+
+ // }
+ // }
+ // }, [open])
+
+ console.log("isFirst:", isFirst);
+ var changeRule = function changeRule(checkedValue) {
+ setRuleValue(checkedValue);
+ //变更规则后重置数据
+ setSelectData([]);
+ setDefaultData([]);
+ setIsFirst(false);
+ };
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, {
+ title: "\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219",
+ width: 948,
+ closable: true,
+ centered: true,
+ open: open,
+ onCancel: onCancel,
+ destroyOnClose: true,
+ onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
+ var _selectData$my, _selectData$public, currentRule, _data$item_types4, _data$item_types4$fin, _totalNumOfDiff$find, _totalNumOfDiff$find2, _totalNumOfDiff$find3, currentItem, diffvalue;
+ return regeneratorRuntime_default()().wrap(function _callee$(_context) {
+ while (1) switch (_context.prev = _context.next) {
+ case 0:
+ if (!(selectData === undefined)) {
+ _context.next = 3;
+ break;
+ }
+ setVisibleModalType('');
+ return _context.abrupt("return");
+ case 3:
+ if (!(Object.prototype.toString.call(selectData) === '[object Object]')) {
+ _context.next = 7;
+ break;
+ }
+ if (!(!((_selectData$my = selectData.my) !== null && _selectData$my !== void 0 && _selectData$my.length) && !((_selectData$public = selectData["public"]) !== null && _selectData$public !== void 0 && _selectData$public.length))) {
+ _context.next = 7;
+ break;
+ }
+ message/* default.warning */.ZP.warning("试题总数=0,请先设置抽题规则");
+ return _context.abrupt("return");
+ case 7:
+ if (!(!Object.keys(selectData).length && !(selectData !== null && selectData !== void 0 && selectData.length))) {
+ _context.next = 10;
+ break;
+ }
+ message/* default.warning */.ZP.warning("试题总数=0,请先设置抽题规则");
+ return _context.abrupt("return");
+ case 10:
+ currentRule = getRuleValue(ruleValue);
+ _context.t0 = currentRule;
+ _context.next = _context.t0 === RuleValueKeyType.OnlyFileFolder ? 14 : _context.t0 === RuleValueKeyType.OnlyDifficulty ? 16 : _context.t0 === RuleValueKeyType.OnlyKnowledge ? 20 : _context.t0 === RuleValueKeyType.KnowledgeAndDiff ? 22 : _context.t0 === RuleValueKeyType.FileFolderAndDiff ? 24 : _context.t0 === RuleValueKeyType.FileFolderAndKnowledge ? 26 : _context.t0 === RuleValueKeyType.All ? 28 : 30;
+ break;
+ case 14:
+ dispatch({
+ type: 'editRule',
+ payload: {
+ itemType: currentItemType,
+ tableData: [].concat(toConsumableArray_default()(selectData.my || []), toConsumableArray_default()(selectData["public"] || [])),
+ randomRuleType: currentRule
+ }
+ });
+ return _context.abrupt("break", 30);
+ case 16:
+ currentItem = data === null || data === void 0 ? void 0 : (_data$item_types4 = data.item_types) === null || _data$item_types4 === void 0 ? void 0 : (_data$item_types4$fin = _data$item_types4.find(function (item) {
+ return item.item_type === currentItemType;
+ })) === null || _data$item_types4$fin === void 0 ? void 0 : _data$item_types4$fin.contents;
+ diffvalue = [{}, {
+ value: (_totalNumOfDiff$find = totalNumOfDiff.find(function (item) {
+ return item.name === '简单';
+ })) === null || _totalNumOfDiff$find === void 0 ? void 0 : _totalNumOfDiff$find.value
+ }, {
+ value: (_totalNumOfDiff$find2 = totalNumOfDiff.find(function (item) {
+ return item.name === '适中';
+ })) === null || _totalNumOfDiff$find2 === void 0 ? void 0 : _totalNumOfDiff$find2.value
+ }, {
+ value: (_totalNumOfDiff$find3 = totalNumOfDiff.find(function (item) {
+ return item.name === '困难';
+ })) === null || _totalNumOfDiff$find3 === void 0 ? void 0 : _totalNumOfDiff$find3.value
+ }]; // console.log('totalNumOfDiff', totalNumOfDiff, selectData, diffvalue?.[2]);
+ dispatch({
+ type: 'editRule',
+ payload: {
+ itemType: currentItemType,
+ tableData: selectData.map(function (diff, index) {
+ var _currentItem$filter, _currentItem$filter$, _totalNumOfDiff$, _diffvalue$diff;
+ return {
+ difficulty: diff,
+ id: index,
+ quanlity: (currentItem === null || currentItem === void 0 ? void 0 : (_currentItem$filter = currentItem.filter(function (item) {
+ return item.id === index;
+ })) === null || _currentItem$filter === void 0 ? void 0 : (_currentItem$filter$ = _currentItem$filter[0]) === null || _currentItem$filter$ === void 0 ? void 0 : _currentItem$filter$["quanlity"]) || 1,
+ item_bank_num: (totalNumOfDiff === null || totalNumOfDiff === void 0 ? void 0 : totalNumOfDiff.length) === 1 ? (_totalNumOfDiff$ = totalNumOfDiff[0]) === null || _totalNumOfDiff$ === void 0 ? void 0 : _totalNumOfDiff$.value : diffvalue === null || diffvalue === void 0 ? void 0 : (_diffvalue$diff = diffvalue[diff]) === null || _diffvalue$diff === void 0 ? void 0 : _diffvalue$diff.value
+ };
+ }),
+ randomRuleType: currentRule
+ }
+ });
+ return _context.abrupt("break", 30);
+ case 20:
+ dispatch({
+ type: 'editRule',
+ payload: {
+ itemType: currentItemType,
+ tableData: selectData.map(function (item) {
+ return objectSpread2_default()(objectSpread2_default()({}, item), {}, {
+ quanlity: item.quanlity || 1
+ });
+ }),
+ randomRuleType: currentRule
+ }
+ });
+ return _context.abrupt("break", 30);
+ case 22:
+ dispatch({
+ type: 'editRule',
+ payload: {
+ itemType: currentItemType,
+ tableData: selectData.map(function (item) {
+ return objectSpread2_default()(objectSpread2_default()({}, item), {}, {
+ quanlity: item.quanlity || 1
+ });
+ }),
+ randomRuleType: currentRule
+ }
+ });
+ return _context.abrupt("break", 30);
+ case 24:
+ dispatch({
+ type: 'editRule',
+ payload: {
+ itemType: currentItemType,
+ tableData: selectData.map(function (item) {
+ return objectSpread2_default()(objectSpread2_default()({}, item), {}, {
+ quanlity: item.quanlity || 1
+ });
+ }),
+ randomRuleType: currentRule
+ }
+ });
+ return _context.abrupt("break", 30);
+ case 26:
+ dispatch({
+ type: 'editRule',
+ payload: {
+ itemType: currentItemType,
+ tableData: [].concat(toConsumableArray_default()(selectData.my || []), toConsumableArray_default()(selectData["public"] || [])),
+ randomRuleType: currentRule
+ }
+ });
+ return _context.abrupt("break", 30);
+ case 28:
+ dispatch({
+ type: 'editRule',
+ payload: {
+ itemType: currentItemType,
+ tableData: selectData.map(function (item) {
+ return objectSpread2_default()(objectSpread2_default()({}, item), {}, {
+ quanlity: item.quanlity || 1
+ });
+ }),
+ randomRuleType: currentRule
+ }
+ });
+ return _context.abrupt("break", 30);
+ case 30:
+ setVisibleModalType('');
+ case 31:
+ case "end":
+ return _context.stop();
+ }
+ }, _callee);
+ })),
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, {
+ className: "".concat(RuleModalmodules.ruleCheckBox),
+ style: {
+ marginBottom: 8
+ },
+ value: ruleValue,
+ onChange: function onChange(checkedValue) {
+ var _questionInfo$content;
+ if (!!(ruleValue !== null && ruleValue !== void 0 && ruleValue.length) && (questionInfo === null || questionInfo === void 0 ? void 0 : (_questionInfo$content = questionInfo.contents) === null || _questionInfo$content === void 0 ? void 0 : _questionInfo$content.length) > 0) {
+ modal/* default.confirm */.Z.confirm({
+ title: "提示",
+ content: "切换规则后,之前的抽题配置将被清空!",
+ okText: "立即切换",
+ cancelText: "暂不切换",
+ onOk: function onOk() {
+ return changeRule(checkedValue);
+ }
+ });
+ } else {
+ changeRule(checkedValue);
+ }
+ },
+ options: [{
+ label: '指定文件夹抽题',
+ value: RuleValueType.FileFolder
+ }, {
+ label: '指定难度抽题',
+ value: RuleValueType.Difficulty
+ }, {
+ label: '指定知识点抽题',
+ value: RuleValueType.Knowledge
+ }]
+ }), ruleValue.includes(RuleValueType.FileFolder) ? /*#__PURE__*/(0,jsx_runtime.jsx)(RuleModal_FileFolder, {
+ defaultData: defaultData,
+ selectData: selectData,
+ ruleValue: ruleValue,
+ setSelectData: setSelectData,
+ currentItemType: currentItemType
+ }) : ruleValue.includes(RuleValueType.Knowledge) ? /*#__PURE__*/(0,jsx_runtime.jsx)(RuleModal_Knowledge, {
+ defaultData: defaultData,
+ isFirst: isFirst,
+ ruleValue: ruleValue,
+ setSelectData: setSelectData,
+ currentItemType: currentItemType
+ }) : ruleValue.includes(RuleValueType.Difficulty) ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ style: {
+ marginTop: 12
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "mr20",
+ style: {
+ color: '#666'
+ },
+ children: "\u96BE\u5EA6"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, {
+ style: {
+ columnGap: 12
+ },
+ options: totalNumOfDiff.map(function (diff) {
+ return {
+ label: diff.name,
+ value: ruleInfo_diffMap[diff.name]
+ };
+ }),
+ value: selectData || defaultData,
+ onChange: function onChange(checkedValue) {
+ return setSelectData(checkedValue);
+ }
+ })]
+ }) : null]
+ });
+};
+/* harmony default export */ var ruleInfo = (RuleModal);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/RuleModal/index.tsx
+
+
+
+var RuleModal_RuleModal = function RuleModal(_ref) {
+ var open = _ref.open,
+ onCancel = _ref.onCancel,
+ setVisibleModalType = _ref.setVisibleModalType,
+ currentItemType = _ref.currentItemType;
+ return open ? /*#__PURE__*/(0,jsx_runtime.jsx)(ruleInfo, {
+ open: open,
+ onCancel: onCancel,
+ setVisibleModalType: setVisibleModalType,
+ currentItemType: currentItemType
+ }) : null;
+};
+/* harmony default export */ var QuestionInfo_RuleModal = (RuleModal_RuleModal);
+// EXTERNAL MODULE: ./src/service/paperlibrary.ts
+var paperlibrary = __webpack_require__(24410);
+;// CONCATENATED MODULE: ./src/utils/hooks/useCourseOptions.ts
+
+
+
+
+
+
+var useCourseOptions = function useCourseOptions() {
+ var _useState = (0,react.useState)([]),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ courseOptions = _useState2[0],
+ setCourseOptions = _useState2[1];
+ (0,react.useEffect)(function () {
+ var getCourseOptions = /*#__PURE__*/function () {
+ var _ref = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
+ var res;
+ return regeneratorRuntime_default()().wrap(function _callee$(_context) {
+ while (1) switch (_context.prev = _context.next) {
+ case 0:
+ _context.next = 2;
+ return (0,paperlibrary/* getDisciplines */.d1)({
+ source: 'question'
+ });
+ case 2:
+ res = _context.sent;
+ if (res !== null && res !== void 0 && res.disciplines) {
+ setCourseOptions((0,util/* formatCourseOptions */.L)(res === null || res === void 0 ? void 0 : res.disciplines));
+ }
+ case 4:
+ case "end":
+ return _context.stop();
+ }
+ }, _callee);
+ }));
+ return function getCourseOptions() {
+ return _ref.apply(this, arguments);
+ };
+ }();
+ getCourseOptions();
+ }, []);
+ return courseOptions;
+};
+
+// EXTERNAL MODULE: ./src/service/classrooms.ts
+var classrooms = __webpack_require__(73290);
+// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 1 modules
+var RenderHtml = __webpack_require__(12768);
+// EXTERNAL MODULE: ./src/utils/util.tsx
+var utils_util = __webpack_require__(29427);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/SelectShixunModal.tsx
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+var SelectShixunModal = function SelectShixunModal(_ref) {
+ var open = _ref.open,
+ onCancel = _ref.onCancel,
+ _onOk = _ref.onOk;
+ var _useContext = (0,react.useContext)(DataContext),
+ data = _useContext.data;
+ var courseOptions = useCourseOptions();
+ var _useCustomRequest = (0,useCustomRequest/* useCustomRequest */.U)(classrooms/* getShixunLists */.Pj, {
+ page: 1,
+ limit: 10,
+ keyword: '',
+ diff: '',
+ discipline_id: '',
+ sub_discipline_id: '',
+ type: 0,
+ status: 'published'
+ }),
+ _useCustomRequest2 = slicedToArray_default()(_useCustomRequest, 4),
+ queryParams = _useCustomRequest2[0],
+ tableLoading = _useCustomRequest2[1],
+ getShixunData = _useCustomRequest2[2],
+ shixunData = _useCustomRequest2[3];
+ var _useState = (0,react.useState)(false),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ emptyTipsVisible = _useState2[0],
+ setEmptyTipsVisible = _useState2[1];
+ (0,react.useEffect)(function () {
+ if (open) {
+ getShixunData({
+ page: 1,
+ limit: 10,
+ type: 0,
+ status: 'published'
+ }, true).then(function (res) {
+ if ((res === null || res === void 0 ? void 0 : res.shixuns_count) === 0) {
+ setEmptyTipsVisible(true);
+ }
+ });
+ var questionInfo = data.item_types.find(function (item) {
+ return item.item_type === 'PRACTICAL';
+ });
+ setSelectedRowKeys(questionInfo.item_banks.map(function (item) {
+ return item.id;
+ }));
+ setSelectedRows(questionInfo.item_banks);
+ }
+ }, [open, data]);
+ var _useState3 = (0,react.useState)([]),
+ _useState4 = slicedToArray_default()(_useState3, 2),
+ selectedRowKeys = _useState4[0],
+ setSelectedRowKeys = _useState4[1];
+ var _useState5 = (0,react.useState)([]),
+ _useState6 = slicedToArray_default()(_useState5, 2),
+ selectedRows = _useState6[0],
+ setSelectedRows = _useState6[1];
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, {
+ title: "\u9009\u62E9\u5B9E\u8BAD\u9898",
+ open: open,
+ width: 948,
+ centered: true,
+ closable: true,
+ onCancel: onCancel,
+ onOk: function onOk() {
+ return _onOk(selectedRows);
+ },
+ destroyOnClose: true,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "space-between",
+ className: "mb20",
+ style: {
+ maxHeight: 650
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(cascader/* default */.Z, {
+ style: {
+ width: 160
+ },
+ size: "large",
+ placeholder: "\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",
+ options: courseOptions,
+ onChange: function onChange(courseId) {
+ getShixunData({
+ page: 1,
+ discipline_id: courseId === null || courseId === void 0 ? void 0 : courseId[0],
+ sub_discipline_id: courseId === null || courseId === void 0 ? void 0 : courseId[1]
+ });
+ }
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, {
+ className: "ml20",
+ style: {
+ width: 118
+ },
+ size: "large",
+ placeholder: "\u96BE\u5EA6",
+ allowClear: true,
+ options: [{
+ label: '初级',
+ value: 1
+ }, {
+ label: '中级',
+ value: 2
+ }, {
+ label: '中高级',
+ value: 3
+ }, {
+ label: '高级',
+ value: 4
+ }],
+ onChange: function onChange(diff) {
+ return getShixunData({
+ page: 1,
+ diff: diff
+ });
+ }
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomInput */.t7, {
+ placeholder: "\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",
+ style: {
+ width: 290
+ },
+ onChange: function onChange(input) {
+ getShixunData({
+ keyword: input,
+ page: 1
+ });
+ }
+ })]
+ }), emptyTipsVisible ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
+ customText: "\u6682\u65E0\u6570\u636E",
+ ButtonText: "\u524D\u5F80\u5B9E\u8DF5\u9879\u76EE\u5E93\uFF0C\u6DFB\u52A0\u66F4\u591A\u8BD5\u9898>",
+ ButtonClick: function ButtonClick() {
+ return (0,utils_util/* openNewWindow */.xg)("/shixuns");
+ }
+ })
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
+ loading: tableLoading,
+ rowKey: "id",
+ columns: [{
+ title: '试题名称',
+ dataIndex: 'title',
+ width: '30%',
+ // ellipsis: true,
+ ellipsis: {
+ showTitle: true
+ },
+ render: function render(text) {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
+ showLines: 1,
+ showTextOnly: true,
+ value: text
+ }, 1);
+ }
+ }, {
+ title: '创建者',
+ dataIndex: 'author_name',
+ render: function render(authorName) {
+ return Array.isArray(authorName) ? /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
+ showLines: 1,
+ showTextOnly: true,
+ value: authorName === null || authorName === void 0 ? void 0 : authorName[0]
+ }, 1) : authorName.split('、')[0];
+ }
+ }, {
+ title: '所属学校',
+ dataIndex: 'author_school_name',
+ render: function render(value) {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
+ showLines: 1,
+ showTextOnly: true,
+ value: value
+ }, 1);
+ }
+ }, {
+ title: '难度',
+ dataIndex: 'level'
+ }, {
+ title: '使用次数',
+ dataIndex: 'study_count'
+ }, {
+ title: '操作',
+ render: function render(value, record) {
+ var _ref2 = record || {},
+ title = _ref2.title,
+ challenge_names = _ref2.challenge_names,
+ author_name = _ref2.author_name,
+ identifier = _ref2.identifier,
+ author_school_name = _ref2.author_school_name,
+ study_count = _ref2.study_count;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: {
+ color: '#165DFF',
+ cursor: 'pointer'
+ },
+ onClick: function onClick() {
+ modal/* default.confirm */.Z.confirm({
+ title: '题目详情',
+ closable: true,
+ width: 1000,
+ centered: true,
+ icon: null,
+ footer: null,
+ content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
+ value: title,
+ style: {
+ marginBottom: 18
+ }
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: QuestionInfomodules.challengeNameWrapper,
+ children: challenge_names.map(function (name, index) {
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: QuestionInfomodules.challengeName,
+ children: ["\u7B2C", (0,utils_util/* toChineseNumber */.EM)(index + 1), "\u9898\xA0", name]
+ }, index);
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ className: QuestionInfomodules.shixunPreviewFooter,
+ justify: "space-between",
+ style: {
+ alignItems: 'center'
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ className: QuestionInfomodules.shixunInfoWrapper,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: "\u521B\u5EFA\u8005"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionInfomodules.shixunInfo,
+ children: author_name.split('、')[0]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: "\u6240\u5C5E\u5355\u4F4D"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionInfomodules.shixunInfo,
+ children: author_school_name
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: "\u5B66\u4E60\u4EBA\u6570"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionInfomodules.shixunInfo,
+ children: study_count
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
+ type: "primary",
+ className: QuestionInfomodules.btnToDetail,
+ onClick: function onClick() {
+ return (0,utils_util/* openNewWindow */.xg)("/shixuns/".concat(identifier, "/challenges?exercise=true"));
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-shixunkecheng"
+ }), "\u5B9E\u8BAD\u8BE6\u60C5"]
+ })]
+ })]
+ })
+ });
+ },
+ children: "\u67E5\u770B"
+ });
+ }
+ }],
+ dataSource: shixunData === null || shixunData === void 0 ? void 0 : shixunData.shixun_list,
+ rowSelection: {
+ selectedRowKeys: selectedRowKeys,
+ preserveSelectedRowKeys: true,
+ onChange: function onChange(newSelectedRowKeys, newSelectedRows) {
+ console.log(newSelectedRowKeys);
+ setSelectedRowKeys(newSelectedRowKeys);
+ var newRows = [];
+ var _iterator = createForOfIteratorHelper_default()(selectedRows),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var prevRow = _step.value;
+ if (newSelectedRowKeys.includes(prevRow.id)) {
+ newRows.push(prevRow);
+ }
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ var existKeys = newRows.map(function (row) {
+ return row.id;
+ });
+ var _iterator2 = createForOfIteratorHelper_default()(newSelectedRows),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var newRow = _step2.value;
+ if (newRow && newSelectedRowKeys.includes(newRow.id) && !existKeys.includes(newRow.id)) {
+ var _newRow$author_name;
+ newRows.push({
+ id: newRow.id,
+ difficulty: newRow.level,
+ identifier: newRow.identifier,
+ name: newRow.title,
+ real_name: newRow === null || newRow === void 0 ? void 0 : (_newRow$author_name = newRow.author_name) === null || _newRow$author_name === void 0 ? void 0 : _newRow$author_name.split('、')[0],
+ school_name: newRow.author_school_name,
+ challenge_names: newRow.challenge_names,
+ study_count: newRow.study_count
+ });
+ }
+ }
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
+ }
+ setSelectedRows(newRows);
+ }
+ },
+ pagination: {
+ current: queryParams.page,
+ pageSize: queryParams.limit,
+ total: shixunData === null || shixunData === void 0 ? void 0 : shixunData.shixuns_count,
+ showTotal: function showTotal(total) {
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ children: ["\u5171\xA0", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: {
+ color: '#165DFF'
+ },
+ children: total
+ }), "\xA0\u6761\u6570\u636E"]
+ });
+ },
+ showQuickJumper: true,
+ onChange: function onChange(page, pageSize) {
+ getShixunData({
+ page: page,
+ limit: pageSize
+ });
+ },
+ size: 'default'
+ },
+ scroll: {
+ y: 400
+ }
+ })]
+ });
+};
+/* harmony default export */ var QuestionInfo_SelectShixunModal = (SelectShixunModal);
+// EXTERNAL MODULE: ./node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js + 27 modules
+var react_beautiful_dnd_esm = __webpack_require__(66012);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/QuestionList.tsx
+
+
+
+
+
+
+
+
+
+
+
+var QuestionList = function QuestionList(_ref) {
+ var onDelete = _ref.onDelete,
+ list = _ref.list,
+ onSelect = _ref.onSelect;
+ var _useState = (0,react.useState)(false),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ loading = _useState2[0],
+ setLoading = _useState2[1];
+ var _useContext = (0,react.useContext)(DataContext),
+ dispatch = _useContext.dispatch,
+ disabled = _useContext.disabled;
+ var reorder = function reorder(prevList, startIndex, endIndex) {
+ var result = Array.from(prevList);
+ var _result$splice = result.splice(startIndex, 1),
+ _result$splice2 = slicedToArray_default()(_result$splice, 1),
+ removed = _result$splice2[0];
+ result.splice(endIndex, 0, removed);
+ return result;
+ };
+ var _useState3 = (0,react.useState)(null),
+ _useState4 = slicedToArray_default()(_useState3, 2),
+ draggingId = _useState4[0],
+ setDraggingId = _useState4[1];
+ var _useState5 = (0,react.useState)(false),
+ _useState6 = slicedToArray_default()(_useState5, 2),
+ isDragging = _useState6[0],
+ setIsDragging = _useState6[1];
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* DragDropContext */.Z5, {
+ onDragStart: function onDragStart() {
+ setIsDragging(true);
+ },
+ onDragEnd: function onDragEnd(result) {
+ setIsDragging(false);
+ if (!result.destination) {
+ return;
+ }
+ var newList = reorder(list, result.source.index, result.destination.index);
+ dispatch({
+ type: 'updateItemTypes',
+ payload: newList
+ });
+ },
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Droppable */.bK, {
+ droppableId: "droppable",
+ children: function children(provided, snapshot) {
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({}, provided.droppableProps), {}, {
+ ref: provided.innerRef,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
+ spinning: loading,
+ children: list.map(function (item, index) {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Draggable */._l, {
+ draggableId: index.toString(),
+ index: index,
+ isDragDisabled: draggingId !== item.item_type,
+ children: function children(provided, snapshot) {
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({
+ align: "middle",
+ wrap: false,
+ ref: provided.innerRef
+ }, provided.draggableProps), provided.dragHandleProps), {}, {
+ className: "".concat(QuestionInfomodules.dragItem, " ").concat(isDragging ? QuestionInfomodules.dragging : ''),
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ className: QuestionInfomodules.contentArea,
+ onClick: function onClick() {
+ onSelect(item.item_type);
+ (0,utils_util/* scrollToTop */.k3)();
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ className: QuestionInfomodules.blackText,
+ children: [(0,utils_util/* toChineseNumber */.EM)(index + 1), "\u3001\u3010", item.item_type_text, "\u3011"]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: "\uFF08".concat(item.item_bank_count, "\u5C0F\u9898\uFF0C\u5171").concat(parseFloat(item.total_score).toFixed(1), "\u5206\uFF09"),
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionInfomodules.greyText,
+ children: "\uFF08".concat(item.item_bank_count, "\u5C0F\u9898\uFF0C\u5171").concat(parseFloat(item.total_score).toFixed(1), "\u5206\uFF09")
+ })
+ })]
+ }), !disabled && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: "\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F",
+ open: draggingId === item.item_type && !isDragging,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ style: {
+ cursor: 'grab'
+ },
+ className: "".concat(QuestionInfomodules.iconWrapper, " ").concat(isDragging ? QuestionInfomodules.hidden : ''),
+ onMouseEnter: function onMouseEnter() {
+ setDraggingId(item.item_type);
+ },
+ onMouseLeave: function onMouseLeave() {
+ return setDraggingId(null);
+ },
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-tuodong1 ".concat(QuestionInfomodules.dragIcon)
+ })
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: "\u5220\u9664",
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: "".concat(QuestionInfomodules.iconWrapper, " ").concat(isDragging ? QuestionInfomodules.hidden : ''),
+ style: {
+ cursor: 'pointer'
+ },
+ onClick: function onClick() {
+ return onDelete(item.item_type);
+ },
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-shanchu12 ".concat(QuestionInfomodules.deleteIcon)
+ })
+ })
+ })]
+ })]
+ }));
+ }
+ }, index);
+ })
+ }), provided.placeholder]
+ }));
+ }
+ })
+ });
+};
+/* harmony default export */ var QuestionInfo_QuestionList = (QuestionList);
+// EXTERNAL MODULE: ./node_modules/antd/es/timeline/index.js + 5 modules
+var timeline = __webpack_require__(12845);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/QuestionDetail/index.less?modules
+// extracted by mini-css-extract-plugin
+/* harmony default export */ var QuestionDetailmodules = ({"flex_box_center":"flex_box_center___ppkzA","flex_space_between":"flex_space_between___Z1syx","flex_box_vertical_center":"flex_box_vertical_center___twJ9S","flex_box_center_end":"flex_box_center_end___uI0uW","flex_box_column":"flex_box_column___JRp7D","timelineWrapper":"timelineWrapper___LP9aM","title":"title___KUHj_","desc":"desc___ubc8E","titles":"titles___njkjf","questionDetailWrapper":"questionDetailWrapper___p4SFM","questionTitle":"questionTitle___JC9X6","questionScoreInfo":"questionScoreInfo___NgOJI","deleteIcon":"deleteIcon___oMVTN","deleteBtn":"deleteBtn___JUPEl","normalText":"normalText___FW9Y_","folderIcon":"folderIcon___gvacQ","challengeNameWrapper":"challengeNameWrapper___fG7Vv","challengeName":"challengeName___Ia1Xs","shixunPreviewFooter":"shixunPreviewFooter___rKsnN","shixunInfoWrapper":"shixunInfoWrapper___FEnDb","shixunInfo":"shixunInfo___TbrA2","btnToDetail":"btnToDetail___dqLQP"});
+// EXTERNAL MODULE: ./src/assets/images/problemset/folder-closed.png
+var folder_closed = __webpack_require__(73631);
+// EXTERNAL MODULE: ./src/assets/images/problemset/folder.png
+var folder = __webpack_require__(31328);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/QuestionDetail/columns.tsx
+
+
+
+
+
+
+
+
+
+var getColumns = function getColumns(ruleValueKey, dispatch, currentItemType, disabled) {
+ var _columnsMap;
+ var columnsMap = (_columnsMap = {}, defineProperty_default()(_columnsMap, RuleValueKeyType.OnlyDifficulty, [{
+ title: '难度',
+ key: 'difficulty',
+ render: function render(value, record) {
+ var difficulty = record.difficulty;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: {
+ color: difficultyMap[difficulty].color
+ },
+ children: difficultyMap[difficulty].label
+ });
+ }
+ }]), defineProperty_default()(_columnsMap, RuleValueKeyType.OnlyKnowledge, [{
+ title: '知识点',
+ dataIndex: 'tag_discipline_name',
+ ellipsis: true
+ }, {
+ title: '方向&课程',
+ dataIndex: 'sub_discipline_name',
+ width: 180,
+ ellipsis: {
+ showTitle: true
+ },
+ render: function render(text, record) {
+ return "".concat(text);
+ }
+ }]), defineProperty_default()(_columnsMap, RuleValueKeyType.OnlyFileFolder, [{
+ title: '文件夹',
+ render: function render(value, record, index) {
+ var group_name = record.group_name,
+ teacher_group_name = record.teacher_group_name;
+ var name = group_name || teacher_group_name;
+ var iconUrl = teacher_group_name ? folder : folder_closed;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ style: {
+ display: 'flex'
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: iconUrl,
+ className: QuestionDetailmodules.folderIcon
+ }), " ", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: name,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.titles,
+ children: name
+ })
+ })]
+ });
+ }
+ }, {
+ title: '类型',
+ render: function render(value, record) {
+ var teacher_group_name = record.teacher_group_name;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: teacher_group_name ? '团队共享' : '我创建的'
+ });
+ }
+ }]), defineProperty_default()(_columnsMap, RuleValueKeyType.KnowledgeAndDiff, [{
+ title: '知识点',
+ dataIndex: 'tag_discipline_name',
+ ellipsis: {
+ showTitle: true
+ }
+ }, {
+ title: '方向&课程',
+ width: 180,
+ dataIndex: 'sub_discipline_name',
+ ellipsis: {
+ showTitle: true
+ }
+ }, {
+ title: '难度',
+ key: 'difficulty',
+ render: function render(value, record) {
+ var difficulty = record.difficulty;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: {
+ color: difficultyMap[difficulty].color
+ },
+ children: difficultyMap[difficulty].label
+ });
+ }
+ }]), defineProperty_default()(_columnsMap, RuleValueKeyType.FileFolderAndKnowledge, [{
+ title: '知识点',
+ dataIndex: 'tag_discipline_name',
+ ellipsis: true
+ }, {
+ title: '文件夹',
+ render: function render(value, record) {
+ var group_name = record.group_name,
+ teacher_group_name = record.teacher_group_name;
+ var name = group_name || teacher_group_name;
+ var iconUrl = teacher_group_name ? folder : folder_closed;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ style: {
+ display: 'flex'
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: iconUrl,
+ className: QuestionDetailmodules.folderIcon
+ }), " ", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: name,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.titles,
+ children: name
+ })
+ })]
+ });
+ }
+ }, {
+ title: '类型',
+ render: function render(value, record) {
+ var teacher_group_name = record.teacher_group_name;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: teacher_group_name ? '团队共享' : '我创建的'
+ });
+ }
+ }]), defineProperty_default()(_columnsMap, RuleValueKeyType.FileFolderAndDiff, [{
+ title: '文件夹',
+ render: function render(value, record) {
+ var group_name = record.group_name,
+ teacher_group_name = record.teacher_group_name;
+ var name = group_name || teacher_group_name;
+ var iconUrl = teacher_group_name ? folder : folder_closed;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ style: {
+ display: 'flex'
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: iconUrl,
+ className: QuestionDetailmodules.folderIcon
+ }), " ", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: name,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.titles,
+ children: name
+ })
+ })]
+ });
+ }
+ }, {
+ title: '类型',
+ render: function render(value, record) {
+ var teacher_group_name = record.teacher_group_name;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: teacher_group_name ? '团队共享' : '我创建的'
+ });
+ }
+ }, {
+ title: '难度',
+ key: 'difficulty',
+ render: function render(value, record) {
+ var difficulty = record.difficulty;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: {
+ color: difficultyMap[difficulty].color
+ },
+ children: difficultyMap[difficulty].label
+ });
+ }
+ }]), defineProperty_default()(_columnsMap, RuleValueKeyType.All, [{
+ title: '知识点',
+ dataIndex: 'tag_discipline_name',
+ ellipsis: true
+ }, {
+ title: '文件夹',
+ render: function render(value, record) {
+ var group_name = record.group_name,
+ teacher_group_name = record.teacher_group_name;
+ var name = group_name || teacher_group_name;
+ var iconUrl = teacher_group_name ? folder : folder_closed;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ style: {
+ display: 'flex'
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
+ src: iconUrl,
+ className: QuestionDetailmodules.folderIcon
+ }), " ", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
+ title: name,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.titles,
+ children: name
+ })
+ })]
+ });
+ }
+ }, {
+ title: '类型',
+ render: function render(value, record) {
+ var teacher_group_name = record.teacher_group_name;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: teacher_group_name ? '团队共享' : '我创建的'
+ });
+ }
+ }, {
+ title: '难度',
+ key: 'difficulty',
+ render: function render(value, record) {
+ var difficulty = record.difficulty;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: {
+ color: difficultyMap[difficulty].color
+ },
+ children: difficultyMap[difficulty].label
+ });
+ }
+ }]), defineProperty_default()(_columnsMap, RuleValueKeyType.Shixun, []), _columnsMap);
+ for (var _i = 0, _Object$values = Object.values(columnsMap); _i < _Object$values.length; _i++) {
+ var columns = _Object$values[_i];
+ columns.push({
+ title: '抽题数量',
+ key: 'quanlity',
+ render: function render(value, record) {
+ var _ref = record || {},
+ item_bank_num = _ref.item_bank_num,
+ quanlity = _ref.quanlity,
+ id = _ref.id,
+ teacher_group_id = _ref.teacher_group_id;
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ align: "middle",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
+ disabled: disabled,
+ min: 1,
+ max: item_bank_num,
+ size: "large",
+ precision: 0,
+ value: quanlity,
+ onChange: function onChange(num) {
+ dispatch({
+ type: 'changeQuestionNum',
+ payload: {
+ itemType: currentItemType,
+ id: id,
+ num: num,
+ teacher_group_id: teacher_group_id
+ }
+ });
+ }
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ className: "ml10 font14",
+ style: {
+ color: '#333333'
+ },
+ children: ["/", item_bank_num]
+ })]
+ });
+ }
+ }, {
+ title: '操作',
+ key: 'action',
+ align: 'right',
+ render: function render(value, record) {
+ var id = record.id,
+ is_share = record.is_share;
+ return disabled ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "cursorNotAllowed c-grey-999",
+ children: "\u5220\u9664"
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.deleteBtn,
+ onClick: function onClick() {
+ dispatch({
+ type: 'deleteRule',
+ payload: {
+ itemType: currentItemType,
+ id: id,
+ is_share: is_share
+ }
+ });
+ },
+ children: "\u5220\u9664"
+ });
+ }
+ });
+ }
+ return columnsMap[ruleValueKey];
+};
+
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/QuestionDetail/index.tsx
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+var ShixunDetail = function ShixunDetail(_ref) {
+ var _data$item_types, _questionInfo$item_ba, _questionInfo$item_ba2, _questionInfo$item_ba3;
+ var setVisibleModalType = _ref.setVisibleModalType;
+ var _useContext = (0,react.useContext)(DataContext),
+ data = _useContext.data,
+ dispatch = _useContext.dispatch,
+ disabled = _useContext.disabled;
+ var questionInfo = data === null || data === void 0 ? void 0 : (_data$item_types = data.item_types) === null || _data$item_types === void 0 ? void 0 : _data$item_types.find(function (item) {
+ return item.item_type === 'PRACTICAL';
+ });
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(timeline/* default */.Z, {
+ className: QuestionDetailmodules.timelineWrapper,
+ items: [{
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ style: {
+ transform: 'translateY(-4px)'
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ className: "mb20",
+ align: "middle",
+ justify: "space-between",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.title,
+ children: "\u9898\u5E93\u9009\u9898"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.desc,
+ children: "\uFF08\u9700\u8981\u5148\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9\u5B9E\u8BAD\u9898\uFF0C\u518D\u8BBE\u7F6E\u4ECE\u5DF2\u9009\u5B9E\u8BAD\u9898\u4E2D\u968F\u673A\u62BD\u9898\u7684\u6570\u91CF\uFF09"
+ })]
+ }), !disabled && /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
+ style: {
+ width: 102
+ },
+ onClick: function onClick() {
+ return setVisibleModalType('selectShixun');
+ },
+ children: "\u4ECE\u9898\u5E93\u9009\u62E9"
+ })]
+ }), (questionInfo === null || questionInfo === void 0 ? void 0 : (_questionInfo$item_ba = questionInfo.item_banks) === null || _questionInfo$item_ba === void 0 ? void 0 : _questionInfo$item_ba.length) === 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
+ customText: "\u6682\u65E0\u5F85\u62BD\u8BD5\u9898\uFF0C\u8BF7\u5148\u4ECE\u9898\u5E93\u8FDB\u884C\u9009\u62E9\uFF5E"
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
+ rowKey: "id",
+ className: "mb10",
+ columns: [{
+ title: '序号',
+ width: 60,
+ render: function render(value, record, index) {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: index + 1
+ });
+ }
+ }, {
+ title: '试题名称',
+ dataIndex: 'name',
+ width: '30%',
+ ellipsis: {
+ showTitle: true
+ },
+ render: function render(text) {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
+ showLines: 1,
+ showTextOnly: true,
+ value: text
+ }, 1);
+ }
+ }, {
+ title: '创建者',
+ dataIndex: 'real_name',
+ ellipsis: {
+ showTitle: true
+ }
+ }, {
+ title: '所属单位',
+ dataIndex: 'school_name',
+ ellipsis: {
+ showTitle: true
+ }
+ }, {
+ title: '难度',
+ dataIndex: 'difficulty'
+ }, {
+ title: '操作',
+ align: 'right',
+ render: function render(value, record, index) {
+ var _ref2 = record || {},
+ id = _ref2.id,
+ identifier = _ref2.identifier,
+ name = _ref2.name,
+ _ref2$challenge_names = _ref2.challenge_names,
+ challenge_names = _ref2$challenge_names === void 0 ? [] : _ref2$challenge_names,
+ real_name = _ref2.real_name,
+ school_name = _ref2.school_name,
+ study_count = _ref2.study_count,
+ _ref2$challenges = _ref2.challenges,
+ challenges = _ref2$challenges === void 0 ? [] : _ref2$challenges;
+ console.log('---', challenges);
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: {
+ color: '#165DFF',
+ cursor: 'pointer'
+ },
+ onClick: function onClick() {
+ modal/* default.confirm */.Z.confirm({
+ title: '题目详情',
+ closable: true,
+ width: 1000,
+ centered: true,
+ icon: null,
+ footer: null,
+ content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
+ value: name,
+ style: {
+ marginBottom: 18
+ }
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: QuestionDetailmodules.challengeNameWrapper,
+ children: challenges === null || challenges === void 0 ? void 0 : challenges.map(function (item, index) {
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: QuestionDetailmodules.challengeName,
+ children: ["\u7B2C", (0,utils_util/* toChineseNumber */.EM)(index + 1), "\u9898\xA0", item === null || item === void 0 ? void 0 : item.subject]
+ }, index);
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ className: QuestionDetailmodules.shixunPreviewFooter,
+ justify: "space-between",
+ style: {
+ alignItems: 'center'
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ className: QuestionDetailmodules.shixunInfoWrapper,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: "\u521B\u5EFA\u8005"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.shixunInfo,
+ children: real_name
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: "\u6240\u5C5E\u5355\u4F4D"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.shixunInfo,
+ children: school_name
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: "\u5B66\u4E60\u4EBA\u6570"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.shixunInfo,
+ children: study_count
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
+ type: "primary",
+ className: QuestionDetailmodules.btnToDetail,
+ onClick: function onClick() {
+ return (0,utils_util/* openNewWindow */.xg)("/shixuns/".concat(identifier, "/challenges?exercise=true"));
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-shixunkecheng"
+ }), "\u5B9E\u8BAD\u8BE6\u60C5"]
+ })]
+ })]
+ })
+ });
+ },
+ children: "\u67E5\u770B"
+ }), !disabled && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ onClick: function onClick() {
+ dispatch({
+ type: 'deleteShixunQuestion',
+ payload: {
+ shixunId: id
+ }
+ });
+ },
+ className: "ml20 ".concat(QuestionDetailmodules.deleteBtn),
+ children: "\u5220\u9664"
+ })]
+ });
+ }
+ }],
+ dataSource: (questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.item_banks) || [],
+ pagination: false
+ })]
+ })
+ }, {
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ style: {
+ transform: !!(questionInfo !== null && questionInfo !== void 0 && (_questionInfo$item_ba2 = questionInfo.item_banks) !== null && _questionInfo$item_ba2 !== void 0 && _questionInfo$item_ba2.length) ? 'translateY(-8px)' : 'none'
+ },
+ align: "middle",
+ justify: "space-between",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.title,
+ children: "\u5DF2\u9009\u5B9E\u8BAD\u9898\u4E2D\u968F\u673A\u62BD\u9898"
+ }), !!(questionInfo !== null && questionInfo !== void 0 && (_questionInfo$item_ba3 = questionInfo.item_banks) !== null && _questionInfo$item_ba3 !== void 0 && _questionInfo$item_ba3.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ align: "middle",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.normalText,
+ children: "\u62BD\u9898\u6570\u91CF"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
+ min: 0,
+ disabled: disabled,
+ max: questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.item_bank_num,
+ size: "large",
+ className: "ml10 mr10",
+ value: (questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.item_bank_count) || 1,
+ onChange: function onChange(value) {
+ return dispatch({
+ type: 'changeQuestionNum',
+ payload: {
+ num: value || 1,
+ itemType: 'PRACTICAL'
+ }
+ });
+ }
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ className: "".concat(QuestionDetailmodules.normalText, " mr30"),
+ children: ["/", questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.item_bank_num]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.normalText,
+ children: "\u6BCF\u9898\u5206\u503C"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
+ disabled: disabled,
+ min: 0,
+ max: 100,
+ size: "large",
+ className: "ml10 mr10",
+ value: questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.score,
+ onChange: function onChange(value) {
+ return dispatch({
+ type: 'changeQuestionScore',
+ payload: {
+ score: value,
+ itemType: 'PRACTICAL'
+ }
+ });
+ }
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.normalText,
+ children: "\u5206"
+ })]
+ })
+ })]
+ })
+ }]
+ });
+};
+var QuestionDetail = function QuestionDetail(_ref3) {
+ var _data$item_types2, _data$item_types3;
+ var setVisibleModalType = _ref3.setVisibleModalType,
+ currentItemType = _ref3.currentItemType,
+ onDelete = _ref3.onDelete;
+ var urlParams = (0,_umi_production_exports.useParams)();
+ var _useContext2 = (0,react.useContext)(DataContext),
+ data = _useContext2.data,
+ dispatch = _useContext2.dispatch,
+ disabled = _useContext2.disabled;
+ var questionIndex = (data === null || data === void 0 ? void 0 : (_data$item_types2 = data.item_types) === null || _data$item_types2 === void 0 ? void 0 : _data$item_types2.findIndex(function (item) {
+ return item.item_type === currentItemType;
+ })) + 1;
+ var questionInfo = data === null || data === void 0 ? void 0 : (_data$item_types3 = data.item_types) === null || _data$item_types3 === void 0 ? void 0 : _data$item_types3.find(function (item) {
+ return item.item_type === currentItemType;
+ });
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: QuestionDetailmodules.questionDetailWrapper,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "space-between",
+ align: "middle",
+ className: "mb30",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.questionTitle,
+ children: "".concat((0,utils_util/* toChineseNumber */.EM)(questionIndex), "\u3001").concat(questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.item_type_text)
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ className: QuestionDetailmodules.questionScoreInfo,
+ children: ["\uFF08", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: {
+ color: '#3061D0'
+ },
+ children: questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.item_bank_count
+ }), "\u5C0F\u9898\uFF0C\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: {
+ color: '#3061D0'
+ },
+ children: questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.total_score
+ }), "\u5206\uFF09"]
+ })]
+ }), !disabled && /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-shanchutimu ".concat(QuestionDetailmodules.deleteIcon),
+ onClick: function onClick() {
+ return onDelete(currentItemType);
+ }
+ })]
+ }), currentItemType === 'PRACTICAL' ? /*#__PURE__*/(0,jsx_runtime.jsx)(ShixunDetail, {
+ setVisibleModalType: setVisibleModalType
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
+ children: (questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.contents.length) === 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
+ styles: {
+ margin: '70px auto 100px auto'
+ },
+ customText: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
+ children: ["\u6682\u65E0\u62BD\u9898\u89C4\u5219\uFF0C\u652F\u6301", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ style: {
+ color: '#EA9741'
+ },
+ children: "\u6307\u5B9A\u6587\u4EF6\u5939\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9"
+ }), "\u8FDB\u884C\u62BD\u9898\uFF5E"]
+ }),
+ ButtonTwo: (urlParams === null || urlParams === void 0 ? void 0 : urlParams.id) && /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
+ justify: "center",
+ className: "mt30",
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
+ style: {
+ width: 136,
+ marginTop: -10
+ },
+ onClick: function onClick() {
+ return setVisibleModalType('rule');
+ },
+ children: "\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219"
+ })
+ })
+ }) : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "space-between",
+ align: "middle",
+ className: "mb20",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ align: "middle",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: "".concat(QuestionDetailmodules.normalText),
+ children: "\u6BCF\u9898\u5206\u503C"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
+ disabled: disabled,
+ size: "large",
+ className: "ml10 mr10",
+ min: 0.1,
+ max: 100,
+ value: questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.score,
+ precision: 1,
+ onChange: function onChange(value) {
+ return dispatch({
+ type: 'changeQuestionScore',
+ payload: {
+ score: value,
+ itemType: currentItemType
+ }
+ });
+ }
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionDetailmodules.normalText,
+ children: "\u5206"
+ })]
+ })
+ }), (urlParams === null || urlParams === void 0 ? void 0 : urlParams.id) && /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
+ onClick: function onClick() {
+ return setVisibleModalType('rule');
+ },
+ children: "\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219"
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
+ columns: getColumns(questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.random_rule_type, dispatch, currentItemType, disabled),
+ dataSource: questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.contents,
+ pagination: false,
+ rowKey: "id"
+ })]
+ })
+ })]
+ });
+};
+/* harmony default export */ var QuestionInfo_QuestionDetail = (QuestionDetail);
+// EXTERNAL MODULE: ./src/components/AsyncButton/index.tsx
+var AsyncButton = __webpack_require__(48559);
+// EXTERNAL MODULE: ./src/service/exercise.ts
+var exercise = __webpack_require__(51412);
+// EXTERNAL MODULE: ./src/utils/authority.ts
+var authority = __webpack_require__(7);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/index.tsx
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+var QuestionInfo = function QuestionInfo(_ref) {
+ var _data$item_types, _data$item_types$, _data$examination_ban2, _data$examination_ban3, _data$examination_ban4, _data$examination_ban5, _difficultyMap, _data$examination_ban6, _data$examination_ban7, _data$examination_ban8, _data$item_types6, _data$item_types7;
+ objectDestructuringEmpty_default()(_ref);
+ var _useSearchParams = (0,_umi_production_exports.useSearchParams)(),
+ _useSearchParams2 = slicedToArray_default()(_useSearchParams, 1),
+ searchParams = _useSearchParams2[0];
+ var urlParams = (0,_umi_production_exports.useParams)();
+ var _useContext = (0,react.useContext)(DataContext),
+ data = _useContext.data,
+ dispatch = _useContext.dispatch,
+ setPreview = _useContext.setPreview,
+ getData = _useContext.getData,
+ handlePreview = _useContext.handlePreview,
+ disabled = _useContext.disabled;
+ var _useState = (0,react.useState)(''),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ visibleModalType = _useState2[0],
+ setVisibleModalType = _useState2[1];
+ var _useState3 = (0,react.useState)(data === null || data === void 0 ? void 0 : (_data$item_types = data.item_types) === null || _data$item_types === void 0 ? void 0 : (_data$item_types$ = _data$item_types[0]) === null || _data$item_types$ === void 0 ? void 0 : _data$item_types$.item_type),
+ _useState4 = slicedToArray_default()(_useState3, 2),
+ currentItemType = _useState4[0],
+ setCurrentItemType = _useState4[1];
+ var _useState5 = (0,react.useState)(true),
+ _useState6 = slicedToArray_default()(_useState5, 2),
+ loading = _useState6[0],
+ setLoading = _useState6[1];
+ var handleSave = /*#__PURE__*/function () {
+ var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(notRedirect) {
+ var _data$item_types2, _data$item_types3;
+ var sort_by_item_type, items, dataCopy, _ref3, item_types, res;
+ return regeneratorRuntime_default()().wrap(function _callee$(_context) {
+ while (1) switch (_context.prev = _context.next) {
+ case 0:
+ sort_by_item_type = data.item_types.map(function (item) {
+ return item.item_type_text;
+ });
+ items = data === null || data === void 0 ? void 0 : (_data$item_types2 = data.item_types) === null || _data$item_types2 === void 0 ? void 0 : _data$item_types2.filter(function (item) {
+ var _item$contents, _item$item_banks;
+ return ((_item$contents = item.contents) === null || _item$contents === void 0 ? void 0 : _item$contents.length) > 0 || (item === null || item === void 0 ? void 0 : (_item$item_banks = item.item_banks) === null || _item$item_banks === void 0 ? void 0 : _item$item_banks.length) > 0;
+ }); // console.log('---', sort_by_item_type, items);
+ // return
+ data.sort_by_item_type = sort_by_item_type;
+ if ((_data$item_types3 = data.item_types) !== null && _data$item_types3 !== void 0 && _data$item_types3.length) {
+ _context.next = 6;
+ break;
+ }
+ message/* default.warning */.ZP.warning('试题总数=0,请先设置抽题规则');
+ return _context.abrupt("return");
+ case 6:
+ if (!((items === null || items === void 0 ? void 0 : items.length) === 0)) {
+ _context.next = 9;
+ break;
+ }
+ message/* default.warning */.ZP.warning('试题总数=0,请先设置抽题规则');
+ return _context.abrupt("return");
+ case 9:
+ dataCopy = (0,lodash.cloneDeep)(data);
+ _ref3 = dataCopy || {}, item_types = _ref3.item_types;
+ dataCopy.item_types = item_types.filter(function (item) {
+ return item.item_type === currentItemType;
+ });
+ _context.next = 14;
+ return updateRandomExam(urlParams.id || urlParams.categoryId, dataCopy);
+ case 14:
+ res = _context.sent;
+ if (res.status === 0) {
+ message/* default.success */.ZP.success('保存成功');
+ if (!notRedirect) _umi_production_exports.history.push("/paperlibrary");
+ }
+ case 16:
+ case "end":
+ return _context.stop();
+ }
+ }, _callee);
+ }));
+ return function handleSave(_x) {
+ return _ref2.apply(this, arguments);
+ };
+ }();
+ var handleExerciseSave = /*#__PURE__*/function () {
+ var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(notRedirect, type) {
+ var body, res;
+ return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
+ while (1) switch (_context2.prev = _context2.next) {
+ case 0:
+ console.log(data);
+ body = objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, data.exercise), urlParams), {}, {
+ exerciseId: urlParams.categoryId,
+ sort_by_item_type: data.sort_by_item_type,
+ difficulty: data.examination_bank.difficulty,
+ exam_notes: data.examination_bank.exam_notes,
+ exercise_name: data.examination_bank.name,
+ time: data.examination_bank.time,
+ item_types: data.item_types,
+ // is_reset: 1,
+ sub_discipline_id: data.examination_bank.sub_discipline_id
+ });
+ if (!notRedirect || type === 1) body.is_reset = 1;
+ _context2.next = 5;
+ return (0,exercise/* putExercise */.wy)(body);
+ case 5:
+ res = _context2.sent;
+ if (res.status === 0) {
+ message/* default.success */.ZP.success("修改成功 ");
+ if (!notRedirect) {
+ _umi_production_exports.history.push("/classrooms/".concat(urlParams.coursesId, "/exercise/").concat(urlParams.categoryId, "/detail?random=true"));
+ }
+ }
+ case 7:
+ case "end":
+ return _context2.stop();
+ }
+ }, _callee2);
+ }));
+ return function handleExerciseSave(_x2, _x3) {
+ return _ref4.apply(this, arguments);
+ };
+ }();
+ var handleDelete = function handleDelete(itemType) {
+ modal/* default.confirm */.Z.confirm({
+ title: '提示',
+ icon: null,
+ centered: true,
+ closable: true,
+ content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ children: "\u786E\u8BA4\u5220\u9664\u8BE5\u9898\u578B\uFF1F"
+ }),
+ onOk: function () {
+ var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
+ var res, _res, _data$item_types4, _data$item_types4$, nextState, _data$item_types5, _data$item_types5$;
+ return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
+ while (1) switch (_context3.prev = _context3.next) {
+ case 0:
+ if (!urlParams.id) {
+ _context3.next = 8;
+ break;
+ }
+ _context3.next = 3;
+ return deleteItem(urlParams.id, {
+ item_type: [itemType]
+ });
+ case 3:
+ res = _context3.sent;
+ if (!(res.status !== 0)) {
+ _context3.next = 6;
+ break;
+ }
+ return _context3.abrupt("return");
+ case 6:
+ _context3.next = 14;
+ break;
+ case 8:
+ _context3.next = 10;
+ return deletecourseItem(urlParams.categoryId, {
+ item_type: [itemType]
+ });
+ case 10:
+ _res = _context3.sent;
+ getData();
+ if (!(_res.status !== 0)) {
+ _context3.next = 14;
+ break;
+ }
+ return _context3.abrupt("return");
+ case 14:
+ dispatch({
+ type: 'deleteQuestionType',
+ payload: itemType
+ });
+ if (itemType === currentItemType) {
+ nextState = reducer(data, {
+ type: 'deleteQuestionType',
+ payload: itemType
+ });
+ setCurrentItemType(nextState.item_types.length ? nextState.item_types[0].item_type : data === null || data === void 0 ? void 0 : (_data$item_types4 = data.item_types) === null || _data$item_types4 === void 0 ? void 0 : (_data$item_types4$ = _data$item_types4[0]) === null || _data$item_types4$ === void 0 ? void 0 : _data$item_types4$.item_type);
+ } else {
+ setCurrentItemType(data === null || data === void 0 ? void 0 : (_data$item_types5 = data.item_types) === null || _data$item_types5 === void 0 ? void 0 : (_data$item_types5$ = _data$item_types5[0]) === null || _data$item_types5$ === void 0 ? void 0 : _data$item_types5$.item_type);
+ }
+ case 16:
+ case "end":
+ return _context3.stop();
+ }
+ }, _callee3);
+ }));
+ function onOk() {
+ return _onOk.apply(this, arguments);
+ }
+ return onOk;
+ }()
+ });
+ };
+ (0,react.useEffect)(function () {
+ var _data$examination_ban;
+ if (data !== null && data !== void 0 && (_data$examination_ban = data.examination_bank) !== null && _data$examination_ban !== void 0 && _data$examination_ban.name) {
+ setLoading(false);
+ }
+ (0,utils_util/* setDocumentTitle */.Dk)('随机组卷');
+ }, [data === null || data === void 0 ? void 0 : (_data$examination_ban2 = data.examination_bank) === null || _data$examination_ban2 === void 0 ? void 0 : _data$examination_ban2.name]);
+ var handlePracticeTest = /*#__PURE__*/function () {
+ var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() {
+ var _userInfo;
+ return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
+ while (1) switch (_context4.prev = _context4.next) {
+ case 0:
+ _context4.next = 2;
+ return handleExerciseSave(true, 1);
+ case 2:
+ // const res = await startSimulateAnswer({ ...urlParams, is_reset: 1 })
+ // if (res?.exercise?.id) {
+ _umi_production_exports.history.push("/classrooms/".concat(urlParams.coursesId, "/exercise/").concat(urlParams.categoryId, "/").concat((_userInfo = (0,authority/* userInfo */.eY)()) === null || _userInfo === void 0 ? void 0 : _userInfo.login, "/initate_answer"));
+ // }
+ case 3:
+ case "end":
+ return _context4.stop();
+ }
+ }, _callee4);
+ }));
+ return function handlePracticeTest() {
+ return _ref5.apply(this, arguments);
+ };
+ }();
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: QuestionInfomodules.questionInfo,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: "tc mb20",
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(TitleEditor, {
+ defaultValue: data === null || data === void 0 ? void 0 : (_data$examination_ban3 = data.examination_bank) === null || _data$examination_ban3 === void 0 ? void 0 : _data$examination_ban3.name,
+ onFinish: /*#__PURE__*/function () {
+ var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(value) {
+ return regeneratorRuntime_default()().wrap(function _callee5$(_context5) {
+ while (1) switch (_context5.prev = _context5.next) {
+ case 0:
+ dispatch({
+ type: 'updateBaseInfo',
+ payload: objectSpread2_default()(objectSpread2_default()({}, data.examination_bank), {}, {
+ name: value
+ })
+ });
+ return _context5.abrupt("return", true);
+ case 2:
+ case "end":
+ return _context5.stop();
+ }
+ }, _callee5);
+ }));
+ return function (_x4) {
+ return _ref6.apply(this, arguments);
+ };
+ }()
+ })
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ justify: "center",
+ className: "mb20",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ className: "mr30",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionInfomodules.label,
+ children: "\u7B54\u9898\u65F6\u957F"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: (data === null || data === void 0 ? void 0 : (_data$examination_ban4 = data.examination_bank) === null || _data$examination_ban4 === void 0 ? void 0 : _data$examination_ban4.time) === -1 ? '不限' : (data === null || data === void 0 ? void 0 : (_data$examination_ban5 = data.examination_bank) === null || _data$examination_ban5 === void 0 ? void 0 : _data$examination_ban5.time) || '不限'
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ className: "mr30",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionInfomodules.label,
+ children: "\u96BE\u5EA6"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: (_difficultyMap = difficultyMap["".concat(data === null || data === void 0 ? void 0 : (_data$examination_ban6 = data.examination_bank) === null || _data$examination_ban6 === void 0 ? void 0 : _data$examination_ban6.difficulty)]) === null || _difficultyMap === void 0 ? void 0 : _difficultyMap.label
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ className: "mr30",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionInfomodules.label,
+ children: "\u8BD5\u9898\u603B\u6570"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: (data === null || data === void 0 ? void 0 : (_data$examination_ban7 = data.examination_bank) === null || _data$examination_ban7 === void 0 ? void 0 : _data$examination_ban7.question_count) || 0
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ className: QuestionInfomodules.label,
+ children: "\u603B\u5206"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: (data === null || data === void 0 ? void 0 : (_data$examination_ban8 = data.examination_bank) === null || _data$examination_ban8 === void 0 ? void 0 : _data$examination_ban8.total_score) || 0
+ })]
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: QuestionInfomodules.content,
+ style: {
+ border: (data === null || data === void 0 ? void 0 : (_data$item_types6 = data.item_types) === null || _data$item_types6 === void 0 ? void 0 : _data$item_types6.length) <= 0 && 'none'
+ },
+ children: (data === null || data === void 0 ? void 0 : (_data$item_types7 = data.item_types) === null || _data$item_types7 === void 0 ? void 0 : _data$item_types7.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ wrap: false,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
+ flex: '260px',
+ className: QuestionInfomodules.leftPart,
+ children: [!disabled && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
+ className: "mb20",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
+ style: {
+ margin: '0 15px',
+ borderRadius: 2
+ },
+ onClick: function onClick() {
+ return setVisibleModalType('setScore');
+ },
+ children: "\u6279\u91CF\u8BBE\u7F6E\u5206\u503C"
+ }), (urlParams === null || urlParams === void 0 ? void 0 : urlParams.id) && /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
+ shape: "default",
+ onClick: function onClick() {
+ return setVisibleModalType('questionType');
+ },
+ children: "\u6DFB\u52A0\u9898\u578B"
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(QuestionInfo_QuestionList, {
+ list: data.item_types,
+ onSelect: /*#__PURE__*/function () {
+ var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(itemType) {
+ var currentItem, dataCopy, _ref8, item_types;
+ return regeneratorRuntime_default()().wrap(function _callee6$(_context6) {
+ while (1) switch (_context6.prev = _context6.next) {
+ case 0:
+ if (!(itemType === currentItemType)) {
+ _context6.next = 2;
+ break;
+ }
+ return _context6.abrupt("return");
+ case 2:
+ setLoading(true);
+ currentItem = data.item_types.find(function (item) {
+ return item.item_type === currentItemType;
+ });
+ if (!(currentItemType !== 'PRACTICAL' && currentItem.contents.length > 0 && urlParams !== null && urlParams !== void 0 && urlParams.id)) {
+ _context6.next = 17;
+ break;
+ }
+ dataCopy = (0,lodash.cloneDeep)(data);
+ _ref8 = dataCopy || {}, item_types = _ref8.item_types;
+ dataCopy.item_types = item_types.filter(function (item) {
+ return item.item_type === currentItemType;
+ });
+ _context6.prev = 8;
+ _context6.next = 11;
+ return updateRandomExam(urlParams.id || urlParams.categoryId, dataCopy);
+ case 11:
+ _context6.next = 15;
+ break;
+ case 13:
+ _context6.prev = 13;
+ _context6.t0 = _context6["catch"](8);
+ case 15:
+ _context6.next = 18;
+ break;
+ case 17:
+ if (urlParams.categoryId) {
+ handleExerciseSave(true);
+ } else {
+ handleSave(true);
+ }
+ case 18:
+ setLoading(false);
+ setCurrentItemType(itemType);
+ case 20:
+ case "end":
+ return _context6.stop();
+ }
+ }, _callee6, null, [[8, 13]]);
+ }));
+ return function (_x5) {
+ return _ref7.apply(this, arguments);
+ };
+ }(),
+ onDelete: handleDelete
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
+ flex: 1,
+ className: QuestionInfomodules.rightPart,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
+ spinning: loading,
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(QuestionInfo_QuestionDetail, {
+ setVisibleModalType: setVisibleModalType,
+ currentItemType: currentItemType,
+ onDelete: handleDelete
+ })
+ })
+ })]
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
+ customText: "\u8BF7\u5148\u8BBE\u7F6E\u8BD5\u5377\u9898\u578B",
+ styles: {
+ margin: '70px auto'
+ },
+ ButtonTwo: /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
+ justify: "center",
+ className: "mt20",
+ children: (urlParams === null || urlParams === void 0 ? void 0 : urlParams.id) && /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
+ style: {
+ width: 88
+ },
+ onClick: function onClick() {
+ return setVisibleModalType('questionType');
+ },
+ children: "\u6DFB\u52A0\u9898\u578B"
+ })
+ })
+ })
+ }), !!(urlParams !== null && urlParams !== void 0 && urlParams.id) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: QuestionInfomodules.fixedBottom,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
+ className: "".concat(QuestionInfomodules.previewBtn, " mr20"),
+ onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() {
+ var _data$item_types8, _data$item_types9;
+ var items;
+ return regeneratorRuntime_default()().wrap(function _callee7$(_context7) {
+ while (1) switch (_context7.prev = _context7.next) {
+ case 0:
+ items = data === null || data === void 0 ? void 0 : (_data$item_types8 = data.item_types) === null || _data$item_types8 === void 0 ? void 0 : _data$item_types8.filter(function (item) {
+ var _item$contents2, _item$item_banks2;
+ return ((_item$contents2 = item.contents) === null || _item$contents2 === void 0 ? void 0 : _item$contents2.length) > 0 || (item === null || item === void 0 ? void 0 : (_item$item_banks2 = item.item_banks) === null || _item$item_banks2 === void 0 ? void 0 : _item$item_banks2.length) > 0;
+ });
+ if ((_data$item_types9 = data.item_types) !== null && _data$item_types9 !== void 0 && _data$item_types9.length) {
+ _context7.next = 4;
+ break;
+ }
+ message/* default.warning */.ZP.warning('试题总数=0,请先设置抽题规则');
+ return _context7.abrupt("return");
+ case 4:
+ if (!((items === null || items === void 0 ? void 0 : items.length) === 0)) {
+ _context7.next = 7;
+ break;
+ }
+ message/* default.warning */.ZP.warning('试题总数=0,请先设置抽题规则');
+ return _context7.abrupt("return");
+ case 7:
+ handleSave(true);
+ _context7.next = 10;
+ return handlePreview();
+ case 10:
+ case "end":
+ return _context7.stop();
+ }
+ }, _callee7);
+ })),
+ children: "\u8BD5\u5377\u9884\u89C8"
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(AsyncButton/* AsyncButton */.Z, {
+ type: "primary",
+ className: QuestionInfomodules.confirmBtn,
+ onClick: function onClick() {
+ return handleSave();
+ },
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
+ className: "iconfont icon-baocun1 mr5"
+ }), "\u4FDD\u5B58\u8BD5\u5377"]
+ })]
+ }), !!(urlParams !== null && urlParams !== void 0 && urlParams.categoryId) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: QuestionInfomodules.fixedBottom,
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
+ className: "".concat(QuestionInfomodules.previewBtn, " mr20"),
+ onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() {
+ return regeneratorRuntime_default()().wrap(function _callee8$(_context8) {
+ while (1) switch (_context8.prev = _context8.next) {
+ case 0:
+ document.body.scrollIntoView();
+ _umi_production_exports.history.push("/classrooms/".concat(urlParams.coursesId, "/exercise"));
+ case 2:
+ case "end":
+ return _context8.stop();
+ }
+ }, _callee8);
+ })),
+ children: "\u8FD4\u56DE"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
+ className: "".concat(QuestionInfomodules.previewBtn, " mr20"),
+ onClick: handlePracticeTest,
+ children: "\u6A21\u62DF\u8003\u8BD5"
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
+ type: "primary",
+ className: QuestionInfomodules.confirmBtn,
+ onClick: function onClick() {
+ return handleExerciseSave();
+ },
+ children: "\u63D0\u4EA4"
+ })]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(QuestionInfo_QuestionTypeModal, {
+ open: visibleModalType === 'questionType',
+ onCancel: function onCancel() {
+ return setVisibleModalType('');
+ },
+ onOk: /*#__PURE__*/function () {
+ var _ref11 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9(selectedQuestionType) {
+ var _nextState$item_types, _data$item_types10;
+ var deletedItemTypes, nextState, nextItemTypes, _iterator, _step, itemType, res;
+ return regeneratorRuntime_default()().wrap(function _callee9$(_context9) {
+ while (1) switch (_context9.prev = _context9.next) {
+ case 0:
+ deletedItemTypes = [];
+ nextState = reducer(data, {
+ type: 'setQuestionType',
+ payload: selectedQuestionType
+ });
+ nextItemTypes = (nextState === null || nextState === void 0 ? void 0 : (_nextState$item_types = nextState.item_types) === null || _nextState$item_types === void 0 ? void 0 : _nextState$item_types.map(function (item) {
+ return item.item_type;
+ })) || [];
+ _iterator = createForOfIteratorHelper_default()((data === null || data === void 0 ? void 0 : (_data$item_types10 = data.item_types) === null || _data$item_types10 === void 0 ? void 0 : _data$item_types10.map(function (item) {
+ return item.item_type;
+ })) || []);
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ itemType = _step.value;
+ if (!nextItemTypes.includes(itemType)) {
+ deletedItemTypes.push(itemType);
+ }
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (!(urlParams.id && deletedItemTypes.length > 0)) {
+ _context9.next = 11;
+ break;
+ }
+ _context9.next = 8;
+ return deleteItem(urlParams.id, {
+ item_type: deletedItemTypes
+ });
+ case 8:
+ res = _context9.sent;
+ if (!(res.status !== 0)) {
+ _context9.next = 11;
+ break;
+ }
+ return _context9.abrupt("return");
+ case 11:
+ dispatch({
+ type: 'setQuestionType',
+ payload: selectedQuestionType
+ });
+ setCurrentItemType(nextState.item_types.length ? nextState.item_types[0].item_type : '');
+ setVisibleModalType('');
+ case 14:
+ case "end":
+ return _context9.stop();
+ }
+ }, _callee9);
+ }));
+ return function (_x6) {
+ return _ref11.apply(this, arguments);
+ };
+ }()
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(SetScoreModal, {
+ open: visibleModalType === 'setScore',
+ onCancel: function onCancel() {
+ setVisibleModalType('');
+ },
+ onOk: /*#__PURE__*/function () {
+ var _ref12 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10(newData) {
+ var scoreSettings, res, _res2;
+ return regeneratorRuntime_default()().wrap(function _callee10$(_context10) {
+ while (1) switch (_context10.prev = _context10.next) {
+ case 0:
+ scoreSettings = newData.item_types.map(function (item) {
+ return {
+ item_type: item.item_type,
+ score: item.score
+ };
+ });
+ if (!urlParams.id) {
+ _context10.next = 8;
+ break;
+ }
+ _context10.next = 4;
+ return setItemTypeScore(urlParams.id, {
+ score_settings: scoreSettings
+ });
+ case 4:
+ res = _context10.sent;
+ if (res.status === 0) {
+ // getData(urlParams.id)
+ dispatch({
+ type: 'init',
+ payload: newData
+ });
+ }
+ _context10.next = 12;
+ break;
+ case 8:
+ _context10.next = 10;
+ return setItemTypeScores(urlParams.categoryId, {
+ score_settings: scoreSettings
+ });
+ case 10:
+ _res2 = _context10.sent;
+ if (_res2.status === 0) {
+ // getData(urlParams.id)
+ dispatch({
+ type: 'init',
+ payload: newData
+ });
+ }
+ case 12:
+ setVisibleModalType('');
+ case 13:
+ case "end":
+ return _context10.stop();
+ }
+ }, _callee10);
+ }));
+ return function (_x7) {
+ return _ref12.apply(this, arguments);
+ };
+ }()
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(QuestionInfo_RuleModal, {
+ open: visibleModalType === 'rule',
+ onCancel: function onCancel() {
+ return setVisibleModalType('');
+ },
+ currentItemType: currentItemType,
+ setVisibleModalType: setVisibleModalType
+ }), searchParams.get('type') === 'settings' && /*#__PURE__*/(0,jsx_runtime.jsx)(QuestionInfo_SelectShixunModal, {
+ open: visibleModalType === 'selectShixun',
+ onCancel: function onCancel() {
+ return setVisibleModalType('');
+ },
+ onOk: function onOk(selectedRows) {
+ console.log(selectedRows);
+ dispatch({
+ type: 'addShixun',
+ payload: {
+ shixunList: toConsumableArray_default()(selectedRows)
+ }
+ });
+ setVisibleModalType('');
+ }
+ })]
+ });
+};
+/* harmony default export */ var Edit_QuestionInfo = (QuestionInfo);
+// EXTERNAL MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.tsx + 12 modules
+var StepPreview = __webpack_require__(7845);
+;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/index.tsx
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+var RandomPaperEdit = function RandomPaperEdit() {
+ var _data$exercise, _data$exercise2, _userInfo, _userInfo$course;
+ var _useState = (0,react.useState)('baseInfo'),
+ _useState2 = slicedToArray_default()(_useState, 2),
+ currentKey = _useState2[0],
+ setCurrentKey = _useState2[1];
+ var dvaDispatch = (0,_umi_production_exports.useDispatch)();
+ (0,react.useEffect)(function () {
+ dvaDispatch({
+ type: 'globalSetting/footerToggle',
+ payload: false
+ });
+ }, []);
+ var urlParams = (0,_umi_production_exports.useParams)();
+ var isEdit = !!(urlParams.id || urlParams.categoryId);
+ var _useSearchParams = (0,_umi_production_exports.useSearchParams)(),
+ _useSearchParams2 = slicedToArray_default()(_useSearchParams, 1),
+ searchParams = _useSearchParams2[0];
+ (0,react.useEffect)(function () {
+ if (searchParams.get('type') === 'settings') {
+ setCurrentKey('settings');
+ }
+ }, []);
+ var _useReducer = (0,react.useReducer)(reducer, null),
+ _useReducer2 = slicedToArray_default()(_useReducer, 2),
+ data = _useReducer2[0],
+ dispatch = _useReducer2[1];
+ var _useState3 = (0,react.useState)(false),
+ _useState4 = slicedToArray_default()(_useState3, 2),
+ loading = _useState4[0],
+ setLoading = _useState4[1];
+ var getData = /*#__PURE__*/function () {
+ var _ref = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
+ var res;
+ return regeneratorRuntime_default()().wrap(function _callee$(_context) {
+ while (1) switch (_context.prev = _context.next) {
+ case 0:
+ setLoading(true);
+ if (!urlParams.categoryId) {
+ _context.next = 7;
+ break;
+ }
+ _context.next = 4;
+ return getExerciseRandomExam(urlParams);
+ case 4:
+ res = _context.sent;
+ _context.next = 10;
+ break;
+ case 7:
+ _context.next = 9;
+ return getRandomExam(urlParams.id);
+ case 9:
+ res = _context.sent;
+ case 10:
+ setLoading(false);
+ if (res.status === 0) {
+ dispatch({
+ type: 'init',
+ payload: res
+ });
+ }
+ case 12:
+ case "end":
+ return _context.stop();
+ }
+ }, _callee);
+ }));
+ return function getData() {
+ return _ref.apply(this, arguments);
+ };
+ }();
+ (0,react.useEffect)(function () {
+ //试卷库和课堂试卷编辑
+ if (isEdit) {
+ getData();
+ } else {
+ dispatch({
+ type: 'init',
+ payload: {
+ examination_bank: {
+ difficulty: 2
+ }
+ }
+ });
+ }
+ }, [urlParams]);
+ var handlePreview = /*#__PURE__*/function () {
+ var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(record, other) {
+ var _data$item_types;
+ var new_item_types, body, _res, _clonePreviewData$que, clonePreviewData, _res2, _clonePreviewData$que2, _clonePreviewData, res, _data$item_types2, paperData, sortList;
+ return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
+ while (1) switch (_context2.prev = _context2.next) {
+ case 0:
+ new_item_types = data === null || data === void 0 ? void 0 : (_data$item_types = data.item_types) === null || _data$item_types === void 0 ? void 0 : _data$item_types.filter(function (e) {
+ var _e$item_type;
+ return (e === null || e === void 0 ? void 0 : (_e$item_type = e.item_type) === null || _e$item_type === void 0 ? void 0 : _e$item_type.toUpperCase()) === (other === null || other === void 0 ? void 0 : other.type);
+ });
+ body = {
+ sort_by_item_type: data.sort_by_item_type,
+ difficulty: data.examination_bank.difficulty,
+ exam_notes: data.examination_bank.exam_notes,
+ name: data.examination_bank.name,
+ time: data.examination_bank.time,
+ item_types: data.item_types
+ }; //随机换一题
+ if (!(record !== undefined && !(record !== null && record !== void 0 && record.single_question_id))) {
+ _context2.next = 10;
+ break;
+ }
+ body.seleted_item_bank_ids = record === null || record === void 0 ? void 0 : record.seleted_item_bank_ids;
+ body.item_types = new_item_types;
+ _context2.next = 7;
+ return toggleRandomQuestions(body);
+ case 7:
+ _res = _context2.sent;
+ if ((_res === null || _res === void 0 ? void 0 : _res.status) === 0) {
+ clonePreviewData = (0,lodash.cloneDeep)(preview.data);
+ clonePreviewData.questionList = clonePreviewData === null || clonePreviewData === void 0 ? void 0 : (_clonePreviewData$que = clonePreviewData.questionList) === null || _clonePreviewData$que === void 0 ? void 0 : _clonePreviewData$que.map(function (e) {
+ if (e.type === other.type) {
+ var _res$questions;
+ return objectSpread2_default()(objectSpread2_default()({}, e), {}, {
+ questions: (_res === null || _res === void 0 ? void 0 : (_res$questions = _res.questions) === null || _res$questions === void 0 ? void 0 : _res$questions.questions) || []
+ });
+ }
+ return e;
+ });
+ setPreview({
+ show: true,
+ data: clonePreviewData
+ });
+ }
+ return _context2.abrupt("return");
+ case 10:
+ if (!(record !== undefined && record !== null && record !== void 0 && record.single_question_id)) {
+ _context2.next = 19;
+ break;
+ }
+ body.seleted_item_bank_ids = record === null || record === void 0 ? void 0 : record.seleted_item_bank_ids;
+ body.single_question_id = record === null || record === void 0 ? void 0 : record.single_question_id;
+ body.item_types = new_item_types;
+ _context2.next = 16;
+ return toggleRandomQuestions(body);
+ case 16:
+ _res2 = _context2.sent;
+ if ((_res2 === null || _res2 === void 0 ? void 0 : _res2.status) === 0) {
+ _clonePreviewData = (0,lodash.cloneDeep)(preview.data);
+ _clonePreviewData.questionList = _clonePreviewData === null || _clonePreviewData === void 0 ? void 0 : (_clonePreviewData$que2 = _clonePreviewData.questionList) === null || _clonePreviewData$que2 === void 0 ? void 0 : _clonePreviewData$que2.map(function (e) {
+ if (e.type === other.type) {
+ var _res2$questions, _res2$questions$quest;
+ var new_questions = (0,lodash.cloneDeep)(e === null || e === void 0 ? void 0 : e.questions);
+ new_questions.splice(other.index, 1, _res2 === null || _res2 === void 0 ? void 0 : (_res2$questions = _res2.questions) === null || _res2$questions === void 0 ? void 0 : (_res2$questions$quest = _res2$questions.questions) === null || _res2$questions$quest === void 0 ? void 0 : _res2$questions$quest[0]);
+ console.log(e === null || e === void 0 ? void 0 : e.questions, new_questions, other.index, 'new_questions');
+ return objectSpread2_default()(objectSpread2_default()({}, e), {}, {
+ questions: new_questions
+ });
+ }
+ return e;
+ });
+ setPreview({
+ show: true,
+ data: _clonePreviewData
+ });
+ }
+ return _context2.abrupt("return");
+ case 19:
+ _context2.next = 21;
+ return previewRandomPaper(body);
+ case 21:
+ res = _context2.sent;
+ if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
+ paperData = (0,utils_util/* formatRandomPaperData */.ad)(res);
+ sortList = [];
+ data === null || data === void 0 ? void 0 : (_data$item_types2 = data.item_types) === null || _data$item_types2 === void 0 ? void 0 : _data$item_types2.forEach(function (e) {
+ var _paperData$questionLi;
+ var param = paperData === null || paperData === void 0 ? void 0 : (_paperData$questionLi = paperData.questionList) === null || _paperData$questionLi === void 0 ? void 0 : _paperData$questionLi.find(function (k) {
+ return e.item_type === k.type;
+ });
+ sortList.push(param);
+ });
+ console.log(data, 'sortList');
+ sortList = (0,lodash.compact)(sortList);
+ paperData.questionList = sortList;
+ setPreview({
+ show: true,
+ data: paperData
+ });
+ }
+ case 23:
+ case "end":
+ return _context2.stop();
+ }
+ }, _callee2);
+ }));
+ return function handlePreview(_x, _x2) {
+ return _ref2.apply(this, arguments);
+ };
+ }();
+ var handleTypeScore = function handleTypeScore(item) {
+ var _clonePreviewData$que3;
+ var clonePreviewData = (0,lodash.cloneDeep)(preview.data);
+ clonePreviewData.questionList = clonePreviewData === null || clonePreviewData === void 0 ? void 0 : (_clonePreviewData$que3 = clonePreviewData.questionList) === null || _clonePreviewData$que3 === void 0 ? void 0 : _clonePreviewData$que3.map(function (e) {
+ if (e.type === item.type) {
+ return objectSpread2_default()(objectSpread2_default()({}, e), {}, {
+ questions_score: item.scoreTotal
+ });
+ }
+ return e;
+ });
+ dispatch({
+ type: 'changeQuestionScore',
+ payload: {
+ score: item.score,
+ itemType: item.type
+ }
+ });
+ setPreview({
+ show: true,
+ data: clonePreviewData
+ });
+ };
+ var handleSubmit = /*#__PURE__*/function () {
+ var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(record) {
+ var body, _res3, res;
+ return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
+ while (1) switch (_context3.prev = _context3.next) {
+ case 0:
+ body = {
+ sort_by_item_type: data.sort_by_item_type,
+ difficulty: data.examination_bank.difficulty,
+ exam_notes: data.examination_bank.exam_notes,
+ name: data.examination_bank.name,
+ time: data.examination_bank.time,
+ item_types: data.item_types,
+ sub_discipline_id: data.examination_bank.sub_discipline_id
+ };
+ if (!record) {
+ _context3.next = 7;
+ break;
+ }
+ _context3.next = 4;
+ return saveQuestionList(objectSpread2_default()(objectSpread2_default()({}, body), record));
+ case 4:
+ _res3 = _context3.sent;
+ if (_res3.status === 0) {
+ message/* default.success */.ZP.success("保存成功");
+ }
+ return _context3.abrupt("return");
+ case 7:
+ _context3.next = 9;
+ return updateRandomExam(urlParams.id, body);
+ case 9:
+ res = _context3.sent;
+ if (res.status === 0) {
+ message/* default.success */.ZP.success('提交成功');
+ _umi_production_exports.history.push("/paperlibrary?defaultActiveKey=0");
+ }
+ case 11:
+ case "end":
+ return _context3.stop();
+ }
+ }, _callee3);
+ }));
+ return function handleSubmit(_x3) {
+ return _ref3.apply(this, arguments);
+ };
+ }();
+ var courseOptions = useCourseOptions();
+ var _Form$useForm = es_form/* default.useForm */.Z.useForm(),
+ _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
+ baseInfoForm = _Form$useForm2[0];
+ var _useState5 = (0,react.useState)({
+ show: false,
+ data: {}
+ }),
+ _useState6 = slicedToArray_default()(_useState5, 2),
+ preview = _useState6[0],
+ setPreview = _useState6[1];
+ var disabled = !!(data !== null && data !== void 0 && (_data$exercise = data.exercise) !== null && _data$exercise !== void 0 && _data$exercise.exercise_status) && (data === null || data === void 0 ? void 0 : (_data$exercise2 = data.exercise) === null || _data$exercise2 === void 0 ? void 0 : _data$exercise2.exercise_status) !== 1;
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(DataContext.Provider, {
+ value: {
+ data: data,
+ disabled: disabled,
+ dispatch: dispatch,
+ setPreview: setPreview,
+ getData: getData,
+ handlePreview: handlePreview
+ },
+ children: preview.show ? /*#__PURE__*/(0,jsx_runtime.jsx)(StepPreview/* default */.Z, {
+ data: preview.data,
+ onExchange: handlePreview,
+ onTypeScore: handleTypeScore,
+ submit: handleSubmit,
+ goBack: function goBack() {
+ return setPreview({
+ show: false,
+ data: {}
+ });
+ }
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ className: Editmodules.wrapper,
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ className: "edu-container",
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z, {
+ className: Editmodules.breadCrumbWrapper,
+ separator: ">",
+ items: urlParams !== null && urlParams !== void 0 && urlParams.categoryId ? [{
+ title: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
+ to: "/classrooms/".concat(urlParams.coursesId, "/exercise"),
+ children: (_userInfo = (0,authority/* userInfo */.eY)()) === null || _userInfo === void 0 ? void 0 : (_userInfo$course = _userInfo.course) === null || _userInfo$course === void 0 ? void 0 : _userInfo$course.course_name
+ })
+ }, {
+ title: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
+ to: "/classrooms/".concat(urlParams.coursesId, "/exercise"),
+ children: "\u8BD5\u5377\u5217\u8868"
+ })
+ }, {
+ title: '编辑试卷'
+ }] : [{
+ title: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
+ to: "/paperlibrary",
+ children: "\u8BD5\u5377\u5E93"
+ })
+ }, {
+ title: '随机组卷'
+ }]
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(PaperTab, {
+ activeKey: currentKey
+ // className='mb20'
+ ,
+ tabs: [{
+ key: 'baseInfo',
+ label: '试卷基础信息'
+ }, {
+ key: 'settings',
+ label: '组卷配置'
+ }],
+ onChange: /*#__PURE__*/function () {
+ var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(key) {
+ var res;
+ return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
+ while (1) switch (_context4.prev = _context4.next) {
+ case 0:
+ if (!(key === 'settings')) {
+ _context4.next = 8;
+ break;
+ }
+ _context4.next = 3;
+ return baseInfoForm.validateFields();
+ case 3:
+ if (isEdit) {
+ _context4.next = 8;
+ break;
+ }
+ _context4.next = 6;
+ return createRandomExam(data);
+ case 6:
+ res = _context4.sent;
+ if (res.status === 0) {
+ _umi_production_exports.history.replace("/randompaper/edit/".concat(res === null || res === void 0 ? void 0 : res.examination_bank_id, "?type=settings"));
+ }
+ case 8:
+ setCurrentKey(key);
+ case 9:
+ case "end":
+ return _context4.stop();
+ }
+ }, _callee4);
+ }));
+ return function (_x4) {
+ return _ref4.apply(this, arguments);
+ };
+ }()
+ }), currentKey === 'baseInfo' && /*#__PURE__*/(0,jsx_runtime.jsx)(Edit_BaseInfo, {
+ courseOptions: courseOptions,
+ setCurrentKey: setCurrentKey,
+ loading: loading,
+ form: baseInfoForm
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ style: {
+ display: currentKey === 'settings' ? 'block' : 'none'
+ },
+ children: data && /*#__PURE__*/(0,jsx_runtime.jsx)(Edit_QuestionInfo, {})
+ })]
+ })
+ })
+ });
+};
+/* harmony default export */ var Edit = (RandomPaperEdit);
+
+/***/ }),
+
+/***/ 83018:
+/*!*********************************************!*\
+ !*** ./src/utils/hooks/useCustomRequest.ts ***!
+ \*********************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+/* 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];
+}
+
+
+/***/ }),
+
+/***/ 4977:
+/*!********************************************!*\
+ !*** ./src/assets/images/icons/nodata.png ***!
+ \********************************************/
+/***/ (function(module) {
+
+module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2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ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg==";
+
+/***/ }),
+
+/***/ 73631:
+/*!********************************************************!*\
+ !*** ./src/assets/images/problemset/folder-closed.png ***!
+ \********************************************************/
+/***/ (function(module) {
+
+module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPcBeocMk1Cv00oii5L+fgPwcR/zHfb3AJY2sEpUVLOUhB/l+w7I1iS9TYDFrM3AzhqGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII=";
+
+/***/ }),
+
+/***/ 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";
+
+/***/ }),
+
+/***/ 96908:
+/*!**************************************************************************!*\
+ !*** ./src/components/ui-customization/Cards/ShixunList/img/Jupyter.png ***!
+ \**************************************************************************/
+/***/ (function(module) {
+
+module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhO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dyypaguATHhbJvg1UPR9FN3x7WxjbYsc/ezSqRwkA9b4QclqE8aiEJeH/5UseQITs5F81X/+tQSPa6g73f0zHpPaqUhMa3VrppDRMkNxscKQzU8wDZo7q6+zSmtFGntN6GcwOECwM5gOw+fd6lNW31QG6lADLytTHhwkAOILt0N3cv5XZWe6gXZNqhEGEgB5B2jOfw2LLAvmad3bX2pu1QYSAHkLZM7TDZsYD4NDn2YpJeccHCQA4g7Vja4bFtgeJ6D5WNNqdtcXD8TgM5gLRtaofRjgWa3LC9yl5M0jtK+p0GcgBpx8oOT1QWyKt209Aa2ds2hbpczM7Iwrvr4AAyKlM7zHYsEKVz0+5uIAeQdizs8Ni2gIyL8icxSbeNnZv9go0wkANI26Z2GKOxwJ56D+VRODdmGMgBZDRWdnhtW6C6WWeX/Zjk/jDQ/wHkSLPJ/mcrgQAAAABJRU5ErkJggg==";
+
+/***/ }),
+
+/***/ 57177:
+/*!*****************************************************************************!*\
+ !*** ./src/components/ui-customization/Cards/ShixunList/img/JupyterLab.png ***!
+ \*****************************************************************************/
+/***/ (function(module) {
+
+module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANQAAAA8CAYAAAAeyZT3AAAAAXNSR0IArs4c6QAAEpJJREFUeF7tXQeYFdUV/mcbS1F6UUEsoLC7IGKNJWpERbEgSoxGo7HEQFDRWCAGgdASNBbEhglqsC1rAxVBNGg0qNgLsJRddmFhe3vby3uT7393ZmfeezOv7M57W3LP9/EtM3Pn3DPn3n/uvf85c58CKdID0gOOeUBxTJNUJD0gPQAJKNkJpAcc9EALoNRpCaqt3rh4QIkDvH/jxV/zuZZjrVy8uRzvSzDdrx3HxWnnEnz1eevhOf/79HpNdrAs6wrQr9VvtiMc+/kc0HSan9Nrq8Uzt9hquuZjv8kPev26r8x16X5VPYDHDYT7Vy/L8vo94d7P8u5mcV+w+1U34GEZ7a+5Tg/vV31tbrmu36ff23JcB9VdBo9a5v2rekq14/1wN30GNXGzctPKKgf7eExVKUGBp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obXDdxNpYCQe2F/tQXl96J+PUoD30jJwUdDZe7vsehTJ00Za1skpH4O6DO5SMu4CNj0eqTWyfCfwQF0zkFUR3qf3oWj0rjdCHZJqxE0YczF/PRpJ4zJyf+l8b3ayV5jrZ7W/RSQ6ZdkO6QGyfTvL3Giyye0zGx2KRu96gOqQTSaN6ugeKKpTUVQTBjkRgkaXgOroLS3ti4kH+L3hjjICKvS22cFodAmomDSXrKQzeGBPpQc1Nl/yBthvQ6NLQHWGlpY2xsQDFQ0q8qrCm/bZ0egSUDFpKllJZ/AAOYnM8GJS3sexotEloDpDS0sbY+aBAzUelNWFjknpBvnT6BJQMWsqWVFn8EC9G9hdHl5MyjtK+WWjS0B1hlaWNsbUA9mVbtQ2hWb7TKPU7anp8Eb9JaBi2lSyss7ggQjJCZ+90SWgOkMLSxtj5gGOS/zHmJQ7jMyJFsM0Gl0CKmZNJSvqTB4oqPGgJAJyQqfRJaA6UytLW2PmgcoGFfvCj0m10Oj/A9jGm+feuyEMAAAAAElFTkSuQmCC";
+
+/***/ }),
+
+/***/ 81378:
+/*!************************************************************************!*\
+ !*** ./src/components/ui-customization/Cards/ShixunList/img/unity.png ***!
+ \************************************************************************/
+/***/ (function(module) {
+
+module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAAA8CAYAAADGxTD9AAAAAXNSR0IArs4c6QAAFoFJREFUeF7tXQl4k1W6fv8sTbqvlJa2tJSy74ugsiMqq4AKIlDUueNwR2dGHR0XdLwixW3uuF6Xq3O9o15nxuUiIIsCsijK1pa20NJ937eke5tmmec7f/40TfInaUNK6+R7nj5Jk7Of93z/t55w8JBnBYbwCnBDeOyeoXtWAB4Ae0AwpFeA+1SWbbA1A07KQSID6JWT0ivAyThIpBwgBSQy4+fCq0T4jANnrEdlWFkpjK/0ndAetd/znpMaTO0LZcz74tsxti0xjqVXfeNYZcZyxvHSuK3GbDYX03iMbbLy5nOz+pzGbGDrwpfj52DQG2DQAwad8Gcwvudf9ToDQN/p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Kzv/AzX70/fxN4ToYFL0XdBk3rJBThvy/rnzMhT62TNyahTpMtFhsO1OF9aEfsYgHKFTfoeVDh8PbuHANJCJj4ewC0QIGOQgEMvh6i+IKw609hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=";
+
+/***/ })
+
+}]);
\ No newline at end of file
diff --git a/p__Paperlibrary__Random__Edit__index.chunk.css b/p__Paperlibrary__Random__Edit__index.chunk.css
new file mode 100644
index 0000000000..0707f6f926
--- /dev/null
+++ b/p__Paperlibrary__Random__Edit__index.chunk.css
@@ -0,0 +1,3637 @@
+/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** 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/Edit/index.less?modules ***!
+ \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.wrapper___KtBVT {
+ background-color: #fff;
+ min-height: calc(100vh - 72px);
+}
+.wrapper___KtBVT .breadCrumbWrapper___k9tSB {
+ padding-top: 15px;
+ margin-bottom: 20px;
+}
+.baseInfo____j5EY {
+ box-shadow: 0px 2px 4px 0px #EAEEF4;
+ padding: 20px 120px 200px;
+ min-height: calc(100vh - 200px);
+}
+.baseInfo____j5EY .radioBtnWrapper___k9OCh .radiogroup___e2fW6 label[class~='ant-radio-button-wrapper'] {
+ width: 60px;
+ height: 38px;
+ background: #F6F7F9;
+ box-shadow: inset 0px 1px 3px 0px #D7D8D9;
+ border-radius: 23px;
+ border: none;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ margin-right: 20px;
+}
+.baseInfo____j5EY .radioBtnWrapper___k9OCh .radiogroup___e2fW6 label[class~='ant-radio-button-wrapper']::before {
+ background-color: transparent;
+}
+.baseInfo____j5EY .radioBtnWrapper___k9OCh .radiogroup___e2fW6 label[class~='ant-radio-button-wrapper'] span {
+ color: #464F66;
+}
+.baseInfo____j5EY .radioBtnWrapper___k9OCh .radiogroup___e2fW6 label[class~='ant-radio-button-wrapper-checked'] {
+ background-color: #fff;
+ box-shadow: 0px 2px 4px 0px #E0DFE1;
+}
+.baseInfo____j5EY .radioBtnWrapper___k9OCh .radiogroup___e2fW6 label[class~='ant-radio-button-wrapper-checked']:first-child {
+ border-right-color: transparent;
+}
+.baseInfo____j5EY .radioBtnWrapper___k9OCh .radiogroup___e2fW6 label[class~='ant-radio-button-wrapper-checked']:focus-within {
+ box-shadow: 0px 2px 4px 0px #E0DFE1;
+}
+.baseInfo____j5EY .radioBtnWrapper___k9OCh .radiogroup___e2fW6 label[class~='ant-radio-button-wrapper-checked'].easy___WcUAp {
+ border: 1px solid #C1E7CB;
+ background: linear-gradient(180deg, #FFFFFF 0%, #F9FFF4 100%);
+}
+.baseInfo____j5EY .radioBtnWrapper___k9OCh .radiogroup___e2fW6 label[class~='ant-radio-button-wrapper-checked'].easy___WcUAp span {
+ color: #46B70E;
+}
+.baseInfo____j5EY .radioBtnWrapper___k9OCh .radiogroup___e2fW6 label[class~='ant-radio-button-wrapper-checked'].medium___U_o3j {
+ border: 1px solid #BACFFE;
+ background: #D3E0FD linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
+}
+.baseInfo____j5EY .radioBtnWrapper___k9OCh .radiogroup___e2fW6 label[class~='ant-radio-button-wrapper-checked'].medium___U_o3j span {
+ color: #165DFF;
+}
+.baseInfo____j5EY .radioBtnWrapper___k9OCh .radiogroup___e2fW6 label[class~='ant-radio-button-wrapper-checked'].hard___dAXLS {
+ border: 1px solid #F8C8A8;
+ background: linear-gradient(180deg, #FFFFFF 0%, #FFF7F3 100%);
+}
+.baseInfo____j5EY .radioBtnWrapper___k9OCh .radiogroup___e2fW6 label[class~='ant-radio-button-wrapper-checked'].hard___dAXLS span {
+ color: #EE6F1A;
+}
+.fixedBottom___liDZ4 {
+ height: 64px;
+ background: #fff;
+ box-shadow: 0px -2px 4px 0px #E0DFE1;
+ width: 100%;
+ left: 0px;
+ bottom: 0px;
+ position: fixed;
+ align-items: center;
+ justify-content: center;
+ display: flex;
+}
+.fixedBottom___liDZ4 .cancelBtn___ZV9Mi {
+ border: 1px solid #BACFFE;
+ height: 38px;
+ width: 60px;
+ color: #3061D0;
+ background-color: transparent;
+ text-shadow: none;
+}
+.fixedBottom___liDZ4 .confirmBtn___DwH6m {
+ height: 38px;
+ width: 126px;
+ background: #3061D0;
+ color: #fff;
+ border: none;
+ text-shadow: none;
+}
+.fixedBottom___liDZ4 .previewBtn___aLYCy {
+ border: 1px solid #BACFFE;
+ height: 38px;
+ width: 88px;
+ color: #3061D0;
+ background-color: transparent;
+ text-shadow: none;
+}
+
+/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** 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/ExerciseComponents/index.less?modules ***!
+ \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.digitalLabel___hkWuZ {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 20px;
+ height: 20px;
+ background: #F6F7F9;
+ box-shadow: inset 0px 1px 3px 0px #D7D8D9;
+ border-radius: 50%;
+ font-size: 12px;
+ font-weight: 600;
+ color: #464F66;
+}
+.digitalLabel___hkWuZ.active___jawU1 {
+ background: #3061D0;
+ color: #fff;
+ box-shadow: 0px 2px 4px 0px #E0DFE1;
+}
+.titleEditor___wX1lW .title___SuT2h {
+ font-size: 16px;
+ font-weight: 600;
+ color: #000000;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+.titleEditor___wX1lW .title___SuT2h .editIcon___XrTIi {
+ cursor: pointer;
+ font-size: 20px;
+ color: #7AAC9A;
+ margin-left: 10px;
+}
+.titleEditor___wX1lW .title___SuT2h .editIcon___XrTIi:hover {
+ color: #3061D0;
+}
+.paperTab___GUxeB .tabItem___or0fY {
+ display: flex;
+ align-items: center;
+ color: #464F66;
+ font-size: 16px;
+ cursor: pointer;
+}
+.paperTab___GUxeB .tabItem___or0fY.active___jawU1 {
+ color: #3061D0;
+}
+.paperTab___GUxeB .dottedLine___Ln0Xr {
+ height: 1px;
+ border: 1px dotted #9096A3;
+}
+
+/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** 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/Edit/QuestionInfo/index.less?modules ***!
+ \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___NXYwj {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___Oy2UZ {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___ybBar {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___yyQPf {
+ 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____kuXY {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.questionInfo___U9mnu {
+ padding-top: 20px;
+ min-height: calc(100vh - 200px);
+ box-shadow: 0px 2px 4px 0px #EAEEF4;
+}
+.questionInfo___U9mnu .label___PP7Ng {
+ margin-right: 8px;
+ font-size: 14px;
+ color: #5F6368;
+}
+.questionInfo___U9mnu .content___PUXFl {
+ border-top: 1px solid #DCDCDC;
+}
+.questionInfo___U9mnu .content___PUXFl .leftPart___uoQeo {
+ background-color: #F6F7F9;
+ min-height: calc(100vh - 330px);
+ max-height: calc(100vh - 162px);
+ padding-top: 15px;
+ height: calc(100vh - 330px);
+ overflow: auto;
+}
+.questionInfo___U9mnu .content___PUXFl .rightPart___mCG7H {
+ padding: 40px 40px 100px 40px;
+}
+.questionInfo___U9mnu .dragItem___djmPG {
+ margin-bottom: 24px;
+ padding-left: 15px;
+ height: 32px;
+}
+.questionInfo___U9mnu .dragItem___djmPG .blackText___KqEaU {
+ color: #000;
+}
+.questionInfo___U9mnu .dragItem___djmPG .greyText___VamKm {
+ color: #464F66;
+}
+.questionInfo___U9mnu .dragItem___djmPG .iconWrapper___o1C0y {
+ display: none;
+}
+.questionInfo___U9mnu .dragItem___djmPG .contentArea___Fj7D0 {
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+}
+.questionInfo___U9mnu .dragItem___djmPG:hover {
+ background-color: #E1E2E4;
+ cursor: pointer;
+}
+.questionInfo___U9mnu .dragItem___djmPG:hover.dragging___mX3Il {
+ background-color: transparent;
+ cursor: -webkit-grab;
+ cursor: grab;
+}
+.questionInfo___U9mnu .dragItem___djmPG:hover .iconWrapper___o1C0y {
+ background-color: #fff;
+ height: 100%;
+ width: 28px;
+ border-radius: 2px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+.questionInfo___U9mnu .dragItem___djmPG:hover .iconWrapper___o1C0y.hidden___KWDLK {
+ display: none;
+}
+.questionInfo___U9mnu .dragItem___djmPG:hover .iconWrapper___o1C0y .dragIcon___yPuB3 {
+ font-size: 12px;
+ color: #3061D0;
+}
+.questionInfo___U9mnu .dragItem___djmPG:hover .iconWrapper___o1C0y .deleteIcon___go29y {
+ font-size: 12px;
+ color: #F65160;
+}
+.questionInfo___U9mnu .dragItem___djmPG:hover .iconWrapper___o1C0y .disabled___uSK9k {
+ cursor: not-allowed;
+}
+.questionInfo___U9mnu .dragItem___djmPG:hover .contentArea___Fj7D0 {
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+}
+.challengeNameWrapper___DFjRy {
+ margin-bottom: 6px;
+ max-height: 400px;
+ overflow: auto;
+}
+.challengeName___m7v0x {
+ font-size: 14px;
+ color: rgba(0, 0, 0, 0.9);
+ margin-bottom: 16px;
+}
+.shixunPreviewFooter___iaciG {
+ background: #F6F7F9;
+ padding: 14px 30px 14px 20px;
+ margin-bottom: 25px;
+}
+.shixunPreviewFooter___iaciG .shixunInfoWrapper___aSihg {
+ font-size: 14px;
+ color: rgba(0, 0, 0, 0.9);
+}
+.shixunPreviewFooter___iaciG .shixunInfoWrapper___aSihg .shixunInfo___WYBm1 {
+ margin-left: 14px;
+ margin-right: 50px;
+}
+.shixunPreviewFooter___iaciG .btnToDetail___WVmtj {
+ border-radius: 16px;
+ border: none;
+ box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
+}
+.shixunPreviewFooter___iaciG .btnToDetail___WVmtj i {
+ margin-right: 6px;
+}
+.fixedBottom___oeMSX {
+ height: 64px;
+ background: #fff;
+ box-shadow: 0px -2px 4px 0px #E0DFE1;
+ width: 100%;
+ left: 0px;
+ bottom: 0px;
+ position: fixed;
+ align-items: center;
+ justify-content: center;
+ display: flex;
+}
+.fixedBottom___oeMSX .cancelBtn___ac73V {
+ border: 1px solid #BACFFE;
+ height: 38px;
+ width: 60px;
+ color: #3061D0;
+ background-color: transparent;
+ text-shadow: none;
+}
+.fixedBottom___oeMSX .confirmBtn___sYh2O {
+ height: 38px;
+ min-width: 106px;
+ background: #3061D0;
+ color: #fff;
+ border: none;
+ text-shadow: none;
+}
+.fixedBottom___oeMSX .previewBtn___c2uQz {
+ border: 1px solid #BACFFE;
+ height: 38px;
+ min-width: 88px;
+ color: #3061D0;
+ background-color: transparent;
+ text-shadow: none;
+}
+.setScoreModalTitle___ADafj {
+ padding-right: 120px;
+}
+.setScoreModalTitle___ADafj .modalTitle___t821D {
+ font-size: 16px;
+ font-weight: 500;
+ color: #000000;
+}
+.setScoreModalTitle___ADafj .scoreText___M3UUZ {
+ font-size: 16px;
+ color: #3061D0;
+ font-weight: 600;
+}
+
+/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/Banner/index.less?modules ***!
+ \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___NeSU8 {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___ImTGl {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___BtRd9 {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___qcLe3 {
+ 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___Ze_3q {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.banner___PoUBO {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+.banner___PoUBO .content___XoDjy {
+ width: 1200px;
+ height: 212px;
+ display: flex;
+ align-items: flex-start;
+ justify-content: space-between;
+}
+.banner___PoUBO .content___XoDjy aside {
+ margin-top: 56px;
+}
+.banner___PoUBO .content___XoDjy aside p {
+ display: flex;
+ align-items: center;
+}
+.banner___PoUBO .content___XoDjy aside p b {
+ font-size: 30px;
+ font-weight: 500;
+ color: #000000;
+ letter-spacing: 4px;
+ margin-right: 20px;
+}
+.banner___PoUBO .content___XoDjy aside p span {
+ font-size: 16px;
+ color: #000000;
+ letter-spacing: 4px;
+}
+.banner___PoUBO .content___XoDjy aside .btns___Pb35j {
+ margin-top: 35px;
+}
+.banner___PoUBO .content___XoDjy aside .btns___Pb35j > div {
+ display: inline-block;
+ height: 32px;
+ background: #f6f7f9;
+ box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
+ border-radius: 4px;
+ border: 1px solid #dadbde;
+ font-size: 14px;
+ color: #3b3e47;
+ line-height: 30px;
+ margin-right: 23px;
+ padding: 0 16px;
+ position: relative;
+ cursor: pointer;
+}
+.banner___PoUBO .content___XoDjy aside .btns___Pb35j > div:hover {
+ color: #165dff;
+ border: 1px solid #bacffe;
+}
+.banner___PoUBO .content___XoDjy aside .btns___Pb35j > div img {
+ position: absolute;
+ z-index: 1;
+ top: -21px;
+ right: 22px;
+}
+
+/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/CustomTags/index.less?modules ***!
+ \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___hG6RI {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___ss3Fh {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___K80p9 {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___qmXX3 {
+ 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___GFV8F {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.row___aXJjm {
+ display: flex;
+ align-items: flex-start;
+ justify-content: flex-start;
+}
+.row___aXJjm .title___HUKL0 {
+ font-size: 14px;
+ color: #9096a3;
+ flex-shrink: 0;
+ width: 41px;
+ text-align-last: justify;
+ margin-top: 4px;
+ margin-right: 12px;
+}
+.row___aXJjm .tagsWrap___XB2W3 {
+ flex: 1 1;
+ position: relative;
+}
+.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1 {
+ font-size: 14px;
+ color: #82a8ff;
+ width: 55px;
+ position: absolute;
+ z-index: 2;
+ bottom: 20px;
+ right: 0px;
+ cursor: pointer;
+}
+.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1 i {
+ display: inline-block;
+ font-size: 12px;
+}
+.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC {
+ max-height: 245px;
+ overflow: hidden;
+}
+.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft > span {
+ display: inline-flex;
+ align-items: center;
+ margin-left: 8px;
+ margin-bottom: 17px;
+ font-size: 14px;
+ cursor: pointer;
+ padding: 4px 12px;
+}
+.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft > span .name___Hk1Ip {
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ max-width: 600px;
+ display: inline-block;
+}
+.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft > span .num___xQpcH {
+ margin-left: 3px;
+}
+.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft > span:hover {
+ color: #165dff !important;
+}
+.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft .active___XryTX {
+ color: #165dff !important;
+ border-radius: 2px;
+ background: #f6f7f9;
+}
+.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-thumb {
+ background: rgba(0, 0, 0, 0.05) !important;
+ border-radius: 3px;
+}
+.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-track {
+ background-color: #f6f7f9 !important;
+ box-shadow: none !important;
+ box-shadow: initial !important;
+}
+.row___aXJjm .tagsBorderWrap___OMxjs .bar___t1kKC {
+ padding-top: 8px;
+ border-radius: 4px;
+ border: 1px solid rgba(219, 220, 224, 0.5);
+}
+
+/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/SuperiorTabs/index.less?modules ***!
+ \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___aK2n3 {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___HX0Oh {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___LJOJr {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___SCakF {
+ 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___AYv4m {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.tabs___GTqPV {
+ height: 32px;
+ background: #f6f7f9;
+ box-shadow: inset 0px 1px 3px 0px #d7d8d9;
+ border-radius: 16px;
+ display: inline-block;
+}
+.tabs___GTqPV span {
+ display: inline-block;
+ padding: 0 20px;
+ line-height: 32px;
+ font-size: 14px;
+ font-weight: 400;
+ color: #9096a3;
+ position: relative;
+ cursor: pointer;
+}
+.tabs___GTqPV span:hover {
+ color: #165dff;
+}
+.tabs___GTqPV span::after {
+ content: '';
+ position: absolute;
+ width: 1px;
+ height: calc(100% - 2px);
+ background: #e2e2e2;
+ border-radius: 4px;
+ z-index: 1;
+ left: 0;
+ top: 1px;
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #e2e2e2 50%, rgba(255, 255, 255, 0) 100%);
+}
+.tabs___GTqPV span:first-child::after,
+.tabs___GTqPV .active___F26E8 + span::after {
+ display: none;
+}
+.tabs___GTqPV .active___F26E8 {
+ background: linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
+ box-shadow: 0px 0px 2px 0px #e8effb;
+ border-radius: 16px;
+ border: 1px solid #c8d2ea;
+ color: #165dff;
+ line-height: 30px;
+}
+.tabs___GTqPV .active___F26E8::after {
+ display: none;
+}
+
+/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/CustomInput/index.less?modules ***!
+ \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___yX6Oa {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___t7oqF {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___dEIHy {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___taQDF {
+ 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___xY_Lr {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.input___PW2zI {
+ width: 507px;
+ height: 38px;
+ background: #f6f7f9;
+ border-radius: 19px;
+ display: flex;
+ align-items: center;
+ padding: 0 20px;
+}
+.input___PW2zI .dropdown___vSy8B {
+ position: relative;
+ flex-shrink: 0;
+}
+.input___PW2zI .dropdown___vSy8B:hover .menu___NiyBu {
+ display: block;
+}
+.input___PW2zI .dropdown___vSy8B .text___Grueu {
+ color: #000000;
+ font-size: 14px;
+ cursor: default;
+ height: 38px;
+ display: flex;
+ align-items: center;
+}
+.input___PW2zI .dropdown___vSy8B .text___Grueu i {
+ font-size: 12px;
+ display: inline-block;
+ transform: translateY(1px) scale(0.6);
+ color: #979797;
+}
+.input___PW2zI .dropdown___vSy8B .text___Grueu .b1___ZKryM {
+ display: inline-block;
+ width: 1px;
+ height: 38px;
+ margin-left: 15px;
+ margin-right: 0px;
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 50%, rgba(255, 255, 255, 0) 100%);
+}
+.input___PW2zI .dropdown___vSy8B .text___Grueu .b2___aKyGa {
+ display: inline-block;
+ width: 1px;
+ height: 38px;
+ margin-left: 0px;
+ margin-right: 8px;
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #e2e2e2 50%, rgba(255, 255, 255, 0) 100%);
+}
+.input___PW2zI .dropdown___vSy8B .menu___NiyBu {
+ display: none;
+ position: absolute;
+ z-index: 999;
+ width: auto;
+ left: -16px;
+ top: 35px;
+ padding: 4px;
+ background-color: #fff;
+ border-radius: 8px;
+ box-shadow: 0px 10px 16px 0px #cecece;
+}
+.input___PW2zI .dropdown___vSy8B .menu___NiyBu div {
+ clear: both;
+ margin: 0;
+ padding: 5px 12px;
+ color: rgba(0, 0, 0, 0.88);
+ font-weight: 400;
+ font-size: 14px;
+ text-align: left;
+ line-height: 1.57142857;
+ cursor: pointer;
+ transition: all 0.2s;
+ white-space: nowrap;
+}
+.input___PW2zI .dropdown___vSy8B .menu___NiyBu div:hover {
+ background-color: #f5f5f5;
+}
+.input___PW2zI > input {
+ flex: 1 1;
+ padding: 4px 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/components/ui-customization/QuickPager/index.less?modules ***!
+ \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___tol8o {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___Z235C {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___Wq1sZ {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___LLxom {
+ 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___DbMSN {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.quickPager___GM30J {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+.quickPager___GM30J > div {
+ width: 60px;
+ height: 28px;
+ line-height: 26px;
+ text-align: center;
+ background: #f8f9fc;
+ border-radius: 2px;
+ border: 1px solid rgba(195, 207, 224, 0.5);
+ font-size: 12px;
+ color: #464f66;
+ margin: 0 10px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ cursor: pointer;
+}
+.quickPager___GM30J > div:hover {
+ color: #165dff;
+}
+.quickPager___GM30J .disabled___Ozc8I {
+ background: #f3f3f5;
+ border: 0;
+ line-height: 28px;
+ cursor: not-allowed;
+ color: #cecece;
+}
+
+/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/Cards/ShixunList/index.less?modules ***!
+ \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___FO7TP {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___LotYx {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___bWdaw {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___mVJ1o {
+ 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___M83Mm {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.list___oOsiS {
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+ flex-wrap: wrap;
+ padding: 0;
+}
+.list___oOsiS .wrap___G6T7F {
+ height: 277px;
+ background: #ffffff;
+ box-shadow: 0px 2px 4px 0px #d6dae1;
+ border-radius: 8px;
+ position: relative;
+}
+.list___oOsiS .wrap___G6T7F .lockWrap___Rl79E {
+ position: absolute;
+ width: 100%;
+ left: 0px;
+ top: 0px;
+ background-color: rgba(0, 0, 0, 0.5);
+ height: 100%;
+ z-index: 10;
+ display: flex;
+ cursor: default;
+ justify-content: center;
+ align-items: center;
+ flex-direction: column;
+ border-radius: 8px;
+}
+.list___oOsiS .wrap___G6T7F .li___oZZ7l:hover .cover___b2bYW {
+ transform: scale(1.1);
+}
+.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w {
+ overflow: hidden;
+ height: calc(100% - 100px);
+ border-radius: 8px 8px 0 0;
+ position: relative;
+}
+.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .cover___b2bYW {
+ width: 100%;
+ transition: all 0.5s;
+}
+.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .sign___HkT6C {
+ position: absolute;
+ z-index: 1;
+ left: 0;
+ bottom: 0;
+ height: 30px;
+}
+.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8 {
+ height: 52px;
+ font-size: 16px;
+ font-weight: 600;
+ color: #000000;
+ padding: 0 12px;
+ width: 100%;
+ display: flex;
+ align-items: center;
+ padding-top: 30px;
+}
+.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8 .e___TMqq0 {
+ display: inline-block;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ max-width: 100%;
+}
+.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo {
+ height: 45px;
+ display: flex;
+ align-items: center;
+ color: #000f37;
+ padding: 0 12px;
+}
+.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo i {
+ color: #7d8592;
+}
+.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo > span {
+ margin-right: 5px;
+ font-size: 12px;
+}
+.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 {
+ display: flex;
+ align-items: center;
+ margin-left: auto;
+}
+.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~='ant-rate-star'] {
+ font-size: 13px;
+}
+.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~='ant-rate'] {
+ font-size: 12px;
+ margin-top: -3px;
+ color: #ffa100;
+}
+.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~='ant-rate-star']:not(:last-child) {
+ 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/components/ui-customization/Cards/CourseList/index.less?modules ***!
+ \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___AQ53o {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___i2aIa {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___sPEKB {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___GhSSH {
+ 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___R9_Hb {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.list___jb2Ay {
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+ flex-wrap: wrap;
+ padding: 0;
+}
+.list___jb2Ay .wrap___VsQDr {
+ height: 308px;
+ background: #ffffff;
+ box-shadow: 0px 2px 4px 0px #d6dae1;
+ border-radius: 8px;
+ position: relative;
+}
+.list___jb2Ay .wrap___VsQDr .lockWrap___g1k1T {
+ position: absolute;
+ width: 100%;
+ left: 0px;
+ top: 0px;
+ background-color: rgba(0, 0, 0, 0.5);
+ height: 100%;
+ z-index: 10;
+ display: flex;
+ cursor: default;
+ justify-content: center;
+ align-items: center;
+ border-radius: 8px;
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC:hover .cover___Mu8wr {
+ transform: scale(1.1);
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA {
+ overflow: hidden;
+ height: calc(100% - 131px);
+ border-radius: 8px 8px 0 0;
+ position: relative;
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .cover___Mu8wr {
+ width: 100%;
+ transition: all 0.5s;
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .sign___DXJ4d {
+ position: absolute;
+ z-index: 1;
+ right: 0;
+ top: 10px;
+ height: 30px;
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ {
+ height: 52px;
+ font-size: 16px;
+ font-weight: 600;
+ color: #000000;
+ padding: 0 12px;
+ width: 100%;
+ display: flex;
+ align-items: center;
+ padding-top: 30px;
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ .e___pXQUG {
+ display: inline-block;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ max-width: 100%;
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR {
+ font-size: 14px;
+ color: #000f37;
+ padding: 0px 12px;
+ margin-top: 8px;
+ display: inline-block;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ max-width: 100%;
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR i {
+ color: #7d8592;
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil {
+ height: 34px;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ color: #000f37;
+ padding: 0px 12px;
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div {
+ display: flex;
+ align-items: center;
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div > span {
+ margin-right: 12px;
+ font-size: 12px;
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div i {
+ color: #7d8592;
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag1___dxm7r,
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf {
+ height: 18px;
+ padding: 3px 6px;
+ font-size: 12px;
+ border-radius: 2px;
+ border: 1px solid #FFE6AB;
+ color: #CA7720;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-weight: 400;
+}
+.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf {
+ border: 1px solid #D6F7EF;
+ color: #01795d;
+ margin-left: 6px;
+}
+
+/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/Cards/ClassroomList/index.less?modules ***!
+ \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___eMcr7 {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___HcNca {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___ZnvVN {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___fdgDf {
+ 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___SEKvd {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.list___L1hmU {
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+ flex-wrap: wrap;
+ padding: 0;
+}
+.list___L1hmU .wrap___pKgcW {
+ height: 270px;
+ background: #ffffff;
+ box-shadow: 0px 1px 4px 0px #d6dae1;
+ border-radius: 8px;
+ position: relative;
+}
+.list___L1hmU .wrap___pKgcW:hover .lockWrap___SMhkK {
+ display: flex;
+}
+.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK {
+ position: absolute;
+ z-index: 10;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ background: rgba(0, 0, 0, 0.6);
+ box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
+ border-radius: 8px;
+ display: none;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div {
+ width: 116px;
+ height: 36px;
+ border-radius: 18px;
+ border: 1px solid #ffffff;
+ font-size: 14px;
+ font-weight: 600;
+ color: #ffffff;
+ line-height: 34px;
+ text-align: center;
+ margin: 10px 0;
+ cursor: pointer;
+}
+.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div:hover {
+ box-shadow: 0px 0px 4px 0px #4f85ff;
+ border: 1px solid #c2d3f8;
+}
+.list___L1hmU .wrap___pKgcW .top___udHSB {
+ height: calc(100% - 50px);
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: flex-start;
+ padding: 0 24px;
+ position: relative;
+}
+.list___L1hmU .wrap___pKgcW .top___udHSB .sign___uwRpq {
+ position: absolute;
+ z-index: 1;
+ width: 44px;
+ height: 22px;
+ background: #ffe9c1;
+ border-radius: 8px 0px 13px 0px;
+ left: 0;
+ top: 0;
+ color: #a45204;
+ text-align: center;
+ line-height: 22px;
+}
+.list___L1hmU .wrap___pKgcW .top___udHSB .name___Fpf90 {
+ font-weight: 600;
+ color: #333333;
+ margin-top: 25px;
+ font-size: 16px;
+ white-space: normal;
+ text-align: center;
+ -webkit-box-orient: vertical;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ overflow: hidden;
+ line-height: 26px;
+ height: 48px;
+}
+.list___L1hmU .wrap___pKgcW .top___udHSB .img___AMLhL {
+ width: 60px;
+ height: 60px;
+ border-radius: 30px;
+ margin-top: 14px;
+}
+.list___L1hmU .wrap___pKgcW .top___udHSB .text___KiTb7 {
+ font-size: 14px;
+ color: #333333;
+ margin-top: 8px;
+ width: 98%;
+ text-align: center;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+}
+.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ {
+ display: flex;
+ align-items: center;
+ margin-top: 12px;
+}
+.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ div {
+ width: 76px;
+ background: #ffffff;
+ height: 26px;
+ border-radius: 13px;
+ border: 1px solid #d6f7ef;
+ font-size: 14px;
+ color: #01795d;
+ line-height: 24px;
+ text-align: center;
+ margin: 0 10px;
+}
+.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ aside {
+ width: 76px;
+ background: #ffffff;
+ height: 26px;
+ border-radius: 13px;
+ border: 1px solid #ffe9c1;
+ font-size: 14px;
+ color: #a45204;
+ line-height: 24px;
+ text-align: center;
+ margin: 0 10px;
+}
+.list___L1hmU .wrap___pKgcW .bottom____k2sh {
+ height: 50px;
+ border-top: 1px solid #f5f5f5;
+ display: flex;
+ align-items: center;
+ padding: 0 12px;
+}
+.list___L1hmU .wrap___pKgcW .bottom____k2sh > div {
+ margin-left: auto;
+}
+.list___L1hmU .wrap___pKgcW .bottom____k2sh > span {
+ display: flex;
+ align-items: center;
+ margin-right: 12px;
+ color: #999999;
+}
+.list___L1hmU .wrap___pKgcW .bottom____k2sh > span i {
+ font-size: 14px;
+ font-size: 12px;
+ color: #999999;
+ margin-right: 6px;
+}
+
+/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/CustomTabs/index.less?modules ***!
+ \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___d27mZ {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___qfRU9 {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___fCRld {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___ORMV8 {
+ 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___PNKtZ {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.tabs___alpa7 {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ border-bottom: 1px solid #dbdce0;
+ height: 54px;
+}
+.tabs___alpa7 .tabsWrap___aCQjw {
+ display: flex;
+ align-items: center;
+ height: 100%;
+}
+.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 {
+ display: flex;
+ align-items: center;
+ margin-right: 40px;
+ height: 100%;
+ cursor: pointer;
+}
+.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 > div {
+ position: relative;
+ font-size: 14px;
+ font-weight: 400;
+ color: #5f6368;
+ display: flex;
+ align-items: center;
+ height: 100%;
+}
+.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v {
+ font-weight: 500;
+ color: #202124;
+}
+.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v:after {
+ position: absolute;
+ content: '';
+ width: 100%;
+ z-index: 4;
+ border-radius: 2px;
+ left: 0px;
+ bottom: 0px;
+ height: 3px;
+ background: #202124;
+ border-radius: 100px 100px 0px 0px;
+}
+
+/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/SuperiorSort/index.less?modules ***!
+ \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___e6HxQ {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___RnXYe {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___lVxPk {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___bu8yv {
+ 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___JczGj {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.orderWrap___ZfyGX {
+ display: box;
+ display: flex;
+ align-items: center;
+}
+.orderIconWrap___XTB_O {
+ display: box;
+ display: flex;
+ flex-direction: column;
+ height: 40px;
+ line-height: 40px;
+ color: #999999;
+}
+.orderAsc___KWHmA {
+ flex-direction: column;
+ text-align: center;
+ height: 10px;
+ line-height: 10px;
+ display: inline-block;
+ margin-top: 9px;
+ transform: translateY(2px);
+}
+.orderDesc___rHdbB {
+ flex-direction: column;
+ text-align: center;
+ height: 10px;
+ line-height: 10px;
+ display: table;
+}
+.active___a7eSP {
+ color: #232b40 !important;
+}
+.cursorPointer___gs9kL {
+ cursor: pointer;
+ color: #d8d8d8;
+ height: 10px;
+}
+.orderTextWrap___teAKn {
+ font-size: 14px;
+ color: #3b3e47;
+ cursor: pointer;
+ margin-right: 5px;
+}
+
+/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/CustomButton/index.less?modules ***!
+ \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___LCi0B {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___hzONe {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___ZyQRE {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___XKM74 {
+ 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___p8LCU {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.btn___In02G.mediacy-round___uveEv {
+ height: 36px;
+ border-radius: 36px;
+}
+.btn___In02G.mediacy-default___dDxsd {
+ height: 36px;
+ border-radius: 4px;
+}
+.btn___In02G .default___K791v {
+ background: #f6f7f9 linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
+ box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
+ border: 1px solid #bacffe;
+ font-size: 14px;
+ padding: 0 15px;
+ color: #3061d0;
+ text-align: center;
+ cursor: pointer;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+button[class~='ant-btn-default']:not(:disabled).btn___In02G {
+ background: #f6f7f9 linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
+ box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
+ border: 1px solid #bacffe;
+ font-size: 14px;
+ padding: 0 15px;
+ color: #3061d0;
+ text-align: center;
+ cursor: pointer;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+button[class~='ant-btn-default']:not(:disabled).btn___In02G:hover {
+ color: #165dff;
+ border: 1px solid #165dff;
+}
+button[class~='ant-btn-default']:disabled.btn___In02G {
+ background: #f6f7f9 linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
+ box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
+ border: 1px solid #bacffe;
+ font-size: 14px;
+ padding: 0 15px;
+ color: #3061d0;
+ text-align: center;
+ cursor: pointer;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ opacity: 50%;
+ cursor: not-allowed;
+}
+
+/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/HeadBack/index.less?modules ***!
+ \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___TB7bQ {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___oBlTb {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___b5XbB {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___CNhe7 {
+ 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___yHXKW {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.head___ghH72 {
+ height: 54px;
+ border-bottom: 1px solid #DBDCE0;
+ display: flex;
+ align-items: center;
+}
+.head___ghH72 > span {
+ color: #999999;
+ font-size: 12px;
+ cursor: pointer;
+ flex-shrink: 0;
+}
+.head___ghH72 > b {
+ font-weight: 500;
+ color: #232B40;
+ margin-left: 30px;
+ font-size: 14px;
+ flex: 1 1;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.head___ghH72 .node___mjPEy {
+ margin-left: auto;
+ flex-shrink: 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/components/ui-customization/ConfirmAndCancel/index.less?modules ***!
+ \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___AlHuF {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___vN2LW {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___Ac7D2 {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___y38I7 {
+ 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___iQE6P {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.btns___sNgTb {
+ display: flex;
+ align-items: center;
+}
+.btns___sNgTb .confirm___Ozirl {
+ height: 38px;
+ background: #3061D0;
+ border-radius: 2px;
+ color: #FFFFFF;
+ padding: 0 34px;
+}
+.btns___sNgTb .cancel___aiq1I {
+ height: 38px;
+ background: #F8F9FC;
+ border-radius: 2px;
+ opacity: 0.5;
+ border: 1px solid #C3CFE0;
+ font-size: 14px;
+ color: #464F66;
+ margin-left: 20px;
+}
+
+/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/FixedBottom/index.less?modules ***!
+ \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___jkpdr {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___OtsL8 {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___rbcb_ {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___zBR21 {
+ 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___nS_eP {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.fixedBottom___oJl7m {
+ width: 100%;
+ height: 70px;
+ background: #FFFFFF;
+ box-shadow: 0px -3px 16px 0px rgba(219, 219, 219, 0.5);
+ position: fixed;
+ z-index: 1000;
+ bottom: 0;
+ left: 0;
+}
+.fixedBottom___oJl7m .wrap___A3Oq1 {
+ width: 1200px;
+ height: 100%;
+ margin: auto;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+}
+.fixedBottom___oJl7m .wrap___A3Oq1 .center____VL1y {
+ flex: 1 1;
+}
+
+/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/CustomCrumbs/index.less?modules ***!
+ \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___tY8Yn {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___vHdYA {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___pa61F {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___HyDXt {
+ 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___UjZek {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.crumbs___V41Oe {
+ margin: 15px auto 25px auto;
+ width: 1200px;
+ cursor: default;
+}
+.crumbs___V41Oe span {
+ font-size: 12px;
+ color: #C5C5C5;
+}
+.crumbs___V41Oe .hover___bEIVd {
+ cursor: pointer;
+}
+.crumbs___V41Oe .hover___bEIVd:hover {
+ color: #5F6368;
+}
+
+/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** 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/Edit/QuestionInfo/RuleModal/index.less?modules ***!
+ \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.ruleCheckBox___Onj2f {
+ column-gap: 52px !important;
+}
+.folderAreaWrapper___ut2mr {
+ background: #FDFDFE;
+ border: 1px solid #ECECEC;
+ min-height: 200px;
+}
+.folderAreaWrapper___ut2mr .folderAreaHeader___fOIDA {
+ background-color: #F6F7F9;
+ height: 42px;
+ padding: 0 20px;
+ padding-right: 0px;
+}
+.folderAreaWrapper___ut2mr .folderWrapper___IpJ50 {
+ height: 270px;
+ padding: 0 20px;
+ overflow: auto;
+}
+.folderAreaWrapper___ut2mr .folderWrapper___IpJ50 span[class~='ant-tree-checkbox'] {
+ margin-right: 3px;
+ margin-left: 10px;
+}
+.folderAreaWrapper___ut2mr .folderWrapper___IpJ50 span[class~='ant-tree-iconEle'] {
+ margin-right: 4px;
+ line-height: 20px !important;
+}
+.folderAreaWrapper___ut2mr .folderWrapper___IpJ50 span[class~='ant-tree-node-content-wrapper'] {
+ display: flex;
+ flex-wrap: nowrap;
+}
+.folderAreaWrapper___ut2mr .folderWrapper___IpJ50 span[class~='ant-tree-title'] {
+ flex: 1 1 auto;
+}
+.folderAreaWrapper___ut2mr .folderWrapper___IpJ50 span[class~='ant-tree-title'] div[class~='ant-row-space-between'] {
+ margin-left: 5px;
+}
+.folderAreaWrapper___ut2mr .folderWrapper___IpJ50 .folderIcon___zBoRM {
+ height: 20px;
+ width: 20px;
+}
+.folderAreaWrapper___ut2mr .folderWrapper___IpJ50 .shareFolderIcon____5s3p {
+ height: 20px;
+ object-fit: contain;
+}
+.folderAreaWrapper___ut2mr .folderWrapper___IpJ50 .treeNodeItem___quqla .treeNodeDifficulty___en0gk {
+ margin-left: auto;
+}
+
+/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/PreviewAll/index.less?modules ***!
+ \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.wrp___dq7YK {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ position: fixed;
+ width: 100%;
+ height: 100%;
+ left: 0;
+ top: 0;
+ z-index: 108;
+}
+.wrp___dq7YK.bgBlack___ARIUV {
+ background: rgba(0, 0, 0, 0.5);
+}
+.wrp___dq7YK img,
+.wrp___dq7YK video {
+ max-width: 100%;
+ max-height: 80%;
+ text-align: center;
+}
+.wrp___dq7YK iframe {
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ left: 0;
+ top: 0;
+ background: #fff;
+ border: none;
+}
+.monaco___VnZC3 {
+ position: absolute;
+ height: 100%;
+ width: 100%;
+}
+.darkBlue___UprA9 * {
+ font-size: 14px;
+}
+.darkBlue___UprA9 [class~='margin'],
+.darkBlue___UprA9 [class~='monaco-editor-background'] {
+ background: #0a0e2d !important;
+}
+.darkBlue___UprA9 [class~='line-numbers'] {
+ color: white !important;
+}
+.close___LKoWu {
+ position: absolute;
+ right: 40px;
+ top: 40px;
+ z-index: 10;
+ display: flex;
+}
+.close___LKoWu > span {
+ background: #4a4a4a;
+ color: #fff;
+ width: 40px;
+ height: 40px;
+ border-radius: 4px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ cursor: pointer;
+ margin-left: 10px;
+}
+.embed___hvpEJ {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+}
+
+/*!*******************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/components/monaco-editor/index.css ***!
+ \*******************************************************************************************************************************************************************************************************************************************/
+.my-monaco-editor div,
+.my-diff-editor div {
+ font-size: inherit;
+}
+
+.my-error-line-wrp {
+ width: calc(100% - 20px) !important;
+ background: rgba(245, 0, 0, 0.2) !important;
+ height: auto !important;
+ color: rgba(245, 0, 0, 1);
+}
+
+
+.noCopyPaste .quick-input-widget {
+ display: none !important;
+}
+
+.breakpoints-select {
+
+ background: #FF0000;
+ width: 8px !important;
+ height: 8px !important;
+ left: 7px !important;
+ top: 7px;
+ border-radius: 4px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ pointer-events: none;
+}
+
+.breakpoints-fake {
+ background: rgba(255, 0, 0, 0.5);
+ width: 8px !important;
+ height: 8px !important;
+ left: 7px !important;
+ top: 7px;
+ border-radius: 4px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ pointer-events: none;
+}
+
+.highlighted-line {
+ background: #4B4B18;
+}
+/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** 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/Edit/QuestionInfo/QuestionDetail/index.less?modules ***!
+ \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___ppkzA {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___Z1syx {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center___twJ9S {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___uI0uW {
+ 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___JRp7D {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.timelineWrapper___LP9aM .title___KUHj_ {
+ font-size: 16px;
+ font-weight: 600;
+ color: #333333;
+}
+.timelineWrapper___LP9aM .desc___ubc8E {
+ font-size: 12px;
+ font-weight: 400;
+ color: #818283;
+}
+.titles___njkjf {
+ width: 80%;
+ -webkit-box-orient: vertical;
+ display: -webkit-box;
+ -webkit-line-clamp: 1;
+ overflow: hidden;
+}
+.questionDetailWrapper___p4SFM .questionTitle___JC9X6 {
+ font-size: 16px;
+ font-weight: 600;
+ color: #000000;
+}
+.questionDetailWrapper___p4SFM .questionScoreInfo___NgOJI {
+ font-size: 16px;
+ font-weight: 400;
+ color: #464F66;
+}
+.questionDetailWrapper___p4SFM .deleteIcon___oMVTN {
+ font-size: 20px;
+ color: #9096A3;
+}
+.questionDetailWrapper___p4SFM .deleteIcon___oMVTN:hover {
+ cursor: pointer;
+ color: #EE5D5D;
+}
+.questionDetailWrapper___p4SFM .deleteBtn___JUPEl {
+ color: #165DFF;
+}
+.questionDetailWrapper___p4SFM .deleteBtn___JUPEl:hover {
+ cursor: pointer;
+ color: #E53333;
+}
+.normalText___FW9Y_ {
+ font-size: 14px;
+ font-weight: 400;
+ color: #464F66;
+}
+.folderIcon___gvacQ {
+ width: 20px;
+ height: 20px;
+ margin-right: 10px;
+}
+.challengeNameWrapper___fG7Vv {
+ margin-bottom: 6px;
+ max-height: 400px;
+ overflow: auto;
+}
+.challengeName___Ia1Xs {
+ font-size: 14px;
+ color: rgba(0, 0, 0, 0.9);
+ margin-bottom: 16px;
+}
+.shixunPreviewFooter___rKsnN {
+ background: #F6F7F9;
+ padding: 14px 30px 14px 20px;
+ margin-bottom: 25px;
+}
+.shixunPreviewFooter___rKsnN .shixunInfoWrapper___FEnDb {
+ font-size: 14px;
+ color: rgba(0, 0, 0, 0.9);
+}
+.shixunPreviewFooter___rKsnN .shixunInfoWrapper___FEnDb .shixunInfo___TbrA2 {
+ margin-left: 14px;
+ margin-right: 50px;
+}
+.shixunPreviewFooter___rKsnN .btnToDetail___dqLQP {
+ border-radius: 16px;
+ border: none;
+ box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
+}
+.shixunPreviewFooter___rKsnN .btnToDetail___dqLQP i {
+ margin-right: 6px;
+}
+
+/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** 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/StepPreview/index.less?modules ***!
+ \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex_box_center___bZaL5 {
+ justify-content: center;
+ align-items: center;
+ -webkit-justify-content: center;
+ box-align: center;
+}
+.flex_space_between___oaJSq {
+ justify-content: space-between;
+ -webkit-box-pack: justify;
+}
+.flex_box_vertical_center____hsuP {
+ align-items: center;
+ box-align: center;
+}
+.flex_box_center_end___ZYbPQ {
+ 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___nE_62 {
+ flex-direction: column;
+ box-orient: block-axis;
+}
+.wrap___ulhwR {
+ width: 1200px;
+ display: flex;
+ justify-content: space-between;
+ align-items: flex-start;
+ padding-bottom: 70px;
+ margin: 20px auto 0 auto;
+}
+.wrap___ulhwR .left___kyWln {
+ width: 266px;
+ margin-right: 20px;
+ position: -webkit-sticky;
+ position: sticky;
+ z-index: 1;
+ top: 0;
+ overflow-y: hidden;
+ overflow-x: hidden;
+ max-height: calc(100vh - 214px);
+}
+.wrap___ulhwR .left___kyWln .title___jsO1D {
+ width: 266px;
+ height: 74px;
+ background: #ffffff;
+ border-radius: 6px;
+ margin-bottom: 14px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+.wrap___ulhwR .left___kyWln .title___jsO1D div {
+ width: 238px;
+ height: 46px;
+ background: #f5f7fd;
+ border-radius: 6px;
+ display: flex;
+ align-items: center;
+}
+.wrap___ulhwR .left___kyWln .title___jsO1D div b {
+ width: 5px;
+ height: 16px;
+ background: #198cfe;
+ border-radius: 2px;
+ margin-right: 9px;
+}
+.wrap___ulhwR .left___kyWln .title___jsO1D div span {
+ font-size: 20px;
+ font-weight: 500;
+ color: #333333;
+}
+.wrap___ulhwR .left___kyWln .total___GEhiU {
+ width: 266px;
+ height: 166px;
+ background: #ffffff;
+ border-radius: 6px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin-bottom: 14px;
+}
+.wrap___ulhwR .left___kyWln .total___GEhiU > div {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+.wrap___ulhwR .left___kyWln .total___GEhiU > div span {
+ margin: 14px 0;
+ font-size: 14px;
+ font-weight: 400;
+ color: #999999;
+}
+.wrap___ulhwR .left___kyWln .total___GEhiU > div aside {
+ font-weight: 500;
+ color: #333333;
+ font-size: 24px;
+}
+.wrap___ulhwR .left___kyWln .list___u9dBZ {
+ width: 266px;
+ background: #ffffff;
+ border-radius: 6px;
+ 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;
+ margin-left: 6px;
+}
+.wrap___ulhwR .left___kyWln .list___u9dBZ .name___Wxggs b {
+ width: 4px;
+ height: 4px;
+ background: #198cfe;
+ border-radius: 2px;
+ margin-right: 7px;
+}
+.wrap___ulhwR .left___kyWln .list___u9dBZ .name___Wxggs span {
+ font-size: 14px;
+ font-weight: 500;
+ color: #333333;
+}
+.wrap___ulhwR .left___kyWln .list___u9dBZ aside {
+ display: flex;
+ flex-direction: column;
+}
+.wrap___ulhwR .left___kyWln .list___u9dBZ aside > div:first-child {
+ color: #8a8a8a;
+ font-size: 14px;
+ display: flex;
+ align-items: center;
+ margin: 13px 0 13px 6px;
+}
+.wrap___ulhwR .left___kyWln .list___u9dBZ aside > div:first-child .b___Y15YO {
+ font-weight: 500;
+ color: #198cfe;
+ font-size: 18px;
+ margin: 0 10px;
+}
+.wrap___ulhwR .left___kyWln .list___u9dBZ aside > div:first-child .r___mKQoe {
+ margin: 0 10px;
+ font-size: 18px;
+ font-weight: 500;
+ color: #df3065;
+}
+.wrap___ulhwR .left___kyWln .list___u9dBZ aside > div:first-child .l___uelFD {
+ margin: 0 10px;
+}
+.wrap___ulhwR .left___kyWln .list___u9dBZ aside > div:last-child .tag___Mpkbg {
+ display: inline-block;
+ width: 34px;
+ height: 34px;
+ text-align: center;
+ line-height: 34px;
+ background: #deefff;
+ border-radius: 4px;
+ font-size: 16px;
+ font-weight: 500;
+ color: #3396fb;
+ margin: 6px;
+ cursor: pointer;
+}
+.wrap___ulhwR .right___mQ3dU {
+ flex: 1 1;
+}
+.wrap___ulhwR .examName___Na1r8 {
+ width: 100%;
+ height: 100px;
+ position: -webkit-sticky;
+ position: sticky;
+ top: 0;
+ z-index: 20;
+ border-radius: 6px 6px 0 0;
+ background: #ffffff;
+ padding-left: 46px;
+ padding-right: 46px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+.wrap___ulhwR .examName___Na1r8 .name___Wxggs {
+ color: #333333;
+ font-size: 24px;
+ font-weight: 600;
+ flex: 1 1;
+ display: flex;
+ align-items: center;
+}
+.wrap___ulhwR .examName___Na1r8 .name___Wxggs .t___IgCWK {
+ display: inline-block;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ max-width: 430px;
+}
+.wrap___ulhwR .examName___Na1r8 .name___Wxggs .num___CXI8j {
+ font-size: 14px;
+ font-weight: 400;
+ color: #8a8a8a;
+ margin-left: 20px;
+}
+.wrap___ulhwR .examName___Na1r8 .ant-pagination button {
+ line-height: normal;
+ line-height: initial;
+}
+.wrap___ulhwR .topWarp___Kicpu {
+ padding: 0px 46px 40px 46px;
+ background-color: #ffffff;
+ border-radius: 0 0 6px 6px;
+}
+.wrap___ulhwR .topWarp___Kicpu .head___jx3W8 {
+ display: flex;
+ align-items: center;
+ justify-content: flex-start;
+ height: 50px;
+ padding-top: 12px;
+ border-top: 1px dotted #dfdfdf;
+ margin-top: 20px;
+}
+.wrap___ulhwR .topWarp___Kicpu .head___jx3W8 .name___Wxggs {
+ display: flex;
+ align-items: center;
+}
+.wrap___ulhwR .topWarp___Kicpu .head___jx3W8 .name___Wxggs b {
+ width: 6px;
+ height: 6px;
+ background: #198cfe;
+ border-radius: 3px;
+ margin-right: 10px;
+}
+.wrap___ulhwR .topWarp___Kicpu .head___jx3W8 .name___Wxggs span {
+ font-size: 20px;
+ font-weight: 500;
+ color: #333333;
+}
+.wrap___ulhwR .topWarp___Kicpu .head___jx3W8 .so___qYW7F {
+ color: #8a8a8a;
+ font-size: 14px;
+ display: flex;
+ align-items: center;
+ margin: 13px 0 13px 20px;
+}
+.wrap___ulhwR .topWarp___Kicpu .head___jx3W8 .so___qYW7F .b___Y15YO {
+ font-weight: bold;
+ color: #198cfe;
+ font-size: 18px;
+ margin: 0 10px;
+}
+.wrap___ulhwR .topWarp___Kicpu .head___jx3W8 .so___qYW7F .r___mKQoe {
+ margin: 0 10px;
+ font-size: 18px;
+ font-weight: bold;
+ color: #df3065;
+}
+.wrap___ulhwR .topWarp___Kicpu .head___jx3W8 .so___qYW7F .l___uelFD {
+ margin: 0 10px;
+}
+.wrap___ulhwR .topWarp___Kicpu .head___jx3W8 .btn___EMJDz {
+ margin-left: auto;
+ margin-top: 2px;
+}
+.wrap___ulhwR .content___sHGsV {
+ margin-top: 24px;
+}
+.wrap___ulhwR .content___sHGsV .ant-btn {
+ transition: 0s;
+}
+.wrap___ulhwR .content___sHGsV .titleWrap___I__GR {
+ display: flex;
+ justify-content: space-between;
+}
+.wrap___ulhwR .content___sHGsV .titleWrap___I__GR > button {
+ flex-shrink: 0;
+}
+.wrap___ulhwR .content___sHGsV .single___K5iv9 ul {
+ margin: 10px 0;
+ padding-left: 28px;
+ display: flex;
+ align-items: flex-start;
+}
+.wrap___ulhwR .content___sHGsV .single___K5iv9 ul li:first-child {
+ font-size: 14px;
+ color: #8d8d8d;
+ margin-top: 2px;
+ flex-shrink: 0;
+}
+.wrap___ulhwR .content___sHGsV .single___K5iv9 ul li:last-child .markdown-body p {
+ font-size: 14px;
+ color: #8d8d8d;
+}
+.wrap___ulhwR .content___sHGsV .analysis___NoAuR {
+ background: #fafafa;
+ border-radius: 6px;
+ padding: 25px 38px;
+ margin-top: 10px;
+}
+.wrap___ulhwR .content___sHGsV .analysis___NoAuR > div {
+ font-size: 14px;
+ font-weight: 400;
+ color: #333333;
+ margin-bottom: 20px;
+}
+.wrap___ulhwR .content___sHGsV .analysis___NoAuR > aside {
+ display: flex;
+ align-items: flex-start;
+}
+.wrap___ulhwR .content___sHGsV .analysis___NoAuR > aside .text___xESW2 {
+ font-size: 14px;
+ margin-top: 3px;
+ margin-right: 5px;
+ flex-shrink: 0;
+}
+.wrap___ulhwR .content___sHGsV .analysis___NoAuR > aside .markdown-body p {
+ font-size: 14px;
+ color: #333333;
+}
+.wrap___ulhwR .content___sHGsV .analysis___NoAuR > ul {
+ padding: 0;
+ margin-top: 20px;
+ display: flex;
+ justify-content: space-between;
+ font-size: 14px;
+ color: #333333;
+}
+.wrap___ulhwR .single___K5iv9 ul {
+ margin: 10px 0;
+ padding-left: 28px;
+ display: flex;
+ align-items: flex-start;
+}
+.wrap___ulhwR .single___K5iv9 ul li:first-child {
+ font-size: 14px;
+ color: #8d8d8d;
+ margin-top: 2px;
+}
+.wrap___ulhwR .single___K5iv9 ul li:last-child .markdown-body p {
+ font-size: 14px;
+ color: #8d8d8d;
+}
+.modalColumn___I_tK_ {
+ font-size: 14px;
+}
+.modalColumn___I_tK_ .modalRow___lyw_U {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ font-size: 14px;
+ flex-direction: row;
+ margin-top: 30px;
+}
+.modalColumn___I_tK_ .modalRow___lyw_U .sup___HSz3Z {
+ color: #fb3226;
+ font-size: 16px;
+ margin-top: 21px;
+ margin-right: 2px;
+}
+.popover___kE8aI .ant-popover-arrow {
+ border-right-color: #55575d !important;
+ border-bottom-color: #55575d !important;
+}
+.popover___kE8aI .ant-popover-inner-content {
+ color: #fff !important;
+}
+
+/*!***********************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./node_modules/codemirror/lib/codemirror.css ***!
+ \***********************************************************************************************************************************************************************************************************************************************/
+/* BASICS */
+
+.CodeMirror {
+ /* Set height, width, borders, and global font properties here */
+ font-family: monospace;
+ height: 300px;
+ color: black;
+ direction: ltr;
+}
+
+/* PADDING */
+
+.CodeMirror-lines {
+ padding: 4px 0; /* Vertical padding around content */
+}
+.CodeMirror pre.CodeMirror-line,
+.CodeMirror pre.CodeMirror-line-like {
+ padding: 0 4px; /* Horizontal padding of content */
+}
+
+.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
+ background-color: white; /* The little square between H and V scrollbars */
+}
+
+/* GUTTER */
+
+.CodeMirror-gutters {
+ border-right: 1px solid #ddd;
+ background-color: #f7f7f7;
+ white-space: nowrap;
+}
+.CodeMirror-linenumbers {}
+.CodeMirror-linenumber {
+ padding: 0 3px 0 5px;
+ min-width: 20px;
+ text-align: right;
+ color: #999;
+ white-space: nowrap;
+}
+
+.CodeMirror-guttermarker { color: black; }
+.CodeMirror-guttermarker-subtle { color: #999; }
+
+/* CURSOR */
+
+.CodeMirror-cursor {
+ border-left: 1px solid black;
+ border-right: none;
+ width: 0;
+}
+/* Shown when moving in bi-directional text */
+.CodeMirror div.CodeMirror-secondarycursor {
+ border-left: 1px solid silver;
+}
+.cm-fat-cursor .CodeMirror-cursor {
+ width: auto;
+ border: 0 !important;
+ background: #7e7;
+}
+.cm-fat-cursor div.CodeMirror-cursors {
+ z-index: 1;
+}
+.cm-fat-cursor-mark {
+ background-color: rgba(20, 255, 20, 0.5);
+ animation: blink 1.06s steps(1) infinite;
+}
+.cm-animate-fat-cursor {
+ width: auto;
+ border: 0;
+ animation: blink 1.06s steps(1) infinite;
+ background-color: #7e7;
+}
+@keyframes blink {
+ 0% {}
+ 50% { background-color: transparent; }
+ 100% {}
+}
+
+/* Can style cursor different in overwrite (non-insert) mode */
+.CodeMirror-overwrite .CodeMirror-cursor {}
+
+.cm-tab { display: inline-block; text-decoration: inherit; }
+
+.CodeMirror-rulers {
+ position: absolute;
+ left: 0; right: 0; top: -50px; bottom: 0;
+ overflow: hidden;
+}
+.CodeMirror-ruler {
+ border-left: 1px solid #ccc;
+ top: 0; bottom: 0;
+ position: absolute;
+}
+
+/* DEFAULT THEME */
+
+.cm-s-default .cm-header {color: blue;}
+.cm-s-default .cm-quote {color: #090;}
+.cm-negative {color: #d44;}
+.cm-positive {color: #292;}
+.cm-header, .cm-strong {font-weight: bold;}
+.cm-em {font-style: italic;}
+.cm-link {text-decoration: underline;}
+.cm-strikethrough {text-decoration: line-through;}
+
+.cm-s-default .cm-keyword {color: #708;}
+.cm-s-default .cm-atom {color: #219;}
+.cm-s-default .cm-number {color: #164;}
+.cm-s-default .cm-def {color: #00f;}
+.cm-s-default .cm-variable,
+.cm-s-default .cm-punctuation,
+.cm-s-default .cm-property,
+.cm-s-default .cm-operator {}
+.cm-s-default .cm-variable-2 {color: #05a;}
+.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
+.cm-s-default .cm-comment {color: #a50;}
+.cm-s-default .cm-string {color: #a11;}
+.cm-s-default .cm-string-2 {color: #f50;}
+.cm-s-default .cm-meta {color: #555;}
+.cm-s-default .cm-qualifier {color: #555;}
+.cm-s-default .cm-builtin {color: #30a;}
+.cm-s-default .cm-bracket {color: #997;}
+.cm-s-default .cm-tag {color: #170;}
+.cm-s-default .cm-attribute {color: #00c;}
+.cm-s-default .cm-hr {color: #999;}
+.cm-s-default .cm-link {color: #00c;}
+
+.cm-s-default .cm-error {color: #f00;}
+.cm-invalidchar {color: #f00;}
+
+.CodeMirror-composing { border-bottom: 2px solid; }
+
+/* Default styles for common addons */
+
+div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}
+div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
+.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
+.CodeMirror-activeline-background {background: #e8f2ff;}
+
+/* STOP */
+
+/* The rest of this file contains styles related to the mechanics of
+ the editor. You probably shouldn't touch them. */
+
+.CodeMirror {
+ position: relative;
+ overflow: hidden;
+ background: white;
+}
+
+.CodeMirror-scroll {
+ overflow: scroll !important; /* Things will break if this is overridden */
+ /* 50px is the magic margin used to hide the element's real scrollbars */
+ /* See overflow: hidden in .CodeMirror */
+ margin-bottom: -50px; margin-right: -50px;
+ padding-bottom: 50px;
+ height: 100%;
+ outline: none; /* Prevent dragging from highlighting the element */
+ position: relative;
+}
+.CodeMirror-sizer {
+ position: relative;
+ border-right: 50px solid transparent;
+}
+
+/* The fake, visible scrollbars. Used to force redraw during scrolling
+ before actual scrolling happens, thus preventing shaking and
+ flickering artifacts. */
+.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
+ position: absolute;
+ z-index: 6;
+ display: none;
+ outline: none;
+}
+.CodeMirror-vscrollbar {
+ right: 0; top: 0;
+ overflow-x: hidden;
+ overflow-y: scroll;
+}
+.CodeMirror-hscrollbar {
+ bottom: 0; left: 0;
+ overflow-y: hidden;
+ overflow-x: scroll;
+}
+.CodeMirror-scrollbar-filler {
+ right: 0; bottom: 0;
+}
+.CodeMirror-gutter-filler {
+ left: 0; bottom: 0;
+}
+
+.CodeMirror-gutters {
+ position: absolute; left: 0; top: 0;
+ min-height: 100%;
+ z-index: 3;
+}
+.CodeMirror-gutter {
+ white-space: normal;
+ height: 100%;
+ display: inline-block;
+ vertical-align: top;
+ margin-bottom: -50px;
+}
+.CodeMirror-gutter-wrapper {
+ position: absolute;
+ z-index: 4;
+ background: none !important;
+ border: none !important;
+}
+.CodeMirror-gutter-background {
+ position: absolute;
+ top: 0; bottom: 0;
+ z-index: 4;
+}
+.CodeMirror-gutter-elt {
+ position: absolute;
+ cursor: default;
+ z-index: 4;
+}
+.CodeMirror-gutter-wrapper ::selection { background-color: transparent }
+.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }
+
+.CodeMirror-lines {
+ cursor: text;
+ min-height: 1px; /* prevents collapsing before first draw */
+}
+.CodeMirror pre.CodeMirror-line,
+.CodeMirror pre.CodeMirror-line-like {
+ /* Reset some styles that the rest of the page might have set */ border-radius: 0;
+ border-width: 0;
+ background: transparent;
+ font-family: inherit;
+ font-size: inherit;
+ margin: 0;
+ white-space: pre;
+ word-wrap: normal;
+ line-height: inherit;
+ color: inherit;
+ z-index: 2;
+ position: relative;
+ overflow: visible;
+ -webkit-tap-highlight-color: transparent;
+ -webkit-font-variant-ligatures: contextual;
+ font-feature-settings: "calt";
+ font-variant-ligatures: contextual;
+}
+.CodeMirror-wrap pre.CodeMirror-line,
+.CodeMirror-wrap pre.CodeMirror-line-like {
+ word-wrap: break-word;
+ white-space: pre-wrap;
+ word-break: normal;
+}
+
+.CodeMirror-linebackground {
+ position: absolute;
+ left: 0; right: 0; top: 0; bottom: 0;
+ z-index: 0;
+}
+
+.CodeMirror-linewidget {
+ position: relative;
+ z-index: 2;
+ padding: 0.1px; /* Force widget margins to stay inside of the container */
+}
+
+.CodeMirror-widget {}
+
+.CodeMirror-rtl pre { direction: rtl; }
+
+.CodeMirror-code {
+ outline: none;
+}
+
+/* Force content-box sizing for the elements where we expect it */
+.CodeMirror-scroll,
+.CodeMirror-sizer,
+.CodeMirror-gutter,
+.CodeMirror-gutters,
+.CodeMirror-linenumber {
+ box-sizing: content-box;
+}
+
+.CodeMirror-measure {
+ position: absolute;
+ width: 100%;
+ height: 0;
+ overflow: hidden;
+ visibility: hidden;
+}
+
+.CodeMirror-cursor {
+ position: absolute;
+ pointer-events: none;
+}
+.CodeMirror-measure pre { position: static; }
+
+div.CodeMirror-cursors {
+ visibility: hidden;
+ position: relative;
+ z-index: 3;
+}
+div.CodeMirror-dragcursors {
+ visibility: visible;
+}
+
+.CodeMirror-focused div.CodeMirror-cursors {
+ visibility: visible;
+}
+
+.CodeMirror-selected { background: #d9d9d9; }
+.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
+.CodeMirror-crosshair { cursor: crosshair; }
+.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
+.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
+
+.cm-searching {
+ background-color: #ffa;
+ background-color: rgba(255, 255, 0, .4);
+}
+
+/* Used to force a border model for a node */
+.cm-force-border { padding-right: .1px; }
+
+@media print {
+ /* Hide the cursor when printing */
+ .CodeMirror div.CodeMirror-cursors {
+ visibility: hidden;
+ }
+}
+
+/* See issue #2901 */
+.cm-tab-wrap-hack:after { content: ''; }
+
+/* Help users use markselection to safely style text background */
+span.CodeMirror-selectedtext { background: none; }
+
+/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/index.less ***!
+ \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.markdown-editor-wrapper {
+ position: relative;
+}
+.markdown-editor-body {
+ display: flex;
+ flex-flow: row nowrap;
+ width: 100%;
+ height: calc(100% - 38px);
+ align-items: center;
+}
+.markdown-editor-body .codemirror-container {
+ flex: 1 0;
+ height: 100%;
+ width: 100%;
+ overflow: hidden;
+}
+.markdown-editor-body .CodeMirror-wrap {
+ padding-bottom: 15px;
+}
+.markdown-editor-body .preview-container {
+ flex: 1 0;
+ height: 100%;
+ margin: 10px 0px;
+ padding: 8px 8px 50px 8px;
+ background: #fff;
+ overflow-y: auto;
+ box-sizing: border-box;
+ border-left: 1px solid #ccc;
+ word-wrap: break-word;
+ word-break: break-word;
+ white-space: normal;
+ font-size: 16px;
+}
+.markdown-editor-container {
+ border: 1px solid #ccc;
+ overflow: hidden;
+ border-radius: 4px;
+ margin-bottom: 12px;
+ font-size: 16px;
+}
+.markdown-editor-container.full-screen {
+ position: fixed;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ height: 100vh !important;
+ z-index: 1010;
+}
+.markdown-editor-container.full-screen .preview-container > div {
+ padding-bottom: 180px !important;
+}
+.markdown-editor-container.full-screen .CodeMirror-sizer > div {
+ margin-bottom: 90px;
+}
+.markdown-editor-container.on-preview .codemirror-container,
+.markdown-editor-container.on-preview .preview-container {
+ width: 50%;
+}
+.mini .markdown-editor-body {
+ height: calc(100% - 28px);
+}
+.flex-end {
+ justify-content: flex-end;
+}
+.my-codemirror-container {
+ border: 1px solid #ccc;
+ width: 100%;
+ margin-bottom: 24px;
+}
+.markdown-tip {
+ color: #cdcdcd;
+ font-size: 12px;
+ position: absolute;
+ right: 0;
+ bottom: -28px;
+ margin-bottom: 7px;
+}
+/* PADDING */
+.CodeMirror-lines {
+ padding: 4px 0;
+ /* Vertical padding around content */
+}
+.CodeMirror pre.CodeMirror-line,
+.CodeMirror pre.CodeMirror-line-like {
+ padding: 0 4px;
+ /* Horizontal padding of content */
+}
+.CodeMirror-scrollbar-filler,
+.CodeMirror-gutter-filler {
+ background-color: white;
+ /* The little square between H and V scrollbars */
+}
+/* GUTTER */
+.CodeMirror-gutters {
+ border-right: 1px solid #ddd;
+ background-color: #f7f7f7;
+ white-space: nowrap;
+}
+.CodeMirror-linenumber {
+ padding: 0 3px 0 5px;
+ min-width: 20px;
+ text-align: right;
+ color: #999;
+ white-space: nowrap;
+}
+.CodeMirror-guttermarker {
+ color: black;
+}
+.CodeMirror-guttermarker-subtle {
+ color: #999;
+}
+/* CURSOR */
+.CodeMirror-cursor {
+ border-left: 1px solid black;
+ border-right: none;
+ width: 0;
+}
+/* Shown when moving in bi-directional text */
+.CodeMirror div.CodeMirror-secondarycursor {
+ border-left: 1px solid silver;
+}
+.cm-fat-cursor .CodeMirror-cursor {
+ width: auto;
+ border: 0 !important;
+ background: #7e7;
+}
+.cm-fat-cursor div.CodeMirror-cursors {
+ z-index: 1;
+}
+.cm-fat-cursor-mark {
+ background-color: rgba(20, 255, 20, 0.5);
+ animation: blink 1.06s steps(1) infinite;
+}
+.cm-animate-fat-cursor {
+ width: auto;
+ border: 0;
+ animation: blink 1.06s steps(1) infinite;
+ background-color: #7e7;
+}
+@keyframes blink {
+ 50% {
+ background-color: transparent;
+ }
+}
+.cm-tab {
+ display: inline-block;
+ text-decoration: inherit;
+}
+.CodeMirror-rulers {
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: -50px;
+ bottom: 0;
+ overflow: hidden;
+}
+.CodeMirror-ruler {
+ border-left: 1px solid #ccc;
+ top: 0;
+ bottom: 0;
+ position: absolute;
+}
+/* DEFAULT THEME */
+.cm-s-default .cm-header {
+ color: blue;
+}
+.cm-s-default .cm-quote {
+ color: #090;
+}
+.cm-negative {
+ color: #d44;
+}
+.cm-positive {
+ color: #292;
+}
+.cm-header,
+.cm-strong {
+ font-weight: bold;
+}
+.cm-em {
+ font-style: italic;
+}
+.cm-link {
+ text-decoration: underline;
+}
+.cm-strikethrough {
+ text-decoration: line-through;
+}
+.cm-s-default .cm-keyword {
+ color: #708;
+}
+.cm-s-default .cm-atom {
+ color: #219;
+}
+.cm-s-default .cm-number {
+ color: #164;
+}
+.cm-s-default .cm-def {
+ color: #00f;
+}
+.cm-s-default .cm-variable-2 {
+ color: #05a;
+}
+.cm-s-default .cm-variable-3,
+.cm-s-default .cm-type {
+ color: #085;
+}
+.cm-s-default .cm-comment {
+ color: #a50;
+}
+.cm-s-default .cm-string {
+ color: #a11;
+}
+.cm-s-default .cm-string-2 {
+ color: #f50;
+}
+.cm-s-default .cm-meta {
+ color: #555;
+}
+.cm-s-default .cm-qualifier {
+ color: #555;
+}
+.cm-s-default .cm-builtin {
+ color: #30a;
+}
+.cm-s-default .cm-bracket {
+ color: #997;
+}
+.cm-s-default .cm-tag {
+ color: #170;
+}
+.cm-s-default .cm-attribute {
+ color: #00c;
+}
+.cm-s-default .cm-hr {
+ color: #999;
+}
+.cm-s-default .cm-link {
+ color: #00c;
+}
+.cm-s-default .cm-error {
+ color: #f00;
+}
+.cm-invalidchar {
+ color: #f00;
+}
+.CodeMirror-composing {
+ border-bottom: 2px solid;
+}
+/* Default styles for common addons */
+div.CodeMirror span.CodeMirror-matchingbracket {
+ color: #0b0;
+}
+div.CodeMirror span.CodeMirror-nonmatchingbracket {
+ color: #a22;
+}
+.CodeMirror-matchingtag {
+ background: rgba(255, 150, 0, 0.3);
+}
+.CodeMirror-activeline-background {
+ background: #e8f2ff;
+}
+/* STOP */
+/* The rest of this file contains styles related to the mechanics of
+ the editor. You probably shouldn't touch them. */
+.CodeMirror {
+ position: relative;
+ overflow: hidden;
+ background: white;
+}
+.CodeMirror-scroll {
+ overflow: scroll !important;
+ /* Things will break if this is overridden */
+ /* 50px is the magic margin used to hide the element's real scrollbars */
+ /* See overflow: hidden in .CodeMirror */
+ margin-bottom: -50px;
+ margin-right: -50px;
+ padding-bottom: 50px;
+ height: 100%;
+ outline: none;
+ /* Prevent dragging from highlighting the element */
+ position: relative;
+}
+.CodeMirror-sizer {
+ position: relative;
+ border-right: 50px solid transparent;
+}
+/* The fake, visible scrollbars. Used to force redraw during scrolling
+ before actual scrolling happens, thus preventing shaking and
+ flickering artifacts. */
+.CodeMirror-vscrollbar,
+.CodeMirror-hscrollbar,
+.CodeMirror-scrollbar-filler,
+.CodeMirror-gutter-filler {
+ position: absolute;
+ z-index: 6;
+ display: none;
+}
+.CodeMirror-vscrollbar {
+ right: 0;
+ top: 0;
+ overflow-x: hidden;
+ overflow-y: scroll;
+}
+.CodeMirror-hscrollbar {
+ bottom: 0;
+ left: 0;
+ overflow-y: hidden;
+ overflow-x: scroll;
+}
+.CodeMirror-scrollbar-filler {
+ right: 0;
+ bottom: 0;
+}
+.CodeMirror-gutter-filler {
+ left: 0;
+ bottom: 0;
+}
+.CodeMirror-gutters {
+ position: absolute;
+ left: 0;
+ top: 0;
+ min-height: 100%;
+ z-index: 3;
+}
+.CodeMirror-gutter {
+ white-space: normal;
+ height: 100%;
+ display: inline-block;
+ vertical-align: top;
+ margin-bottom: -50px;
+}
+.CodeMirror-gutter-wrapper {
+ position: absolute;
+ z-index: 4;
+ background: none !important;
+ border: none !important;
+}
+.CodeMirror-gutter-background {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ z-index: 4;
+}
+.CodeMirror-gutter-elt {
+ position: absolute;
+ cursor: default;
+ z-index: 4;
+}
+.CodeMirror-gutter-wrapper ::selection {
+ background-color: transparent;
+}
+.CodeMirror-gutter-wrapper ::-moz-selection {
+ background-color: transparent;
+}
+.CodeMirror-lines {
+ cursor: text;
+ min-height: 1px;
+ /* prevents collapsing before first draw */
+}
+.CodeMirror pre.CodeMirror-line,
+.CodeMirror pre.CodeMirror-line-like {
+ /* Reset some styles that the rest of the page might have set */
+ border-radius: 0;
+ border-width: 0;
+ background: transparent;
+ font-family: inherit;
+ font-size: inherit;
+ margin: 0;
+ white-space: pre;
+ word-wrap: normal;
+ line-height: inherit;
+ color: inherit;
+ z-index: 2;
+ position: relative;
+ overflow: visible;
+ -webkit-tap-highlight-color: transparent;
+ -webkit-font-variant-ligatures: contextual;
+ font-feature-settings: "calt";
+ font-variant-ligatures: contextual;
+}
+.CodeMirror-wrap pre.CodeMirror-line,
+.CodeMirror-wrap pre.CodeMirror-line-like {
+ word-wrap: break-word;
+ white-space: pre-wrap;
+ word-break: normal;
+}
+.CodeMirror-linebackground {
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ z-index: 0;
+}
+.CodeMirror-linewidget {
+ position: relative;
+ z-index: 2;
+ padding: 0.1px;
+ /* Force widget margins to stay inside of the container */
+}
+.CodeMirror-rtl pre {
+ direction: rtl;
+}
+.CodeMirror-code {
+ outline: none;
+}
+/* Force content-box sizing for the elements where we expect it */
+.CodeMirror-scroll,
+.CodeMirror-sizer,
+.CodeMirror-gutter,
+.CodeMirror-gutters,
+.CodeMirror-linenumber {
+ box-sizing: content-box;
+}
+.CodeMirror-measure {
+ position: absolute;
+ width: 100%;
+ height: 0;
+ overflow: hidden;
+ visibility: hidden;
+}
+.CodeMirror-cursor {
+ position: absolute;
+ pointer-events: none;
+}
+.CodeMirror-measure pre {
+ position: static;
+}
+div.CodeMirror-cursors {
+ visibility: hidden;
+ position: relative;
+ z-index: 3;
+}
+div.CodeMirror-dragcursors {
+ visibility: visible;
+}
+.CodeMirror-focused div.CodeMirror-cursors {
+ visibility: visible;
+}
+.CodeMirror-selected {
+ background: #d9d9d9;
+}
+.CodeMirror-focused .CodeMirror-selected {
+ background: #d7d4f0;
+}
+.CodeMirror-crosshair {
+ cursor: crosshair;
+}
+.CodeMirror-line::selection,
+.CodeMirror-line > span::selection,
+.CodeMirror-line > span > span::selection {
+ background: #d7d4f0;
+}
+.CodeMirror-line::-moz-selection,
+.CodeMirror-line > span::-moz-selection,
+.CodeMirror-line > span > span::-moz-selection {
+ background: #d7d4f0;
+}
+.cm-searching {
+ background-color: #ffa;
+ background-color: rgba(255, 255, 0, 0.4);
+}
+/* Used to force a border model for a node */
+.cm-force-border {
+ padding-right: 0.1px;
+}
+@media print {
+ /* Hide the cursor when printing */
+ .CodeMirror div.CodeMirror-cursors {
+ visibility: hidden;
+ }
+}
+/* See issue #2901 */
+.cm-tab-wrap-hack:after {
+ content: '';
+}
+/* Help users use markselection to safely style text background */
+span.CodeMirror-selectedtext {
+ background: none;
+}
+.CodeMirror-sizer {
+ padding-top: 10px;
+ padding-bottom: 10px !important;
+}
+.CodeMirror-empty.CodeMirror-focused {
+ outline: none;
+}
+.CodeMirror pre.CodeMirror-placeholder {
+ color: #999;
+}
+.CodeMirror {
+ position: relative;
+ overflow: hidden;
+ background: white;
+ word-break: break-word;
+}
+.CodeMirror pre.CodeMirror-line,
+.CodeMirror pre.CodeMirror-line-like {
+ word-wrap: break-word;
+ word-break: break-word;
+ white-space: pre-wrap;
+ line-height: 1.6;
+}
+
+/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/toolbar/index.less ***!
+ \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.markdown-toolbar-container {
+ display: flex;
+ flex-flow: row wrap;
+ align-items: center;
+ padding: 0 5px;
+ margin: 0;
+ position: relative;
+ list-style: none;
+ background: #fff;
+ border-bottom: 1px solid #ccc;
+ box-sizing: border-box;
+ line-height: 20px;
+ width: 100%;
+ min-height: 30px;
+}
+.markdown-toolbar-container .fill-tip {
+ cursor: pointer;
+ font-size: 12px;
+ display: inline-block;
+ padding: 5px;
+ border: 1px solid #E99237;
+ border-radius: 5px;
+ box-sizing: border-box;
+ line-height: 16px;
+ height: auto;
+ color: #A65500;
+ background-color: #FFF1E2;
+ position: relative;
+ margin-left: 10px;
+}
+.markdown-toolbar-container .fill-tip::before {
+ content: ' ';
+ width: 0;
+ height: 0;
+ border-top: 6px solid transparent;
+ border-bottom: 6px solid transparent;
+ border-right: 6px solid #FFF1E2;
+ position: absolute;
+ left: -6px;
+ top: 6px;
+ z-index: 10;
+}
+.markdown-toolbar-container .fill-tip::after {
+ content: ' ';
+ width: 0;
+ height: 0;
+ border-top: 6px solid transparent;
+ border-bottom: 6px solid transparent;
+ border-right: 6px solid #E99237;
+ position: absolute;
+ left: -7px;
+ top: 6px;
+}
+.markdown-toolbar-container li {
+ color: #666;
+ padding: 0 1px;
+ height: 100%;
+ display: flex;
+ height: 38px;
+ flex-flow: column nowrap;
+ justify-content: center;
+}
+.markdown-toolbar-container a,
+.markdown-toolbar-container span {
+ display: block;
+}
+.markdown-toolbar-container a {
+ width: 28px;
+ color: #666;
+ cursor: pointer;
+ text-align: center;
+ font-size: 18px;
+}
+.markdown-toolbar-container .btn-null {
+ width: auto;
+ display: flex;
+ flex-flow: row nowrap;
+ align-items: center;
+}
+.markdown-toolbar-container .insert-blank {
+ color: #E99237;
+ font-size: 18px;
+}
+.markdown-toolbar-container span.v-line {
+ margin: 0 5px;
+ height: 65%;
+ border-right: 1px solid #ccc;
+}
+.mini .markdown-toolbar-container li {
+ height: 28px;
+}
+.editor-resize {
+ display: block;
+ width: 120px;
+ height: 4px;
+ left: 54%;
+ margin-top: 2px;
+ border-top: 1px solid #ccc;
+ border-bottom: 1px solid #ccc;
+ cursor: row-resize;
+ white-space: nowrap;
+ overflow: hidden;
+ text-transform: capitalize;
+ box-sizing: border-box;
+ margin: 0 auto;
+}
+.btn-full-screen {
+ position: absolute;
+ right: 5px;
+}
+
+/*!****************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/components/markdown-editor/css/iconfont.css ***!
+ \****************************************************************************************************************************************************************************************************************************************************/
+@font-face {
+ font-family: "md-iconfont";
+ src: url(./static/iconfont.498a2e20.eot);
+ /* IE9 */
+ src: url(./static/iconfont.498a2e20.eot#iefix) format('embedded-opentype'),
+ /* IE6-IE8 */
+ url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAArkAAsAAAAAFGQAAAqUAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCFTgqYEJMCATYCJANMCygABCAFhG0HgUwb5hCjooZyUthkf4mpyEh3pV0O3eNzjDeMPcxWAACWBR8hkIIUVSIBAABgBAAACrx/wAkAfPHw39iv+2bmqzZUIt1PJ5FJeCMRibbSgsVNdRP+A23z391RKZiNY99ZzVmNklbCKpCtz0WxCnCVhUtkySLj37772YjcCVNhPk1OHZFC37UprJD/0ozsDfr3lrQ9Ja2fjpzpmcEJypq3QpVe3mEqOf/v+doc8Dx9AQTUAMH8r7l6h4jEycc0pD1SorTNT/f4+MQxO0wsRBKPkEy8VKiUQkiNRAgFe/ZbMVsJqPuMwq6/O48n0DSrO+To+fNnsF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vDlm5UFAe56y3EcYl2MawxWWGrMqURY3m3qsoNjS+AhVRfGDAQAAAA==) format('woff2'),
+ url(./static/iconfont.09806494.woff) format('woff'),
+ url(./static/iconfont.f5a4e17c.ttf) format('truetype'),
+ /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
+ url(./static/iconfont.c0c6fa27.svg#iconfont) format('svg');
+ /* iOS 4.1- */
+}
+
+.md-iconfont {
+ font-family: "md-iconfont" !important;
+ font-size: 16px;
+ font-style: normal;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+.icon-shrink:before {
+ content: "\e728";
+}
+
+.icon-enlarge:before {
+ content: "\e623";
+}
+
+.icon-code:before {
+ content: "\e602";
+}
+
+.icon-italic:before {
+ content: "\e718";
+}
+
+.icon-bold:before {
+ content: "\e644";
+}
+
+.icon-picture:before {
+ content: "\e606";
+}
+
+.icon-minus:before {
+ content: "\e62c";
+}
+
+.icon-order-list:before {
+ content: "\e655";
+}
+
+.icon-link:before {
+ content: "\e7d4";
+}
+
+.icon-formula:before {
+ content: "\e633";
+}
+
+.icon-unorder-list:before {
+ content: "\e668";
+}
+
+.icon-edit:before {
+ content: "\e603";
+}
+
+.icon-table:before {
+ content: "\e7db";
+}
+
+.icon-sum:before {
+ content: "\e667";
+}
+
+.icon-eye:before {
+ content: "\e69f";
+}
+
+.icon-eye-slash:before {
+ content: "\e601";
+}
+
+.icon-eraser:before {
+ content: "\e8cd";
+}
+
+.icon-file-code:before {
+ content: "\e9ec";
+}
+/*!*************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./node_modules/codemirror/theme/blackboard.css ***!
+ \*************************************************************************************************************************************************************************************************************************************************/
+/* Port of TextMate's Blackboard theme */
+
+.cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; }
+.cm-s-blackboard div.CodeMirror-selected { background: #253B76; }
+.cm-s-blackboard .CodeMirror-line::selection, .cm-s-blackboard .CodeMirror-line > span::selection, .cm-s-blackboard .CodeMirror-line > span > span::selection { background: rgba(37, 59, 118, .99); }
+.cm-s-blackboard .CodeMirror-line::-moz-selection, .cm-s-blackboard .CodeMirror-line > span::-moz-selection, .cm-s-blackboard .CodeMirror-line > span > span::-moz-selection { background: rgba(37, 59, 118, .99); }
+.cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; }
+.cm-s-blackboard .CodeMirror-guttermarker { color: #FBDE2D; }
+.cm-s-blackboard .CodeMirror-guttermarker-subtle { color: #888; }
+.cm-s-blackboard .CodeMirror-linenumber { color: #888; }
+.cm-s-blackboard .CodeMirror-cursor { border-left: 1px solid #A7A7A7; }
+
+.cm-s-blackboard .cm-keyword { color: #FBDE2D; }
+.cm-s-blackboard .cm-atom { color: #D8FA3C; }
+.cm-s-blackboard .cm-number { color: #D8FA3C; }
+.cm-s-blackboard .cm-def { color: #8DA6CE; }
+.cm-s-blackboard .cm-variable { color: #FF6400; }
+.cm-s-blackboard .cm-operator { color: #FBDE2D; }
+.cm-s-blackboard .cm-comment { color: #AEAEAE; }
+.cm-s-blackboard .cm-string { color: #61CE3C; }
+.cm-s-blackboard .cm-string-2 { color: #61CE3C; }
+.cm-s-blackboard .cm-meta { color: #D8FA3C; }
+.cm-s-blackboard .cm-builtin { color: #8DA6CE; }
+.cm-s-blackboard .cm-tag { color: #8DA6CE; }
+.cm-s-blackboard .cm-attribute { color: #8DA6CE; }
+.cm-s-blackboard .cm-header { color: #FF6400; }
+.cm-s-blackboard .cm-hr { color: #AEAEAE; }
+.cm-s-blackboard .cm-link { color: #8DA6CE; }
+.cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; }
+
+.cm-s-blackboard .CodeMirror-activeline-background { background: #3C3636; }
+.cm-s-blackboard .CodeMirror-matchingbracket { outline:1px solid grey;color:white !important; }
+
+/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/upload-image/index.less ***!
+ \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.upload-button {
+ width: 106px;
+ height: 32px;
+ line-height: 32px;
+ font-size: 12px;
+ display: block;
+ position: relative;
+ color: #0152d9;
+}
+.upload-button input {
+ opacity: 0;
+ width: 160px;
+ height: 32px;
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: -1;
+}
+
+/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Editor/NullChildEditor/index.less?modules ***!
+ \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.flex___eLcnP {
+ display: flex;
+ display: -ms-flex;
+}
+.flex1___yUTT7 {
+ flex: 1 1;
+}
+.color666___TiUhG {
+ color: #666;
+}
+.error___gTTtv {
+ border-color: #f5222d;
+}
+.deleteIcon___mnZW1 {
+ cursor: pointer;
+ color: #ccc;
+ margin-left: 15px;
+ font-size: 18px;
+}
+.addIcon___JC5NS {
+ cursor: pointer;
+ color: #29bd8b;
+ margin-left: 6px;
+ font-size: 16px;
+ padding-top: 1px;
+}
+
+/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** 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/StepPreview/components/editor.less?modules ***!
+ \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.wrap___OIoOI {
+ box-sizing: border-box;
+}
+.modal___Z3hfU div[class~='ant-modal-confirm-content'] {
+ font-size: 16px;
+ text-align: center;
+}
+.modal___Z3hfU span[class~='ant-modal-title'] {
+ font-size: 16px;
+}
+.titleWrap___aK3oG {
+ margin: 10px 0px;
+}
+.required___NHoO7 {
+ margin-right: 4px;
+ color: #e04040;
+ font-size: 16px;
+}
+.title___uxb1R {
+ font-size: 14px;
+ color: #333333;
+}
+.colorGray___O8YPg {
+ color: #888888;
+}
+.choiceWrap___t51sb {
+ display: flex;
+ margin-top: 15px;
+}
+.answer___vsBnh {
+ color: #888;
+ display: block;
+ width: 38px;
+ height: 38px;
+ text-align: center;
+ line-height: 38px;
+ border-radius: 4px;
+ cursor: pointer;
+ border: 1px solid #e2e2e2;
+ margin-right: 10px;
+}
+.activeAnswer___AJN4p {
+ background: #ff7500;
+ color: #ffffff;
+ border: 1px solid #ff7500;
+}
+.deleteIcon___WvOJZ {
+ cursor: pointer;
+ color: #ccc;
+ margin-left: 15px;
+ font-size: 18px;
+}
+.addIcon___UyeIs {
+ cursor: pointer;
+ color: #29bd8b;
+ margin-left: 6px;
+ font-size: 16px;
+ padding-top: 1px;
+}
+.editorWrap___uqcFU {
+ flex: 1 1;
+}
+.htmlWrap___GcBNL {
+ display: flex;
+ margin-top: 0px;
+ min-height: 38px;
+ border-radius: 2px;
+ max-width: 1056px;
+ word-break: break-all;
+ border: 1px solid #dddddd;
+}
+.radio___e8qQ5 {
+ width: 60px;
+ height: 32px;
+ line-height: 32px;
+ text-align: center;
+}
+.color333___PLzVK {
+ color: #333;
+}
+.color999___v3EY0 {
+ color: #999;
+}
+.fold___OfvPe .head___EejYX {
+ height: 46px;
+ background: #f2f2f2;
+ display: flex;
+ align-items: center;
+ padding-left: 10px;
+ padding-right: 20px;
+ margin-bottom: 10px;
+ cursor: pointer;
+}
+.fold___OfvPe .head___EejYX span {
+ font-size: 12px;
+ color: #333333;
+ margin-left: 5px;
+}
+.fold___OfvPe .head___EejYX i {
+ display: inline-block;
+}
+.fold___OfvPe .head___EejYX b {
+ color: #165dff;
+ cursor: pointer;
+ margin-left: auto;
+}
+
diff --git a/p__Paperlibrary__Random__ExchangeFromProblemSet__index.async.js b/p__Paperlibrary__Random__ExchangeFromProblemSet__index.async.js
index d3556377f8..e6cbdcf14b 100644
--- a/p__Paperlibrary__Random__ExchangeFromProblemSet__index.async.js
+++ b/p__Paperlibrary__Random__ExchangeFromProblemSet__index.async.js
@@ -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
diff --git a/p__Paperlibrary__Random__ExerciseEdit__index.async.js b/p__Paperlibrary__Random__ExerciseEdit__index.async.js
deleted file mode 100644
index 1f6c38b15f..0000000000
--- a/p__Paperlibrary__Random__ExerciseEdit__index.async.js
+++ /dev/null
@@ -1,1500 +0,0 @@
-"use strict";
-(self["webpackChunk"] = self["webpackChunk"] || []).push([[7918],{
-
-/***/ 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));
-
-/***/ }),
-
-/***/ 19368:
-/*!**************************************************************************!*\
- !*** ./src/pages/Paperlibrary/Random/ExerciseEdit/index.tsx + 1 modules ***!
- \**************************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, {
- "default": function() { return /* binding */ ExerciseEdit; }
-});
-
-// 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/toConsumableArray.js
-var toConsumableArray = __webpack_require__(861);
-var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js
-var objectSpread2 = __webpack_require__(42122);
-var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
-var slicedToArray = __webpack_require__(27424);
-var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
-// EXTERNAL MODULE: ./node_modules/react/index.js
-var react = __webpack_require__(67294);
-// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules
-var _umi_production_exports = __webpack_require__(89214);
-;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/ExerciseEdit/index.less?modules
-// extracted by mini-css-extract-plugin
-/* harmony default export */ var ExerciseEditmodules = ({"flex_box_center":"flex_box_center___V5dic","flex_space_between":"flex_space_between___zoM6r","flex_box_vertical_center":"flex_box_vertical_center___WTCR4","flex_box_center_end":"flex_box_center_end___ZhjIT","flex_box_column":"flex_box_column___XGVlz","wrap":"wrap___PXiQq","btns":"btns___Imyyi","tips":"tips___TLB21","crumbs":"crumbs___KmiI7","oneWrap":"oneWrap___YhZqd","title":"title___DVl_J","formWrap":"formWrap___VN5d8","rb":"rb___zNh0G","twoWrap":"twoWrap___YCLWk","list":"list___NWsPr","total":"total___x6P24","tag":"tag___bUrv6","knWarp":"knWarp___cgy7Z","kn":"kn___bdoMc","name":"name___hfjVq","modalColumn":"modalColumn___KXSq6","modalRow":"modalRow___s7fc_","sup":"sup___fa5dL"});
-// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules
-var input = __webpack_require__(79531);
-// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules
-var es_form = __webpack_require__(25159);
-// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 39 modules
-var es_modal = __webpack_require__(72423);
-// EXTERNAL MODULE: ./node_modules/antd/es/input-number/index.js + 21 modules
-var input_number = __webpack_require__(31795);
-// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules
-var message = __webpack_require__(2453);
-// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 12 modules
-var skeleton = __webpack_require__(21687);
-// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 5 modules
-var es_radio = __webpack_require__(78045);
-// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
-var es_button = __webpack_require__(71577);
-// EXTERNAL MODULE: ./src/utils/fetch.ts
-var fetch = __webpack_require__(84519);
-// EXTERNAL MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepTwo/List/index.tsx + 5 modules
-var List = __webpack_require__(80216);
-// EXTERNAL MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepTwo/AddTags/index.tsx + 2 modules
-var AddTags = __webpack_require__(54304);
-// EXTERNAL MODULE: ./node_modules/lodash/lodash.js
-var lodash = __webpack_require__(96486);
-// EXTERNAL MODULE: ./src/service/exercise.ts
-var exercise = __webpack_require__(51412);
-// EXTERNAL MODULE: ./src/assets/images/paper/dui.svg
-var dui = __webpack_require__(47990);
-// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
-var jsx_runtime = __webpack_require__(85893);
-;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/ExerciseEdit/index.tsx
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var TextArea = input/* default.TextArea */.Z.TextArea;
-var PaperlibraryPage = function PaperlibraryPage(_ref) {
- var _editData$exercise, _userInfo$course;
- var paperlibrary = _ref.paperlibrary,
- user = _ref.user,
- globalSetting = _ref.globalSetting,
- dispatch = _ref.dispatch;
- var _Form$useForm = es_form/* default.useForm */.Z.useForm(),
- _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
- form = _Form$useForm2[0];
- var _useState = (0,react.useState)({}),
- _useState2 = slicedToArray_default()(_useState, 2),
- formValue = _useState2[0],
- setFormValue = _useState2[1];
- var _useState3 = (0,react.useState)(true),
- _useState4 = slicedToArray_default()(_useState3, 2),
- loading = _useState4[0],
- setLoading = _useState4[1];
- var _useState5 = (0,react.useState)(false),
- _useState6 = slicedToArray_default()(_useState5, 2),
- btnLoading = _useState6[0],
- setBtnLoading = _useState6[1];
- var _useState7 = (0,react.useState)(false),
- _useState8 = slicedToArray_default()(_useState7, 2),
- saveLoading = _useState8[0],
- setSaveBtnLoading = _useState8[1];
- var _useState9 = (0,react.useState)({}),
- _useState10 = slicedToArray_default()(_useState9, 2),
- editData = _useState10[0],
- setEditData = _useState10[1];
- var _useState11 = (0,react.useState)([]),
- _useState12 = slicedToArray_default()(_useState11, 2),
- listData = _useState12[0],
- setListData = _useState12[1];
- var params = (0,_umi_production_exports.useParams)();
- var saveCompareData = (0,react.useRef)({
- contents: {},
- score_settings: {}
- });
- var userInfo = user.userInfo;
- (0,react.useEffect)(function () {
- dispatch({
- type: 'globalSetting/footerToggle',
- payload: false
- });
- return function () {
- dispatch({
- type: 'globalSetting/footerToggle',
- payload: true
- });
- };
- }, []);
- (0,react.useEffect)(function () {
- getEditData();
- }, []);
- var handleValuesChange = function handleValuesChange(changedValues) {
- setFormValue(objectSpread2_default()({}, form.getFieldsValue()));
- };
- var dealList = function dealList(str, data) {
- var subDisciplinesList = data || [];
- var list = toConsumableArray_default()(subDisciplinesList),
- flag = 0,
- data = [];
- for (var i = 0; i < list.length; i++) {
- var az = '';
- for (var j = 0; j < data.length; j++) {
- if (data[j][0][str] == list[i][str]) {
- flag = 1;
- az = j;
- break;
- }
- }
- if (flag == 1) {
- data[az].push(list[i]);
- flag = 0;
- } else if (flag == 0) {
- var wdy = new Array();
- wdy.push(list[i]);
- data.push(wdy);
- }
- }
- return data;
- };
- var calcListData = function calcListData(param) {
- var _items2;
- var score_settings = param.score_settings,
- contents = param.contents;
-
- //生成比较数据
- score_settings.forEach(function (e) {
- saveCompareData.current.score_settings[e.item_type] = e.score;
- });
- contents.forEach(function (e) {
- var name = "".concat(e.item_type, "_").concat(e.sub_discipline_id, "_").concat(e.tag_discipline_id, "_").concat(e.difficulty);
- saveCompareData.current.contents[name] = e.quanlity;
- });
- //生成一级结构
- var items = score_settings === null || score_settings === void 0 ? void 0 : score_settings.map(function (e) {
- return objectSpread2_default()(objectSpread2_default()({}, e), {}, {
- item_banks: [],
- questionTotal: 0,
- scoreTotal: 0
- });
- });
- //相同类型组合
- contents === null || contents === void 0 ? void 0 : contents.forEach(function (e) {
- var _items, _items$index, _items$index$item_ban;
- var index = items.findIndex(function (k) {
- return e.item_type === k.item_type;
- });
- var r = objectSpread2_default()(objectSpread2_default()({}, e), {}, {
- disciplines: e.discipline_name,
- sub_discipline: e.sub_discipline_name
- });
- delete r.discipline_name;
- delete r.sub_discipline_name;
- (_items = items) === null || _items === void 0 ? void 0 : (_items$index = _items[index]) === null || _items$index === void 0 ? void 0 : (_items$index$item_ban = _items$index.item_banks) === null || _items$index$item_ban === void 0 ? void 0 : _items$index$item_ban.push(r);
- });
- //相同sub_discipline_id组合二维数组
- items = items.map(function (e) {
- return objectSpread2_default()(objectSpread2_default()({}, e), {}, {
- item_banks: dealList('sub_discipline_id', e.item_banks)
- });
- });
- //生成tag_disciplines数组
- items = items.map(function (e) {
- var _e$item_banks;
- return objectSpread2_default()(objectSpread2_default()({}, e), {}, {
- item_banks: (_e$item_banks = e.item_banks) === null || _e$item_banks === void 0 ? void 0 : _e$item_banks.map(function (k) {
- var r = {
- tag_disciplines: []
- };
- k === null || k === void 0 ? void 0 : k.forEach(function (s) {
- r.disciplines = s.disciplines;
- delete s.disciplines;
- r.sub_discipline = s.sub_discipline;
- delete s.sub_discipline;
- r.sub_discipline_id = s.sub_discipline_id;
- delete s.sub_discipline_id;
- delete s.item_type;
- r.tag_disciplines.push(s);
- });
- r.tag_disciplines = dealList('tag_discipline_id', r.tag_disciplines);
- var elseR = r.tag_disciplines.map(function (h) {
- var g = {
- difficulties: []
- };
- h === null || h === void 0 ? void 0 : h.forEach(function (q) {
- g.name = q.tag_discipline_name;
- g.tag_discipline_id = q.tag_discipline_id;
- delete q.tag_discipline_name;
- delete q.tag_discipline_id;
- g.difficulties.push(objectSpread2_default()(objectSpread2_default()({}, q), {}, {
- num: q.quanlity,
- count: (0,lodash.isNil)(q === null || q === void 0 ? void 0 : q.count) ? q.quanlity : q.count
- }));
- });
- return g;
- });
- r.tag_disciplines = elseR;
- return r;
- })
- });
- });
- var record = calculate(items);
- var panel = record.panel,
- score_num_item = record.score_num_item;
- items = (_items2 = items) === null || _items2 === void 0 ? void 0 : _items2.map(function (e, i) {
- var _panel$i;
- var questionTotal = (panel === null || panel === void 0 ? void 0 : (_panel$i = panel[i]) === null || _panel$i === void 0 ? void 0 : _panel$i.reduce(function (a, b) {
- return a + b;
- }, 0)) || 0;
- return objectSpread2_default()(objectSpread2_default()({}, e), {}, {
- scoreTotal: questionTotal * (score_num_item[i] || 0),
- questionTotal: questionTotal
- });
- });
- setListData((0,lodash.cloneDeep)(items));
- };
- var getEditData = /*#__PURE__*/function () {
- var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
- var res, _res$exercise, _res$exercise2, _res$exercise3, _res$exercise4, _res$exercise5, param;
- return regeneratorRuntime_default()().wrap(function _callee$(_context) {
- while (1) switch (_context.prev = _context.next) {
- case 0:
- _context.next = 2;
- return (0,fetch/* default */.ZP)("/api/exercises/".concat(params.categoryId, "/edit.json"), {
- method: 'get',
- params: objectSpread2_default()({}, params)
- });
- case 2:
- res = _context.sent;
- if (res !== null && res !== void 0 && res.exercise) {
- param = {
- difficulty: res === null || res === void 0 ? void 0 : (_res$exercise = res.exercise) === null || _res$exercise === void 0 ? void 0 : _res$exercise.difficulty,
- exam_notes: res === null || res === void 0 ? void 0 : (_res$exercise2 = res.exercise) === null || _res$exercise2 === void 0 ? void 0 : _res$exercise2.exercise_description,
- name: res === null || res === void 0 ? void 0 : (_res$exercise3 = res.exercise) === null || _res$exercise3 === void 0 ? void 0 : _res$exercise3.exercise_name,
- time: res === null || res === void 0 ? void 0 : (_res$exercise4 = res.exercise) === null || _res$exercise4 === void 0 ? void 0 : _res$exercise4.time,
- num: (res === null || res === void 0 ? void 0 : (_res$exercise5 = res.exercise) === null || _res$exercise5 === void 0 ? void 0 : _res$exercise5.total_num) || 0
- };
- setLoading(false);
- setFormValue(objectSpread2_default()({}, param));
- form.setFieldsValue(objectSpread2_default()({}, param));
- setEditData(objectSpread2_default()({}, res));
- calcListData(objectSpread2_default()({}, res));
- // const data = `[{"item_type":"SINGLE","item_banks":[{"disciplines":"系统/运维","sub_discipline":"shell编程","discipline_id":17,"sub_discipline_id":73,"tag_disciplines":[{"tag_discipline_id":774,"name":"2","difficulties":[{"difficulty":1,"count":2,"num":2}]},{"name":"未匹配知识点","tag_discipline_id":656,"difficulties":[{"difficulty":1,"count":4,"num":2},{"difficulty":2,"count":2}]}]},{"disciplines":"系统/运维","sub_discipline":"Linux ","discipline_id":17,"sub_discipline_id":74,"tag_disciplines":[{"tag_discipline_id":657,"name":"未匹配知识点","difficulties":[{"difficulty":1,"count":1,"num":1},{"difficulty":2,"count":1,"num":1}]},{"name":"如果信念有颜色,那一定是中国红","tag_discipline_id":825,"difficulties":[{"difficulty":1,"count":1,"num":1}]}]},{"disciplines":"系统/运维","sub_discipline":"自动化运维","discipline_id":17,"sub_discipline_id":75,"tag_disciplines":[{"tag_discipline_id":727,"name":"自动化运维-公开知识点","difficulties":[{"difficulty":1,"count":1,"num":1},{"difficulty":3,"count":1,"num":1}]}]}],"scoreTotal":18,"score":2,"questionTotal":9},{"item_type":"MULTIPLE","item_banks":[{"disciplines":"系统/运维","sub_discipline":"shell编程","discipline_id":17,"sub_discipline_id":73,"tag_disciplines":[{"tag_discipline_id":656,"name":"未匹配知识点","difficulties":[{"difficulty":1,"count":2,"num":2}]}]}],"scoreTotal":4,"score":2,"questionTotal":2},{"item_type":"JUDGMENT","item_banks":[{"disciplines":"系统/运维","sub_discipline":"自动化运维","discipline_id":17,"sub_discipline_id":75,"tag_disciplines":[{"tag_discipline_id":727,"name":"自动化运维-公开知识点","difficulties":[{"difficulty":1,"count":1,"num":1}]}]},{"disciplines":"系统/运维","sub_discipline":"shell编程","discipline_id":17,"sub_discipline_id":73,"tag_disciplines":[{"tag_discipline_id":656,"name":"未匹配知识点","difficulties":[{"difficulty":1,"count":4},{"difficulty":2,"count":3}]}]}],"scoreTotal":1,"score":1,"questionTotal":1}]`
- // setListData(JSON.parse(data))
- // console.log(JSON.parse(data))
- }
- case 4:
- case "end":
- return _context.stop();
- }
- }, _callee);
- }));
- return function getEditData() {
- return _ref2.apply(this, arguments);
- };
- }();
- 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 calculate = function calculate(list) {
- var item = {
- contents: [],
- panel: [],
- score_num_item: [],
- //每题多少分集合
- score_total: [],
- error_tips: []
- };
- list === null || list === void 0 ? void 0 : list.forEach(function (k, index) {
- var _item$error_tips, _questionData$find, _k$item_banks;
- item.panel.push([]);
- item.score_num_item.push(k === null || k === void 0 ? void 0 : k.score);
- item.score_total.push(k === null || k === void 0 ? void 0 : k.scoreTotal);
- (_item$error_tips = item.error_tips) === null || _item$error_tips === void 0 ? void 0 : _item$error_tips.push({
- name: (_questionData$find = questionData.find(function (l) {
- return l.type === (k === null || k === void 0 ? void 0 : k.item_type);
- })) === null || _questionData$find === void 0 ? void 0 : _questionData$find.name,
- score: (k === null || k === void 0 ? void 0 : k.score) || 0,
- scoreTotal: k === null || k === void 0 ? void 0 : k.scoreTotal,
- item_type: k === null || k === void 0 ? void 0 : k.item_type
- });
- k === null || k === void 0 ? void 0 : (_k$item_banks = k.item_banks) === null || _k$item_banks === void 0 ? void 0 : _k$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.panel[index].push(s.num);
- item.contents.push({
- difficulty: s.difficulty,
- item_type: k.item_type,
- items_count: s.num,
- sub_discipline_id: e.sub_discipline_id,
- tag_discipline_id: r.tag_discipline_id
- });
- }
- });
- });
- });
- });
- return item;
- };
- var toAnswer = /*#__PURE__*/function () {
- var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
- var _res$exercise6;
- var res, _user$userInfo;
- return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
- while (1) switch (_context2.prev = _context2.next) {
- case 0:
- setBtnLoading(true);
- _context2.next = 3;
- return (0,exercise/* startSimulateAnswer */._F)(objectSpread2_default()(objectSpread2_default()({}, params), {}, {
- is_reset: 1
- }));
- case 3:
- res = _context2.sent;
- if (res !== null && res !== void 0 && (_res$exercise6 = res.exercise) !== null && _res$exercise6 !== void 0 && _res$exercise6.id) {
- _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/").concat((_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login, "/initate_answer"));
- }
- setBtnLoading(false);
- case 6:
- case "end":
- return _context2.stop();
- }
- }, _callee2);
- }));
- return function toAnswer() {
- return _ref3.apply(this, arguments);
- };
- }();
- var handleChange = function handleChange(e, i) {
- var _param$panel, _param$panel$;
- var newValue = (0,lodash.cloneDeep)(listData);
- newValue[i] = e;
- var param = calculate([newValue[i]]);
- var sum = param === null || param === void 0 ? void 0 : (_param$panel = param.panel) === null || _param$panel === void 0 ? void 0 : (_param$panel$ = _param$panel[0]) === null || _param$panel$ === void 0 ? void 0 : _param$panel$.reduce(function (a, b) {
- return a + b;
- }, 0);
- newValue[i].questionTotal = sum;
- setListData(newValue);
- var dom = document.getElementsByClassName('customError');
- if (!!dom.length) dom === null || dom === void 0 ? void 0 : dom.forEach(function (e) {
- var _e$classList;
- e === null || e === void 0 ? void 0 : (_e$classList = e.classList) === null || _e$classList === void 0 ? void 0 : _e$classList.remove("customError");
- });
- };
- var parser = function parser(v) {
- var num = parseInt(v);
- return (0,lodash.isNaN)(num) ? '' : num;
- };
- var renderTotal = function renderTotal() {
- var param = calculate(listData);
- var score_total = param.score_total;
- score_total = score_total.reduce(function (a, b) {
- return a + b;
- }, 0);
- return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: ExerciseEditmodules.total,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), " ", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
- children: ["\u672C\u8BD5\u5377\u603B\u5206", score_total, "\u5206"]
- })]
- });
- };
- var handleOk = /*#__PURE__*/function () {
- var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() {
- var name, modal;
- return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
- while (1) switch (_context4.prev = _context4.next) {
- case 0:
- name = 1;
- modal = es_modal/* default.confirm */.Z.confirm({
- icon: null,
- className: 'custom-modal-divider',
- centered: true,
- width: 500,
- maskClosable: false,
- keyboard: false,
- cancelButtonProps: {
- disabled: false
- },
- title: '配置出卷数量',
- content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: ExerciseEditmodules.modalColumn,
- children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: ExerciseEditmodules.modalRow,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("sup", {
- className: ExerciseEditmodules.sup,
- children: "*"
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- style: {
- flexShrink: 0
- },
- children: "\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
- parser: parser,
- style: {
- width: 120
- },
- placeholder: "\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",
- min: 1,
- defaultValue: name,
- onChange: function onChange(e) {
- name = e;
- var dom = document.getElementById('model_error');
- if (name < 1 || name > 50) {
- dom.style.display = 'block';
- } else {
- dom.style.display = 'none';
- }
- }
- })]
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- style: {
- display: 'none',
- marginLeft: 78
- },
- id: "model_error",
- className: "c-red",
- children: "\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570"
- })]
- }),
- okText: '确认',
- cancelText: '取消',
- onOk: function () {
- var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
- var dom, res;
- return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
- while (1) switch (_context3.prev = _context3.next) {
- case 0:
- if (!(name < 1 || name > 50)) {
- _context3.next = 4;
- break;
- }
- dom = document.getElementById('model_error');
- dom.style.display = 'block';
- return _context3.abrupt("return", Promise.reject());
- case 4:
- modal.update({
- cancelButtonProps: {
- disabled: true
- }
- });
- _context3.next = 7;
- return new Promise(function (resolve, reject) {
- setTimeout(function () {
- resolve('');
- }, 4000);
- });
- case 7:
- res = _context3.sent;
- modal.update({
- cancelButtonProps: {
- disabled: false
- }
- });
- if (true) {
- es_modal/* default.destroyAll */.Z.destroyAll();
- es_modal/* default.confirm */.Z.confirm({
- icon: null,
- className: 'custom-modal-divider',
- centered: true,
- width: 500,
- title: '提示',
- content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- className: ExerciseEditmodules.modalColumn,
- children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- style: {
- color: '#676A6C',
- display: 'flex'
- },
- className: "font14 mt20 mb10",
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
- style: {
- marginRight: 5
- },
- src: dui/* default */.Z
- }), "\u751F\u6210\u8BD5\u5377\u6210\u529F\u3002"]
- })
- }),
- okText: '确认',
- cancelText: '取消',
- onOk: function onOk() {
- sendData();
- }
- });
- }
- case 10:
- case "end":
- return _context3.stop();
- }
- }, _callee3);
- }));
- function onOk() {
- return _onOk.apply(this, arguments);
- }
- return onOk;
- }()
- });
- case 2:
- case "end":
- return _context4.stop();
- }
- }, _callee4);
- }));
- return function handleOk() {
- return _ref4.apply(this, arguments);
- };
- }();
- var sendData = function sendData() {
- // const body = {
- // ...editData?.exercise,
- // contents: param.contents,
- // exerciseId: params.categoryId,
- // score_settings: new_score_settings,
- // time: formValue?.time,
- // exercise_name: formValue?.name,
- // difficulty: formValue?.difficulty,
- // exercise_description: formValue?.exam_notes,
- // }
- // const res = await putExercise(body)
- // if (res.status === 0) {
- // message.success("修改成功 ")
- // history.push(`/classrooms/${params.coursesId}/exercise/${params.categoryId}/detail?random=true`)
- // }
- };
- var handleSave = /*#__PURE__*/function () {
- var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() {
- var _param$error_tips, _param$contents;
- var new_score_settings, new_sort_by_item_type, param, i, _param$panel2, _param$panel2$i, sum, _param$error_tips$i, dom, _param$error_tips$i2, _dom, _param$error_tips$i3, _param$error_tips$i4, compareData, body, res;
- return regeneratorRuntime_default()().wrap(function _callee5$(_context5) {
- while (1) switch (_context5.prev = _context5.next) {
- case 0:
- _context5.next = 2;
- return form.validateFields();
- case 2:
- new_score_settings = [];
- new_sort_by_item_type = [];
- param = calculate(listData);
- i = 0;
- case 6:
- if (!(i < param.error_tips.length)) {
- _context5.next = 22;
- break;
- }
- sum = param === null || param === void 0 ? void 0 : (_param$panel2 = param.panel) === null || _param$panel2 === void 0 ? void 0 : (_param$panel2$i = _param$panel2[i]) === null || _param$panel2$i === void 0 ? void 0 : _param$panel2$i.reduce(function (a, b) {
- return a + b;
- }, 0);
- if (!(param.error_tips[i].score === 0 && sum !== 0)) {
- _context5.next = 13;
- break;
- }
- dom = document.getElementById("".concat((_param$error_tips$i = param.error_tips[i]) === null || _param$error_tips$i === void 0 ? void 0 : _param$error_tips$i.item_type, "_score"));
- dom.classList.add("customError");
- dom.scrollIntoView({
- block: "start",
- behavior: "smooth"
- });
- return _context5.abrupt("return");
- case 13:
- if (!(param.error_tips[i].score !== 0 && sum === 0)) {
- _context5.next = 18;
- break;
- }
- _dom = document.getElementById("".concat((_param$error_tips$i2 = param.error_tips[i]) === null || _param$error_tips$i2 === void 0 ? void 0 : _param$error_tips$i2.item_type, "_sum"));
- _dom.classList.add("customError");
- _dom.scrollIntoView({
- block: "start",
- behavior: "smooth"
- });
- return _context5.abrupt("return");
- case 18:
- if (param.error_tips[i].score !== 0 && sum !== 0) {
- new_score_settings === null || new_score_settings === void 0 ? void 0 : new_score_settings.push({
- item_type: (_param$error_tips$i3 = param.error_tips[i]) === null || _param$error_tips$i3 === void 0 ? void 0 : _param$error_tips$i3.item_type,
- score: ((_param$error_tips$i4 = param.error_tips[i]) === null || _param$error_tips$i4 === void 0 ? void 0 : _param$error_tips$i4.score) || 0
- });
- new_sort_by_item_type.push(param.error_tips[i].name);
- }
- case 19:
- i++;
- _context5.next = 6;
- break;
- case 22:
- if (!(new_score_settings.length === 0)) {
- _context5.next = 25;
- break;
- }
- message/* default.warning */.ZP.warning('不允许每个题型的总分和抽题数量都为0');
- return _context5.abrupt("return");
- case 25:
- compareData = {
- contents: {},
- score_settings: {}
- }; //生成比较数据
- param === null || param === void 0 ? void 0 : (_param$error_tips = param.error_tips) === null || _param$error_tips === void 0 ? void 0 : _param$error_tips.forEach(function (e) {
- compareData.score_settings[e.item_type] = e.score;
- });
- param === null || param === void 0 ? void 0 : (_param$contents = param.contents) === null || _param$contents === void 0 ? void 0 : _param$contents.forEach(function (e) {
- var name = "".concat(e.item_type, "_").concat(e.sub_discipline_id, "_").concat(e.tag_discipline_id, "_").concat(e.difficulty);
- compareData.contents[name] = e.items_count;
- });
-
- // if (!isEqual(saveCompareData.current, compareData)) {
- // Modal.confirm({
- // icon: null,
- // className: 'custom-modal-divider',
- // centered: true,
- // width: 514,
- // title: '提示',
- // content:
- //
修改后需重新配置出卷数量,对已生成的随机试卷删除,确定要修改吗?
- // ,
- // okText: '确认',
- // cancelText: '取消',
- // onOk: () => {
- // Modal.destroyAll();
- // handleOk()
- // }
- // });
- // return;
- // }
- // sendData()
- body = objectSpread2_default()(objectSpread2_default()({}, editData === null || editData === void 0 ? void 0 : editData.exercise), {}, {
- contents: param.contents,
- exerciseId: params.categoryId,
- score_settings: new_score_settings,
- time: formValue === null || formValue === void 0 ? void 0 : formValue.time,
- exercise_name: formValue === null || formValue === void 0 ? void 0 : formValue.name,
- difficulty: formValue === null || formValue === void 0 ? void 0 : formValue.difficulty,
- exercise_description: formValue === null || formValue === void 0 ? void 0 : formValue.exam_notes,
- num: formValue === null || formValue === void 0 ? void 0 : formValue.num
- });
- setSaveBtnLoading(true);
- _context5.next = 32;
- return (0,exercise/* putExercise */.wy)(body);
- case 32:
- res = _context5.sent;
- if (res.status === 0) {
- message/* default.success */.ZP.success("修改成功 ");
- _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/detail?random=true"));
- }
- setSaveBtnLoading(false);
- case 35:
- case "end":
- return _context5.stop();
- }
- }, _callee5);
- }));
- return function handleSave() {
- return _ref5.apply(this, arguments);
- };
- }();
- var selectList = dealList('sub_discipline_name', editData === null || editData === void 0 ? void 0 : editData.all_tag_disciplines);
- var disabled = (editData === null || editData === void 0 ? void 0 : (_editData$exercise = editData.exercise) === null || _editData$exercise === void 0 ? void 0 : _editData$exercise.exercise_status) !== 1;
- return /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
- className: ExerciseEditmodules.wrap,
- children: /*#__PURE__*/(0,jsx_runtime.jsxs)(skeleton/* default */.Z, {
- loading: loading,
- active: true,
- paragraph: {
- rows: 5
- },
- children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: ExerciseEditmodules.crumbs,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- className: "current",
- onClick: function onClick() {
- return _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise"));
- },
- children: "".concat(userInfo === null || userInfo === void 0 ? void 0 : (_userInfo$course = userInfo.course) === null || _userInfo$course === void 0 ? void 0 : _userInfo$course.course_name, ">")
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- className: "current",
- onClick: function onClick() {
- return _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise"));
- },
- children: '试卷列表>'
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- style: {
- color: "#bebebe"
- },
- children: '编辑试卷'
- })]
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
- className: ExerciseEditmodules.oneWrap,
- children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: ExerciseEditmodules.title,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- children: "\u57FA\u672C\u4FE1\u606F"
- }), " "]
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
- className: ExerciseEditmodules.formWrap,
- form: form,
- layout: "horizontal",
- scrollToFirstError: true,
- onValuesChange: handleValuesChange
- // onFinish={handleFinish}
- ,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
- label: "\u8BD5\u5377\u540D\u79F0",
- name: "name",
- rules: [{
- required: !disabled,
- message: '试卷名称不能为空'
- }, {
- pattern: /^(?!(\s+$))/,
- message: '输入框不能全为空格'
- }],
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
- disabled: disabled,
- className: ExerciseEditmodules["in"],
- bordered: false,
- placeholder: "\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\uFF0C\u6700\u591A60\u4E2A\u5B57",
- maxLength: 60
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- style: {
- position: 'relative'
- },
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
- label: "\u7B54\u9898\u65F6\u957F:",
- name: "time",
- rules: [{
- required: !disabled,
- message: "答题时长不能为空"
- }],
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
- min: 1,
- parser: parser,
- max: 9999,
- disabled: disabled,
- placeholder: "\u8BF7\u8F93\u5165\u7B54\u9898\u65F6\u957F",
- style: {
- width: 190
- }
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- style: {
- position: 'absolute',
- top: 26,
- left: 310
- },
- children: "\u5206\u949F"
- })]
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
- label: "\u8BD5\u9898\u96BE\u5EA6",
- name: "difficulty",
- rules: [{
- required: !disabled,
- message: "请选择难度"
- }],
- children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, {
- disabled: disabled,
- style: {
- display: "flex",
- width: 286,
- justifyContent: "space-between"
- },
- size: 'middle',
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, {
- className: ExerciseEditmodules.rb,
- value: 1,
- children: "\u7B80\u5355"
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, {
- className: ExerciseEditmodules.rb,
- value: 2,
- children: "\u9002\u4E2D"
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, {
- className: ExerciseEditmodules.rb,
- value: 3,
- children: "\u56F0\u96BE"
- })]
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
- label: "\u51FA\u5377\u6570\u91CF:",
- name: "num",
- rules: [{
- required: !disabled,
- message: "出卷数量不能为空"
- }, {
- max: 50,
- min: 1,
- message: "请输入1~50之间的整数",
- type: 'number'
- }],
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
- min: 0,
- parser: parser
- // max={}
- ,
- disabled: disabled,
- placeholder: "\u8BF7\u8F93\u5165\u51FA\u5377\u6570\u91CF",
- style: {
- width: 190
- }
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
- label: "\u8003\u8BD5\u987B\u77E5",
- name: "exam_notes",
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(TextArea, {
- disabled: disabled,
- placeholder: "\u8003\u751F\u5FC5\u987B\u4E25\u683C\u9075\u5B88\u8003\u573A\u7EAA\u5F8B\uFF0C\u4E0D\u51C6\u5192\u540D\u9876\u66FF\uFF0C\u4E0D\u51C6\u6709\u4EFB\u4F55\u4F5C\u5F0A\u884C\u4E3A\u3002\u5982\u53D1\u73B0\u8FDD\u7EAA\uFF0C\u5E76\u7ED9\u4E88\u4E25\u5389\u5904\u5206\u3002",
- rows: 4,
- maxLength: 300
- })
- })]
- })]
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
- className: ExerciseEditmodules.twoWrap,
- children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: ExerciseEditmodules.tag,
- children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: ExerciseEditmodules.name,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {
- className: ExerciseEditmodules.num
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- children: "\u8003\u5BDF\u8303\u56F4"
- })]
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- className: ExerciseEditmodules.knWarp,
- children: selectList === null || selectList === void 0 ? void 0 : selectList.map(function (e, key) {
- var _e$;
- return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, {
- children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: ExerciseEditmodules.kn,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- children: key + 1
- }), " ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- children: e === null || e === void 0 ? void 0 : (_e$ = e[0]) === null || _e$ === void 0 ? void 0 : _e$.sub_discipline_name
- })]
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(AddTags/* default */.Z, {
- disabled: true,
- type: 1,
- value: e === null || e === void 0 ? void 0 : e.map(function (k) {
- return objectSpread2_default()(objectSpread2_default()({}, k), {}, {
- id: k.sub_discipline_id,
- name: k.tag_discipline_name
- });
- })
- })]
- }, key);
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: ExerciseEditmodules.name,
- style: {
- marginTop: 10
- },
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {
- className: ExerciseEditmodules.num
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- children: "\u6559\u7814\u56E2\u961F"
- })]
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- className: ExerciseEditmodules.knWarp,
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(AddTags/* default */.Z, {
- disabled: true,
- type: 1,
- value: editData === null || editData === void 0 ? void 0 : editData.teach_groups
- })
- })]
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: ExerciseEditmodules.title,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- children: "\u9898\u76EE\u9898\u91CF"
- }), " "]
- }), listData.map(function (e, i) {
- return /*#__PURE__*/(0,jsx_runtime.jsx)(List/* default */.Z, {
- expansion: false,
- disabled: disabled,
- listClassName: ExerciseEditmodules.list,
- value: e,
- onChange: function onChange(e) {
- return handleChange(e, i);
- }
- }, i);
- }), renderTotal()]
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: ExerciseEditmodules.btns,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
- onClick: function onClick() {
- document.body.scrollIntoView();
- _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise"));
- },
- children: "\u8FD4\u56DE"
- }), !disabled && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
- loading: btnLoading,
- type: "primary",
- onClick: function onClick() {
- return toAnswer();
- },
- children: "\u6A21\u62DF\u8003\u8BD5"
- }), !disabled && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
- loading: saveLoading,
- onClick: function onClick() {
- return handleSave();
- },
- children: "\u63D0\u4EA4"
- })]
- })]
- })
- });
-};
-/* harmony default export */ var ExerciseEdit = ((0,_umi_production_exports.connect)(function (_ref6) {
- var paperlibrary = _ref6.paperlibrary,
- user = _ref6.user,
- globalSetting = _ref6.globalSetting;
- return {
- paperlibrary: paperlibrary,
- user: user,
- globalSetting: globalSetting
- };
-})(PaperlibraryPage));
-
-/***/ }),
-
-/***/ 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=");
-
-/***/ }),
-
-/***/ 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);
-
-/***/ })
-
-}]);
\ No newline at end of file
diff --git a/p__Paperlibrary__Random__ExerciseEdit__index.chunk.css b/p__Paperlibrary__Random__ExerciseEdit__index.chunk.css
deleted file mode 100644
index bd27e27b5f..0000000000
--- a/p__Paperlibrary__Random__ExerciseEdit__index.chunk.css
+++ /dev/null
@@ -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;
-}
-
diff --git a/p__Paperlibrary__Random__PreviewEdit__index.async.js b/p__Paperlibrary__Random__PreviewEdit__index.async.js
index 2411da7a92..4e262246a9 100644
--- a/p__Paperlibrary__Random__PreviewEdit__index.async.js
+++ b/p__Paperlibrary__Random__PreviewEdit__index.async.js
@@ -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;
+}
/***/ })
diff --git a/p__Paperlibrary__Random__PreviewEdit__index.chunk.css b/p__Paperlibrary__Random__PreviewEdit__index.chunk.css
index 4b2d522622..a9d66700db 100644
--- a/p__Paperlibrary__Random__PreviewEdit__index.chunk.css
+++ b/p__Paperlibrary__Random__PreviewEdit__index.chunk.css
@@ -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;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
diff --git a/p__Paperlibrary__See__index.async.js b/p__Paperlibrary__See__index.async.js
index a08295e00a..735478fa14 100644
--- a/p__Paperlibrary__See__index.async.js
+++ b/p__Paperlibrary__See__index.async.js
@@ -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) {
diff --git a/p__Paperlibrary__index.async.js b/p__Paperlibrary__index.async.js
index 24a8ad5fd1..131e298a1e 100644
--- a/p__Paperlibrary__index.async.js
+++ b/p__Paperlibrary__index.async.js
@@ -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) {
diff --git a/p__Paths__Detail__id.async.js b/p__Paths__Detail__id.async.js
index 65156b3665..9f6d122068 100644
--- a/p__Paths__Detail__id.async.js
+++ b/p__Paths__Detail__id.async.js
@@ -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"
},
diff --git a/p__Paths__Detail__id.chunk.css b/p__Paths__Detail__id.chunk.css
index 890a530f02..4da959e4d9 100644
--- a/p__Paths__Detail__id.chunk.css
+++ b/p__Paths__Detail__id.chunk.css
@@ -1925,7 +1925,7 @@
}
.info___ProlR span[class~='highlight'],
.tooltip-content___M1Rrn span[class~='highlight'] {
- color: #E99237;
+ color: #fb3226;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
diff --git a/p__Problems__OjForm__NewEdit__index.async.js b/p__Problems__OjForm__NewEdit__index.async.js
index cbe7422467..5bc3c1997c 100644
--- a/p__Problems__OjForm__NewEdit__index.async.js
+++ b/p__Problems__OjForm__NewEdit__index.async.js
@@ -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+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wbmkZtj0KMKbEGNIweg4xuPmq+DWDKSOfz2/AqaxpOVWzip8HC2xTsydfjoMHhMd2VMDjkSswTPqSucOhh3PmupaIediBOnL52UTLENC7QCV1bC9vkjkF3i4WVUDeORIF2sf5ymOk7mY1pr87hoHEhekHDLYQOfck8c6c6OeYfPHN3LyOxEB2KwQru0LrBvTPdaGRipj7ISUzqUWJ/moiRyc1tUXAQP42Tsa6sEIRCtwDRXqESDYS8RuG5iyRMEWFAat4CbvsAmgFmukmeYofJYeSAimab0L4DfQNHiF1laFAyMv840o2zN3Q1FMuIOIWStF9OtAxH4xkIC8NZyN9SnIOsNISkLRd3EWlFBP0lQJtDzVTyc8mBKB3U65nUnBYmDaFAr98BFGqvYKtwOMZHRsp1vsedVxV8bQRJXu5BbKWa6sAmK1lj2FiOoLcS5LYNX/N+3ktp+GapFJMeoDccdI9gEJ2nW5HhJjKuXmktih7yjJoC8VVwNpldXnr+KX8DfcD09mnwzz7SXEAAAAASUVORK5CYII=";
/***/ })
diff --git a/p__Problemset__NewItem__index.async.js b/p__Problemset__NewItem__index.async.js
index 1526cc98b7..7aab6d4b80 100644
--- a/p__Problemset__NewItem__index.async.js
+++ b/p__Problemset__NewItem__index.async.js
@@ -5084,7 +5084,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl
\********************************************************/
/***/ (function(module) {
-module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAgCAYAAACcuBHKAAAACXBIWXMAAAsSAAALEgHS3X78AAAAAXNSR0IArs4c6QAAAhNJREFUWEftlztLA0EQx/97Z2LAF1ooKhZaCClsVARFLAQbbQTBVFY2NjZiI4KFINjo51DBD2BhI4IQfKAIikJAg48oKD4Kk3usbDabXHSTu1yCucJp5pL5z+zvZm4XllBKVZTZSBriaLIV9HMdBIOoJE22XHEaA8U+zMc19B2HbfV5BByCAeAzDMPB4rJiCt0uBoZDHI5uIv4xUczbFJQbqOFdJNVz6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EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+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=";
/***/ })
diff --git a/p__Problemset__index.async.js b/p__Problemset__index.async.js
index 12eed5b8e1..e67d1311a7 100644
--- a/p__Problemset__index.async.js
+++ b/p__Problemset__index.async.js
@@ -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,iVBORw0KGgoAAAANSUhEUgAAACYAAAAhCAYAAAC1ONkWAAAACXBIWXMAAAsSAAALEgHS3X78AAAAAXN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G0UEdTexkILRUQiSBBBCAhGUINFHia53Dm7ufXcvfgIOHA3O69vvtnbPeY4ThD/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";
/***/ })
diff --git a/p__Problemset__index.chunk.css b/p__Problemset__index.chunk.css
index 650e684172..1733a80286 100644
--- a/p__Problemset__index.chunk.css
+++ b/p__Problemset__index.chunk.css
@@ -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;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
diff --git a/p__Question__OjProblem__index.async.js b/p__Question__OjProblem__index.async.js
index 7774830a54..574e2f0e63 100644
--- a/p__Question__OjProblem__index.async.js
+++ b/p__Question__OjProblem__index.async.js
@@ -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;
diff --git a/p__Search__index.async.js b/p__Search__index.async.js
index 8821132063..3e744a3c57 100644
--- a/p__Search__index.async.js
+++ b/p__Search__index.async.js
@@ -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", {
diff --git a/p__Search__index.chunk.css b/p__Search__index.chunk.css
index de18dc0012..7026e2ac40 100644
--- a/p__Search__index.chunk.css
+++ b/p__Search__index.chunk.css
@@ -194,7 +194,7 @@
}
.search-panel___OJsfs span[class~='highlight'],
.tooltip-content___oGakU span[class~='highlight'] {
- color: #E99237;
+ color: #fb3226;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
diff --git a/p__Shixuns__Edit__body__Warehouse__index.async.js b/p__Shixuns__Edit__body__Warehouse__index.async.js
index 47e75e8b9e..af7e6ac755 100644
--- a/p__Shixuns__Edit__body__Warehouse__index.async.js
+++ b/p__Shixuns__Edit__body__Warehouse__index.async.js
@@ -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") {
diff --git a/p__Shixuns__Edit__index.async.js b/p__Shixuns__Edit__index.async.js
index b70f823cb1..2fce16e9b0 100644
--- a/p__Shixuns__Edit__index.async.js
+++ b/p__Shixuns__Edit__index.async.js
@@ -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 ***!
diff --git a/p__User__Detail__Topics__Exercise__Detail__index.async.js b/p__User__Detail__Topics__Exercise__Detail__index.async.js
index 6f6e2dabce..f42d59298d 100644
--- a/p__User__Detail__Topics__Exercise__Detail__index.async.js
+++ b/p__User__Detail__Topics__Exercise__Detail__index.async.js
@@ -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
})]
diff --git a/p__index.async.js b/p__index.async.js
index 0c2449011b..5f9239d2e3 100644
--- a/p__index.async.js
+++ b/p__index.async.js
@@ -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",
diff --git a/p__tasks__index.async.js b/p__tasks__index.async.js
index 26412a19ae..e929e9429c 100644
--- a/p__tasks__index.async.js
+++ b/p__tasks__index.async.js
@@ -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: "知道了"
});
diff --git a/p__tasks__index.chunk.css b/p__tasks__index.chunk.css
index 1cdcd817cf..3653e3459e 100644
--- a/p__tasks__index.chunk.css
+++ b/p__tasks__index.chunk.css
@@ -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);
}
diff --git a/p__virtualSpaces__Lists__Knowledge__index.async.js b/p__virtualSpaces__Lists__Knowledge__index.async.js
index b3a9826f37..a0b482f615 100644
--- a/p__virtualSpaces__Lists__Knowledge__index.async.js
+++ b/p__virtualSpaces__Lists__Knowledge__index.async.js
@@ -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
})]
diff --git a/umi.css b/umi.css
index 82105ee3e1..6d4fde5c4f 100644
--- a/umi.css
+++ b/umi.css
@@ -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;
}
diff --git a/umi.js b/umi.js
index df1cd14e88..387c280a40 100644
--- a/umi.js
+++ b/umi.js
@@ -32006,10 +32006,11 @@ __webpack_require__.d(__webpack_exports__, {
"zt": function() { return /* reexport */ components_Provider; },
"$j": function() { return /* reexport */ components_connect; },
"Ue": function() { return /* reexport */ index_esm_create; },
+ "I0": function() { return /* reexport */ useDispatch; },
"v9": function() { return /* reexport */ useSelector; }
});
-// UNUSED EXPORTS: bindActionCreators, default, saga, useDispatch, useStore, utils
+// UNUSED EXPORTS: bindActionCreators, default, saga, useStore, utils
// NAMESPACE OBJECT: ./node_modules/redux-saga/es/effects.js
var effects_namespaceObject = {};
@@ -35306,11 +35307,11 @@ const setBatch = newBatch => batch = newBatch; // Supply a getter just to skip d
const getBatch = () => batch;
;// CONCATENATED MODULE: ./node_modules/@umijs/plugins/node_modules/react-redux/es/components/Context.js
-const Context_ReactReduxContext = /*#__PURE__*/(0,react.createContext)(null);
+const ReactReduxContext = /*#__PURE__*/(0,react.createContext)(null);
if (false) {}
-/* harmony default export */ var Context = ((/* unused pure expression or super */ null && (Context_ReactReduxContext)));
+/* harmony default export */ var Context = ((/* unused pure expression or super */ null && (ReactReduxContext)));
;// CONCATENATED MODULE: ./node_modules/@umijs/plugins/node_modules/react-redux/es/hooks/useReduxContext.js
@@ -35332,7 +35333,7 @@ if (false) {}
* }
*/
function useReduxContext_useReduxContext() {
- const contextValue = (0,react.useContext)(Context_ReactReduxContext);
+ const contextValue = (0,react.useContext)(ReactReduxContext);
if (false) {}
@@ -35361,8 +35362,8 @@ const refEquality = (a, b) => a === b;
*/
-function createSelectorHook(context = Context_ReactReduxContext) {
- const useReduxContext = context === Context_ReactReduxContext ? useReduxContext_useReduxContext : () => (0,react.useContext)(context);
+function createSelectorHook(context = ReactReduxContext) {
+ const useReduxContext = context === ReactReduxContext ? useReduxContext_useReduxContext : () => (0,react.useContext)(context);
return function useSelector(selector, equalityFn = refEquality) {
if (false) {}
@@ -35983,7 +35984,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
// use React's forwardRef to expose a ref of the wrapped component
forwardRef = false,
// the context consumer to use
- context = Context_ReactReduxContext
+ context = ReactReduxContext
} = {}) {
if (false) {}
@@ -36243,7 +36244,7 @@ function Provider_Provider({
subscription.onStateChange = undefined;
};
}, [contextValue, previousState]);
- const Context = context || Context_ReactReduxContext; // @ts-ignore 'AnyAction' is assignable to the constraint of type 'A', but 'A' could be instantiated with a different subtype
+ const Context = context || ReactReduxContext; // @ts-ignore 'AnyAction' is assignable to the constraint of type 'A', but 'A' could be instantiated with a different subtype
return /*#__PURE__*/react.createElement(Context.Provider, {
value: contextValue
@@ -36262,9 +36263,9 @@ function Provider_Provider({
* @returns {Function} A `useStore` hook bound to the specified context.
*/
-function useStore_createStoreHook(context = ReactReduxContext) {
+function createStoreHook(context = ReactReduxContext) {
const useReduxContext = // @ts-ignore
- context === ReactReduxContext ? useDefaultReduxContext : () => useContext(context);
+ context === ReactReduxContext ? useReduxContext_useReduxContext : () => (0,react.useContext)(context);
return function useStore() {
const {
store
@@ -36289,7 +36290,7 @@ function useStore_createStoreHook(context = ReactReduxContext) {
* }
*/
-const useStore = /*#__PURE__*/(/* unused pure expression or super */ null && (useStore_createStoreHook()));
+const useStore_useStore = /*#__PURE__*/createStoreHook();
;// CONCATENATED MODULE: ./node_modules/@umijs/plugins/node_modules/react-redux/es/hooks/useDispatch.js
@@ -36302,7 +36303,7 @@ const useStore = /*#__PURE__*/(/* unused pure expression or super */ null && (us
function createDispatchHook(context = ReactReduxContext) {
const useStore = // @ts-ignore
- context === ReactReduxContext ? useDefaultStore : createStoreHook(context);
+ context === ReactReduxContext ? useStore_useStore : createStoreHook(context);
return function useDispatch() {
const store = useStore(); // @ts-ignore
@@ -36331,7 +36332,7 @@ function createDispatchHook(context = ReactReduxContext) {
* }
*/
-const useDispatch = /*#__PURE__*/(/* unused pure expression or super */ null && (createDispatchHook()));
+const useDispatch = /*#__PURE__*/createDispatchHook();
;// CONCATENATED MODULE: ./node_modules/@umijs/plugins/node_modules/react-redux/es/exports.js
@@ -36857,6 +36858,7 @@ __webpack_require__.d(__webpack_exports__, {
"getDvaApp": function() { return /* reexport */ plugin_dva_dva/* getDvaApp */.Q; },
"history": function() { return /* reexport */ core_history/* history */.m; },
"useAppData": function() { return /* reexport */ appContext/* useAppData */.Ov; },
+ "useDispatch": function() { return /* reexport */ dva/* useDispatch */.I0; },
"useLocation": function() { return /* reexport */ react_router/* useLocation */.TH; },
"useOutletContext": function() { return /* reexport */ react_router/* useOutletContext */.bx; },
"useParams": function() { return /* reexport */ react_router/* useParams */.UO; },
@@ -36864,7 +36866,7 @@ __webpack_require__.d(__webpack_exports__, {
"useSelector": function() { return /* reexport */ dva/* useSelector */.v9; }
});
-// UNUSED EXPORTS: FormattedDate, FormattedDateParts, FormattedDisplayName, FormattedHTMLMessage, FormattedList, FormattedMessage, FormattedNumber, FormattedNumberParts, FormattedPlural, FormattedRelativeTime, FormattedTime, FormattedTimeParts, Helmet, HelmetProvider, IntlProvider, NavLink, Navigate, RawIntlProvider, SelectLang, __getRoot, __useFetcher, addLocale, createBrowserHistory, createHashHistory, createHistory, createMemoryHistory, createSearchParams, defineApp, formatMessage, generatePath, getAllLocales, getIntl, getLocale, injectIntl, matchPath, matchRoutes, renderClient, resolvePath, setLocale, terminal, useClientLoaderData, useDispatch, useIntl, useMatch, useNavigate, useOutlet, useResolvedPath, useRouteData, useRouteProps, useRoutes, useSelectedRoutes, useServerLoaderData, useStore, withRouter
+// UNUSED EXPORTS: FormattedDate, FormattedDateParts, FormattedDisplayName, FormattedHTMLMessage, FormattedList, FormattedMessage, FormattedNumber, FormattedNumberParts, FormattedPlural, FormattedRelativeTime, FormattedTime, FormattedTimeParts, Helmet, HelmetProvider, IntlProvider, NavLink, Navigate, RawIntlProvider, SelectLang, __getRoot, __useFetcher, addLocale, createBrowserHistory, createHashHistory, createHistory, createMemoryHistory, createSearchParams, defineApp, formatMessage, generatePath, getAllLocales, getIntl, getLocale, injectIntl, matchPath, matchRoutes, renderClient, resolvePath, setLocale, terminal, useClientLoaderData, useIntl, useMatch, useNavigate, useOutlet, useResolvedPath, useRouteData, useRouteProps, useRoutes, useSelectedRoutes, useServerLoaderData, useStore, withRouter
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
@@ -76798,7 +76800,7 @@ __webpack_require__.d(__webpack_exports__, {
;// CONCATENATED MODULE: ./src/utils/env/dev.ts
var DEV = {
// PROXY_SERVER: 'https://data.educoder.net',
- PROXY_SERVER: 'https://test-data.educoder.net',
+ PROXY_SERVER: 'https://pre-data.educoder.net',
API_SERVER: '',
REPORT_SERVER: 'http://192.168.1.57:3001',
IMG_SERVER: 'https://new-testali-cdn.educoder.net',
@@ -77591,6 +77593,7 @@ function del(url, params) {
/* harmony export */ "ZJ": function() { return /* binding */ toDataUrl; },
/* harmony export */ "_g": function() { return /* binding */ getMessagesUrl; },
/* harmony export */ "_m": function() { return /* binding */ isKepuKehuan; },
+/* harmony export */ "ad": function() { return /* binding */ formatRandomPaperData; },
/* harmony export */ "b9": function() { return /* binding */ isPc; },
/* harmony export */ "cX": function() { return /* binding */ localSort; },
/* harmony export */ "d8": function() { return /* binding */ setCookie; },
@@ -80107,7 +80110,7 @@ function timeContrast(nextStartTime) {
return true;
}
-//比对时间
+//展示条数
function showTotal(total) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)("span", {
className: "font14 c-grey-333",
@@ -80118,6 +80121,80 @@ function showTotal(total) {
});
}
+//随机组卷格式化数据
+var formatRandomPaperData = function formatRandomPaperData(originData) {
+ var numberFormatChinese = {
+ 1: '一',
+ 2: '二',
+ 3: '三',
+ 4: '四',
+ 5: '五',
+ 6: '六',
+ 7: '七'
+ };
+ if (!originData) {
+ return;
+ }
+ var _ref5 = originData || {},
+ exam = _ref5.exam,
+ single_questions = _ref5.single_questions,
+ multiple_questions = _ref5.multiple_questions,
+ judgement_questions = _ref5.judgement_questions,
+ program_questions = _ref5.program_questions,
+ completion_questions = _ref5.completion_questions,
+ subjective_questions = _ref5.subjective_questions,
+ practical_questions = _ref5.practical_questions,
+ combination_questions = _ref5.combination_questions;
+ var questionData = [_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({
+ type: 'SINGLE',
+ name: '单选题'
+ }, single_questions), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({
+ type: 'MULTIPLE',
+ name: '多选题'
+ }, multiple_questions), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({
+ type: 'COMPLETION',
+ name: '填空题'
+ }, completion_questions), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({
+ type: 'JUDGMENT',
+ name: '判断题'
+ }, judgement_questions), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({
+ type: 'SUBJECTIVE',
+ name: '简答题'
+ }, subjective_questions), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({
+ type: 'PROGRAM',
+ name: '编程题'
+ }, program_questions), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({
+ type: 'PRACTICAL',
+ name: '实训题'
+ }, practical_questions), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___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 _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, item), {
+ number: numberFormatChinese[index + 1]
+ });
+ });
+ return {
+ all_questions_count: all_questions_count,
+ all_score: all_score,
+ questionList: questionList,
+ ids: ids,
+ exam: exam
+ };
+};
+
/***/ }),
/***/ 29614:
@@ -126957,7 +127034,7 @@ function debounce (delay, callback, options) {
/******/ // This function allow to reference async chunks
/******/ __webpack_require__.u = function(chunkId) {
/******/ // return url for filenames based on template
-/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4639":"p__virtualSpaces__Lists__Video__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5348":"p__virtualSpaces__Lists__Video__Upload__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","7918":"p__Paperlibrary__Random__ExerciseEdit__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13414":"p__virtualSpaces__Lists__Managements__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22257":"p__Paperlibrary__Random__AddAndEdit__index","22307":"p__Report__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25896":"p__virtualSpaces__Lists__Syllabuses__Detail__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27182":"p__User__ResetPassword__index","27333":"p__User__WechatLogin__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28639":"p__Forums__Index__redirect","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29080":"p__virtualSpaces__Lists__Graphs__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34608":"p__virtualSpaces__Index__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35588":"p__virtualSpaces__Lists__Course__index","35729":"p__Help__Index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","43442":"p__Classrooms__Lists__Board__Add__index","43465":"p__virtualSpaces__Lists__Member__index","43862":"p__HttpStatus__403","44216":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44510":"p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index","44565":"p__HttpStatus__500","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","48077":"p__Classrooms__Lists__Students__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54472":"p__virtualSpaces__Lists__Notices__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","62300":"p__Api__index","62548":"p__Engineering__Norm__Detail__index","64017":"p__Classrooms__Lists__PlaceholderPage__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65294":"p__User__OtherLogin__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66034":"p__HttpStatus__UserAgents","66063":"p__Graduations__Lists__Personmanage__index","66531":"p__HttpStatus__404","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","70928":"p__RestFul__Edit__index","71218":"p__virtualSpaces__Lists__Syllabuses__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","81148":"p__Shixuns__Detail__Repository__UploadFile__index","81799":"p__Competitions__Entered__Assembly__TeamDateil","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91487":"p__virtualSpaces__Lists__Shixuns__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92603":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + ".async.js";
+/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4639":"p__virtualSpaces__Lists__Video__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5348":"p__virtualSpaces__Lists__Video__Upload__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13414":"p__virtualSpaces__Lists__Managements__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25896":"p__virtualSpaces__Lists__Syllabuses__Detail__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27182":"p__User__ResetPassword__index","27333":"p__User__WechatLogin__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28639":"p__Forums__Index__redirect","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29080":"p__virtualSpaces__Lists__Graphs__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34608":"p__virtualSpaces__Index__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35588":"p__virtualSpaces__Lists__Course__index","35729":"p__Help__Index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","43442":"p__Classrooms__Lists__Board__Add__index","43465":"p__virtualSpaces__Lists__Member__index","43862":"p__HttpStatus__403","44216":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44510":"p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index","44565":"p__HttpStatus__500","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","48077":"p__Classrooms__Lists__Students__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54472":"p__virtualSpaces__Lists__Notices__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","62300":"p__Api__index","62548":"p__Engineering__Norm__Detail__index","64017":"p__Classrooms__Lists__PlaceholderPage__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65294":"p__User__OtherLogin__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66034":"p__HttpStatus__UserAgents","66063":"p__Graduations__Lists__Personmanage__index","66531":"p__HttpStatus__404","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","70928":"p__RestFul__Edit__index","71218":"p__virtualSpaces__Lists__Syllabuses__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","81148":"p__Shixuns__Detail__Repository__UploadFile__index","81799":"p__Competitions__Entered__Assembly__TeamDateil","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91487":"p__virtualSpaces__Lists__Shixuns__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92603":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + ".async.js";
/******/ };
/******/ }();
/******/
@@ -126966,7 +127043,7 @@ function debounce (delay, callback, options) {
/******/ // This function allow to reference async chunks
/******/ __webpack_require__.miniCssF = function(chunkId) {
/******/ // return url for filenames based on template
-/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4639":"p__virtualSpaces__Lists__Video__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5348":"p__virtualSpaces__Lists__Video__Upload__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","7918":"p__Paperlibrary__Random__ExerciseEdit__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13414":"p__virtualSpaces__Lists__Managements__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22257":"p__Paperlibrary__Random__AddAndEdit__index","22307":"p__Report__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25896":"p__virtualSpaces__Lists__Syllabuses__Detail__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27182":"p__User__ResetPassword__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29080":"p__virtualSpaces__Lists__Graphs__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34608":"p__virtualSpaces__Index__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35588":"p__virtualSpaces__Lists__Course__index","35729":"p__Help__Index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","43442":"p__Classrooms__Lists__Board__Add__index","43465":"p__virtualSpaces__Lists__Member__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44510":"p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","48077":"p__Classrooms__Lists__Students__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54472":"p__virtualSpaces__Lists__Notices__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","62548":"p__Engineering__Norm__Detail__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65294":"p__User__OtherLogin__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66063":"p__Graduations__Lists__Personmanage__index","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","71218":"p__virtualSpaces__Lists__Syllabuses__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","81148":"p__Shixuns__Detail__Repository__UploadFile__index","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91487":"p__virtualSpaces__Lists__Shixuns__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + ".chunk.css";
+/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4639":"p__virtualSpaces__Lists__Video__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5348":"p__virtualSpaces__Lists__Video__Upload__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13414":"p__virtualSpaces__Lists__Managements__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25896":"p__virtualSpaces__Lists__Syllabuses__Detail__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27182":"p__User__ResetPassword__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29080":"p__virtualSpaces__Lists__Graphs__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34608":"p__virtualSpaces__Index__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35588":"p__virtualSpaces__Lists__Course__index","35729":"p__Help__Index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","43442":"p__Classrooms__Lists__Board__Add__index","43465":"p__virtualSpaces__Lists__Member__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44510":"p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","48077":"p__Classrooms__Lists__Students__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54472":"p__virtualSpaces__Lists__Notices__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","62548":"p__Engineering__Norm__Detail__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65294":"p__User__OtherLogin__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66063":"p__Graduations__Lists__Personmanage__index","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","71218":"p__virtualSpaces__Lists__Syllabuses__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","81148":"p__Shixuns__Detail__Repository__UploadFile__index","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91487":"p__virtualSpaces__Lists__Shixuns__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + ".chunk.css";
/******/ };
/******/ }();
/******/
@@ -127134,7 +127211,7 @@ function debounce (delay, callback, options) {
/******/ };
/******/
/******/ __webpack_require__.f.miniCss = function(chunkId, promises) {
-/******/ var cssChunks = {"292":1,"310":1,"556":1,"1482":1,"1702":1,"2659":1,"2819":1,"3317":1,"3391":1,"3451":1,"3509":1,"3585":1,"3951":1,"4639":1,"4736":1,"4766":1,"4884":1,"4973":1,"5348":1,"5572":1,"6127":1,"6685":1,"6758":1,"6788":1,"7043":1,"7852":1,"7884":1,"7918":1,"8787":1,"8999":1,"9416":1,"10195":1,"10485":1,"10737":1,"10799":1,"10921":1,"11030":1,"11070":1,"11253":1,"11512":1,"11520":1,"11545":1,"11581":1,"12076":1,"12102":1,"12412":1,"12476":1,"12865":1,"12884":1,"13006":1,"13355":1,"13414":1,"13581":1,"14058":1,"14105":1,"14514":1,"14599":1,"14610":1,"14662":1,"14889":1,"15148":1,"15319":1,"15402":1,"16328":1,"16434":1,"16729":1,"16845":1,"17482":1,"17527":1,"17622":1,"17806":1,"18241":1,"18302":1,"18307":1,"19215":1,"19360":1,"19715":1,"19891":1,"20026":1,"20576":1,"20680":1,"20700":1,"21265":1,"21423":1,"21578":1,"21939":1,"22254":1,"22257":1,"22307":1,"22707":1,"23332":1,"24504":1,"25022":1,"25470":1,"25705":1,"25896":1,"26366":1,"26685":1,"26741":1,"26883":1,"27182":1,"27395":1,"28072":1,"28237":1,"28435":1,"28723":1,"28782":1,"28982":1,"29080":1,"29647":1,"30067":1,"30264":1,"30342":1,"31006":1,"31211":1,"31427":1,"31674":1,"31962":1,"33356":1,"33747":1,"33784":1,"34093":1,"34601":1,"34608":1,"34741":1,"34800":1,"34994":1,"35238":1,"35588":1,"35729":1,"36029":1,"36270":1,"36784":1,"37062":1,"38143":1,"38447":1,"38634":1,"38797":1,"39332":1,"39391":1,"39404":1,"39695":1,"40559":1,"41048":1,"41657":1,"41717":1,"41953":1,"42240":1,"43442":1,"43465":1,"44259":1,"44449":1,"44510":1,"45096":1,"45179":1,"45359":1,"45650":1,"45775":1,"45825":1,"45992":1,"46796":1,"46963":1,"47545":1,"48077":1,"48431":1,"48689":1,"49205":1,"49366":1,"49716":1,"49890":1,"50869":1,"51276":1,"51461":1,"51582":1,"51855":1,"52338":1,"52404":1,"52494":1,"52806":1,"52829":1,"52875":1,"53247":1,"53910":1,"54056":1,"54164":1,"54472":1,"54492":1,"54572":1,"54770":1,"54862":1,"55573":1,"55624":1,"56277":1,"56369":1,"57045":1,"57560":1,"57614":1,"59133":1,"59627":1,"59649":1,"59788":1,"60479":1,"60533":1,"60547":1,"61043":1,"61713":1,"61727":1,"61880":1,"62548":1,"64144":1,"64217":1,"64496":1,"64520":1,"65111":1,"65148":1,"65191":1,"65294":1,"65549":1,"65816":1,"66063":1,"66390":1,"66583":1,"66651":1,"67242":1,"67878":1,"68014":1,"68665":1,"68827":1,"68882":1,"69922":1,"69944":1,"71218":1,"71450":1,"71783":1,"72529":1,"72539":1,"72570":1,"73183":1,"73220":1,"74264":1,"74795":1,"75043":1,"75357":1,"75786":1,"76904":1,"77460":1,"77857":1,"78085":1,"79489":1,"79590":1,"79921":1,"80508":1,"81148":1,"82339":1,"82425":1,"82443":1,"83141":1,"83212":1,"83935":1,"84546":1,"85048":1,"85111":1,"85297":1,"85410":1,"85888":1,"85891":1,"86052":1,"86452":1,"86541":1,"86634":1,"86820":1,"86913":1,"87058":1,"87260":1,"87922":1,"88517":1,"88866":1,"89076":1,"89677":1,"89785":1,"90109":1,"90265":1,"90337":1,"91045":1,"91470":1,"91487":1,"91831":1,"92045":1,"92501":1,"92823":1,"92983":1,"93260":1,"93282":1,"93496":1,"93665":1,"93668":1,"94078":1,"94498":1,"94662":1,"94715":1,"94849":1,"95125":1,"95176":1,"95335":1,"96444":1,"96882":1,"97008":1,"97046":1,"98062":1,"98398":1,"98688":1,"98885":1,"99674":1};
+/******/ var cssChunks = {"292":1,"310":1,"556":1,"1482":1,"1702":1,"2659":1,"2819":1,"3317":1,"3391":1,"3451":1,"3509":1,"3585":1,"3951":1,"4639":1,"4736":1,"4766":1,"4884":1,"4973":1,"5348":1,"5572":1,"6127":1,"6685":1,"6758":1,"6788":1,"7043":1,"7852":1,"7884":1,"8787":1,"8999":1,"9416":1,"10195":1,"10485":1,"10737":1,"10799":1,"10921":1,"11030":1,"11070":1,"11253":1,"11512":1,"11520":1,"11545":1,"11581":1,"12076":1,"12102":1,"12412":1,"12476":1,"12865":1,"12884":1,"13006":1,"13355":1,"13414":1,"13581":1,"14058":1,"14105":1,"14514":1,"14599":1,"14610":1,"14662":1,"14889":1,"15148":1,"15319":1,"15402":1,"16328":1,"16434":1,"16729":1,"16845":1,"17482":1,"17527":1,"17622":1,"17806":1,"18241":1,"18302":1,"18307":1,"19215":1,"19360":1,"19715":1,"19891":1,"20026":1,"20576":1,"20680":1,"20700":1,"21265":1,"21423":1,"21578":1,"21939":1,"22254":1,"22307":1,"22707":1,"23332":1,"24504":1,"25022":1,"25470":1,"25705":1,"25896":1,"26366":1,"26685":1,"26741":1,"26883":1,"27182":1,"27395":1,"28072":1,"28237":1,"28435":1,"28723":1,"28782":1,"28982":1,"29080":1,"29647":1,"30067":1,"30264":1,"30342":1,"31006":1,"31211":1,"31427":1,"31674":1,"31962":1,"33356":1,"33747":1,"33784":1,"34093":1,"34601":1,"34608":1,"34741":1,"34800":1,"34994":1,"35238":1,"35588":1,"35729":1,"36029":1,"36270":1,"36784":1,"37062":1,"38143":1,"38447":1,"38634":1,"38797":1,"39332":1,"39391":1,"39404":1,"39695":1,"40559":1,"41048":1,"41657":1,"41717":1,"41953":1,"42240":1,"43442":1,"43465":1,"44259":1,"44449":1,"44510":1,"45096":1,"45179":1,"45359":1,"45650":1,"45775":1,"45825":1,"45992":1,"46796":1,"46963":1,"47545":1,"48077":1,"48431":1,"48689":1,"49205":1,"49366":1,"49716":1,"49890":1,"50869":1,"51276":1,"51461":1,"51582":1,"51855":1,"52338":1,"52404":1,"52494":1,"52806":1,"52829":1,"52875":1,"53247":1,"53910":1,"54056":1,"54164":1,"54472":1,"54492":1,"54572":1,"54770":1,"54862":1,"55573":1,"55624":1,"56277":1,"56369":1,"57045":1,"57560":1,"57614":1,"59133":1,"59627":1,"59649":1,"59788":1,"60479":1,"60533":1,"60547":1,"61043":1,"61713":1,"61727":1,"61880":1,"62548":1,"64144":1,"64217":1,"64496":1,"64520":1,"65111":1,"65148":1,"65191":1,"65294":1,"65549":1,"65816":1,"66063":1,"66390":1,"66583":1,"66651":1,"67242":1,"67878":1,"68014":1,"68665":1,"68827":1,"68882":1,"69922":1,"69944":1,"71218":1,"71450":1,"71783":1,"72529":1,"72539":1,"72570":1,"73183":1,"73220":1,"74264":1,"74795":1,"75043":1,"75357":1,"75786":1,"75816":1,"76904":1,"77460":1,"77857":1,"78085":1,"79489":1,"79590":1,"79921":1,"80508":1,"81148":1,"82339":1,"82425":1,"82443":1,"83141":1,"83212":1,"83935":1,"84546":1,"85048":1,"85111":1,"85297":1,"85410":1,"85888":1,"85891":1,"86052":1,"86452":1,"86541":1,"86634":1,"86820":1,"86913":1,"87058":1,"87260":1,"87922":1,"88517":1,"88866":1,"89076":1,"89677":1,"89785":1,"90109":1,"90265":1,"90337":1,"91045":1,"91470":1,"91487":1,"91831":1,"92045":1,"92501":1,"92823":1,"92983":1,"93260":1,"93282":1,"93496":1,"93665":1,"93668":1,"94078":1,"94498":1,"94662":1,"94715":1,"94849":1,"95125":1,"95176":1,"95335":1,"96444":1,"96882":1,"97008":1,"97046":1,"98062":1,"98398":1,"98688":1,"98885":1,"99674":1};
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
/******/ promises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {
@@ -131128,7 +131205,7 @@ function _getRoutes() {
return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(91978), __webpack_require__.e(39231), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(53057), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432));
}),
'3': /*#__PURE__*/react.lazy(function () {
- return Promise.all(/*! import() | p__Paperlibrary__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(21687), __webpack_require__.e(34755), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(79086), __webpack_require__.e(54862)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/index.tsx */ 26127));
+ return Promise.all(/*! import() | p__Paperlibrary__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(21687), __webpack_require__.e(34755), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(61990), __webpack_require__.e(54862)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/index.tsx */ 26127));
}),
'4': /*#__PURE__*/react.lazy(function () {
return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(80316), __webpack_require__.e(66012), __webpack_require__.e(53014), __webpack_require__.e(47730), __webpack_require__.e(8691), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 47606));
@@ -131137,7 +131214,7 @@ function _getRoutes() {
return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(80316), __webpack_require__.e(66012), __webpack_require__.e(53014), __webpack_require__.e(47730), __webpack_require__.e(8691), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 47606));
}),
'6': /*#__PURE__*/react.lazy(function () {
- return Promise.all(/*! import() | p__Paperlibrary__See__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(21687), __webpack_require__.e(48764), __webpack_require__.e(80599), __webpack_require__.e(55733), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(79086), __webpack_require__.e(53247)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/See/index.tsx */ 7570));
+ return Promise.all(/*! import() | p__Paperlibrary__See__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(21687), __webpack_require__.e(48764), __webpack_require__.e(80599), __webpack_require__.e(55733), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(61990), __webpack_require__.e(53247)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/See/index.tsx */ 7570));
}),
'7': /*#__PURE__*/react.lazy(function () {
return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(35479), __webpack_require__.e(18077), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283));
@@ -131236,7 +131313,7 @@ function _getRoutes() {
return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(8691), __webpack_require__.e(85297)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/CheckDetail/index.tsx */ 51450));
}),
'39': /*#__PURE__*/react.lazy(function () {
- return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(71628), __webpack_require__.e(50976), __webpack_require__.e(66012), __webpack_require__.e(99160), __webpack_require__.e(5131), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(50081), __webpack_require__.e(20139), __webpack_require__.e(37110), __webpack_require__.e(54164)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/index.tsx */ 57661));
+ return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(71628), __webpack_require__.e(50976), __webpack_require__.e(66012), __webpack_require__.e(99160), __webpack_require__.e(85332), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(50081), __webpack_require__.e(7845), __webpack_require__.e(37110), __webpack_require__.e(54164)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/index.tsx */ 57661));
}),
'40': /*#__PURE__*/react.lazy(function () {
return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(35479), __webpack_require__.e(18077), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283));
@@ -131251,10 +131328,10 @@ function _getRoutes() {
return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Notice__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(21687), __webpack_require__.e(17482)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Notice/index.tsx */ 48073));
}),
'44': /*#__PURE__*/react.lazy(function () {
- return Promise.all(/*! import() | p__Paperlibrary__Random__ExerciseEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(78045), __webpack_require__.e(25159), __webpack_require__.e(31795), __webpack_require__.e(21687), __webpack_require__.e(70368), __webpack_require__.e(7918)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/ExerciseEdit/index.tsx */ 19368));
+ return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(67390), __webpack_require__.e(80316), __webpack_require__.e(66012), __webpack_require__.e(66455), __webpack_require__.e(8691), __webpack_require__.e(7845), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 86661));
}),
'45': /*#__PURE__*/react.lazy(function () {
- return Promise.all(/*! import() | p__Paperlibrary__Random__PreviewEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(78045), __webpack_require__.e(25159), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(21687), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34399), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(20139), __webpack_require__.e(90337)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/PreviewEdit/index.tsx */ 96382));
+ return Promise.all(/*! import() | p__Paperlibrary__Random__PreviewEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(21687), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(70491), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(7845), __webpack_require__.e(90337)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/PreviewEdit/index.tsx */ 96382));
}),
'46': /*#__PURE__*/react.lazy(function () {
return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(71628), __webpack_require__.e(80316), __webpack_require__.e(66012), __webpack_require__.e(53014), __webpack_require__.e(47730), __webpack_require__.e(8691), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 22292));
@@ -131401,7 +131478,7 @@ function _getRoutes() {
return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(88511), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(15319)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Detail/index.tsx */ 23462));
}),
'94': /*#__PURE__*/react.lazy(function () {
- return Promise.all(/*! import() | layouts__ShixunDetail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(34755), __webpack_require__.e(67390), __webpack_require__.e(73453), __webpack_require__.e(66012), __webpack_require__.e(42167), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(93282)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/ShixunDetail/index.tsx */ 1313));
+ return Promise.all(/*! import() | layouts__ShixunDetail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(34755), __webpack_require__.e(67390), __webpack_require__.e(66012), __webpack_require__.e(73453), __webpack_require__.e(42167), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(93282)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/ShixunDetail/index.tsx */ 1313));
}),
'95': /*#__PURE__*/react.lazy(function () {
return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(21687), __webpack_require__.e(71628), __webpack_require__.e(35479), __webpack_require__.e(87246), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(50081), __webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/index.tsx */ 51198));
@@ -131446,7 +131523,7 @@ function _getRoutes() {
return Promise.all(/*! import() | p__Classrooms__Lists__Teachers__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(21687), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(68014)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Teachers/index.tsx */ 19456));
}),
'109': /*#__PURE__*/react.lazy(function () {
- return Promise.all(/*! import() | p__Classrooms__Lists__Students__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(34755), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(48077)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Students/index.tsx */ 54148));
+ return Promise.all(/*! import() | p__Classrooms__Lists__Students__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(34755), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(48077)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Students/index.tsx */ 94954));
}),
'110': /*#__PURE__*/react.lazy(function () {
return Promise.all(/*! import() | p__Classrooms__Lists__Assistant__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(73358), __webpack_require__.e(78045), __webpack_require__.e(25159), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(12034), __webpack_require__.e(33356)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Assistant/index.tsx */ 3453));
@@ -131656,7 +131733,7 @@ function _getRoutes() {
return Promise.all(/*! import() | p__Shixuns__Detail__Merge__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(83338), __webpack_require__.e(185), __webpack_require__.e(4977), __webpack_require__.e(55573)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Merge/index.tsx */ 39753));
}),
'179': /*#__PURE__*/react.lazy(function () {
- return Promise.all(/*! import() | p__Shixuns__Edit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(71628), __webpack_require__.e(80316), __webpack_require__.e(40542), __webpack_require__.e(66012), __webpack_require__.e(80840), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(53057), __webpack_require__.e(30210), __webpack_require__.e(56277)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/index.tsx */ 24747));
+ return Promise.all(/*! import() | p__Shixuns__Edit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(71628), __webpack_require__.e(80316), __webpack_require__.e(40542), __webpack_require__.e(66012), __webpack_require__.e(80840), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(53057), __webpack_require__.e(30210), __webpack_require__.e(56277)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/index.tsx */ 77164));
}),
'180': /*#__PURE__*/react.lazy(function () {
return Promise.all(/*! import() | p__Shixuns__Edit__body__Warehouse__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(69814), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(34755), __webpack_require__.e(47897), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(16328)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Warehouse/index.tsx */ 18710));
@@ -132403,13 +132480,13 @@ function _getRoutes() {
return __webpack_require__.e(/*! import() | p__MoopCases__Success__index */ 51276).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/Success/index.tsx */ 10968));
}),
'428': /*#__PURE__*/react.lazy(function () {
- return Promise.all(/*! import() | p__Paperlibrary__Random__AddAndEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(78045), __webpack_require__.e(25159), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(21687), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34399), __webpack_require__.e(59278), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(20139), __webpack_require__.e(70368), __webpack_require__.e(22257)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/AddAndEdit/index.tsx */ 1931));
+ return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(67390), __webpack_require__.e(80316), __webpack_require__.e(66012), __webpack_require__.e(66455), __webpack_require__.e(8691), __webpack_require__.e(7845), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 86661));
}),
'429': /*#__PURE__*/react.lazy(function () {
- return Promise.all(/*! import() | p__Paperlibrary__Random__AddAndEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(78045), __webpack_require__.e(25159), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(21687), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34399), __webpack_require__.e(59278), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(20139), __webpack_require__.e(70368), __webpack_require__.e(22257)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/AddAndEdit/index.tsx */ 1931));
+ return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(67390), __webpack_require__.e(80316), __webpack_require__.e(66012), __webpack_require__.e(66455), __webpack_require__.e(8691), __webpack_require__.e(7845), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 86661));
}),
'430': /*#__PURE__*/react.lazy(function () {
- return Promise.all(/*! import() | p__Paperlibrary__Random__Detail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(21687), __webpack_require__.e(34755), __webpack_require__.e(60696), __webpack_require__.e(79086), __webpack_require__.e(33784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Detail/index.tsx */ 20032));
+ return Promise.all(/*! import() | p__Paperlibrary__Random__Detail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(21687), __webpack_require__.e(34755), __webpack_require__.e(60696), __webpack_require__.e(61990), __webpack_require__.e(33784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Detail/index.tsx */ 20032));
}),
'431': /*#__PURE__*/react.lazy(function () {
return __webpack_require__.e(/*! import() | p__HttpStatus__403 */ 43862).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/403.tsx */ 34247));